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.NonarchimedeanDiagonalLevi |
| 2 | import OAI.RepresentationTheory.Weil.Local.SquareDeterminantLift |
| 3 | |
| 4 | /-! # Nonarchimedean Levi -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.NonarchimedeanLevi.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The exact bare Levi generator at every nonarchimedean place and every determinant. -/ |
| 11 | |
| 12 | open _root_.Matrix |
| 13 | |
| 14 | theorem exists_nonarchimedean_coordinate_levi_metaplectic |
| 15 | {k : Type} [NormedField k] [LocallyCompactSpace k] [NonarchimedeanAddGroup k] [CharZero k] |
| 16 | [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] |
| 17 | (hNondiscrete : ¬ DiscreteTopology k) {n : ℕ} |
| 18 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 19 | (hc : Continuous (fun t => ψ t)) (hn : ∃ t : k, ψ t ≠ 1) (j : Fin n) (b : kˣ) : |
| 20 | ∃ m : FunctionsMetaplectic.Construction.Metaplectic k n ψ, FunctionsMetaplectic.Construction.metaplecticProjection k n ψ m = Generators.Construction.leviSymplectic (SpecialLinearCommutators.Construction.coordinateDiagonal j b) ∧ |
| 21 | ∀ f : FunctionsMetaplectic.Construction.schwartzBruhat k n, |
| 22 | FunctionsMetaplectic.Construction.weilRepresentation k n ψ m f = (FunctionsMetaplectic.Construction.gaussianIndex k ψ b.val / FunctionsMetaplectic.Construction.gaussianIndex k ψ 1) • |
| 23 | (LinearIntertwiner.Construction.linearOscillator ψ (SpecialLinearCommutators.Construction.coordinateDiagonal j b)).val.2 f := by |
| 24 | classical |
| 25 | let a : Fin n → kˣ := fun i => if i = j then b else 1 |
| 26 | have hD : DiagonalAlgebra.Construction.diagonalGeneralLinear a = SpecialLinearCommutators.Construction.coordinateDiagonal j b := by |
| 27 | apply Units.ext |
| 28 | change diagonal (fun i => (a i).val) = diagonal (fun i => if i = j then b.val else 1) |
| 29 | congr 1 |
| 30 | funext i |
| 31 | dsimp [a] |
| 32 | split_ifs <;> rfl |
| 33 | obtain ⟨m, hm, hop⟩ := NonarchimedeanDiagonalLevi.Construction.exists_nonarchimedean_diagonal_levi_metaplectic hNondiscrete ψ hu hc hn a |
| 34 | have hγ : FunctionsMetaplectic.Construction.gaussianIndex k ψ 1 ≠ 0 := |
| 35 | FunctionsMetaplectic.Construction.phase_ne_zero (GaussianCompact.Construction.nonarchimedean_gaussian_limit_nonzero hNondiscrete ψ hu hc hn 1 one_ne_zero).2 |
| 36 | have hratio : (∏ i, FunctionsMetaplectic.Construction.gaussianIndex k ψ (a i).val) / FunctionsMetaplectic.Construction.gaussianIndex k ψ 1 ^ n = |
| 37 | FunctionsMetaplectic.Construction.gaussianIndex k ψ b.val / FunctionsMetaplectic.Construction.gaussianIndex k ψ 1 := by |
| 38 | have he (i : Fin n) : FunctionsMetaplectic.Construction.gaussianIndex k ψ (a i).val / FunctionsMetaplectic.Construction.gaussianIndex k ψ 1 = |
| 39 | if i = j then FunctionsMetaplectic.Construction.gaussianIndex k ψ b.val / FunctionsMetaplectic.Construction.gaussianIndex k ψ 1 else 1 := by |
| 40 | dsimp [a] |
| 41 | split_ifs |
| 42 | · rfl |
| 43 | · exact div_self hγ |
| 44 | calc |
| 45 | _ = ∏ i, FunctionsMetaplectic.Construction.gaussianIndex k ψ (a i).val / FunctionsMetaplectic.Construction.gaussianIndex k ψ 1 := by |
| 46 | rw [Finset.prod_div_distrib] |
| 47 | simp only [Finset.prod_const, Finset.card_univ, Fintype.card_fin] |
| 48 | _ = _ := by simp only [he, Finset.prod_ite_eq', Finset.mem_univ, ite_true] |
| 49 | refine ⟨m, ?_, fun f => ?_⟩ |
| 50 | · rwa [hD] at hm |
| 51 | · simpa only [hD, hratio] using hop f |
| 52 | |
| 53 | theorem exists_nonarchimedean_levi_metaplectic |
| 54 | {k : Type} [NormedField k] [LocallyCompactSpace k] [NonarchimedeanAddGroup k] [CharZero k] |
| 55 | [MeasurableSpace k] [BorelSpace k] |
| 56 | (hNondiscrete : ¬ DiscreteTopology k) (n : ℕ) (hn : 0 < n) |
| 57 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 58 | (hc : Continuous (fun t => ψ t)) (hψ : ∃ t : k, ψ t ≠ 1) (A : FunctionsMetaplectic.Construction.GeneralLinear k n) : |
| 59 | ∃ m : FunctionsMetaplectic.Construction.Metaplectic k n ψ, FunctionsMetaplectic.Construction.metaplecticProjection k n ψ m = Generators.Construction.leviSymplectic A ∧ |
| 60 | ∀ (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : FunctionsMetaplectic.Construction.Position k n), |
| 61 | (FunctionsMetaplectic.Construction.weilRepresentation k n ψ m f).val x = |
| 62 | (FunctionsMetaplectic.Construction.gaussianIndex k ψ (FunctionsMetaplectic.Construction.determinantUnit k A) / FunctionsMetaplectic.Construction.gaussianIndex k ψ 1) * |
| 63 | ((Real.sqrt (FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k A)))⁻¹ : ℂ) * f.val (A⁻¹.val *ᵥ x) := by |
| 64 | let : SecondCountableTopology k := FunctionsMetaplectic.Construction.localField_secondCountable k hNondiscrete |
| 65 | let j : Fin n := ⟨0, hn⟩ |
| 66 | let D := SpecialLinearCommutators.Construction.coordinateDiagonal j (FunctionsMetaplectic.Construction.determinantUnit k A) |
| 67 | let S := A * D⁻¹ |
| 68 | have hDdet : FunctionsMetaplectic.Construction.determinantUnit k D = FunctionsMetaplectic.Construction.determinantUnit k A := ComplexLevi.Construction.coordinateDiagonal_determinant j _ |
| 69 | have hSdet : S.val.det = 1 := by |
| 70 | change (FunctionsMetaplectic.Construction.determinantUnit k (A * D⁻¹)).val = 1 |
| 71 | rw [LinearOscillatorHom.Construction.determinantUnit_mul, FourierLinearSubstitution.Construction.determinantUnit_inv, hDdet, mul_inv_cancel, Units.val_one] |
| 72 | have hSD : S * D = A := by dsimp [S]; rw [mul_assoc, inv_mul_cancel, mul_one] |
| 73 | let mS := SpecialLinearCommutators.Construction.specialLinearMetaplectic hNondiscrete ψ S hSdet |
| 74 | obtain ⟨mD, hmD, hmDa⟩ := exists_nonarchimedean_coordinate_levi_metaplectic hNondiscrete ψ hu hc hψ j |
| 75 | (FunctionsMetaplectic.Construction.determinantUnit k A) |
| 76 | have hmSop (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) : FunctionsMetaplectic.Construction.weilRepresentation k n ψ mS f = (LinearIntertwiner.Construction.linearOscillator ψ S).val.2 f := rfl |
| 77 | have hL : LinearIntertwiner.Construction.linearOscillator ψ S * LinearIntertwiner.Construction.linearOscillator ψ D = LinearIntertwiner.Construction.linearOscillator ψ A := by |
| 78 | rw [← LinearOscillatorHom.Construction.linearOscillator_mul, hSD] |
| 79 | refine ⟨mS * mD, ?_, fun f x => ?_⟩ |
| 80 | · rw [map_mul, SpecialLinearCommutators.Construction.specialLinearMetaplectic_projection, hmD] |
| 81 | exact congrArg (OscillatorProjection.Construction.oscillatorProjection k n ψ) hL |
| 82 | · change (FunctionsMetaplectic.Construction.weilRepresentation k n ψ mS (FunctionsMetaplectic.Construction.weilRepresentation k n ψ mD f)).val x = _ |
| 83 | rw [hmSop, hmDa, map_smul] |
| 84 | have he := congrArg (fun b : FunctionsMetaplectic.Construction.Oscillator k n ψ => b.val.2 f) hL |
| 85 | change (LinearIntertwiner.Construction.linearOscillator ψ S).val.2 ((LinearIntertwiner.Construction.linearOscillator ψ D).val.2 f) = (LinearIntertwiner.Construction.linearOscillator ψ A).val.2 f at he |
| 86 | change (FunctionsMetaplectic.Construction.gaussianIndex k ψ (FunctionsMetaplectic.Construction.determinantUnit k A) / FunctionsMetaplectic.Construction.gaussianIndex k ψ 1) * |
| 87 | ((LinearIntertwiner.Construction.linearOscillator ψ S).val.2 ((LinearIntertwiner.Construction.linearOscillator ψ D).val.2 f)).val x = _ |
| 88 | rw [he, LinearIntertwiner.Construction.linearOscillator_apply] |
| 89 | ring |
| 90 | |
| 91 | def nonarchimedeanLinearMetaplectic |
| 92 | {k : Type} [NormedField k] [LocallyCompactSpace k] [NonarchimedeanAddGroup k] [CharZero k] |
| 93 | [MeasurableSpace k] [BorelSpace k] |
| 94 | (hNondiscrete : ¬ DiscreteTopology k) (n : ℕ) (hn : 0 < n) |
| 95 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 96 | (hc : Continuous (fun t => ψ t)) (hψ : ∃ t : k, ψ t ≠ 1) (A : FunctionsMetaplectic.Construction.GeneralLinear k n) : |
| 97 | FunctionsMetaplectic.Construction.Metaplectic k n ψ := |
| 98 | Classical.choose (exists_nonarchimedean_levi_metaplectic hNondiscrete n hn ψ hu hc hψ A) |
| 99 | |
| 100 | theorem nonarchimedeanLinearMetaplectic_projection |
| 101 | {k : Type} [NormedField k] [LocallyCompactSpace k] [NonarchimedeanAddGroup k] [CharZero k] |
| 102 | [MeasurableSpace k] [BorelSpace k] |
| 103 | (hNondiscrete : ¬ DiscreteTopology k) (n : ℕ) (hn : 0 < n) |
| 104 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 105 | (hc : Continuous (fun t => ψ t)) (hψ : ∃ t : k, ψ t ≠ 1) (A : FunctionsMetaplectic.Construction.GeneralLinear k n) : |
| 106 | FunctionsMetaplectic.Construction.metaplecticProjection k n ψ (nonarchimedeanLinearMetaplectic hNondiscrete n hn ψ hu hc hψ A) = |
| 107 | Generators.Construction.leviSymplectic A := |
| 108 | (Classical.choose_spec (exists_nonarchimedean_levi_metaplectic hNondiscrete n hn ψ hu hc hψ A)).1 |
| 109 | |
| 110 | theorem nonarchimedeanLinearMetaplectic_apply |
| 111 | {k : Type} [NormedField k] [LocallyCompactSpace k] [NonarchimedeanAddGroup k] [CharZero k] |
| 112 | [MeasurableSpace k] [BorelSpace k] |
| 113 | (hNondiscrete : ¬ DiscreteTopology k) (n : ℕ) (hn : 0 < n) |
| 114 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 115 | (hc : Continuous (fun t => ψ t)) (hψ : ∃ t : k, ψ t ≠ 1) (A : FunctionsMetaplectic.Construction.GeneralLinear k n) |
| 116 | (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : FunctionsMetaplectic.Construction.Position k n) : |
| 117 | (FunctionsMetaplectic.Construction.weilRepresentation k n ψ (nonarchimedeanLinearMetaplectic hNondiscrete n hn ψ hu hc hψ A) f).val x = |
| 118 | (FunctionsMetaplectic.Construction.gaussianIndex k ψ (FunctionsMetaplectic.Construction.determinantUnit k A) / FunctionsMetaplectic.Construction.gaussianIndex k ψ 1) * |
| 119 | ((Real.sqrt (FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k A)))⁻¹ : ℂ) * f.val (A⁻¹.val *ᵥ x) := |
| 120 | (Classical.choose_spec (exists_nonarchimedean_levi_metaplectic hNondiscrete n hn ψ hu hc hψ A)).2 f x |
| 121 | |
| 122 | end |
| 123 | |
| 124 | end OAI.RepresentationTheory.Weil.Local.NonarchimedeanLevi.Construction |