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.Local.GaussianNormInvariance |
| 2 | import OAI.RepresentationTheory.Weil.Local.QuadraticNormIndex |
| 3 | import OAI.RepresentationTheory.Weil.Local.IndexTwoPhaseCharacter |
| 4 | |
| 5 | /-! # Gaussian Square Character -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Weil.Local.GaussianSquareCharacter.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The normalized squared actual Gaussian index is a quadratic character at a nonsplit nonarchimedean place. -/ |
| 12 | |
| 13 | variable {k : Type} [NormedField k] [LocallyCompactSpace k] [NonarchimedeanAddGroup k] [CharZero k] |
| 14 | [MeasurableSpace k] [BorelSpace k] |
| 15 | (hnd : ¬ DiscreteTopology k) (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 16 | (hc : Continuous (fun t => ψ t)) (hn : ∃ t : k, ψ t ≠ 1) |
| 17 | |
| 18 | def nonarchimedeanGaussianSquaredUnit (a : kˣ) : ℂˣ := |
| 19 | Units.mk0 (FunctionsMetaplectic.Construction.gaussianIndex k ψ a.val ^ 2) (pow_ne_zero 2 |
| 20 | (FunctionsMetaplectic.Construction.phase_ne_zero (GaussianCompact.Construction.nonarchimedean_gaussian_limit_nonzero hnd ψ hu hc hn a.val a.ne_zero).2)) |
| 21 | |
| 22 | theorem nonarchimedeanGaussianSquaredUnit_norm_mul (a b : kˣ) (hb : b ∈ QuadraticNormSubgroup.Construction.quadraticNormSubgroup k) : |
| 23 | nonarchimedeanGaussianSquaredUnit hnd ψ hu hc hn (a * b) = |
| 24 | nonarchimedeanGaussianSquaredUnit hnd ψ hu hc hn a := by |
| 25 | apply Units.ext |
| 26 | exact GaussianNormInvariance.Construction.nonarchimedean_gaussianIndex_sq_mul_norm hnd ψ hu hc hn a b hb |
| 27 | |
| 28 | theorem nonarchimedeanGaussianSquaredUnit_neg (a : kˣ) : |
| 29 | nonarchimedeanGaussianSquaredUnit hnd ψ hu hc hn ((-1) * a) = |
| 30 | (nonarchimedeanGaussianSquaredUnit hnd ψ hu hc hn a)⁻¹ := by |
| 31 | apply Units.ext |
| 32 | rw [Units.val_inv_eq_inv_val] |
| 33 | change FunctionsMetaplectic.Construction.gaussianIndex k ψ ((-1) * a).val ^ 2 = (FunctionsMetaplectic.Construction.gaussianIndex k ψ a.val ^ 2)⁻¹ |
| 34 | rw [Units.val_mul] |
| 35 | change FunctionsMetaplectic.Construction.gaussianIndex k ψ ((-1) * a.val) ^ 2 = _ |
| 36 | rw [neg_one_mul, GaussianNonarchimedean.Construction.nonarchimedean_gaussianIndex_neg hnd ψ hu hc hn a.val a.ne_zero, inv_pow] |
| 37 | |
| 38 | theorem nonarchimedeanGaussianSquaredUnit_fourth (a : kˣ) : |
| 39 | nonarchimedeanGaussianSquaredUnit hnd ψ hu hc hn a ^ 4 = 1 := by |
| 40 | apply Units.ext |
| 41 | change (FunctionsMetaplectic.Construction.gaussianIndex k ψ a.val ^ 2) ^ 4 = 1 |
| 42 | rw [← pow_mul] |
| 43 | exact GaussianNonarchimedean.Construction.nonarchimedean_gaussianIndex_eighth hnd ψ hu hc hn a.val a.ne_zero |
| 44 | |
| 45 | def nonarchimedeanGaussianSquareCharacter [CompleteSpace k] (h : ¬ ∃ t : k, t ^ 2 = -1) : |
| 46 | kˣ →* ℂˣ := by |
| 47 | let : IsUltrametricDist k := NonarchimedeanNorm.Construction.nonarchimedean_norm_ultrametric k hnd |
| 48 | exact IndexTwoPhaseCharacter.Construction.indexTwoPhaseCharacter (QuadraticNormSubgroup.Construction.quadraticNormSubgroup k) (QuadraticNormIndex.Construction.localField_quadraticNorm_index_two hnd h) |
| 49 | (nonarchimedeanGaussianSquaredUnit hnd ψ hu hc hn) (-1) |
| 50 | (nonarchimedeanGaussianSquaredUnit_norm_mul hnd ψ hu hc hn) |
| 51 | (nonarchimedeanGaussianSquaredUnit_neg hnd ψ hu hc hn) |
| 52 | (nonarchimedeanGaussianSquaredUnit_fourth hnd ψ hu hc hn) |
| 53 | |
| 54 | theorem nonarchimedeanGaussianSquareCharacter_apply [CompleteSpace k] |
| 55 | (h : ¬ ∃ t : k, t ^ 2 = -1) (a : kˣ) : |
| 56 | (nonarchimedeanGaussianSquareCharacter hnd ψ hu hc hn h a).val = |
| 57 | (FunctionsMetaplectic.Construction.gaussianIndex k ψ a.val / FunctionsMetaplectic.Construction.gaussianIndex k ψ 1) ^ 2 := by |
| 58 | change FunctionsMetaplectic.Construction.gaussianIndex k ψ a.val ^ 2 / FunctionsMetaplectic.Construction.gaussianIndex k ψ 1 ^ 2 = _ |
| 59 | rw [div_pow] |
| 60 | |
| 61 | theorem nonarchimedeanGaussianSquareCharacter_square [CompleteSpace k] |
| 62 | (h : ¬ ∃ t : k, t ^ 2 = -1) (a : kˣ) : |
| 63 | nonarchimedeanGaussianSquareCharacter hnd ψ hu hc hn h a ^ 2 = 1 := by |
| 64 | let : IsUltrametricDist k := NonarchimedeanNorm.Construction.nonarchimedean_norm_ultrametric k hnd |
| 65 | exact IndexTwoPhaseCharacter.Construction.indexTwo_phase_ratio_square (QuadraticNormSubgroup.Construction.quadraticNormSubgroup k) (QuadraticNormIndex.Construction.localField_quadraticNorm_index_two hnd h) |
| 66 | (nonarchimedeanGaussianSquaredUnit hnd ψ hu hc hn) (-1) |
| 67 | (nonarchimedeanGaussianSquaredUnit_norm_mul hnd ψ hu hc hn) |
| 68 | (nonarchimedeanGaussianSquaredUnit_neg hnd ψ hu hc hn) |
| 69 | (nonarchimedeanGaussianSquaredUnit_fourth hnd ψ hu hc hn) a |
| 70 | |
| 71 | include hnd hu hc hn in |
| 72 | theorem nonarchimedean_gaussianIndex_normalized_sq_mul [CompleteSpace k] |
| 73 | (h : ¬ ∃ t : k, t ^ 2 = -1) (a b : kˣ) : |
| 74 | (FunctionsMetaplectic.Construction.gaussianIndex k ψ (a * b).val / FunctionsMetaplectic.Construction.gaussianIndex k ψ 1) ^ 2 = |
| 75 | (FunctionsMetaplectic.Construction.gaussianIndex k ψ a.val / FunctionsMetaplectic.Construction.gaussianIndex k ψ 1) ^ 2 * |
| 76 | (FunctionsMetaplectic.Construction.gaussianIndex k ψ b.val / FunctionsMetaplectic.Construction.gaussianIndex k ψ 1) ^ 2 := by |
| 77 | have hh := congrArg Units.val ((nonarchimedeanGaussianSquareCharacter hnd ψ hu hc hn h).map_mul a b) |
| 78 | simpa only [Units.val_mul, nonarchimedeanGaussianSquareCharacter_apply] using hh |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.RepresentationTheory.Weil.Local.GaussianSquareCharacter.Construction |