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.Quaternion.Arithmetic.CompactQuotientProjection |
| 2 | |
| 3 | /-! # Nondiscrete Projection -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.Quaternion.Arithmetic.NondiscreteProjection |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A discrete, injective projection would give a quotient slice extending |
| 10 | over the whole omitted factor. Finite invariant volume prevents this when |
| 11 | that factor is noncompact. -/ |
| 12 | |
| 13 | open scoped Classical Pointwise ENNReal |
| 14 | open Set _root_.MeasureTheory _root_.Topology |
| 15 | |
| 16 | theorem open_pos_of_transitive_invariant_probability |
| 17 | (G X : Type*) [Group G] [MulAction G X] [MulAction.IsPretransitive G X] |
| 18 | [TopologicalSpace X] [LindelofSpace X] [ContinuousConstSMul G X] |
| 19 | [MeasurableSpace X] (μ : Measure X) [IsProbabilityMeasure μ] |
| 20 | [SMulInvariantMeasure G X μ] {U : Set X} (hU : IsOpen U) (hne : U.Nonempty) : |
| 21 | 0 < μ U := by |
| 22 | have hcover : univ ⊆ ⋃ g : G, g • U := by |
| 23 | intro x _ |
| 24 | obtain ⟨u, hu⟩ := hne |
| 25 | obtain ⟨g, rfl⟩ := MulAction.exists_smul_eq G u x |
| 26 | exact mem_iUnion.mpr ⟨g, smul_mem_smul_set hu⟩ |
| 27 | obtain ⟨f, hf⟩ := isLindelof_univ.indexed_countable_subcover |
| 28 | (fun g : G => g • U) (fun g => hU.smul g) hcover |
| 29 | apply pos_iff_ne_zero.mpr |
| 30 | intro hz |
| 31 | have hz' : μ (⋃ i : ℕ, f i • U) = 0 := by |
| 32 | apply measure_iUnion_null |
| 33 | intro i |
| 34 | rw [measure_smul, hz] |
| 35 | have := measure_mono_null hf hz' |
| 36 | simp only [measure_univ, one_ne_zero] at this |
| 37 | |
| 38 | variable {L M : Type*} [Group L] [Group M] |
| 39 | [TopologicalSpace L] [TopologicalSpace M] |
| 40 | [IsTopologicalGroup L] [IsTopologicalGroup M] |
| 41 | |
| 42 | omit [TopologicalSpace L] [IsTopologicalGroup L] in |
| 43 | theorem exists_open_quotient_strip_injOn (Γ : Subgroup (L × M)) |
| 44 | (hinj : Function.Injective ((MonoidHom.snd L M).comp Γ.subtype)) |
| 45 | (hdisc : IsDiscrete (Γ.map (MonoidHom.snd L M) : Set M)) : |
| 46 | ∃ V : Set M, IsOpen V ∧ (1 : M) ∈ V ∧ |
| 47 | InjOn (QuotientGroup.mk : L × M → (L × M) ⧸ Γ) (univ ×ˢ V) := by |
| 48 | obtain ⟨U, hU, _, hsep⟩ := |
| 49 | hdisc.exists_nhds_eq_one_of_image_mulRight_inter_nonempty |
| 50 | obtain ⟨V, hVU, hV, hV1⟩ := mem_nhds_iff.mp hU |
| 51 | refine ⟨V, hV, hV1, ?_⟩ |
| 52 | intro x hx y hy hxy |
| 53 | have hγ : x⁻¹ * y ∈ Γ := QuotientGroup.eq.mp hxy |
| 54 | have hsecond : x.2⁻¹ * y.2 = 1 := by |
| 55 | apply hsep _ (Subgroup.mem_map_of_mem (MonoidHom.snd L M) hγ) |
| 56 | refine ⟨y.2, ⟨x.2, hVU hx.2, ?_⟩, hVU hy.2⟩ |
| 57 | simp |
| 58 | have hγ1 : (⟨x⁻¹ * y, hγ⟩ : Γ) = 1 := hinj hsecond |
| 59 | have hval := congrArg Subtype.val hγ1 |
| 60 | exact inv_mul_eq_one.mp hval |
| 61 | |
| 62 | def quotientStrip (Γ : Subgroup (L × M)) (V : Set M) (A : Set L) : |
| 63 | Set ((L × M) ⧸ Γ) := QuotientGroup.mk '' (A ×ˢ V) |
| 64 | |
| 65 | theorem quotientStrip_isOpen (Γ : Subgroup (L × M)) {V : Set M} {A : Set L} |
| 66 | (hV : IsOpen V) (hA : IsOpen A) : IsOpen (quotientStrip Γ V A) := |
| 67 | QuotientGroup.isOpenMap_coe _ (hA.prod hV) |
| 68 | |
| 69 | omit [TopologicalSpace L] [TopologicalSpace M] [IsTopologicalGroup L] [IsTopologicalGroup M] in |
| 70 | theorem quotientStrip_union (Γ : Subgroup (L × M)) (V : Set M) (A B : Set L) : |
| 71 | quotientStrip Γ V (A ∪ B) = quotientStrip Γ V A ∪ quotientStrip Γ V B := by |
| 72 | simp only [quotientStrip, union_prod, image_union] |
| 73 | |
| 74 | omit [TopologicalSpace L] [TopologicalSpace M] [IsTopologicalGroup L] [IsTopologicalGroup M] in |
| 75 | theorem quotientStrip_mono (Γ : Subgroup (L × M)) (V : Set M) {A B : Set L} |
| 76 | (h : A ⊆ B) : quotientStrip Γ V A ⊆ quotientStrip Γ V B := |
| 77 | image_mono (prod_mono h Subset.rfl) |
| 78 | |
| 79 | omit [TopologicalSpace L] [TopologicalSpace M] [IsTopologicalGroup L] [IsTopologicalGroup M] in |
| 80 | theorem quotientStrip_disjoint (Γ : Subgroup (L × M)) (V : Set M) |
| 81 | (hinj : InjOn (QuotientGroup.mk : L × M → (L × M) ⧸ Γ) (univ ×ˢ V)) |
| 82 | {A B : Set L} (hAB : Disjoint A B) : |
| 83 | Disjoint (quotientStrip Γ V A) (quotientStrip Γ V B) := by |
| 84 | apply disjoint_left.mpr |
| 85 | rintro z ⟨a, ha, haz⟩ ⟨b, hb, hbz⟩ |
| 86 | have hab := hinj ⟨mem_univ _, ha.2⟩ ⟨mem_univ _, hb.2⟩ (haz.trans hbz.symm) |
| 87 | exact (disjoint_left.mp hAB) ha.1 (hab ▸ hb.1) |
| 88 | |
| 89 | omit [TopologicalSpace L] [TopologicalSpace M] [IsTopologicalGroup L] [IsTopologicalGroup M] in |
| 90 | theorem quotientStrip_smul (Γ : Subgroup (L × M)) (V : Set M) (A : Set L) (g : L) : |
| 91 | quotientStrip Γ V (g • A) = (g, (1 : M)) • quotientStrip Γ V A := by |
| 92 | apply Set.ext |
| 93 | intro z |
| 94 | constructor |
| 95 | · rintro ⟨⟨x, y⟩, ⟨⟨a, ha, rfl⟩, hy⟩, rfl⟩ |
| 96 | refine ⟨QuotientGroup.mk (a, y), ⟨(a, y), ⟨ha, hy⟩, rfl⟩, ?_⟩ |
| 97 | change QuotientGroup.mk ((g, 1) * (a, y)) = QuotientGroup.mk (g * a, y) |
| 98 | simp |
| 99 | · rintro ⟨q, ⟨⟨a, y⟩, ⟨ha, hy⟩, rfl⟩, rfl⟩ |
| 100 | refine ⟨(g * a, y), ⟨⟨a, ha, rfl⟩, hy⟩, ?_⟩ |
| 101 | change QuotientGroup.mk (g * a, y) = QuotientGroup.mk ((g, 1) * (a, y)) |
| 102 | simp |
| 103 | |
| 104 | /-- Finite invariant quotient volume and an injective projection exclude a |
| 105 | discrete projection when the other factor is noncompact. -/ |
| 106 | theorem projected_subgroup_not_discrete |
| 107 | [LocallyCompactSpace L] [NoncompactSpace L] |
| 108 | [SecondCountableTopology L] [SecondCountableTopology M] |
| 109 | (Γ : Subgroup (L × M)) |
| 110 | (hinj : Function.Injective ((MonoidHom.snd L M).comp Γ.subtype)) |
| 111 | (hvolume : CompactQuotientProjection.QuotientHasInvariantProbability Γ) : |
| 112 | ¬ IsDiscrete (Γ.map (MonoidHom.snd L M) : Set M) := by |
| 113 | intro hdisc |
| 114 | obtain ⟨V, hV, hV1, hstrip⟩ := exists_open_quotient_strip_injOn Γ hinj hdisc |
| 115 | let : MeasurableSpace ((L × M) ⧸ Γ) := borel ((L × M) ⧸ Γ) |
| 116 | let : BorelSpace ((L × M) ⧸ Γ) := ⟨rfl⟩ |
| 117 | obtain ⟨μ, hprob, hinv⟩ := hvolume |
| 118 | let : IsProbabilityMeasure μ := hprob |
| 119 | let : SMulInvariantMeasure (L × M) ((L × M) ⧸ Γ) μ := hinv |
| 120 | obtain ⟨K, hK, hK1⟩ := exists_compact_mem_nhds (1 : L) |
| 121 | let W : Set L := interior K |
| 122 | have hW : IsOpen W := isOpen_interior |
| 123 | have hWK : W ⊆ K := interior_subset |
| 124 | have hW1 : (1 : L) ∈ W := mem_interior_iff_mem_nhds.mpr hK1 |
| 125 | have hpos : 0 < μ (quotientStrip Γ V W) := |
| 126 | open_pos_of_transitive_invariant_probability (L × M) ((L × M) ⧸ Γ) μ |
| 127 | (quotientStrip_isOpen Γ hV hW) |
| 128 | ⟨QuotientGroup.mk (1, 1), ⟨(1, 1), ⟨hW1, hV1⟩, rfl⟩⟩ |
| 129 | have hgrow : ∀ n : ℕ, ∃ A B : Set L, |
| 130 | IsOpen A ∧ IsCompact B ∧ A ⊆ B ∧ |
| 131 | n * μ (quotientStrip Γ V W) ≤ μ (quotientStrip Γ V A) := by |
| 132 | intro n |
| 133 | induction n with |
| 134 | | zero => |
| 135 | exact ⟨∅, ∅, isOpen_empty, isCompact_empty, Subset.rfl, by simp⟩ |
| 136 | | succ n ih => |
| 137 | obtain ⟨A, B, hA, hB, hAB, hmass⟩ := ih |
| 138 | obtain ⟨g, hg⟩ := exists_disjoint_smul_of_isCompact hB hK |
| 139 | have hdisj : Disjoint A (g • W) := |
| 140 | hg.mono hAB (smul_set_mono hWK) |
| 141 | refine ⟨A ∪ g • W, B ∪ g • K, hA.union (hW.smul g), |
| 142 | hB.union (hK.smul g), union_subset_union hAB (smul_set_mono hWK), ?_⟩ |
| 143 | rw [quotientStrip_union, measure_union (quotientStrip_disjoint Γ V hstrip hdisj) |
| 144 | (quotientStrip_isOpen Γ hV (hW.smul g)).measurableSet, |
| 145 | quotientStrip_smul, measure_smul, Nat.cast_add, Nat.cast_one, add_mul, one_mul] |
| 146 | exact add_le_add hmass le_rfl |
| 147 | obtain ⟨n, hn⟩ := ENNReal.exists_nat_mul_gt hpos.ne' (by simp : (1 : ℝ≥0∞) ≠ ∞) |
| 148 | obtain ⟨A, _, _, _, _, hmass⟩ := hgrow n |
| 149 | have htotal : μ (quotientStrip Γ V A) ≤ 1 := by |
| 150 | calc |
| 151 | _ ≤ μ univ := measure_mono (subset_univ _) |
| 152 | _ = 1 := measure_univ |
| 153 | exact (not_lt_of_ge (hmass.trans htotal)) hn |
| 154 | |
| 155 | end |
| 156 | |
| 157 | end OAI.NumberTheory.Quaternion.Arithmetic.NondiscreteProjection |