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.Moduli.IsomorphismBaseEquality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ParameterPullbackIsoComparison |
| 3 | |
| 4 | /-! # Isomorphism Normalization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A complete isomorphism between iterated parameter pullbacks transports to the original test-family pullbacks, with its abelian map explicitly identified. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {S : Scheme.{u}} {g N : ℕ} {δ : Fin g → ℕ} |
| 17 | variable (A B : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) {T M : Over S} (c : T ⟶ M) |
| 18 | |
| 19 | def Moduli.Isomorphisms.LevelPreservingIso.fromIteratedParameterPoint |
| 20 | (e : Moduli.Isomorphisms.LevelPreservingIso ((A.pullback M.hom).pullback c.left) ((B.pullback M.hom).pullback c.left)) : |
| 21 | Moduli.Isomorphisms.LevelPreservingIso (A.pullback T.hom) (B.pullback T.hom) := by |
| 22 | let d := ((Moduli.Isomorphisms.LevelPreservingIso.pullbackComp A M.hom c.left).symm.trans e).trans (Moduli.Isomorphisms.LevelPreservingIso.pullbackComp B M.hom c.left) |
| 23 | exact (congrArg (fun b => Moduli.Isomorphisms.LevelPreservingIso (A.pullback b) (B.pullback b)) c.w).mp d |
| 24 | |
| 25 | theorem Moduli.Isomorphisms.LevelPreservingIso.fromIteratedParameterPoint_abelian_hom |
| 26 | (e : Moduli.Isomorphisms.LevelPreservingIso ((A.pullback M.hom).pullback c.left) ((B.pullback M.hom).pullback c.left)) : |
| 27 | (Moduli.Isomorphisms.LevelPreservingIso.fromIteratedParameterPoint A B c e).abelian.hom = HilbertConstruction.Over.BaseMapPullback.overBaseMapPullbackMorphism c e.abelian.hom := by |
| 28 | unfold Moduli.Isomorphisms.LevelPreservingIso.fromIteratedParameterPoint |
| 29 | rw [Moduli.Isomorphisms.LevelPreservingIso.baseEquality_abelian_hom A B (c.left ≫ M.hom) T.hom c.w] |
| 30 | dsimp only [Moduli.Isomorphisms.LevelPreservingIso.trans, Moduli.Isomorphisms.LevelPreservingIso.symm, Moduli.Isomorphisms.LevelPreservingIso.pullbackComp] |
| 31 | change (eqToIso (congrArg (fun b => (Over.pullback b).obj A.abelian.scheme) c.w.symm)).hom ≫ |
| 32 | (((A.abelian.pullbackCompIso M.hom c.left).hom ≫ e.abelian.hom) ≫ |
| 33 | (B.abelian.pullbackCompIso M.hom c.left).inv) ≫ |
| 34 | (eqToIso (congrArg (fun b => (Over.pullback b).obj B.abelian.scheme) c.w)).hom = _ |
| 35 | rw [Abelian.Schemes.AbelianScheme.pullbackCompIso_hom, Abelian.Schemes.AbelianScheme.pullbackCompIso_inv] |
| 36 | simp only [HilbertConstruction.Over.BaseMapPullback.overBaseMapPullbackMorphism, HilbertConstruction.Over.BaseMapPullback.overBaseMapPullbackIso, Iso.trans_hom, Iso.trans_inv, |
| 37 | eqToIso.hom, eqToIso.inv, Iso.app_hom, Iso.app_inv, Category.assoc] |
| 38 | let a := (Over.pullbackComp c.left M.hom).hom.app A.abelian.scheme |
| 39 | let d := (Over.pullbackComp c.left M.hom).inv.app B.abelian.scheme |
| 40 | let x := eqToHom (congrArg (fun f => (Over.pullback f).obj A.abelian.scheme) c.w.symm) |
| 41 | let y := eqToHom (congrArg (fun f => (Over.pullback f).obj B.abelian.scheme) c.w) |
| 42 | exact congrArg (fun z => x ≫ z) |
| 43 | ((Category.assoc (a ≫ e.abelian.hom) d y).trans (Category.assoc a e.abelian.hom (d ≫ y))) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |