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.Weil.UnitarySplitting.NormGaussianNonzero |
| 2 | |
| 3 | /-! # Diagonal Norm Gaussian -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.DiagonalNormGaussian.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Products of the one-dimensional norm Gaussian give the Gaussian |
| 12 | formula for diagonal nondegenerate Hermitian forms. -/ |
| 13 | |
| 14 | open _root_.MeasureTheory _root_.Topology |
| 15 | open scoped BigOperators NNReal ENNReal |
| 16 | |
| 17 | def diagonalNormGaussianCutoff |
| 18 | {F E : Type} [NormedField F] [NormedField E] [Algebra F E] |
| 19 | [MeasurableSpace E] (μ : Measure E) (ψ : AddChar F ℂ) {d : ℕ} |
| 20 | (a : Fin d → F) (r : ℝ) : ℂ := |
| 21 | ∫ z : Fin d → E, ∏ i, (Metric.closedBall (0 : F) r).indicator |
| 22 | (fun x => ψ x) (a i * Algebra.norm F (z i)) ∂Measure.pi (fun _ => μ) |
| 23 | |
| 24 | theorem diagonalNormGaussianCutoff_eq_prod |
| 25 | {F E : Type} [NormedField F] [NormedField E] [Algebra F E] |
| 26 | [MeasurableSpace E] (μ : Measure E) [SigmaFinite μ] (ψ : AddChar F ℂ) {d : ℕ} |
| 27 | (a : Fin d → F) (r : ℝ) : |
| 28 | diagonalNormGaussianCutoff μ ψ a r = ∏ i, UltraNormGaussian.Construction.normGaussianCutoff μ ψ (a i) r := by |
| 29 | unfold diagonalNormGaussianCutoff UltraNormGaussian.Construction.normGaussianCutoff |
| 30 | exact integral_fintype_prod_eq_prod (μ := fun _ : Fin d => μ) |
| 31 | (fun i : Fin d => fun b : E => (Metric.closedBall (0 : F) r).indicator |
| 32 | (fun x => ψ x) (a i * Algebra.norm F b)) |
| 33 | |
| 34 | theorem diagonal_norm_gaussian_formula |
| 35 | {F E : Type} [NormedField F] [NormedField E] [Algebra F E] |
| 36 | [LocallyCompactSpace F] [MeasurableSpace F] [BorelSpace F] |
| 37 | [MeasurableSpace E] (μ : Measure E) [SigmaFinite μ] |
| 38 | (ψ : AddChar F ℂ) (ω : Fˣ →ₜ* Circle) (Γ : ℂ) (R : ℝ) |
| 39 | (hformula : ∀ r : ℝ, R ≤ r → ∀ a : Fˣ, |
| 40 | (FieldModulus.Construction.fieldModulus F a : ℂ) * UltraNormGaussian.Construction.normGaussianCutoff μ ψ (a : F) r = (ω a : ℂ) * Γ) |
| 41 | {d : ℕ} (a : Fin d → Fˣ) (r : ℝ) (hr : R ≤ r) : |
| 42 | (FieldModulus.Construction.fieldModulus F (∏ i, a i) : ℂ) * diagonalNormGaussianCutoff μ ψ (fun i => (a i : F)) r = |
| 43 | (ω (∏ i, a i) : ℂ) * Γ ^ d := by |
| 44 | rw [diagonalNormGaussianCutoff_eq_prod, map_prod, NNReal.coe_prod, Complex.ofReal_prod, |
| 45 | ← Finset.prod_mul_distrib] |
| 46 | simp_rw [hformula r hr] |
| 47 | rw [Finset.prod_mul_distrib, Finset.prod_const, Finset.card_univ, Fintype.card_fin, |
| 48 | map_prod] |
| 49 | congr 1 |
| 50 | exact (map_prod Circle.coeHom _ _).symm |
| 51 | |
| 52 | end |
| 53 | |
| 54 | /-! The unit-circle phase of a nonzero Gaussian integral removes all |
| 55 | positive Haar normalization factors. -/ |
| 56 | |
| 57 | open scoped BigOperators |
| 58 | |
| 59 | def gaussianPhase (z : ℂ) : ℂ := z / (‖z‖ : ℂ) |
| 60 | |
| 61 | theorem gaussianPhase_mul (z w : ℂ) : gaussianPhase (z * w) = gaussianPhase z * gaussianPhase w := by |
| 62 | unfold gaussianPhase |
| 63 | rw [norm_mul, Complex.ofReal_mul, mul_div_mul_comm] |
| 64 | |
| 65 | theorem gaussianPhase_pow (z : ℂ) (n : ℕ) : gaussianPhase (z ^ n) = gaussianPhase z ^ n := by |
| 66 | unfold gaussianPhase |
| 67 | rw [norm_pow, Complex.ofReal_pow, div_pow] |
| 68 | |
| 69 | theorem gaussianPhase_positive (r : ℝ) (hr : 0 < r) : gaussianPhase (r : ℂ) = 1 := by |
| 70 | unfold gaussianPhase |
| 71 | rw [Complex.norm_real, Real.norm_eq_abs, abs_of_pos hr, div_self (Complex.ofReal_ne_zero.mpr hr.ne')] |
| 72 | |
| 73 | theorem gaussianPhase_circle (u : Circle) : gaussianPhase (u : ℂ) = (u : ℂ) := by |
| 74 | unfold gaussianPhase |
| 75 | rw [u.norm_coe, Complex.ofReal_one, div_one] |
| 76 | |
| 77 | theorem gaussianPhase_norm {z : ℂ} (hz : z ≠ 0) : ‖gaussianPhase z‖ = 1 := by |
| 78 | unfold gaussianPhase |
| 79 | rw [norm_div, Complex.norm_real, Real.norm_eq_abs, abs_of_nonneg (norm_nonneg _), |
| 80 | div_self (norm_ne_zero_iff.mpr hz)] |
| 81 | |
| 82 | def gaussianCircle (z : ℂ) (hz : z ≠ 0) : Circle := |
| 83 | ⟨gaussianPhase z, mem_sphere_zero_iff_norm.mpr (gaussianPhase_norm hz)⟩ |
| 84 | |
| 85 | theorem positive_weight_gaussian_phase (r : ℝ) (hr : 0 < r) (u : Circle) (z w : ℂ) |
| 86 | (h : (r : ℂ) * z = (u : ℂ) * w) : gaussianPhase z = (u : ℂ) * gaussianPhase w := by |
| 87 | have hh := congrArg gaussianPhase h |
| 88 | rwa [gaussianPhase_mul, gaussianPhase_mul, gaussianPhase_positive r hr, |
| 89 | gaussianPhase_circle, one_mul] at hh |
| 90 | |
| 91 | theorem diagonal_norm_gaussian_phase |
| 92 | {F E : Type} [NormedField F] [NormedField E] [Algebra F E] |
| 93 | [LocallyCompactSpace F] [MeasurableSpace F] [BorelSpace F] |
| 94 | [MeasurableSpace E] (μ : MeasureTheory.Measure E) [MeasureTheory.SigmaFinite μ] |
| 95 | (ψ : AddChar F ℂ) (ω : Fˣ →ₜ* Circle) (Γ : ℂ) (R : ℝ) |
| 96 | (hformula : ∀ r : ℝ, R ≤ r → ∀ a : Fˣ, |
| 97 | (FieldModulus.Construction.fieldModulus F a : ℂ) * UltraNormGaussian.Construction.normGaussianCutoff μ ψ (a : F) r = (ω a : ℂ) * Γ) |
| 98 | {d : ℕ} (a : Fin d → Fˣ) (r : ℝ) (hr : R ≤ r) : |
| 99 | gaussianPhase (diagonalNormGaussianCutoff μ ψ (fun i => (a i : F)) r) = |
| 100 | (ω (∏ i, a i) : ℂ) * gaussianPhase Γ ^ d := by |
| 101 | have hpos : 0 < (FieldModulus.Construction.fieldModulus F (∏ i, a i) : ℝ) := FieldModulus.Construction.fieldModulus_pos _ |
| 102 | have hh := positive_weight_gaussian_phase _ hpos (ω (∏ i, a i)) _ (Γ ^ d) |
| 103 | (diagonal_norm_gaussian_formula μ ψ ω Γ R hformula a r hr) |
| 104 | rwa [gaussianPhase_pow] at hh |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.RepresentationTheory.Weil.UnitarySplitting.DiagonalNormGaussian.Construction |