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.Polarized.DifferenceDivisibilityBound |
| 2 | import Mathlib.Algebra.Order.Monoid.Unbundled.Pow |
| 3 | |
| 4 | /-! # Prime Divisible Difference Component -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A polarized automorphism difference divisible by every power of an integer at least two is constant on each integral closed subscheme. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {K : Type u} [Field K] [IsAlgClosed K] {g N : ℕ} {δ : Fin g → ℕ} |
| 17 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of K))) |
| 18 | variable (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding A.graphBundle A.abelian.scheme.hom) |
| 19 | variable {Y : Scheme.{u}} [IsIntegral Y] (i : Y ⟶ A.abelian.scheme.left) |
| 20 | variable [IsClosedImmersion i] [Flat (i ≫ A.abelian.scheme.hom)] |
| 21 | variable [LocallyOfFinitePresentation (i ≫ A.abelian.scheme.hom)] |
| 22 | |
| 23 | include E |
| 24 | |
| 25 | theorem Moduli.Isomorphisms.LevelPreservingIso.difference_constant_of_allPowers (e : Moduli.Isomorphisms.LevelPreservingIso A A) |
| 26 | (q : ℕ) (hq : 2 ≤ q) |
| 27 | (hdiv : ∀ k : ℕ, ∃ d : A.abelian.EndRing, (q ^ k) • d = e.endRingUnit.val - 1) : |
| 28 | ∃ a : Spec (.of K) ⟶ A.abelian.scheme.left, |
| 29 | (i ≫ A.abelian.scheme.hom) ≫ a = i ≫ (e.abelian.hom * (𝟙 A.abelian.scheme)⁻¹).left := by |
| 30 | by_contra hf |
| 31 | let B := Module.finrank K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor (i ≫ A.abelian.scheme.hom)).obj |
| 32 | ((E.power.pullback i).tensorPower 4).sheaf) |
| 33 | obtain ⟨d, hd⟩ := hdiv B |
| 34 | have hb : (q ^ B) * (q ^ B) + 1 ≤ B := e.differenceDivisibility_degree_bound A E i hf (q ^ B) d hd |
| 35 | have hpow : B < q ^ B := (Nat.lt_two_pow_self (n := B)).trans_le (pow_le_pow_left' hq B) |
| 36 | have hsq : q ^ B ≤ (q ^ B) * (q ^ B) := Nat.le_mul_self _ |
| 37 | exact (not_lt_of_ge hb) ((hpow.trans_le hsq).trans (Nat.lt_succ_self _)) |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |