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.GraphFamilyRecovery |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RelativeProjective.FamilyBaseChange |
| 3 | |
| 4 | /-! # Graph Recovery -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RelativeProjective.GraphRecovery |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A recovered graph is exactly the pulled-back relative projective Hilbert family, in the test scheme's own projective space. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | local instance relativeGraphPullbackFlat {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 relativeGraphPullbackFinitePresentation {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 relativeGraphPullbackSeparated {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 | def relativeProjectiveGraphEmbedding {S T : Scheme.{u}} {A B : Over S} {n : ℕ} |
| 28 | (f : T ⟶ S) (j : A ⊗ B ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) : |
| 29 | (Over.pullback f).obj A ⊗ (Over.pullback f).obj B ⟶ Projective.ProjectivePresentations.projectiveSpaceOver T n := |
| 30 | Cartesian.PullbackGraphEmbedding.cartesianPullbackGraphEmbedding (BaseMaps.relativeProjectiveBaseMap f n) f |
| 31 | (BaseMaps.relativeProjectiveBaseMap_isPullback f n) j |
| 32 | |
| 33 | instance relativeProjectiveGraphEmbedding_closed {S T : Scheme.{u}} {A B : Over S} {n : ℕ} |
| 34 | (f : T ⟶ S) (j : A ⊗ B ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) [IsClosedImmersion j.left] : |
| 35 | IsClosedImmersion (relativeProjectiveGraphEmbedding f j).left := |
| 36 | Cartesian.PullbackGraphEmbedding.cartesianPullbackGraphEmbedding_closed (BaseMaps.relativeProjectiveBaseMap f n) f |
| 37 | (BaseMaps.relativeProjectiveBaseMap_isPullback f n) j |
| 38 | |
| 39 | theorem relativeProjectiveGraphFamily_recovery {S T : Scheme.{u}} {A B : Over S} {n : ℕ} {P : Polynomial ℚ} |
| 40 | [Flat A.hom] [LocallyOfFinitePresentation A.hom] [IsSeparated B.hom] |
| 41 | (F : Families.RelativeProjectiveHilbertFamily S n P) (f : T ⟶ S) |
| 42 | (j : A ⊗ B ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) [IsClosedImmersion j.left] |
| 43 | (h : (Over.pullback f).obj F.family.scheme ⟶ (Over.pullback f).obj (A ⊗ B)) |
| 44 | [IsIso (h ≫ (Over.pullback f).map (fst A B))] |
| 45 | (hh : h ≫ (Over.pullback f).map j = (Over.pullback f).map F.family.inclusion) : |
| 46 | (MorphismGraphFamilies.morphismGraphFamily (Pullback.ProjectedGraphRecovery.morphismOfPullbackProductProjection f h)).reembed (relativeProjectiveGraphEmbedding f j) = |
| 47 | (F.pullback f).family := |
| 48 | Cartesian.GraphFamilyRecovery.cartesianGraphFamily_recovery F.family (BaseMaps.relativeProjectiveBaseMap f n) f |
| 49 | (BaseMaps.relativeProjectiveBaseMap_isPullback f n) j h hh |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RelativeProjective.GraphRecovery |