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.QuarterTurnStructure |
| 2 | import OAI.RepresentationTheory.Weil.Local.BareGeneration |
| 3 | import OAI.RepresentationTheory.Weil.Local.NormalizedFresnel |
| 4 | |
| 5 | /-! # Quarter Turn Kernel -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Weil.Local.QuarterTurnKernel.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Bare-kernel signs in the nonarchimedean case when -1 is a square. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory |
| 14 | open scoped ComplexConjugate |
| 15 | |
| 16 | def quarterTurnSubgroup {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 17 | [MeasurableSpace k] [BorelSpace k] (n : ℕ) (ψ : AddChar k ℂ) (r : k) (hr : r ^ 2 = -1) : |
| 18 | Subgroup (FunctionsMetaplectic.Construction.Oscillator k n ψ) where |
| 19 | carrier := {a | ∀ f, a.val.2 (QuarterTurnStructure.Construction.quarterTurnStructure r hr f) = QuarterTurnStructure.Construction.quarterTurnStructure r hr (a.val.2 f)} |
| 20 | one_mem' := fun _ => rfl |
| 21 | mul_mem' := by |
| 22 | intro a b ha hb f |
| 23 | change a.val.2 (b.val.2 (QuarterTurnStructure.Construction.quarterTurnStructure r hr f)) = QuarterTurnStructure.Construction.quarterTurnStructure r hr (a.val.2 (b.val.2 f)) |
| 24 | rw [hb, ha] |
| 25 | inv_mem' := by |
| 26 | intro a ha f |
| 27 | change a.val.2.symm (QuarterTurnStructure.Construction.quarterTurnStructure r hr f) = QuarterTurnStructure.Construction.quarterTurnStructure r hr (a.val.2.symm f) |
| 28 | apply a.val.2.injective |
| 29 | rw [LinearEquiv.apply_symm_apply, ha, LinearEquiv.apply_symm_apply] |
| 30 | |
| 31 | theorem nonarchimedean_metaplectic_le_quarterTurnSubgroup |
| 32 | {k : Type} [NormedField k] [LocallyCompactSpace k] [NonarchimedeanAddGroup k] [CharZero k] |
| 33 | [MeasurableSpace k] [BorelSpace k] |
| 34 | (hNondiscrete : ¬ DiscreteTopology k) (n : ℕ) |
| 35 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 36 | (hc : Continuous (fun t => ψ t)) (hn : ∃ t : k, ψ t ≠ 1) (r : k) (hr : r ^ 2 = -1) : |
| 37 | FunctionsMetaplectic.Construction.metaplecticSubgroup k n ψ ≤ quarterTurnSubgroup n ψ r hr := by |
| 38 | let : SecondCountableTopology k := FunctionsMetaplectic.Construction.localField_secondCountable k hNondiscrete |
| 39 | let H := quarterTurnSubgroup n ψ r hr |
| 40 | obtain ⟨w, hwπ, hw⟩ := NormalizedFresnel.Construction.exists_nonarchimedean_normalized_fourier_oscillator hNondiscrete n ψ hu hc hn |
| 41 | have hwH : w ∈ H := by |
| 42 | intro f |
| 43 | let : (FunctionsMetaplectic.Construction.selfDualMeasure k ψ).IsAddHaarMeasure := |
| 44 | NonarchimedeanHaar.Construction.nonarchimedean_selfDualMeasure_isAddHaarMeasure hNondiscrete ψ hu hc hn |
| 45 | apply Subtype.ext |
| 46 | funext x |
| 47 | rw [hw] |
| 48 | change _ = conj ((w.val.2 f).val (r • x)) |
| 49 | rw [hw] |
| 50 | exact QuarterTurnStructure.Construction.fourier_quarterTurnStructure r hr ψ hu (FunctionsMetaplectic.Construction.selfDualMeasure k ψ) f x |
| 51 | have hU (B : FunctionsMetaplectic.Construction.SymmetricMatrix k n) : (NonarchimedeanTestSpace.Construction.nonarchimedeanQuadraticMetaplectic hNondiscrete ψ hu hc B).val ∈ H := by |
| 52 | intro f |
| 53 | exact QuarterTurnStructure.Construction.quarterTurnStructure_quadratic r hr ψ hu (NonarchimedeanTestSpace.Construction.nonarchimedean_quadratic_mem ψ hu hc) B.val f |
| 54 | have hsurj := BareGeneration.Construction.subgroup_projection_surjective_of_quadratic_weyl hNondiscrete ψ hu hc H hU w hwH hwπ |
| 55 | have hder : commutator (FunctionsMetaplectic.Construction.Oscillator k n ψ) ≤ H := |
| 56 | BareGeneration.Construction.commutator_le_of_central_kernel (OscillatorProjection.Construction.oscillatorProjection k n ψ) H |
| 57 | (fun x => by |
| 58 | have h : OscillatorProjection.Construction.oscillatorProjection k n ψ x ∈ H.map (OscillatorProjection.Construction.oscillatorProjection k n ψ) := by rw [hsurj]; trivial |
| 59 | exact h) |
| 60 | (BareGeneration.Construction.nonarchimedean_oscillator_kernel_central hNondiscrete ψ hu hc hn) |
| 61 | change Subgroup.closure (commutatorSet (FunctionsMetaplectic.Construction.Oscillator k n ψ) ∪ {FunctionsMetaplectic.Construction.oscillatorMinus k n ψ}) ≤ H |
| 62 | rw [Subgroup.closure_le] |
| 63 | intro x hx |
| 64 | rcases hx with hx | hx |
| 65 | · apply hder |
| 66 | rw [commutator_eq_closure] |
| 67 | exact Subgroup.subset_closure hx |
| 68 | · obtain rfl := Set.mem_singleton_iff.mp hx |
| 69 | intro f |
| 70 | exact (QuarterTurnStructure.Construction.quarterTurnStructure_neg r hr f).symm |
| 71 | |
| 72 | theorem nonarchimedean_metaplectic_kernel_sign_of_sqrt_neg_one |
| 73 | {k : Type} [NormedField k] [LocallyCompactSpace k] [NonarchimedeanAddGroup k] [CharZero k] |
| 74 | [MeasurableSpace k] [BorelSpace k] |
| 75 | (hNondiscrete : ¬ DiscreteTopology k) {n : ℕ} |
| 76 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 77 | (hc : Continuous (fun t => ψ t)) (hn : ∃ t : k, ψ t ≠ 1) |
| 78 | (r : k) (hr : r ^ 2 = -1) (a : FunctionsMetaplectic.Construction.Metaplectic k n ψ) (ha : FunctionsMetaplectic.Construction.metaplecticProjection k n ψ a = 1) : |
| 79 | ∃ ε : ℂ, ε ^ 2 = 1 ∧ ∀ f : FunctionsMetaplectic.Construction.schwartzBruhat k n, a.val.val.2 f = ε • f := by |
| 80 | obtain ⟨z, hz, hscalar⟩ := BruhatCosets.Construction.nonarchimedean_oscillator_kernel_unit_scalar hNondiscrete ψ hu hc hn a.val ha |
| 81 | have hcomm := nonarchimedean_metaplectic_le_quarterTurnSubgroup hNondiscrete n ψ hu hc hn r hr a.property |
| 82 | by_cases he : ∃ f : FunctionsMetaplectic.Construction.schwartzBruhat k n, f ≠ 0 |
| 83 | · obtain ⟨f, hf⟩ := he |
| 84 | obtain ⟨y, hy⟩ : ∃ y, f.val y ≠ 0 := by |
| 85 | by_contra! h |
| 86 | exact hf (Subtype.ext (funext h)) |
| 87 | have hh := hcomm f |
| 88 | rw [hscalar, hscalar, QuarterTurnStructure.Construction.quarterTurnStructure_smul] at hh |
| 89 | have hv := congrArg (fun g : FunctionsMetaplectic.Construction.schwartzBruhat k n => g.val ((-r) • y)) hh |
| 90 | have hxy : r • ((-r) • y) = y := by |
| 91 | rw [smul_smul, mul_neg, ← pow_two, hr, neg_neg, one_smul] |
| 92 | change z * conj (f.val (r • ((-r) • y))) = conj z * conj (f.val (r • ((-r) • y))) at hv |
| 93 | rw [hxy] at hv |
| 94 | have hreal : z = conj z := mul_right_cancel₀ ((map_ne_zero (starRingEnd ℂ)).mpr hy) hv |
| 95 | refine ⟨z, ?_, hscalar⟩ |
| 96 | calc |
| 97 | z ^ 2 = z * conj z := by rw [← hreal, pow_two] |
| 98 | _ = 1 := by rw [Complex.mul_conj, Complex.normSq_eq_norm_sq, hz]; norm_num |
| 99 | · refine ⟨1, one_pow 2, fun f => ?_⟩ |
| 100 | have hf : f = 0 := by by_contra h; exact he ⟨f, h⟩ |
| 101 | rw [hf, map_zero, smul_zero] |
| 102 | |
| 103 | theorem nonarchimedean_metaplectic_same_projection_sign_of_sqrt_neg_one |
| 104 | {k : Type} [NormedField k] [LocallyCompactSpace k] [NonarchimedeanAddGroup k] [CharZero k] |
| 105 | [MeasurableSpace k] [BorelSpace k] |
| 106 | (hNondiscrete : ¬ DiscreteTopology k) {n : ℕ} |
| 107 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 108 | (hc : Continuous (fun t => ψ t)) (hn : ∃ t : k, ψ t ≠ 1) |
| 109 | (r : k) (hr : r ^ 2 = -1) (a b : FunctionsMetaplectic.Construction.Metaplectic k n ψ) |
| 110 | (hab : FunctionsMetaplectic.Construction.metaplecticProjection k n ψ a = FunctionsMetaplectic.Construction.metaplecticProjection k n ψ b) : |
| 111 | ∃ ε : ℂ, ε ^ 2 = 1 ∧ ∀ f : FunctionsMetaplectic.Construction.schwartzBruhat k n, |
| 112 | FunctionsMetaplectic.Construction.weilRepresentation k n ψ a f = ε • FunctionsMetaplectic.Construction.weilRepresentation k n ψ b f := by |
| 113 | have hker : FunctionsMetaplectic.Construction.metaplecticProjection k n ψ (a * b⁻¹) = 1 := by |
| 114 | rw [map_mul, map_inv, hab, mul_inv_cancel] |
| 115 | obtain ⟨ε, hε, h⟩ := nonarchimedean_metaplectic_kernel_sign_of_sqrt_neg_one hNondiscrete ψ hu hc hn |
| 116 | r hr (a * b⁻¹) hker |
| 117 | refine ⟨ε, hε, fun f => ?_⟩ |
| 118 | have hh := h (b.val.val.2 f) |
| 119 | change a.val.val.2 (b.val.val.2.symm (b.val.val.2 f)) = ε • b.val.val.2 f at hh |
| 120 | simpa only [LinearEquiv.symm_apply_apply] using! hh |
| 121 | |
| 122 | end |
| 123 | |
| 124 | end OAI.RepresentationTheory.Weil.Local.QuarterTurnKernel.Construction |