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 Mathlib |
| 2 | |
| 3 | /-! # Finite Covolume -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.Quaternion.Arithmetic.FiniteCovolume |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The finite-index step in the arithmetic closure argument. |
| 10 | An invariant probability measure on a countable transitive discrete quotient |
| 11 | forces that quotient to be finite. This is a measure-theoretic theorem; no |
| 12 | arithmetic density is assumed. -/ |
| 13 | |
| 14 | open scoped Classical Pointwise ENNReal |
| 15 | open Set _root_.MeasureTheory |
| 16 | |
| 17 | theorem finite_of_transitive_invariant_probability |
| 18 | (G X : Type*) [Group G] [MulAction G X] [MulAction.IsPretransitive G X] |
| 19 | [Nonempty X] [Countable X] [MeasurableSpace X] [MeasurableSingletonClass X] |
| 20 | (μ : Measure X) [IsProbabilityMeasure μ] [SMulInvariantMeasure G X μ] : Finite X := by |
| 21 | let x : X := Classical.choice inferInstance |
| 22 | have heq : ∀ y : X, μ {y} = μ {x} := by |
| 23 | intro y |
| 24 | obtain ⟨g, rfl⟩ := MulAction.exists_smul_eq G x y |
| 25 | simpa only [Set.smul_set_singleton] using measure_smul μ g ({x} : Set X) |
| 26 | have hsum : (∑' _ : X, μ {x}) = 1 := by |
| 27 | have h := μ.tsum_indicator_apply_singleton Set.univ MeasurableSet.univ |
| 28 | simpa only [Set.indicator_univ, heq, measure_univ] using h |
| 29 | have hpos : μ {x} ≠ 0 := by |
| 30 | intro hz |
| 31 | simp only [hz, tsum_zero] at hsum |
| 32 | exact zero_ne_one hsum |
| 33 | by_contra hfin |
| 34 | let : Infinite X := not_finite_iff_infinite.mp hfin |
| 35 | rw [ENNReal.tsum_const_eq_top_of_ne_zero hpos] at hsum |
| 36 | exact ENNReal.top_ne_one hsum |
| 37 | |
| 38 | /-- An open subgroup with a finite invariant quotient probability measure |
| 39 | has finite index. Second countability makes the discrete quotient countable. -/ |
| 40 | theorem finiteIndex_of_open_invariant_probability |
| 41 | {G : Type*} [Group G] [TopologicalSpace G] [IsTopologicalGroup G] |
| 42 | [SecondCountableTopology G] |
| 43 | (H : Subgroup G) (hopen : IsOpen (H : Set G)) |
| 44 | (μ : @Measure (G ⧸ H) (borel (G ⧸ H))) |
| 45 | (hprob : @IsProbabilityMeasure (G ⧸ H) (borel (G ⧸ H)) μ) |
| 46 | (hinv : @SMulInvariantMeasure G (G ⧸ H) _ (borel (G ⧸ H)) μ) : |
| 47 | H.FiniteIndex := by |
| 48 | let : MeasurableSpace (G ⧸ H) := borel (G ⧸ H) |
| 49 | let : BorelSpace (G ⧸ H) := ⟨rfl⟩ |
| 50 | let : DiscreteTopology (G ⧸ H) := QuotientGroup.discreteTopology hopen |
| 51 | let : Countable (G ⧸ H) := countable_of_Lindelof_of_discrete |
| 52 | let : IsProbabilityMeasure μ := hprob |
| 53 | let : SMulInvariantMeasure G (G ⧸ H) μ := hinv |
| 54 | let : Finite (G ⧸ H) := finite_of_transitive_invariant_probability G (G ⧸ H) μ |
| 55 | exact Subgroup.finiteIndex_of_finite_quotient |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.Quaternion.Arithmetic.FiniteCovolume |