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.Kernel.AdelicSupport |
| 2 | import OAI.RepresentationTheory.Theta.Definitions |
| 3 | import OAI.AlgebraicGeometry.ComplexMultiplication.SparseLatticeSums |
| 4 | |
| 5 | /-! # Analysis -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Kernel.Analysis |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open scoped BigOperators _root_.Topology BoundedContinuousFunction _root_.Matrix.Norms.Elementwise |
| 12 | open Filter OAI.AlgebraicGeometry.ComplexMultiplication.SparseLatticeSums.CM |
| 13 | |
| 14 | abbrev ThetaParameters (ι : Type*) := (ι → ι → ℂ) × (ι → ℂ) |
| 15 | |
| 16 | variable {ι : Type*} [Fintype ι] |
| 17 | |
| 18 | def latticeSummand (L : Submodule ℤ (ι → ℝ)) (φ : L →ᵇ ℂ) |
| 19 | (x : L) (p : ThetaParameters ι) : ℂ := |
| 20 | φ x * Complex.exp |
| 21 | ((Real.pi : ℂ) * Complex.I * |
| 22 | AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.siegelMatrixForm p.1 (x : ι → ℝ) (x : ι → ℝ) + |
| 23 | (2 * (Real.pi : ℂ) * Complex.I) * |
| 24 | (∑ i, (((x : ι → ℝ) i : ℝ) : ℂ) * p.2 i)) |
| 25 | |
| 26 | /-- The full GaussianConvergence proposition, with only its parameter type unfolded. -/ |
| 27 | def GaussianConvergenceInput (ι : Type*) [Fintype ι] : Prop := |
| 28 | ∀ (L : Submodule ℤ (ι → ℝ)) [DiscreteTopology L] |
| 29 | (φ : L →ᵇ ℂ) (K : Set (ThetaParameters ι)), |
| 30 | IsCompact K → |
| 31 | (∀ p ∈ K, p.1 ∈ Definitions.siegelDomain) → |
| 32 | ∀ m : ℕ, |
| 33 | let Θ : ThetaParameters ι → ℂ := |
| 34 | fun p => Definitions.theta L φ p.1 p.2 |
| 35 | (∃ C c b : ℝ, |
| 36 | let M : L → ℝ := fun x => |
| 37 | C * (1 + ‖(x : ι → ℝ)‖) ^ (2 * m) * |
| 38 | Real.exp (-c * ‖(x : ι → ℝ)‖ ^ 2 + b * ‖(x : ι → ℝ)‖) |
| 39 | 0 < C ∧ 0 < c ∧ 0 ≤ b ∧ Summable M ∧ |
| 40 | ∀ k ≤ m, ∀ x : L, ∀ p ∈ K, |
| 41 | ‖iteratedFDeriv ℂ k (latticeSummand L φ x) p‖ ≤ M x) ∧ |
| 42 | (∀ p ∈ K, ContDiffAt ℂ ⊤ Θ p) ∧ |
| 43 | (∀ k ≤ m, ∀ p ∈ K, |
| 44 | HasSum (fun x : L => iteratedFDeriv ℂ k (latticeSummand L φ x) p) |
| 45 | (iteratedFDeriv ℂ k Θ p)) ∧ |
| 46 | (∀ k ≤ m, ∀ a : L, |
| 47 | TendstoUniformlyOn |
| 48 | (fun n p => AlgebraicGeometry.ComplexMultiplication.SparseLatticeSums.CM.sparseLatticeSum L |
| 49 | (fun x => iteratedFDeriv ℂ k (latticeSummand L φ x) p) a n) |
| 50 | (fun p => iteratedFDeriv ℂ k (latticeSummand L φ a) p) atTop K) |
| 51 | |
| 52 | lemma lattice_analysis (h_GaussianConvergence : GaussianConvergenceInput ι) |
| 53 | (L : Submodule ℤ (ι → ℝ)) [DiscreteTopology L] |
| 54 | (φ : L →ᵇ ℂ) (Z : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι) (z : ι → ℂ) : |
| 55 | Summable (fun x : L => latticeSummand L φ x (Z.matrix, z)) ∧ |
| 56 | ContDiffAt ℂ ⊤ (fun w => Definitions.theta L φ Z.matrix w) z := by |
| 57 | classical |
| 58 | have hpos : ∀ p ∈ ({(Z.matrix, z)} : Set (ThetaParameters ι)), |
| 59 | p.1 ∈ Definitions.siegelDomain := by |
| 60 | intro p hp |
| 61 | rcases Set.mem_singleton_iff.mp hp with rfl |
| 62 | exact ⟨Z.symmetric, Z.imaginary_posDef⟩ |
| 63 | obtain ⟨hbound, hsmooth, _⟩ := |
| 64 | h_GaussianConvergence L φ {(Z.matrix, z)} isCompact_singleton hpos 0 |
| 65 | obtain ⟨C, c, b, _, _, _, hsum, hb⟩ := hbound |
| 66 | constructor |
| 67 | · apply hsum.of_norm_bounded |
| 68 | intro x |
| 69 | simpa using hb 0 le_rfl x (Z.matrix, z) (Set.mem_singleton _) |
| 70 | · exact (hsmooth (Z.matrix, z) (Set.mem_singleton _)).comp z |
| 71 | (contDiffAt_const.prodMk contDiffAt_id) |
| 72 | |
| 73 | lemma adelic_analysis (h_GaussianConvergence : GaussianConvergenceInput ι) |
| 74 | (φ : Definitions.DerivativeFactorization.Input ι) (Z : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι) : |
| 75 | (∀ z, Summable (fun r : ι → ℚ => φ.1 (Definitions.DerivativeFactorization.diagonal r) * Definitions.DerivativeFactorization.kernel Z.matrix r z)) ∧ |
| 76 | ContDiff ℂ ⊤ (Definitions.DerivativeFactorization.completed φ Z) := by |
| 77 | classical |
| 78 | obtain ⟨L, hL, q, hqi, hq, hsupport⟩ := AdelicSupport.input_lattice_presentation φ |
| 79 | let : DiscreteTopology L := hL |
| 80 | obtain ⟨C, hC⟩ := AdelicSupport.input_bounded φ |
| 81 | let ψ : L →ᵇ ℂ := BoundedContinuousFunction.ofNormedAddCommGroupDiscrete |
| 82 | (fun x => φ.1 (Definitions.DerivativeFactorization.diagonal (q x))) C (fun x => hC _) |
| 83 | have hterm : ∀ (B : Matrix ι ι ℂ) z x, |
| 84 | φ.1 (Definitions.DerivativeFactorization.diagonal (q x)) * Definitions.DerivativeFactorization.kernel B (q x) z = latticeSummand L ψ x (B, z) := by |
| 85 | intro B z x |
| 86 | simp only [Definitions.DerivativeFactorization.kernel, latticeSummand, hq, AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinatePairing_apply] |
| 87 | rfl |
| 88 | have hzero : ∀ z r, r ∉ Set.range q → |
| 89 | φ.1 (Definitions.DerivativeFactorization.diagonal r) * Definitions.DerivativeFactorization.kernel Z.matrix r z = 0 := by |
| 90 | intro z r hr |
| 91 | have hp : φ.1 (Definitions.DerivativeFactorization.diagonal r) = 0 := by |
| 92 | by_contra h |
| 93 | exact hr (hsupport r h) |
| 94 | rw [hp, zero_mul] |
| 95 | have heq : Definitions.DerivativeFactorization.theta φ Z.matrix = |
| 96 | fun z => Definitions.theta L ψ Z.matrix z := by |
| 97 | funext z |
| 98 | have he := hqi.tsum_eq (f := fun r => φ.1 (Definitions.DerivativeFactorization.diagonal r) * Definitions.DerivativeFactorization.kernel Z.matrix r z) |
| 99 | (fun r hr => by |
| 100 | by_contra h |
| 101 | exact hr (hzero z r h)) |
| 102 | simpa only [Definitions.DerivativeFactorization.theta, Definitions.theta, hterm, latticeSummand] using he.symm |
| 103 | constructor |
| 104 | · intro z |
| 105 | apply (hqi.summable_iff (hzero z)).mp |
| 106 | simpa only [Function.comp_def, hterm] using (lattice_analysis h_GaussianConvergence L ψ Z z).1 |
| 107 | · have hs : ContDiff ℂ ⊤ (Definitions.DerivativeFactorization.theta φ Z.matrix) := by |
| 108 | rw [heq, contDiff_iff_contDiffAt] |
| 109 | exact fun z => (lattice_analysis h_GaussianConvergence L ψ Z z).2 |
| 110 | have hc : ContDiff ℂ ⊤ (AlgebraicGeometry.ComplexMultiplication.ThetaCompletion.CM.thetaCompletionFactor Z.completionForm) := by |
| 111 | exact Complex.contDiff_exp.comp (Z.completionForm.contDiff.clm_apply contDiff_id) |
| 112 | exact hc.mul hs |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.RepresentationTheory.Theta.Kernel.Analysis |