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.QuotientMeasure |
| 2 | import Mathlib.MeasureTheory.Integral.Lebesgue.Add |
| 3 | |
| 4 | /-! # Fiber Measure -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Finite.FiberMeasure.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Finite measurable fiber enumerations lift invariant probability |
| 13 | measures by summing over the fibers and normalizing. -/ |
| 14 | |
| 15 | open scoped Classical ENNReal |
| 16 | open _root_.MeasureTheory |
| 17 | |
| 18 | theorem sum_map_eq_of_pointwise_permutation |
| 19 | {X Y ι : Type*} [MeasurableSpace X] [MeasurableSpace Y] [Fintype ι] |
| 20 | (μ : Measure Y) (f g : ι → Y → X) (hf : ∀ i, Measurable (f i)) (hg : ∀ i, Measurable (g i)) |
| 21 | (hperm : ∀ y, ∃ e : ι ≃ ι, ∀ i, f i y = g (e i) y) : |
| 22 | (∑ i, μ.map (f i)) = ∑ i, μ.map (g i) := by |
| 23 | apply Measure.ext |
| 24 | intro s hs |
| 25 | simp only [Measure.finsetSum_apply, Measure.map_apply, hf, hg, hs] |
| 26 | have hfi (i : ι) : Measurable ((f i ⁻¹' s).indicator (fun _ => (1 : ℝ≥0∞))) := |
| 27 | measurable_const.indicator (hs.preimage (hf i)) |
| 28 | have hgi (i : ι) : Measurable ((g i ⁻¹' s).indicator (fun _ => (1 : ℝ≥0∞))) := |
| 29 | measurable_const.indicator (hs.preimage (hg i)) |
| 30 | have hfint (i : ι) : μ (f i ⁻¹' s) = |
| 31 | ∫⁻ y, (f i ⁻¹' s).indicator (fun _ => (1 : ℝ≥0∞)) y ∂μ := |
| 32 | (lintegral_indicator_one (hs.preimage (hf i))).symm |
| 33 | have hgint (i : ι) : μ (g i ⁻¹' s) = |
| 34 | ∫⁻ y, (g i ⁻¹' s).indicator (fun _ => (1 : ℝ≥0∞)) y ∂μ := |
| 35 | (lintegral_indicator_one (hs.preimage (hg i))).symm |
| 36 | simp only [hfint, hgint] |
| 37 | rw [← lintegral_finsetSum _ (fun i _ => hfi i), ← lintegral_finsetSum _ (fun i _ => hgi i)] |
| 38 | apply lintegral_congr |
| 39 | intro y |
| 40 | obtain ⟨e, he⟩ := hperm y |
| 41 | calc |
| 42 | _ = ∑ i, (g (e i) ⁻¹' s).indicator (fun _ => (1 : ℝ≥0∞)) y := by |
| 43 | apply Finset.sum_congr rfl |
| 44 | intro i _ |
| 45 | simp only [Set.indicator_apply, Set.mem_preimage, he i] |
| 46 | _ = _ := Equiv.sum_comp e (fun i => (g i ⁻¹' s).indicator (fun _ => (1 : ℝ≥0∞)) y) |
| 47 | |
| 48 | theorem invariant_probability_of_finite_enumeration |
| 49 | {H X Y ι : Type*} [Group H] [MulAction H X] [MulAction H Y] |
| 50 | [MeasurableSpace X] [MeasurableSpace Y] [MeasurableConstSMul H X] [MeasurableConstSMul H Y] |
| 51 | [Fintype ι] [Nonempty ι] (μ : Measure Y) [IsProbabilityMeasure μ] [SMulInvariantMeasure H Y μ] |
| 52 | (f : ι → Y → X) (hf : ∀ i, Measurable (f i)) |
| 53 | (hperm : ∀ (h : H) (y : Y), ∃ e : ι ≃ ι, ∀ i, h • f i y = f (e i) (h • y)) : |
| 54 | ∃ ν : Measure X, IsProbabilityMeasure ν ∧ SMulInvariantMeasure H X ν := by |
| 55 | let ν : Measure X := ∑ i, μ.map (f i) |
| 56 | have hmass : ν Set.univ = Fintype.card ι := by |
| 57 | simp only [ν, Measure.finsetSum_apply, Measure.map_apply (hf _) MeasurableSet.univ, |
| 58 | Set.preimage_univ, measure_univ, Finset.sum_const, Finset.card_univ, nsmul_eq_mul, mul_one] |
| 59 | let : SMulInvariantMeasure H X ν := by |
| 60 | constructor |
| 61 | intro h s hs |
| 62 | have he := sum_map_eq_of_pointwise_permutation μ |
| 63 | (fun i y => h • f i y) (fun i y => f i (h • y)) |
| 64 | (fun i => (measurable_const_smul h).comp (hf i)) |
| 65 | (fun i => (hf i).comp (measurable_const_smul h)) (hperm h) |
| 66 | have heval := congrArg (fun η : Measure X => η s) he |
| 67 | have hl (i : ι) : (μ.map (fun y => h • f i y)) s = μ ((fun y => h • f i y) ⁻¹' s) := |
| 68 | Measure.map_apply ((measurable_const_smul h).comp (hf i)) hs |
| 69 | have hr (i : ι) : (μ.map (fun y => f i (h • y))) s = μ ((fun y => f i (h • y)) ⁻¹' s) := |
| 70 | Measure.map_apply ((hf i).comp (measurable_const_smul h)) hs |
| 71 | simp only [Measure.finsetSum_apply, hl, hr] at heval |
| 72 | change (∑ i, μ (f i ⁻¹' ((h • ·) ⁻¹' s))) = |
| 73 | ∑ i, μ ((h • ·) ⁻¹' (f i ⁻¹' s)) at heval |
| 74 | change (∑ i, μ.map (f i)) ((h • ·) ⁻¹' s) = (∑ i, μ.map (f i)) s |
| 75 | simp only [Measure.finsetSum_apply, |
| 76 | Measure.map_apply (hf _) (hs.preimage (measurable_const_smul h)), Measure.map_apply (hf _) hs] |
| 77 | rw [heval] |
| 78 | apply Finset.sum_congr rfl |
| 79 | intro i _ |
| 80 | exact SMulInvariantMeasure.measure_preimage_smul h (hs.preimage (hf i)) |
| 81 | apply QuotientMeasure.Construction.invariant_probability_of_finite (H := H) ν |
| 82 | · rw [hmass] |
| 83 | exact_mod_cast Fintype.card_ne_zero |
| 84 | · rw [hmass] |
| 85 | exact ENNReal.natCast_ne_top _ |
| 86 | |
| 87 | end |
| 88 | |
| 89 | /-! An equivariant projection with a finite product parametrization |
| 90 | permutes each fiber under the group action. -/ |
| 91 | |
| 92 | open scoped Classical |
| 93 | |
| 94 | theorem finite_product_fiber_permutation |
| 95 | {H X Y ι : Type*} [Group H] [MulAction H X] [MulAction H Y] [Finite ι] |
| 96 | (e : X ≃ Y × ι) (he : ∀ (h : H) x, (e (h • x)).1 = h • (e x).1) |
| 97 | (h : H) (y : Y) : |
| 98 | ∃ p : ι ≃ ι, ∀ i, h • e.symm (y, i) = e.symm (h • y, p i) := by |
| 99 | let f : ι → ι := fun i => (e (h • e.symm (y, i))).2 |
| 100 | have hfst (i : ι) : (e (h • e.symm (y, i))).1 = h • y := by |
| 101 | rw [he, e.apply_symm_apply] |
| 102 | have hinj : Function.Injective f := by |
| 103 | intro i j hij |
| 104 | have hp : e (h • e.symm (y, i)) = e (h • e.symm (y, j)) := |
| 105 | Prod.ext ((hfst i).trans (hfst j).symm) hij |
| 106 | have hx := (MulAction.injective h) (e.injective hp) |
| 107 | exact (Prod.mk.inj (e.symm.injective hx)).2 |
| 108 | let p := Equiv.ofBijective f ⟨hinj, (Finite.injective_iff_surjective).mp hinj⟩ |
| 109 | refine ⟨p, fun i => ?_⟩ |
| 110 | apply e.injective |
| 111 | rw [e.apply_symm_apply] |
| 112 | exact Prod.ext (hfst i) rfl |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Finite.FiberMeasure.Construction |