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 | |
| 3 | /-! # Finite Domain Measure Rigidity -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.FiniteDomainMeasureRigidity.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Measurable fundamental domains selected inside an orbit-covering set. |
| 12 | The construction takes the first member of a countable family of local slices |
| 13 | that an orbit meets. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | open Set _root_.MeasureTheory _root_.MeasureTheory.Measure |
| 17 | |
| 18 | section Selection |
| 19 | variable {G X : Type*} [Group G] [MulAction G X] |
| 20 | |
| 21 | def firstOrbitSlice (U : ℕ → Set X) (n : ℕ) : Set X := |
| 22 | U n \ ⋃ (j : ℕ) (_ : j < n) (g : G), (g • ·) ⁻¹' U j |
| 23 | |
| 24 | theorem mem_firstOrbitSlice (U : ℕ → Set X) (n : ℕ) (x : X) : |
| 25 | x ∈ firstOrbitSlice (G := G) U n ↔ |
| 26 | x ∈ U n ∧ ∀ j < n, ∀ g : G, g • x ∉ U j := by |
| 27 | simp [firstOrbitSlice] |
| 28 | |
| 29 | theorem firstOrbitSlice_measurable [Countable G] [MeasurableSpace X] |
| 30 | [MeasurableConstSMul G X] (U : ℕ → Set X) (hU : ∀ n, MeasurableSet (U n)) |
| 31 | (n : ℕ) : MeasurableSet (firstOrbitSlice (G := G) U n) := by |
| 32 | exact (hU n).diff (MeasurableSet.iUnion fun j => |
| 33 | MeasurableSet.iUnion fun _ => MeasurableSet.iUnion fun g => |
| 34 | (hU j).preimage (measurable_const_smul g)) |
| 35 | |
| 36 | theorem firstOrbitSlice_unique |
| 37 | (U : ℕ → Set X) |
| 38 | (hU : ∀ n x (g h : G), g • x ∈ U n → h • x ∈ U n → g = h) |
| 39 | (x : X) {g h : G} {i j : ℕ} |
| 40 | (hg : g • x ∈ firstOrbitSlice (G := G) U i) |
| 41 | (hh : h • x ∈ firstOrbitSlice (G := G) U j) : g = h := by |
| 42 | rw [mem_firstOrbitSlice] at hg hh |
| 43 | have hij : i = j := by |
| 44 | apply le_antisymm |
| 45 | · by_contra hn |
| 46 | exact hg.2 j (Nat.lt_of_not_ge hn) (h * g⁻¹) |
| 47 | (by simpa [mul_smul] using hh.1) |
| 48 | · by_contra hn |
| 49 | exact hh.2 i (Nat.lt_of_not_ge hn) (g * h⁻¹) |
| 50 | (by simpa [mul_smul] using hg.1) |
| 51 | exact hU i x g h hg.1 (hij ▸ hh.1) |
| 52 | |
| 53 | theorem exists_firstOrbitSlice |
| 54 | (U : ℕ → Set X) (x : X) (hx : ∃ n, ∃ g : G, g • x ∈ U n) : |
| 55 | ∃ n, ∃ g : G, g • x ∈ firstOrbitSlice (G := G) U n := by |
| 56 | obtain ⟨g, hg⟩ := Nat.find_spec hx |
| 57 | refine ⟨Nat.find hx, g, (mem_firstOrbitSlice _ _ _).mpr ⟨hg, ?_⟩⟩ |
| 58 | intro j hj h hh |
| 59 | exact Nat.find_min hx hj ⟨h * g, by simpa [mul_smul] using hh⟩ |
| 60 | |
| 61 | theorem fundamentalDomain_of_countable_slices |
| 62 | [Countable G] [MeasurableSpace X] [MeasurableConstSMul G X] |
| 63 | (μ : Measure X) (U : ℕ → Set X) (hU : ∀ n, MeasurableSet (U n)) |
| 64 | (hinj : ∀ n x (g h : G), g • x ∈ U n → h • x ∈ U n → g = h) |
| 65 | (hcover : ∀ x, ∃ n, ∃ g : G, g • x ∈ U n) : |
| 66 | IsFundamentalDomain G (⋃ n, firstOrbitSlice (G := G) U n) μ := by |
| 67 | apply IsFundamentalDomain.mk' |
| 68 | · exact (MeasurableSet.iUnion (firstOrbitSlice_measurable U hU)).nullMeasurableSet |
| 69 | intro x |
| 70 | obtain ⟨n, g, hg⟩ := exists_firstOrbitSlice U x (hcover x) |
| 71 | refine ⟨g, mem_iUnion.mpr ⟨n, hg⟩, ?_⟩ |
| 72 | intro h hh |
| 73 | obtain ⟨m, hm⟩ := mem_iUnion.mp hh |
| 74 | exact firstOrbitSlice_unique U hinj x hm hg |
| 75 | |
| 76 | theorem exists_fundamentalDomain_subset_of_slices |
| 77 | [Countable G] [MeasurableSpace X] [MeasurableConstSMul G X] |
| 78 | (μ : Measure X) (D : Set X) (hD : MeasurableSet D) |
| 79 | (U : ℕ → Set X) (hU : ∀ n, MeasurableSet (U n)) |
| 80 | (hinj : ∀ n x (g h : G), g • x ∈ U n → h • x ∈ U n → g = h) |
| 81 | (hcover : ∀ x, ∃ n, x ∈ U n) |
| 82 | (hDcover : ∀ x, ∃ g : G, g • x ∈ D) : |
| 83 | ∃ F ⊆ D, MeasurableSet F ∧ IsFundamentalDomain G F μ := by |
| 84 | let V : ℕ → Set X := fun n => D ∩ U n |
| 85 | have hV : ∀ n, MeasurableSet (V n) := fun n => hD.inter (hU n) |
| 86 | refine ⟨⋃ n, firstOrbitSlice (G := G) V n, ?_, |
| 87 | MeasurableSet.iUnion (firstOrbitSlice_measurable V hV), ?_⟩ |
| 88 | · intro x hx |
| 89 | obtain ⟨n, hn⟩ := mem_iUnion.mp hx |
| 90 | exact ((mem_firstOrbitSlice V n x).mp hn).1.1 |
| 91 | apply fundamentalDomain_of_countable_slices μ V hV |
| 92 | · exact fun n x g h hg hh => hinj n x g h hg.2 hh.2 |
| 93 | intro x |
| 94 | obtain ⟨g, hg⟩ := hDcover x |
| 95 | obtain ⟨n, hn⟩ := hcover (g • x) |
| 96 | exact ⟨n, g, hg, hn⟩ |
| 97 | |
| 98 | end Selection |
| 99 | |
| 100 | theorem exists_countable_slices_of_quotientCovering |
| 101 | {G X Y : Type*} [Group G] [MulAction G X] |
| 102 | [TopologicalSpace X] [TopologicalSpace Y] |
| 103 | [SecondCountableTopology X] [Nonempty X] |
| 104 | {f : X → Y} (hf : IsQuotientCoveringMap f G) : |
| 105 | ∃ U : ℕ → Set X, (∀ n, IsOpen (U n)) ∧ |
| 106 | (∀ n x (g h : G), g • x ∈ U n → h • x ∈ U n → g = h) ∧ |
| 107 | (∀ x, ∃ n, x ∈ U n) := by |
| 108 | have hlocal : ∀ x : X, ∃ U : Set X, IsOpen U ∧ x ∈ U ∧ |
| 109 | ∀ g : G, ((g • ·) '' U ∩ U).Nonempty → g = 1 := by |
| 110 | intro x |
| 111 | obtain ⟨V, hV, hd⟩ := hf.disjoint x |
| 112 | obtain ⟨U, hUV, hU, hx⟩ := mem_nhds_iff.mp hV |
| 113 | refine ⟨U, hU, hx, fun g hg => hd g ?_⟩ |
| 114 | obtain ⟨y, ⟨z, hz, rfl⟩, hy⟩ := hg |
| 115 | exact ⟨g • z, ⟨z, hUV hz, rfl⟩, hUV hy⟩ |
| 116 | choose U hU hx hd using hlocal |
| 117 | obtain ⟨a, ha⟩ := isLindelof_univ.indexed_countable_subcover U hU |
| 118 | (fun x _ => mem_iUnion.mpr ⟨x, hx x⟩) |
| 119 | refine ⟨fun n => U (a n), fun n => hU (a n), ?_, ?_⟩ |
| 120 | · intro n x g h hg hh |
| 121 | have he : h * g⁻¹ = 1 := hd (a n) (h * g⁻¹) |
| 122 | ⟨h • x, ⟨g • x, hg, by simp [mul_smul]⟩, hh⟩ |
| 123 | exact (mul_inv_eq_one.mp he).symm |
| 124 | · intro x |
| 125 | exact mem_iUnion.mp (ha (mem_univ x)) |
| 126 | |
| 127 | theorem exists_fundamentalDomain_subset_of_discrete |
| 128 | {H : Type*} [Group H] [TopologicalSpace H] [IsTopologicalGroup H] |
| 129 | [SecondCountableTopology H] [MeasurableSpace H] [BorelSpace H] |
| 130 | (Γ : Subgroup H) [DiscreteTopology Γ] [Countable Γ] |
| 131 | (μ : Measure H) (D : Set H) (hD : MeasurableSet D) |
| 132 | (hcover : ∀ x : H, ∃ g : Γ.op, g • x ∈ D) : |
| 133 | ∃ F ⊆ D, MeasurableSet F ∧ IsFundamentalDomain Γ.op F μ := by |
| 134 | have hf : IsQuotientCoveringMap (QuotientGroup.mk : H → H ⧸ Γ) Γ.op := |
| 135 | isQuotientMap_quotient_mk'.isQuotientCoveringMap_of_subgroupOp Γ |
| 136 | (isDiscrete_iff_discreteTopology.mpr inferInstance) QuotientGroup.eq |
| 137 | obtain ⟨U, hU, hinj, hUc⟩ := exists_countable_slices_of_quotientCovering hf |
| 138 | exact exists_fundamentalDomain_subset_of_slices μ D hD U |
| 139 | (fun n => (hU n).measurableSet) hinj hUc hcover |
| 140 | |
| 141 | theorem lattice_of_finite_cover |
| 142 | {H : Type*} [Group H] [TopologicalSpace H] [IsTopologicalGroup H] |
| 143 | [T2Space H] [PolishSpace H] [MeasurableSpace H] [BorelSpace H] |
| 144 | (Γ : Subgroup H) [DiscreteTopology Γ] [Countable Γ] |
| 145 | [T2Space (H ⧸ Γ)] [SecondCountableTopology (H ⧸ Γ)] |
| 146 | (μ : Measure H) [IsMulLeftInvariant μ] [IsMulRightInvariant μ] [SigmaFinite μ] |
| 147 | (hμ0 : μ ≠ 0) (D : Set H) (hD : MeasurableSet D) (hDfin : μ D < ⊤) |
| 148 | (hcover : ∀ x : H, ∃ c ∈ D, ∃ γ ∈ Γ, x = c * γ) : |
| 149 | IntegralLattice.IsLattice Γ := by |
| 150 | obtain ⟨F, hFD, _, hF⟩ := exists_fundamentalDomain_subset_of_discrete Γ μ D hD |
| 151 | (fun x => by |
| 152 | obtain ⟨c, hc, γ, hγ, rfl⟩ := hcover x |
| 153 | refine ⟨⟨MulOpposite.op γ⁻¹, Γ.inv_mem hγ⟩, ?_⟩ |
| 154 | simpa using hc) |
| 155 | exact QuotientMeasure.Construction.lattice_of_finite_fundamental_domain Γ μ hμ0 F hF |
| 156 | ((measure_mono hFD).trans_lt hDfin) |
| 157 | |
| 158 | end |
| 159 | |
| 160 | /-! A scalar change of measure commuting with a countable group action |
| 161 | must be trivial when the action has a fundamental domain of positive |
| 162 | finite measure. -/ |
| 163 | |
| 164 | open scoped Classical ENNReal |
| 165 | open Set _root_.MeasureTheory _root_.MeasureTheory.Measure |
| 166 | |
| 167 | theorem measurePreserving_of_scalar_and_finite_fundamentalDomain |
| 168 | {Γ X : Type*} [Group Γ] [Countable Γ] [MulAction Γ X] |
| 169 | [MeasurableSpace X] [MeasurableConstSMul Γ X] |
| 170 | (μ : Measure X) [SMulInvariantMeasure Γ X μ] (hμ0 : μ ≠ 0) |
| 171 | (F : Set X) (hFmeas : MeasurableSet F) (hF : IsFundamentalDomain Γ F μ) |
| 172 | (hFfin : μ F < ⊤) (f : X → X) (hf : Measurable f) |
| 173 | (hcomm : ∀ (g : Γ) (x : X), f (g • x) = g • f x) |
| 174 | (c : ℝ≥0∞) (hc : μ.map f = c • μ) : MeasurePreserving f μ μ := by |
| 175 | have hqmp : QuasiMeasurePreserving f μ μ := ⟨hf, by rw [hc]; exact smul_absolutelyContinuous⟩ |
| 176 | have hpre : IsFundamentalDomain Γ (f ⁻¹' F) μ := |
| 177 | hF.preimage_of_equiv hqmp Function.bijective_id (fun g x => hcomm g x) |
| 178 | have hmass : c * μ F = μ F := by |
| 179 | rw [← smul_eq_mul, ← Measure.smul_apply, ← hc, Measure.map_apply hf hFmeas] |
| 180 | exact (hF.measure_eq hpre).symm |
| 181 | have hc1 : c = 1 := (ENNReal.mul_eq_right (hF.measure_ne_zero hμ0) hFfin.ne).mp hmass |
| 182 | exact ⟨hf, by rw [hc, hc1, one_smul]⟩ |
| 183 | |
| 184 | end |
| 185 | |
| 186 | end OAI.NumberTheory.ArithmeticGroups.Lattices.FiniteDomainMeasureRigidity.Construction |