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.Projective.SectionBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.LevelFrameParameter |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.EmbeddingPullbackComposition |
| 4 | |
| 5 | /-! # Section Equations -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SectionEquations |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Equations on the native pullback sections give equations on |
| 12 | the corresponding sections of relative projective space. Full-level |
| 13 | marks satisfy this comparison over every test scheme. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | |
| 18 | private theorem eq_after_factored_precomposition |
| 19 | {C : Type*} [Category* C] {W X Y Z : C} |
| 20 | (a : W ⟶ X) (p : X ⟶ Y) (f : W ⟶ Y) (s t : Y ⟶ Z) |
| 21 | (ha : a ≫ p = f) (hst : p ≫ s = p ≫ t) : f ≫ s = f ≫ t := by |
| 22 | rw [← ha, Category.assoc, hst, ← Category.assoc] |
| 23 | |
| 24 | theorem projectiveSections_baseChange_eq_of_pullback_eq {S T : Scheme.{u}} {n : ℕ} |
| 25 | (f : T ⟶ S) (s t : Over.mk (𝟙 S) ⟶ ProjectivePresentations.projectiveSpaceOver S n) : |
| 26 | (Over.pullback f).map s = (Over.pullback f).map t → |
| 27 | SectionBaseChange.projectiveSectionBaseChange s f = SectionBaseChange.projectiveSectionBaseChange t f := by |
| 28 | intro h |
| 29 | let p := pullback.fst (𝟙 S) f |
| 30 | let k := pullback.fst (ProjectivePresentations.projectiveSpaceOver S n).hom f |
| 31 | let a : T ⟶ pullback (𝟙 S) f := pullback.lift f (𝟙 T) (by simp) |
| 32 | have ha : a ≫ p = f := pullback.lift_fst _ _ _ |
| 33 | have hs : ((Over.pullback f).map s).left ≫ k = p ≫ s.left := |
| 34 | Pullback.Comparisons.overPullback_map_left_fst s f |
| 35 | have ht : ((Over.pullback f).map t).left ≫ k = p ≫ t.left := |
| 36 | Pullback.Comparisons.overPullback_map_left_fst t f |
| 37 | have hst : p ≫ s.left = p ≫ t.left := hs.symm.trans |
| 38 | ((congrArg (fun m : (Over.pullback f).obj (Over.mk (𝟙 S)) ⟶ |
| 39 | (Over.pullback f).obj (ProjectivePresentations.projectiveSpaceOver S n) => m.left ≫ k) h).trans ht) |
| 40 | have hbase : f ≫ s.left = f ≫ t.left := |
| 41 | eq_after_factored_precomposition a p f s.left t.left ha hst |
| 42 | exact SectionBaseChange.projectiveSections_eq_of_baseMap f _ _ |
| 43 | ((SectionBaseChange.projectiveSectionBaseChange_baseMap s f).trans |
| 44 | (hbase.trans (SectionBaseChange.projectiveSectionBaseChange_baseMap t f).symm)) |
| 45 | |
| 46 | theorem fullLevelMarkedProjectivePoint_baseChange |
| 47 | {S : Scheme.{u}} (Z : Over S) {g N : ℕ} |
| 48 | (A : Abelian.Schemes.AbelianScheme g Z.left) (level : A.FullLevel N) |
| 49 | (P : ProjectivePresentations.ProjectivePresentation A.scheme) {T : Scheme.{u}} (f : T ⟶ Z.left) |
| 50 | (c : Multiplicative (Fin (2 * g) → ZMod N)) : |
| 51 | SectionBaseChange.projectiveSectionBaseChange (Normalized.LevelFrameParameter.fullLevelMarkedProjectivePoint Z A level P c) f = |
| 52 | Over.homMk ((A.pullback f).fullLevelGlobalSection (level.pullback f) c) |
| 53 | ((A.pullback f).fullLevelGlobalSection_comp (level.pullback f) c) ≫ |
| 54 | (P.baseChange f).embedding := by |
| 55 | let x := A.fullLevelGlobalSection level c |
| 56 | let y := (A.pullback f).fullLevelGlobalSection (level.pullback f) c |
| 57 | have hy : y ≫ pullback.fst A.scheme.hom f = f ≫ x := |
| 58 | A.fullLevelGlobalSection_pullback level f c |
| 59 | have hi : (P.baseChange f).embedding.left ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap f P.dimension = |
| 60 | pullback.fst A.scheme.hom f ≫ P.embedding.left := |
| 61 | EmbeddingPullbackComposition.ProjectivePullback.embedding_baseMap P.embedding f |
| 62 | apply SectionBaseChange.projectiveSections_eq_of_baseMap f |
| 63 | have h : (y ≫ (P.baseChange f).embedding.left) ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap f P.dimension = |
| 64 | f ≫ (x ≫ P.embedding.left) := |
| 65 | (Category.assoc _ _ _).trans ((congrArg (fun z => y ≫ z) hi).trans |
| 66 | ((Category.assoc _ _ _).symm.trans |
| 67 | ((congrArg (fun z => z ≫ P.embedding.left) hy).trans (Category.assoc _ _ _)))) |
| 68 | exact (SectionBaseChange.projectiveSectionBaseChange_baseMap (Normalized.LevelFrameParameter.fullLevelMarkedProjectivePoint Z A level P c) f).trans h.symm |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SectionEquations |