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.NumberTheory.ArithmeticGroups.Lattices.AveragedGramMatrix |
| 2 | |
| 3 | /-! # Invariant Gram -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Compact.InvariantGram.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Haar averaging gives an invariant positive quadratic form for a |
| 10 | compact real matrix group. -/ |
| 11 | |
| 12 | open scoped Classical _root_.Matrix.Norms.Elementwise |
| 13 | open _root_.MeasureTheory _root_.MeasureTheory.Measure _root_.Matrix |
| 14 | |
| 15 | local instance congruenceMatrixContinuousENorm (n : ℕ) : ContinuousENorm (Matrix (Fin n) (Fin n) ℝ) := |
| 16 | inferInstanceAs (ContinuousENorm (Fin n → Fin n → ℝ)) |
| 17 | |
| 18 | theorem inverseGram_congruence |
| 19 | {H : Type} [Group H] {n : ℕ} (ρ : H →* Algebraic.SL n ℝ) (h g : H) : |
| 20 | AveragedGramMatrix.Construction.matrixCongruence (ρ h : Matrix (Fin n) (Fin n) ℝ) (AveragedGramMatrix.Construction.inverseGram ρ g) = |
| 21 | AveragedGramMatrix.Construction.inverseGram ρ (h⁻¹ * g) := by |
| 22 | simp [AveragedGramMatrix.Construction.matrixCongruence, AveragedGramMatrix.Construction.inverseGram, _root_.mul_inv_rev, Matrix.SpecialLinearGroup.coe_mul, |
| 23 | Matrix.transpose_mul, Matrix.mul_assoc] |
| 24 | |
| 25 | theorem averagedGram_invariant |
| 26 | {H : Type} [Group H] [TopologicalSpace H] [IsTopologicalGroup H] [CompactSpace H] |
| 27 | [MeasurableSpace H] [BorelSpace H] {n : ℕ} |
| 28 | (ρ : H →* Algebraic.SL n ℝ) (hρ : Continuous ρ) (μ : Measure H) |
| 29 | [IsFiniteMeasureOnCompacts μ] [IsMulLeftInvariant μ] (h : H) : |
| 30 | (ρ h : Matrix (Fin n) (Fin n) ℝ).transpose * AveragedGramMatrix.Construction.averagedGram ρ μ * |
| 31 | (ρ h : Matrix (Fin n) (Fin n) ℝ) = AveragedGramMatrix.Construction.averagedGram ρ μ := by |
| 32 | let L := (AveragedGramMatrix.Construction.matrixCongruence (ρ h : Matrix (Fin n) (Fin n) ℝ)).toContinuousLinearMap |
| 33 | have he := L.integral_comp_comm (μ := μ) (φ := AveragedGramMatrix.Construction.inverseGram ρ) (AveragedGramMatrix.Construction.inverseGram_integrable ρ hρ μ) |
| 34 | change L (∫ g, AveragedGramMatrix.Construction.inverseGram ρ g ∂μ) = ∫ g, AveragedGramMatrix.Construction.inverseGram ρ g ∂μ |
| 35 | have he' : L (∫ g, AveragedGramMatrix.Construction.inverseGram ρ g ∂μ) = ∫ g, L (AveragedGramMatrix.Construction.inverseGram ρ g) ∂μ := by |
| 36 | convert! he.symm |
| 37 | rw [he'] |
| 38 | have hi (g : H) : L (AveragedGramMatrix.Construction.inverseGram ρ g) = AveragedGramMatrix.Construction.inverseGram ρ (h⁻¹ * g) := inverseGram_congruence ρ h g |
| 39 | simp_rw [hi] |
| 40 | exact integral_mul_left_eq_self (AveragedGramMatrix.Construction.inverseGram ρ) h⁻¹ |
| 41 | |
| 42 | theorem exists_compact_invariant_positive_matrix |
| 43 | {H : Type} [Group H] [TopologicalSpace H] [IsTopologicalGroup H] [CompactSpace H] |
| 44 | [MeasurableSpace H] [BorelSpace H] {n : ℕ} |
| 45 | (ρ : H →* Algebraic.SL n ℝ) (hρ : Continuous ρ) (μ : Measure H) |
| 46 | [IsFiniteMeasureOnCompacts μ] [IsMulLeftInvariant μ] [IsOpenPosMeasure μ] : |
| 47 | ∃ Q : Matrix (Fin n) (Fin n) ℝ, |
| 48 | (∀ x : Fin n → ℝ, x ≠ 0 → 0 < dotProduct x (Q.mulVec x)) ∧ |
| 49 | ∀ g, (ρ g : Matrix (Fin n) (Fin n) ℝ).transpose * Q * |
| 50 | (ρ g : Matrix (Fin n) (Fin n) ℝ) = Q := |
| 51 | ⟨AveragedGramMatrix.Construction.averagedGram ρ μ, fun _ hx => AveragedGramMatrix.Construction.averagedGram_quadratic_pos ρ hρ μ hx, averagedGram_invariant ρ hρ μ⟩ |
| 52 | |
| 53 | theorem exists_invariant_positive_matrix_of_compact |
| 54 | {H : Type} [Group H] [TopologicalSpace H] [IsTopologicalGroup H] [CompactSpace H] |
| 55 | [T2Space H] {n : ℕ} (ρ : H →* Algebraic.SL n ℝ) (hρ : Continuous ρ) : |
| 56 | ∃ Q : Matrix (Fin n) (Fin n) ℝ, |
| 57 | (∀ x : Fin n → ℝ, x ≠ 0 → 0 < dotProduct x (Q.mulVec x)) ∧ |
| 58 | ∀ g, (ρ g : Matrix (Fin n) (Fin n) ℝ).transpose * Q * |
| 59 | (ρ g : Matrix (Fin n) (Fin n) ℝ) = Q := by |
| 60 | let : MeasurableSpace H := borel H |
| 61 | let : BorelSpace H := ⟨rfl⟩ |
| 62 | exact exists_compact_invariant_positive_matrix ρ hρ (haar (G := H)) |
| 63 | |
| 64 | theorem compact_real_place_invariant_positive_matrix |
| 65 | {k : Type} [Field k] (G : Algebraic.ConnectedSemisimpleKGroup k) |
| 66 | (v : k →+* ℝ) (hv : Algebraic.IsCompactAtRealPlace G v) : |
| 67 | ∃ Q : Matrix (Fin G.dimension) (Fin G.dimension) ℝ, |
| 68 | (∀ x : Fin G.dimension → ℝ, x ≠ 0 → 0 < dotProduct x (Q.mulVec x)) ∧ |
| 69 | ∀ g : G.matrixGroup.Points v, |
| 70 | (g.val : Matrix (Fin G.dimension) (Fin G.dimension) ℝ).transpose * Q * |
| 71 | (g.val : Matrix (Fin G.dimension) (Fin G.dimension) ℝ) = Q := by |
| 72 | let : CompactSpace (G.matrixGroup.Points v) := hv |
| 73 | exact exists_invariant_positive_matrix_of_compact |
| 74 | (G.matrixGroup.subgroup ℝ v).subtype continuous_subtype_val |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Compact.InvariantGram.Construction |