Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.ConditionIdeals |
| 2 | |
| 3 | /-! # Condition Representation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A closed condition model gives a natural representing isomorphism of functors. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {S : Scheme.{u}} {M : Over S} {P : Subfunctor (yoneda.obj M)} (D : ConditionIdeals.ClosedConditionModel P) |
| 16 | |
| 17 | def ConditionIdeals.ClosedConditionModel.pointMap : yoneda.obj D.scheme ⟶ P.toFunctor where |
| 18 | app T := TypeCat.ofHom (fun g => ⟨g ≫ D.inclusion, (D.factorization T.unop _).mpr |
| 19 | ⟨g, rfl, fun h hh => by |
| 20 | have : Mono D.inclusion := Over.mono_of_mono_left D.inclusion |
| 21 | exact (cancel_mono D.inclusion).mp hh⟩⟩) |
| 22 | naturality := by |
| 23 | intro T U f |
| 24 | apply ConcreteCategory.hom_ext |
| 25 | intro g |
| 26 | apply Subtype.ext |
| 27 | exact Category.assoc _ _ _ |
| 28 | |
| 29 | instance ConditionIdeals.ClosedConditionModel.pointMap_isIso : IsIso D.pointMap := by |
| 30 | have : Mono D.inclusion := Over.mono_of_mono_left D.inclusion |
| 31 | apply (NatTrans.isIso_iff_isIso_app D.pointMap).mpr |
| 32 | intro T |
| 33 | apply (isIso_iff_bijective (D.pointMap.app T)).mpr |
| 34 | constructor |
| 35 | · intro g h he |
| 36 | apply (cancel_mono D.inclusion).mp |
| 37 | exact congrArg Subtype.val he |
| 38 | · intro x |
| 39 | obtain ⟨g, hg, _⟩ := (D.factorization T.unop x.val).mp x.property |
| 40 | exact ⟨g, Subtype.ext hg⟩ |
| 41 | |
| 42 | def ConditionIdeals.ClosedConditionModel.representation : yoneda.obj D.scheme ≅ P.toFunctor := asIso D.pointMap |
| 43 | |
| 44 | theorem ConditionIdeals.ClosedConditionModel.representation_inclusion : D.representation.hom ≫ P.ι = yoneda.map D.inclusion := rfl |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed |