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.ReferenceFamily.Pure.PullbackTorsionRigidity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Geometric.FunctionRigidity |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Abelian.BaseChangeFunctionSheaf |
| 4 | |
| 5 | /-! # Pullback Rigidity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Pure.PullbackRigidity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Full-level rigidity on arbitrary base changes of a finite-type pure |
| 12 | family in characteristic zero. Geometric rigidity and actual functions |
| 13 | detect the entire automorphism, including on nonreduced tests. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | theorem purePullback_abelian_eq_id |
| 20 | {K : Type} [Field K] [CharZero K] [Countable K] |
| 21 | {X S : Scheme.{0}} (p : X ⟶ Spec (.of K)) [LocallyOfFiniteType p] |
| 22 | {g N : ℕ} {δ : Fin g → ℕ} |
| 23 | (A : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N X) |
| 24 | (hN : 3 ≤ N) (t : S ⟶ X) |
| 25 | (e : HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (A.pullback t) (A.pullback t)) : |
| 26 | e.abelian.hom = 𝟙 (A.abelian.pullback t).scheme := by |
| 27 | let : IsLocallyNoetherian X := LocallyOfFiniteType.isLocallyNoetherian p |
| 28 | let B := A.abelian.pullback t |
| 29 | let q : B.scheme ⟶ B.scheme := e.abelian.hom |
| 30 | have : IsMonHom q := inferInstanceAs (IsMonHom e.abelian.hom) |
| 31 | let d : B.scheme ⟶ B.scheme := q / 𝟙 B.scheme |
| 32 | have hΓ (V : S.Opens) : IsIso (B.scheme.hom ∣_ V).appTop := by |
| 33 | apply (HilbertConstruction.FunctionSheafAffineCriterion.morphismRestrict_appTop_isIso_iff B.scheme.hom V).mpr |
| 34 | exact Abelian.BaseChangeFunctionSheaf.abelian_baseChange_function_app_isIso A.abelian |
| 35 | (pullback.fst A.abelian.scheme.hom t) (pullback.snd A.abelian.scheme.hom t) t |
| 36 | (IsPullback.of_hasPullback A.abelian.scheme.hom t) V |
| 37 | have hzero : η[B.scheme] ≫ d = η[B.scheme] := by |
| 38 | rw [show d = q / 𝟙 B.scheme from rfl, |
| 39 | GrpObj.comp_div, IsMonHom.one_hom, Category.comp_id, div_self'] |
| 40 | simp only [Hom.one_def, CartesianMonoidalCategory.toUnit_unit, Category.id_comp] |
| 41 | have hd : d = 1 := Geometric.FunctionRigidity.overHom_eq_one_of_geometricPoints B.scheme B.scheme hΓ d hzero (by |
| 42 | intro k _ _ x y |
| 43 | have he := PullbackTorsionRigidity.purePullback_geometric_abelian_eq_id p A hN t x (e.pullback x) |
| 44 | have hx := Geometric.FunctionRigidity.overHom_fieldPoint_eq_of_baseChange q (𝟙 B.scheme) x |
| 45 | (he.trans ((Over.pullback x).map_id B.scheme).symm) y |
| 46 | rw [show d = q / 𝟙 B.scheme from rfl, GrpObj.comp_div, hx, div_self']) |
| 47 | change q = 𝟙 B.scheme |
| 48 | exact div_eq_one.mp hd |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Pure.PullbackRigidity |