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.AutomorphismIdentityDetection |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polarized.PrimeOrderCongruence |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.OrderPrimeReduction |
| 4 | |
| 5 | /-! # Rigidity Prime Reduction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A nontrivial polarized full-level automorphism at level at least three produces a nonzero polarized automorphism difference divisible by every power of one prime. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {K : Type u} [Field K] {g N : ℕ} {δ : Fin g → ℕ} |
| 18 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of K))) |
| 19 | |
| 20 | theorem Moduli.Isomorphisms.LevelPreservingIso.exists_nontrivial_primeOrder (e : Moduli.Isomorphisms.LevelPreservingIso A A) |
| 21 | (he : e ≠ Moduli.Isomorphisms.LevelPreservingIso.refl A) : |
| 22 | ∃ (p : ℕ) (f : Moduli.Isomorphisms.LevelPreservingIso A A), p.Prime ∧ f.endRingUnit.val ^ p = 1 ∧ f.endRingUnit.val ≠ 1 := by |
| 23 | have := Polarized.AutomorphismFiniteOrder.polarizedAutomorphismUnitSubgroup_finite A |
| 24 | have hu : e.automorphismUnit ≠ 1 := by |
| 25 | intro h |
| 26 | apply he |
| 27 | exact e.eq_refl_of_endRingUnit_eq_one (congrArg (fun v : A.automorphismUnitSubgroup => v.val.val) h) |
| 28 | obtain ⟨p, v, hp, hvp, hv1⟩ := Finite.OrderPrimeReduction.finiteOrder_exists_prime_order e.automorphismUnit |
| 29 | (isOfFinOrder_of_finite e.automorphismUnit) hu |
| 30 | obtain ⟨f, hf⟩ := Moduli.Isomorphisms.LevelPreservingIso.automorphismUnit_surjective v |
| 31 | have hfp : f.automorphismUnit ^ p = 1 := (congrArg (fun w : A.automorphismUnitSubgroup => w ^ p) hf).trans hvp |
| 32 | have hf1 : f.endRingUnit.val ≠ 1 := fun h => hv1 (hf.symm.trans (Subtype.ext (Units.ext h))) |
| 33 | exact ⟨p, f, hp, congrArg (fun w : A.automorphismUnitSubgroup => w.val.val) hfp, hf1⟩ |
| 34 | |
| 35 | theorem Moduli.Isomorphisms.LevelPreservingIso.nontrivial_implies_prime_divisible_difference |
| 36 | (e : Moduli.Isomorphisms.LevelPreservingIso A A) (hN : 3 ≤ N) (he : e ≠ Moduli.Isomorphisms.LevelPreservingIso.refl A) : |
| 37 | ∃ (q : ℕ) (f : Moduli.Isomorphisms.LevelPreservingIso A A), q.Prime ∧ f.endRingUnit.val - 1 ≠ 0 ∧ |
| 38 | ∀ k : ℕ, ∃ d : A.abelian.EndRing, (q ^ k) • d = f.endRingUnit.val - 1 := by |
| 39 | obtain ⟨q, hq, hqall⟩ := A.primeOrder_difference_allPowers hN |
| 40 | obtain ⟨p, f, hp, hfp, hf1⟩ := e.exists_nontrivial_primeOrder A he |
| 41 | exact ⟨q, f, hq, sub_ne_zero.mpr hf1, hqall f p hp hfp⟩ |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |