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.DeterminantMeasure |
| 2 | import OAI.RepresentationTheory.Weil.Local.Generators |
| 3 | |
| 4 | /-! # Linear Intertwiner -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.LinearIntertwiner.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual linear-substitution lifts to the Heisenberg oscillator extension. -/ |
| 11 | |
| 12 | open _root_.Matrix _root_.MeasureTheory |
| 13 | open scoped BigOperators |
| 14 | |
| 15 | def positionPart {k : Type} {n : ℕ} (v : FunctionsMetaplectic.Construction.PhaseSpace k n) : FunctionsMetaplectic.Construction.Position k n := |
| 16 | fun i => v (Sum.inl i) |
| 17 | |
| 18 | def momentumPart {k : Type} {n : ℕ} (v : FunctionsMetaplectic.Construction.PhaseSpace k n) : FunctionsMetaplectic.Construction.Position k n := |
| 19 | fun i => v (Sum.inr i) |
| 20 | |
| 21 | theorem heisenbergFunction_eq_dot {k : Type} [Field k] {n : ℕ} |
| 22 | (ψ : AddChar k ℂ) (v : FunctionsMetaplectic.Construction.PhaseSpace k n) (f : FunctionsMetaplectic.Construction.Position k n → ℂ) (x : FunctionsMetaplectic.Construction.Position k n) : |
| 23 | FunctionsMetaplectic.Construction.heisenbergFunction ψ v f x = |
| 24 | ψ (FunctionsMetaplectic.Construction.dot (momentumPart v) (x - (2 : k)⁻¹ • positionPart v)) * f (x - positionPart v) := by |
| 25 | unfold FunctionsMetaplectic.Construction.heisenbergFunction FunctionsMetaplectic.Construction.dot positionPart momentumPart |
| 26 | congr 2 |
| 27 | apply Finset.sum_congr rfl |
| 28 | intro i _ |
| 29 | simp only [Pi.sub_apply, Pi.smul_apply, smul_eq_mul, div_eq_mul_inv] |
| 30 | rw [mul_comm (2 : k)⁻¹] |
| 31 | |
| 32 | theorem positionPart_levi {k : Type} [Field k] {n : ℕ} |
| 33 | (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (v : FunctionsMetaplectic.Construction.PhaseSpace k n) : |
| 34 | positionPart (FunctionsMetaplectic.Construction.symplecticAction (Generators.Construction.leviSymplectic A) v) = |
| 35 | (A : Matrix (Fin n) (Fin n) k) *ᵥ positionPart v := by |
| 36 | funext i |
| 37 | simp [positionPart, FunctionsMetaplectic.Construction.symplecticAction, Generators.Construction.leviSymplectic_matrix, |
| 38 | Matrix.mulVec, dotProduct, Fintype.sum_sum_type, Matrix.fromBlocks] |
| 39 | |
| 40 | theorem momentumPart_levi {k : Type} [Field k] {n : ℕ} |
| 41 | (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (v : FunctionsMetaplectic.Construction.PhaseSpace k n) : |
| 42 | momentumPart (FunctionsMetaplectic.Construction.symplecticAction (Generators.Construction.leviSymplectic A) v) = |
| 43 | (↑(A⁻¹) : Matrix (Fin n) (Fin n) k).transpose *ᵥ momentumPart v := by |
| 44 | funext i |
| 45 | simp [momentumPart, FunctionsMetaplectic.Construction.symplecticAction, Generators.Construction.leviSymplectic_matrix, |
| 46 | Matrix.mulVec, dotProduct, Fintype.sum_sum_type, Matrix.fromBlocks] |
| 47 | |
| 48 | theorem substitutionOperator_heisenberg {k : Type} [Field k] {n : ℕ} |
| 49 | (ψ : AddChar k ℂ) (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (v : FunctionsMetaplectic.Construction.PhaseSpace k n) |
| 50 | (f : FunctionsMetaplectic.Construction.Position k n → ℂ) : |
| 51 | FunctionsMetaplectic.Construction.substitutionOperator A (FunctionsMetaplectic.Construction.heisenbergFunction ψ v f) = |
| 52 | FunctionsMetaplectic.Construction.heisenbergFunction ψ (FunctionsMetaplectic.Construction.symplecticAction (Generators.Construction.leviSymplectic A) v) (FunctionsMetaplectic.Construction.substitutionOperator A f) := by |
| 53 | funext x |
| 54 | rw [FunctionsMetaplectic.Construction.substitutionOperator_apply, heisenbergFunction_eq_dot, heisenbergFunction_eq_dot, |
| 55 | positionPart_levi, momentumPart_levi, FunctionsMetaplectic.Construction.substitutionOperator_apply] |
| 56 | have harg : (↑(A⁻¹) : Matrix (Fin n) (Fin n) k) *ᵥ |
| 57 | (x - (↑A : Matrix (Fin n) (Fin n) k) *ᵥ positionPart v) = |
| 58 | (↑(A⁻¹) : Matrix (Fin n) (Fin n) k) *ᵥ x - positionPart v := by |
| 59 | simp only [Matrix.mulVec_sub, Matrix.mulVec_mulVec, ← Units.val_mul, |
| 60 | inv_mul_cancel, Units.val_one, Matrix.one_mulVec] |
| 61 | rw [harg] |
| 62 | congr 2 |
| 63 | symm |
| 64 | rw [FourierTools.Construction.dot_comm] |
| 65 | change (x - (2 : k)⁻¹ • ((↑A : Matrix (Fin n) (Fin n) k) *ᵥ positionPart v)) ⬝ᵥ |
| 66 | (↑(A⁻¹) : Matrix (Fin n) (Fin n) k).transpose *ᵥ momentumPart v = _ |
| 67 | rw [Matrix.dotProduct_transpose_mulVec] |
| 68 | simp only [Matrix.mulVec_sub, Matrix.mulVec_smul, Matrix.mulVec_mulVec, |
| 69 | ← Units.val_mul, inv_mul_cancel, Units.val_one, Matrix.one_mulVec] |
| 70 | rfl |
| 71 | |
| 72 | theorem heisenbergFunction_smul {k : Type} [Field k] {n : ℕ} |
| 73 | (ψ : AddChar k ℂ) (v : FunctionsMetaplectic.Construction.PhaseSpace k n) (f : FunctionsMetaplectic.Construction.Position k n → ℂ) (c : ℂ) : |
| 74 | FunctionsMetaplectic.Construction.heisenbergFunction ψ v (c • f) = c • FunctionsMetaplectic.Construction.heisenbergFunction ψ v f := by |
| 75 | funext x |
| 76 | simp only [FunctionsMetaplectic.Construction.heisenbergFunction, Pi.smul_apply, smul_eq_mul] |
| 77 | exact mul_left_comm _ _ _ |
| 78 | |
| 79 | variable {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 80 | [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] {n : ℕ} |
| 81 | |
| 82 | def normalizedRawSubstitution (A : FunctionsMetaplectic.Construction.GeneralLinear k n) : |
| 83 | (FunctionsMetaplectic.Construction.Position k n → ℂ) ≃ₗ[ℂ] (FunctionsMetaplectic.Construction.Position k n → ℂ) := |
| 84 | (FunctionsMetaplectic.Construction.substitutionOperator A).trans (LinearEquiv.smulOfUnit (LinearSubstitution.Construction.coordinateScaleUnit (LinearSubstitution.Construction.positionAddEquiv A))) |
| 85 | |
| 86 | theorem normalizedRawSubstitution_val (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) : |
| 87 | normalizedRawSubstitution A f.val = (LinearSubstitution.Construction.normalizedCoordinate (LinearSubstitution.Construction.positionAddEquiv A) f).val := rfl |
| 88 | |
| 89 | theorem normalizedRawSubstitution_heisenberg |
| 90 | (ψ : AddChar k ℂ) (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (v : FunctionsMetaplectic.Construction.PhaseSpace k n) (f : FunctionsMetaplectic.Construction.Position k n → ℂ) : |
| 91 | normalizedRawSubstitution A (FunctionsMetaplectic.Construction.heisenbergFunction ψ v f) = |
| 92 | FunctionsMetaplectic.Construction.heisenbergFunction ψ (FunctionsMetaplectic.Construction.symplecticAction (Generators.Construction.leviSymplectic A) v) (normalizedRawSubstitution A f) := by |
| 93 | change (LinearSubstitution.Construction.coordinateScale (LinearSubstitution.Construction.positionAddEquiv A) : ℂ) • FunctionsMetaplectic.Construction.substitutionOperator A (FunctionsMetaplectic.Construction.heisenbergFunction ψ v f) = |
| 94 | FunctionsMetaplectic.Construction.heisenbergFunction ψ (FunctionsMetaplectic.Construction.symplecticAction (Generators.Construction.leviSymplectic A) v) |
| 95 | ((LinearSubstitution.Construction.coordinateScale (LinearSubstitution.Construction.positionAddEquiv A) : ℂ) • FunctionsMetaplectic.Construction.substitutionOperator A f) |
| 96 | rw [heisenbergFunction_smul, substitutionOperator_heisenberg] |
| 97 | |
| 98 | theorem normalizedCoordinate_intertwines |
| 99 | (ψ : AddChar k ℂ) (A : FunctionsMetaplectic.Construction.GeneralLinear k n) |
| 100 | (v : FunctionsMetaplectic.Construction.PhaseSpace k n) (f h : FunctionsMetaplectic.Construction.schwartzBruhat k n) : |
| 101 | FunctionsMetaplectic.Construction.heisenbergGraph ψ v f h ↔ |
| 102 | FunctionsMetaplectic.Construction.heisenbergGraph ψ (FunctionsMetaplectic.Construction.symplecticAction (Generators.Construction.leviSymplectic A) v) |
| 103 | (LinearSubstitution.Construction.normalizedCoordinate (LinearSubstitution.Construction.positionAddEquiv A) f) (LinearSubstitution.Construction.normalizedCoordinate (LinearSubstitution.Construction.positionAddEquiv A) h) := by |
| 104 | unfold FunctionsMetaplectic.Construction.heisenbergGraph |
| 105 | rw [← normalizedRawSubstitution_val, ← normalizedRawSubstitution_val, |
| 106 | ← normalizedRawSubstitution_heisenberg] |
| 107 | exact (normalizedRawSubstitution A).injective.eq_iff.symm |
| 108 | |
| 109 | /-- This is an actual lift with the required positive determinant |
| 110 | normalization to the oscillator extension. Its bare-cover Weil-index |
| 111 | normalization is handled separately by the metaplectic argument. -/ |
| 112 | def linearOscillator (ψ : AddChar k ℂ) (A : FunctionsMetaplectic.Construction.GeneralLinear k n) : FunctionsMetaplectic.Construction.Oscillator k n ψ := |
| 113 | ⟨(Generators.Construction.leviSymplectic A, LinearSubstitution.Construction.normalizedCoordinate (LinearSubstitution.Construction.positionAddEquiv A)), |
| 114 | ⟨LinearSubstitution.Construction.normalizedCoordinate_l2Energy (LinearSubstitution.Construction.positionAddEquiv A), normalizedCoordinate_intertwines ψ A⟩⟩ |
| 115 | |
| 116 | theorem linearOscillator_apply (ψ : AddChar k ℂ) (A : FunctionsMetaplectic.Construction.GeneralLinear k n) |
| 117 | (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : FunctionsMetaplectic.Construction.Position k n) : |
| 118 | ((linearOscillator ψ A).val.2 f).val x = |
| 119 | ((Real.sqrt (FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k A)))⁻¹ : ℂ) * |
| 120 | f.val ((↑(A⁻¹) : Matrix (Fin n) (Fin n) k) *ᵥ x) := |
| 121 | DeterminantMeasure.Construction.normalizedCoordinate_matrix_apply A f x |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.RepresentationTheory.Weil.Local.LinearIntertwiner.Construction |