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.RepresentationTheory.Theta.Geometric.InverseCentralFormPowers |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.CentralConvolution |
| 3 | |
| 4 | /-! # Form Clearing -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Raw central clearing expresses an active rational pullback as the |
| 11 | original integral correspondence acting on the inverse-shifted form. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.AbelianScheme.TateComparison.CentralConvolution |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 18 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 19 | {Index Ga MpR MpF MpA : Type} [Fintype Index] [DecidableEq Index] |
| 20 | [Group Ga] [TopologicalSpace Ga] [Group MpR] [Group MpF] [Group MpA] |
| 21 | (D : Data.ActiveHeckeThetaData E K s q Index Ga MpR MpF MpA) |
| 22 | (hg : D.pel.HasIntegralModelGeometry) (hgood : D.pel.IsGoodCompletelySplitPrime) |
| 23 | (hIsogenyQuotient : D.pel.RealizesIsogenyQuotient) (A : TateComparison.Action D.pel) |
| 24 | (hA : A.IsRealization D.pel hg hgood hIsogenyQuotient) |
| 25 | |
| 26 | include hA |
| 27 | |
| 28 | theorem Data.ActiveHeckeThetaData.realizedBasis_eq_sphericalBasis (t : AlgebraicGeometry.AbelianScheme.TateComparison.Local.LocalType s) : |
| 29 | A.basis t = AlgebraicGeometry.AbelianScheme.TateComparison.CentralConvolution.sphericalBasis s q t := |
| 30 | AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.rawDoubleCoset_unique (AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.integralLevel s q) (hA.basis t) (AlgebraicGeometry.AbelianScheme.TateComparison.CentralConvolution.sphericalBasis_isRaw s q t) |
| 31 | |
| 32 | theorem Data.ActiveHeckeThetaData.realizedBasis_central_shift (t : AlgebraicGeometry.AbelianScheme.TateComparison.Local.LocalType s) (n : ℕ) : |
| 33 | A.basis (AlgebraicGeometry.AbelianScheme.TateComparison.Local.LocalType.central s) ^ n * A.basis t = A.basis (t.shift n) := by |
| 34 | simp only [D.realizedBasis_eq_sphericalBasis hg hgood hIsogenyQuotient A hA] |
| 35 | exact AlgebraicGeometry.AbelianScheme.TateComparison.CentralConvolution.sphericalBasis_central_shift s q t n |
| 36 | |
| 37 | theorem Data.ActiveHeckeThetaData.activeForms_clearing (u : D.pel.EndQˣ) |
| 38 | (hu : (u : D.pel.EndQ) = A.algebraAction (A.basis (AlgebraicGeometry.AbelianScheme.TateComparison.Local.LocalType.central s))) |
| 39 | (w : Intrinsic.Hecke.ActiveWeight) : |
| 40 | D.heckeRationalForms hg A (A.basis (Intrinsic.Hecke.activeType D.pel.reference.distinguished w)) = |
| 41 | (D.pel.pullbackForms (A.integral (Intrinsic.Hecke.clearedActiveType D.pel.reference.distinguished w))).comp |
| 42 | (D.rationalFormsPullback hg |
| 43 | ((↑u⁻¹ : D.pel.EndQ) ^ Intrinsic.Hecke.clearingExponent D.pel.reference.distinguished w)) := by |
| 44 | let : Semigroup D.pel.EndQ := (inferInstance : Ring D.pel.EndQ).toSemigroup |
| 45 | let t := Intrinsic.Hecke.activeType D.pel.reference.distinguished w |
| 46 | let n := Intrinsic.Hecke.clearingExponent D.pel.reference.distinguished w |
| 47 | have hb : (u : D.pel.EndQ) ^ n * A.algebraAction (A.basis t) = |
| 48 | D.pel.toRational (A.integral (Intrinsic.Hecke.clearedActiveType D.pel.reference.distinguished w)) := by |
| 49 | rw [hu, ← map_pow, ← map_mul, D.realizedBasis_central_shift hg hgood hIsogenyQuotient A hA] |
| 50 | exact (hA.integral (Intrinsic.Hecke.clearedActiveType D.pel.reference.distinguished w)).symm |
| 51 | have hc : (↑u⁻¹ : D.pel.EndQ) ^ n * (u : D.pel.EndQ) ^ n = 1 := by |
| 52 | exact (u ^ n).inv_val |
| 53 | have he : (↑u⁻¹ : D.pel.EndQ) ^ n * |
| 54 | D.pel.toRational (A.integral (Intrinsic.Hecke.clearedActiveType D.pel.reference.distinguished w)) = |
| 55 | A.algebraAction (A.basis t) := by |
| 56 | calc |
| 57 | _ = (↑u⁻¹ : D.pel.EndQ) ^ n * |
| 58 | ((u : D.pel.EndQ) ^ n * A.algebraAction (A.basis t)) := |
| 59 | congrArg (fun z : D.pel.EndQ => (↑u⁻¹ : D.pel.EndQ) ^ n * z) hb.symm |
| 60 | _ = ((↑u⁻¹ : D.pel.EndQ) ^ n * (u : D.pel.EndQ) ^ n) * |
| 61 | A.algebraAction (A.basis t) := (mul_assoc _ _ _).symm |
| 62 | _ = _ := by rw [hc, one_mul] |
| 63 | change D.rationalFormsPullback hg (A.algebraAction (A.basis t)) = _ |
| 64 | rw [← he, D.rationalFormsPullback_mul, D.rationalFormsPullback_integral] |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.RepresentationTheory.Theta.Geometric |