Skip to content

Commit 27b9289

Browse files
committed
Patch Prop 4.1 :: (i) -> (ii) hole
1 parent 08854cc commit 27b9289

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

TraceTheory/TraceTheory/Language.lean

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,6 @@ theorem recognizable_is_finSyntacticIndex :
306306
IsRecognizable T → Finite (syntacticMonoid T) := by
307307
unfold IsRecognizable
308308
intro ⟨N, N_mon, N_fin, N_dec, φ, h⟩
309-
-- let f : φ '' Set.univ → syntacticMonoid T := fun ⟨n, hn⟩ => Quotient.mk (syntacticSetoid T) (Classical.choose hn)
310309
have : ∀ a b, φ a = φ b → syntacticCongr T a b := by
311310
intro a b hab u v
312311
rw [h]
@@ -317,18 +316,11 @@ theorem recognizable_is_finSyntacticIndex :
317316
have ⟨m, hm⟩ := Quotient.exists_rep q
318317
use ⟨φ m, Set.mem_image_of_mem φ trivial⟩
319318
rw [<- hm]
320-
-- let ms := ⟦Classical.choose (Set.mem_image_of_mem φ (φ m ∈ ⇑φ '' Set.univ))⟧
321319
apply Quotient.sound
322320
intro u v
323321
apply this
324-
-- have : ∀ a b, a ∈ φ ⁻¹' {φ b} → φ a = φ b := by exact fun a b a => a
325-
-- apply Eq.symm
326-
-- apply this
327-
328-
--exact @Classical.choose_spec _ (fun x => φ x = φ m)
329-
330-
sorry
322+
have hm : φ m ∈ ⇑φ '' Set.univ := Set.mem_image_of_mem (⇑φ) trivial
323+
exact (Classical.choose_spec hm).2
331324
exact Finite.of_surjective f f_surj
332325

333-
334326
end Trace

0 commit comments

Comments
 (0)