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.ComplementIsometry |
| 2 | import OAI.RepresentationTheory.Weil.UnitarySplitting.FrameTransport |
| 3 | |
| 4 | /-! # Standard Transvections -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.StandardTransvections.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The standard symplectic form and rank-one transvections in the |
| 11 | coordinates used by the Schrödinger representation. -/ |
| 12 | |
| 13 | open OAI.RepresentationTheory.Weil.UnitarySplitting.ComplementIsometry.Transvections _root_.Matrix |
| 14 | open scoped BigOperators |
| 15 | |
| 16 | def standardSymplecticBilinear (F : Type) [NormedField F] (d : ℕ) : |
| 17 | LinearMap.BilinForm F (Local.FunctionsMetaplectic.Construction.PhaseSpace F d) where |
| 18 | toFun v := |
| 19 | { toFun := Oscillator.Construction.standardSymplecticPairing d v |
| 20 | map_add' x y := by |
| 21 | unfold Oscillator.Construction.standardSymplecticPairing |
| 22 | rw [← Finset.sum_add_distrib] |
| 23 | apply Finset.sum_congr rfl |
| 24 | intro i _ |
| 25 | simp only [Pi.add_apply] |
| 26 | ring |
| 27 | map_smul' a x := by |
| 28 | unfold Oscillator.Construction.standardSymplecticPairing |
| 29 | simp only [Pi.smul_apply, smul_eq_mul, RingHom.id_apply] |
| 30 | rw [Finset.mul_sum] |
| 31 | apply Finset.sum_congr rfl |
| 32 | intro i _ |
| 33 | ring } |
| 34 | map_add' v w := by |
| 35 | apply LinearMap.ext |
| 36 | intro x |
| 37 | change Oscillator.Construction.standardSymplecticPairing d (v + w) x = |
| 38 | Oscillator.Construction.standardSymplecticPairing d v x + Oscillator.Construction.standardSymplecticPairing d w x |
| 39 | unfold Oscillator.Construction.standardSymplecticPairing |
| 40 | rw [← Finset.sum_add_distrib] |
| 41 | apply Finset.sum_congr rfl |
| 42 | intro i _ |
| 43 | simp only [Pi.add_apply] |
| 44 | ring |
| 45 | map_smul' a v := by |
| 46 | apply LinearMap.ext |
| 47 | intro x |
| 48 | change Oscillator.Construction.standardSymplecticPairing d (a • v) x = a * Oscillator.Construction.standardSymplecticPairing d v x |
| 49 | unfold Oscillator.Construction.standardSymplecticPairing |
| 50 | rw [Finset.mul_sum] |
| 51 | apply Finset.sum_congr rfl |
| 52 | intro i _ |
| 53 | simp only [Pi.smul_apply, smul_eq_mul] |
| 54 | ring |
| 55 | |
| 56 | theorem standardSymplecticBilinear_apply {F : Type} [NormedField F] (d : ℕ) |
| 57 | (v w : Local.FunctionsMetaplectic.Construction.PhaseSpace F d) : standardSymplecticBilinear F d v w = Oscillator.Construction.standardSymplecticPairing d v w := rfl |
| 58 | |
| 59 | theorem standardSymplecticBilinear_alternating {F : Type} [NormedField F] (d : ℕ) : |
| 60 | (standardSymplecticBilinear F d).IsAlt := by |
| 61 | intro v |
| 62 | change Oscillator.Construction.standardSymplecticPairing d v v = 0 |
| 63 | unfold Oscillator.Construction.standardSymplecticPairing |
| 64 | apply Finset.sum_eq_zero |
| 65 | intro i _ |
| 66 | ring |
| 67 | |
| 68 | theorem standardSymplecticBilinear_nondegenerate {F : Type} [NormedField F] (d : ℕ) : |
| 69 | (standardSymplecticBilinear F d).Nondegenerate := by |
| 70 | classical |
| 71 | have hleft (v : Local.FunctionsMetaplectic.Construction.PhaseSpace F d) (hv : ∀ w, standardSymplecticBilinear F d v w = 0) : v = 0 := by |
| 72 | funext i |
| 73 | cases i with |
| 74 | | inl j => |
| 75 | have hh := hv (Pi.single (Sum.inr j) 1) |
| 76 | have hh' : -v (Sum.inl j) = 0 := by |
| 77 | simpa [standardSymplecticBilinear_apply, Oscillator.Construction.standardSymplecticPairing, Pi.single_apply] using hh |
| 78 | exact neg_eq_zero.mp hh' |
| 79 | | inr j => |
| 80 | have hh := hv (Pi.single (Sum.inl j) 1) |
| 81 | simpa [standardSymplecticBilinear_apply, Oscillator.Construction.standardSymplecticPairing, Pi.single_apply] using hh |
| 82 | constructor |
| 83 | · exact hleft |
| 84 | · intro v hv |
| 85 | apply hleft v |
| 86 | intro w |
| 87 | exact (standardSymplecticBilinear_alternating d).eq_iff.mp (hv w) |
| 88 | |
| 89 | def standardTransvection {F : Type} [NormedField F] {d : ℕ} (v : Local.FunctionsMetaplectic.Construction.PhaseSpace F d) (a : F) : |
| 90 | FrameTransport.Construction.StandardSymplectic F d := |
| 91 | DualPair.Transvections.transvection (standardSymplecticBilinear F d) (standardSymplecticBilinear_alternating d) v a |
| 92 | |
| 93 | theorem standardTransvection_apply {F : Type} [NormedField F] {d : ℕ} |
| 94 | (v x : Local.FunctionsMetaplectic.Construction.PhaseSpace F d) (a : F) : |
| 95 | (standardTransvection v a).val x = x + (a * Oscillator.Construction.standardSymplecticPairing d v x) • v := |
| 96 | DualPair.Transvections.transvection_apply (standardSymplecticBilinear F d) (standardSymplecticBilinear_alternating d) v x a |
| 97 | |
| 98 | def rankOneSymmetric {F : Type} [Field F] {d : ℕ} (p : Local.FunctionsMetaplectic.Construction.Position F d) (a : F) : Local.FunctionsMetaplectic.Construction.SymmetricMatrix F d := |
| 99 | ⟨fun i j => a * p i * p j, by |
| 100 | ext i j |
| 101 | change a * p j * p i = a * p i * p j |
| 102 | ring⟩ |
| 103 | |
| 104 | theorem standardTransvection_momentum {F : Type} [NormedField F] {d : ℕ} |
| 105 | (p : Local.FunctionsMetaplectic.Construction.Position F d) (a : F) : |
| 106 | standardTransvection (Sum.elim 0 p) a = FrameTransport.Construction.shearSymplectic (rankOneSymmetric p a) := by |
| 107 | apply Subtype.ext |
| 108 | apply LinearEquiv.ext |
| 109 | intro x |
| 110 | rw [standardTransvection_apply] |
| 111 | funext i |
| 112 | cases i with |
| 113 | | inl j => simp [FrameTransport.Construction.shearSymplectic, FrameTransport.Construction.shearLinearEquiv, FrameTransport.Construction.shearFunction, FourierCovariance.Construction.phasePosition] |
| 114 | | inr j => |
| 115 | change x (Sum.inr j) + (a * Oscillator.Construction.standardSymplecticPairing d (Sum.elim 0 p) x) * p j = |
| 116 | (∑ k, a * p j * p k * x (Sum.inl k)) + x (Sum.inr j) |
| 117 | simp only [Oscillator.Construction.standardSymplecticPairing, Sum.elim_inr, Sum.elim_inl, Pi.zero_apply, |
| 118 | zero_mul, sub_zero] |
| 119 | rw [add_comm] |
| 120 | congr 1 |
| 121 | rw [Finset.mul_sum, Finset.sum_mul] |
| 122 | apply Finset.sum_congr rfl |
| 123 | intro k _ |
| 124 | ring |
| 125 | |
| 126 | theorem exists_symmetric_mulVec {F : Type} [Field F] {d : ℕ} |
| 127 | (q p : Local.FunctionsMetaplectic.Construction.Position F d) (hq : q ≠ 0) : |
| 128 | ∃ B : Local.FunctionsMetaplectic.Construction.SymmetricMatrix F d, B.val *ᵥ q = p := by |
| 129 | classical |
| 130 | obtain ⟨i, hi⟩ : ∃ i, q i ≠ 0 := by |
| 131 | by_contra! h |
| 132 | exact hq (funext h) |
| 133 | let w : Local.FunctionsMetaplectic.Construction.Position F d := Pi.single i (q i)⁻¹ |
| 134 | have hw : w ⬝ᵥ q = 1 := by |
| 135 | simp [w, dotProduct, Pi.single_apply, hi] |
| 136 | let B : Matrix (Fin d) (Fin d) F := Matrix.vecMulVec p w + Matrix.vecMulVec w p - |
| 137 | (p ⬝ᵥ q) • Matrix.vecMulVec w w |
| 138 | have hsymm : B.IsSymm := by |
| 139 | ext j k |
| 140 | change p k * w j + w k * p j - (p ⬝ᵥ q) * (w k * w j) = |
| 141 | p j * w k + w j * p k - (p ⬝ᵥ q) * (w j * w k) |
| 142 | ring |
| 143 | refine ⟨⟨B, hsymm⟩, ?_⟩ |
| 144 | change B *ᵥ q = p |
| 145 | dsimp [B] |
| 146 | rw [Matrix.sub_mulVec, Matrix.add_mulVec, Matrix.smul_mulVec, |
| 147 | Matrix.vecMulVec_mulVec, Matrix.vecMulVec_mulVec, Matrix.vecMulVec_mulVec, hw] |
| 148 | funext j |
| 149 | change p j * 1 + w j * (p ⬝ᵥ q) - (p ⬝ᵥ q) * (w j * 1) = p j |
| 150 | ring |
| 151 | |
| 152 | theorem standardTransvection_conjugation {F : Type} [NormedField F] {d : ℕ} |
| 153 | (g : FrameTransport.Construction.StandardSymplectic F d) (v : Local.FunctionsMetaplectic.Construction.PhaseSpace F d) (a : F) : |
| 154 | g * standardTransvection v a * g⁻¹ = standardTransvection (g.val v) a := |
| 155 | DualPair.Transvections.transvection_conjugation (standardSymplecticBilinear F d) |
| 156 | (standardSymplecticBilinear_alternating d) g v a |
| 157 | |
| 158 | theorem shear_rotation_sends {F : Type} [NormedField F] {d : ℕ} |
| 159 | (v : Local.FunctionsMetaplectic.Construction.PhaseSpace F d) (hq : FourierCovariance.Construction.phasePosition v ≠ 0) : |
| 160 | ∃ B : Local.FunctionsMetaplectic.Construction.SymmetricMatrix F d, |
| 161 | (FrameTransport.Construction.shearSymplectic B * FrameTransport.Construction.rotationSymplectic d).val (Sum.elim 0 (FourierCovariance.Construction.phasePosition v)) = v := by |
| 162 | obtain ⟨B, hB⟩ := exists_symmetric_mulVec (FourierCovariance.Construction.phasePosition v) (FourierCovariance.Construction.phaseMomentum v) hq |
| 163 | refine ⟨B, ?_⟩ |
| 164 | funext i |
| 165 | cases i with |
| 166 | | inl j => rfl |
| 167 | | inr j => |
| 168 | change (B.val *ᵥ FourierCovariance.Construction.phasePosition v) j + -(0 : F) = v (Sum.inr j) |
| 169 | rw [neg_zero, add_zero, hB] |
| 170 | rfl |
| 171 | |
| 172 | end |
| 173 | |
| 174 | end OAI.RepresentationTheory.Weil.UnitarySplitting.StandardTransvections.Construction |