We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff19e61 commit 94df61cCopy full SHA for 94df61c
1 file changed
Mathlib/ModelTheory/PartialTypes.lean
@@ -224,10 +224,10 @@ theorem partialType_completeTheory_iff_finitelyRealizable
224
have hψexM : ψ.exClosure.Realize M :=
225
((L.realize_iff_of_model_completeTheory M N ψ.exClosure).1 hψexN)
226
obtain ⟨vM, hvM⟩ :=
227
- Formula.exists_realize_equivSentence_of_realize_exClosure hψexM
+ (Formula.exists_realize_equivSentence_iff_realize_exClosure.mpr hψexM)
228
have hψM : ψ.Realize vM := by
229
- letI : (constantsOn α).Structure M := constantsOn.structure vM
230
- simpa using (Formula.realize_equivSentence M ψ).1 hvM
+ simpa [Equiv.symm_apply_apply] using
+ (Formula.realize_equivSentence_symm M (Formula.equivSentence ψ) vM).mpr hvM
231
exists vM
232
aesop
233
· intro h
0 commit comments