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 | /-! # Density Pushforward -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.DensityPushforward.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Change of variables for densities, and normalization of a measure |
| 10 | whose translates are scaled by a positive character. -/ |
| 11 | |
| 12 | open _root_.MeasureTheory |
| 13 | open scoped NNReal ENNReal |
| 14 | |
| 15 | theorem map_comap_of_embedding |
| 16 | {X Y : Type} [MeasurableSpace X] [MeasurableSpace Y] |
| 17 | (μ : Measure Y) (f : X → Y) (hf : MeasurableEmbedding f) : |
| 18 | (μ.comap f).map f = μ.restrict (Set.range f) := by |
| 19 | ext S hS |
| 20 | rw [Measure.map_apply hf.measurable hS, |
| 21 | Measure.comap_apply f hf.injective (fun _ => hf.measurableSet_image.mpr) μ (hf.measurable hS), |
| 22 | Measure.restrict_apply hS, Set.image_preimage_eq_inter_range] |
| 23 | |
| 24 | theorem map_withDensity_pullback |
| 25 | {X Y : Type} [MeasurableSpace X] [MeasurableSpace Y] |
| 26 | (μ : Measure X) (f : X → Y) (hf : Measurable f) |
| 27 | (w : Y → ℝ≥0∞) (hw : Measurable w) : |
| 28 | (μ.withDensity (w ∘ f)).map f = (μ.map f).withDensity w := by |
| 29 | ext S hS |
| 30 | rw [Measure.map_apply hf hS, withDensity_apply _ (hf hS), |
| 31 | withDensity_apply _ hS, setLIntegral_map hS hw hf] |
| 32 | rfl |
| 33 | |
| 34 | theorem character_weight_invariant |
| 35 | {G : Type} [Group G] [MeasurableSpace G] [MeasurableMul G] |
| 36 | (μ : Measure G) (ρ : G →* ℝ≥0) (hρ : Measurable ρ) (hpos : ∀ g, 0 < ρ g) |
| 37 | (hscale : ∀ g : G, ρ g • μ.map (fun x => g * x) = μ) : |
| 38 | (μ.withDensity (fun x => (((ρ x)⁻¹ : ℝ≥0) : ℝ≥0∞))).IsMulLeftInvariant := by |
| 39 | let w : G → ℝ≥0∞ := fun x => ((ρ x)⁻¹ : ℝ≥0) |
| 40 | have hw : Measurable w := measurable_coe_nnreal_ennreal.comp hρ.inv |
| 41 | constructor |
| 42 | intro g |
| 43 | have hweight : (fun x => (ρ g : ℝ≥0∞) * w (g * x)) = w := by |
| 44 | funext x |
| 45 | simp only [w, map_mul, mul_inv, ENNReal.coe_mul] |
| 46 | rw [← mul_assoc, ← ENNReal.coe_mul, mul_inv_cancel₀ (hpos g).ne', ENNReal.coe_one, one_mul] |
| 47 | have hnorm : (ρ g : ℝ≥0∞) • μ.withDensity (w ∘ (fun x => g * x)) = μ.withDensity w := by |
| 48 | rw [← withDensity_smul _ (hw.comp (measurable_const_mul g))] |
| 49 | exact congrArg (Measure.withDensity μ) hweight |
| 50 | have hh := congrArg (fun ν : Measure G => ν.withDensity w) (hscale g) |
| 51 | change ((ρ g : ℝ≥0∞) • μ.map (fun x => g * x)).withDensity w = μ.withDensity w at hh |
| 52 | rw [withDensity_smul_measure, ← map_withDensity_pullback μ _ (measurable_const_mul g) w hw, |
| 53 | ← Measure.map_smul _ (measurable_const_mul g).aemeasurable] at hh |
| 54 | rw [hnorm] at hh |
| 55 | exact hh |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.RepresentationTheory.Weil.UnitarySplitting.DensityPushforward.Construction |