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.Relative.RepresentableOpenGlueData |
| 2 | import Mathlib.AlgebraicGeometry.Pullbacks |
| 3 | |
| 4 | /-! # Subterminal Relative Chart -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SubterminalRelativeChart |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An open base chart pulls back to every test scheme. Maps into a monomorphism over that chart determine compatible lifts to this pullback. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | theorem overHom_subsingleton_of_mono_structure {S : Scheme.{u}} (M : Over S) [Mono M.hom] |
| 15 | (T : Over S) : Subsingleton (T ⟶ M) := by |
| 16 | constructor |
| 17 | intro a b |
| 18 | apply Over.OverMorphism.ext |
| 19 | exact (cancel_mono M.hom).mp (a.w.trans b.w.symm) |
| 20 | |
| 21 | variable {S U : Scheme.{u}} (i : U ⟶ S) (T : Over S) |
| 22 | |
| 23 | def baseChartTest : Over S := (Over.map i).obj ((Over.pullback i).obj T) |
| 24 | |
| 25 | def baseChartProjection : baseChartTest i T ⟶ T := |
| 26 | Over.homMk (pullback.fst T.hom i) (pullback.condition (f := T.hom) (g := i)) |
| 27 | |
| 28 | theorem baseChartProjection_open [IsOpenImmersion i] : IsOpenImmersion (baseChartProjection i T).left := |
| 29 | inferInstanceAs (IsOpenImmersion (pullback.fst T.hom i)) |
| 30 | |
| 31 | theorem baseChartProjection_mono [IsOpenImmersion i] : Mono (baseChartProjection i T) := by |
| 32 | have : IsOpenImmersion (baseChartProjection i T).left := baseChartProjection_open i T |
| 33 | exact Over.mono_of_mono_left _ |
| 34 | |
| 35 | def baseChartTestLift (M : Over U) {V : Over S} |
| 36 | (a : V ⟶ (Over.map i).obj M) (b : V ⟶ T) : V ⟶ baseChartTest i T := by |
| 37 | have h : b.left ≫ T.hom = (a.left ≫ M.hom) ≫ i := |
| 38 | b.w.trans ((Category.assoc a.left M.hom i).trans a.w).symm |
| 39 | let l := pullback.lift b.left (a.left ≫ M.hom) h |
| 40 | exact Over.homMk l ((Category.assoc l (pullback.snd T.hom i) i).symm.trans |
| 41 | ((congrArg (fun z => z ≫ i) (pullback.lift_snd b.left (a.left ≫ M.hom) h)).trans |
| 42 | ((Category.assoc a.left M.hom i).trans a.w))) |
| 43 | |
| 44 | theorem baseChartTestLift_projection (M : Over U) {V : Over S} |
| 45 | (a : V ⟶ (Over.map i).obj M) (b : V ⟶ T) : |
| 46 | baseChartTestLift i T M a b ≫ baseChartProjection i T = b := by |
| 47 | apply Over.OverMorphism.ext |
| 48 | exact pullback.lift_fst _ _ _ |
| 49 | |
| 50 | theorem baseChartTestLift_toChart (M : Over U) [Mono i] [Mono M.hom] {V : Over S} |
| 51 | (a : V ⟶ (Over.map i).obj M) (b : V ⟶ T) (m : baseChartTest i T ⟶ (Over.map i).obj M) : |
| 52 | baseChartTestLift i T M a b ≫ m = a := by |
| 53 | have : Mono ((Over.map i).obj M).hom := inferInstanceAs (Mono (M.hom ≫ i)) |
| 54 | have : Subsingleton (V ⟶ (Over.map i).obj M) := overHom_subsingleton_of_mono_structure _ _ |
| 55 | exact Subsingleton.elim _ _ |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SubterminalRelativeChart |