@@ -915,31 +915,21 @@ theorem realize_exClosure_of_realize_equivSentence [DecidableEq α] [L[[α]].Str
915915 (h : (Formula.equivSentence φ).Realize M) : φ.exClosure.Realize M := by
916916 rw [Formula.realize_exClosure]
917917 exists fun a => (L.con (a : α) : M)
918- apply (BoundedFormula.realize_restrictFreeVar'
919- (s := (φ.freeVarFinset : Set α)) Set.Subset.rfl
920- (v := fun a => (L.con a : M))).2
921- exact (φ.realize_equivSentence M).1 h
918+ simpa [Formula.Realize, BoundedFormula.realize_restrictFreeVar] using h
922919
923920theorem exists_realize_equivSentence_of_realize_exClosure [DecidableEq α] [Nonempty M]
924- {φ : L.Formula α} (h : φ.exClosure.Realize (M := M) ) :
921+ {φ : L.Formula α} (h : φ.exClosure.Realize M ) :
925922 ∃ v : α → M,
926923 @Sentence.Realize _ M (@Language.withConstantsStructure L M _ α (constantsOn.structure v))
927924 (Formula.equivSentence φ) := by
928925 classical
929- obtain ⟨v, hv⟩ := (φ .realize_exClosure (M := M) ).1 h
930- let v' : α → M : = fun a =>
931- if hmem : a ∈ φ.freeVarFinset then v ⟨a, hmem⟩ else Classical.choice inferInstance
926+ obtain ⟨v, hv⟩ := (Formula .realize_exClosure φ ).1 h
927+ let v' := fun a =>if hmem : a ∈ φ.freeVarFinset
928+ then v ⟨a, hmem⟩ else Classical.choice inferInstance
932929 exists v'
933- have hvEq : v' ∘ (↑) = v := by aesop
934- have hv' : Formula.Realize (φ.restrictFreeVar id) (v' ∘ (↑)) := by
935- simp_all only [realize_exClosure]
936- have hφ : φ.Realize v' := by
937- apply
938- (BoundedFormula.realize_restrictFreeVar' (s := (φ.freeVarFinset : Set α))
939- Set.Subset.rfl).1
940- simpa [Set.inclusion_eq_id] using hv'
941- exact
942- (Formula.realize_equivSentence_symm M (Formula.equivSentence φ) v').1 (by simpa)
930+ simpa [Formula.realize_equivSentence, Formula.Realize] using
931+ (BoundedFormula.realize_restrictFreeVar v'
932+ (by aesop)).1 hv
943933
944934end Formula
945935
0 commit comments