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.Cartesian.PullbackGraphEmbedding |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ClosedFamily.ReembeddingComposition |
| 3 | |
| 4 | /-! # Graph Family Recovery -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.GraphFamilyRecovery |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Graph recovery holds as equality of ideal-defined families in the chosen Cartesian ambient scheme. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | local instance cartesianGraphPullbackFlat {S T : Scheme.{u}} (f : T ⟶ S) (A : Over S) [Flat A.hom] : |
| 18 | Flat ((Over.pullback f).obj A).hom := inferInstanceAs (Flat (Limits.pullback.snd A.hom f)) |
| 19 | |
| 20 | local instance cartesianGraphPullbackFinitePresentation {S T : Scheme.{u}} (f : T ⟶ S) (A : Over S) |
| 21 | [LocallyOfFinitePresentation A.hom] : LocallyOfFinitePresentation ((Over.pullback f).obj A).hom := |
| 22 | inferInstanceAs (LocallyOfFinitePresentation (Limits.pullback.snd A.hom f)) |
| 23 | |
| 24 | local instance cartesianGraphPullbackSeparated {S T : Scheme.{u}} (f : T ⟶ S) (A : Over S) [IsSeparated A.hom] : |
| 25 | IsSeparated ((Over.pullback f).obj A).hom := inferInstanceAs (IsSeparated (Limits.pullback.snd A.hom f)) |
| 26 | |
| 27 | theorem cartesianGraphFamily_recovery |
| 28 | {S T : Scheme.{u}} {A B P : Over S} {Q : Over T} |
| 29 | [Flat A.hom] [LocallyOfFinitePresentation A.hom] [IsSeparated B.hom] |
| 30 | (F : Closed.Families.FlatClosedFamily P) (p : Q.left ⟶ P.left) (f : T ⟶ S) (hp : IsPullback p Q.hom P.hom f) |
| 31 | (j : A ⊗ B ⟶ P) [IsClosedImmersion j.left] |
| 32 | (h : (Over.pullback f).obj F.scheme ⟶ (Over.pullback f).obj (A ⊗ B)) |
| 33 | [IsIso (h ≫ (Over.pullback f).map (fst A B))] |
| 34 | (hh : h ≫ (Over.pullback f).map j = (Over.pullback f).map F.inclusion) : |
| 35 | (MorphismGraphFamilies.morphismGraphFamily (Pullback.ProjectedGraphRecovery.morphismOfPullbackProductProjection f h)).reembed |
| 36 | (PullbackGraphEmbedding.cartesianPullbackGraphEmbedding p f hp j) = F.pullbackAlong p f hp := by |
| 37 | have : Flat F.scheme.hom := F.flat |
| 38 | have : LocallyOfFinitePresentation F.scheme.hom := F.locallyFinitePresentation |
| 39 | have : IsClosedImmersion (ClosedFamily.PullbackRecoveryIso.cartesianAmbientOverIso p f hp).hom.left := |
| 40 | Grassmann.ProjectivePresentation.overIso_closedImmersion (ClosedFamily.PullbackRecoveryIso.cartesianAmbientOverIso p f hp) |
| 41 | apply Closed.Families.FlatClosedFamily.reembed_injective (ClosedFamily.PullbackRecoveryIso.cartesianAmbientOverIso p f hp).hom |
| 42 | dsimp only |
| 43 | simp only [Closed.Families.FlatClosedFamily.reembed_comp, PullbackGraphEmbedding.cartesianPullbackGraphEmbedding_comp, F.pullbackAlong_reembedIso] |
| 44 | exact (Pullback.ProjectedGraphRecovery.pullbackProjected_graph_recovery f F.inclusion j h hh).trans |
| 45 | (F.baseChange_eq_ofEmbedding_pullbackInclusion f).symm |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.GraphFamilyRecovery |