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.RepresentationTheory.Weil.UnitarySplitting.ModulusMeasure |
| 2 | import OAI.RepresentationTheory.Weil.UnitarySplitting.DensityPushforward |
| 3 | |
| 4 | /-! # Multiplicative Haar -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.MultiplicativeHaar.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Additive Haar measure on the nonzero field elements and its normalization |
| 13 | to a multiplicatively invariant measure. -/ |
| 14 | |
| 15 | open _root_.MeasureTheory _root_.Topology |
| 16 | open scoped NNReal ENNReal |
| 17 | |
| 18 | variable {F : Type} [NormedField F] [LocallyCompactSpace F] |
| 19 | variable [MeasurableSpace F] [BorelSpace F] [MeasurableSpace Fˣ] [BorelSpace Fˣ] |
| 20 | |
| 21 | omit [LocallyCompactSpace F] in |
| 22 | theorem unitsVal_measurableEmbedding : MeasurableEmbedding ((↑) : Fˣ → F) := |
| 23 | IsOpenUnits.isOpenEmbedding_unitsVal.measurableEmbedding |
| 24 | |
| 25 | def unitsAdditiveMeasure (μ : Measure F) : Measure Fˣ := μ.comap ((↑) : Fˣ → F) |
| 26 | |
| 27 | omit [LocallyCompactSpace F] in |
| 28 | theorem unitsAdditiveMeasure_apply (μ : Measure F) {S : Set Fˣ} (hS : MeasurableSet S) : |
| 29 | unitsAdditiveMeasure μ S = μ (((↑) : Fˣ → F) '' S) := |
| 30 | Measure.comap_apply _ Units.val_injective |
| 31 | (fun _ => unitsVal_measurableEmbedding.measurableSet_image.mpr) μ hS |
| 32 | |
| 33 | theorem unitsAdditiveMeasure_scaled (μ : Measure F) [μ.IsAddHaarMeasure] [μ.Regular] (a : Fˣ) : |
| 34 | FieldModulus.Construction.fieldModulus F a • (unitsAdditiveMeasure μ).map (fun x => a * x) = unitsAdditiveMeasure μ := by |
| 35 | ext S hS |
| 36 | rw [Measure.coe_nnreal_smul_apply, Measure.map_apply (measurable_const_mul a) hS, |
| 37 | unitsAdditiveMeasure_apply μ ((measurable_const_mul a) hS), unitsAdditiveMeasure_apply μ hS] |
| 38 | have heq : ((↑) : Fˣ → F) '' ((fun x => a * x) ⁻¹' S) = |
| 39 | (FieldModulus.Construction.fieldDilation a) ⁻¹' (((↑) : Fˣ → F) '' S) := by |
| 40 | ext y |
| 41 | constructor |
| 42 | · rintro ⟨u, hu, rfl⟩ |
| 43 | exact ⟨a * u, hu, rfl⟩ |
| 44 | · rintro ⟨u, hu, hy⟩ |
| 45 | refine ⟨a⁻¹ * u, ?_, ?_⟩ |
| 46 | · change a * (a⁻¹ * u) ∈ S |
| 47 | simpa using hu |
| 48 | · change (↑a⁻¹ : F) * (u : F) = y |
| 49 | change (u : F) = (a : F) * y at hy |
| 50 | rw [hy, ← mul_assoc, Units.inv_mul, one_mul] |
| 51 | rw [heq] |
| 52 | exact addEquivAddHaarChar_smul_preimage μ (FieldModulus.Construction.fieldDilation a) |
| 53 | |
| 54 | def fieldMultiplicativeMeasure (μ : Measure F) : Measure Fˣ := |
| 55 | (unitsAdditiveMeasure μ).withDensity (fun a => (((FieldModulus.Construction.fieldModulus F a)⁻¹ : ℝ≥0) : ℝ≥0∞)) |
| 56 | |
| 57 | theorem fieldMultiplicativeMeasure_invariant (hF : ¬ DiscreteTopology F) |
| 58 | (μ : Measure F) [μ.IsAddHaarMeasure] [μ.Regular] : |
| 59 | (fieldMultiplicativeMeasure μ).IsMulLeftInvariant := |
| 60 | DensityPushforward.Construction.character_weight_invariant (unitsAdditiveMeasure μ) (FieldModulus.Construction.fieldModulus F) |
| 61 | (ModulusMeasure.Construction.fieldModulus_measurable hF) FieldModulus.Construction.fieldModulus_pos (unitsAdditiveMeasure_scaled μ) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | /-! Dividing additive Haar measure by its scaling character gives an actual |
| 66 | multiplicative Haar measure on the nonzero field elements. -/ |
| 67 | |
| 68 | open _root_.MeasureTheory _root_.Topology |
| 69 | open scoped NNReal ENNReal |
| 70 | |
| 71 | variable {F : Type} [NormedField F] [LocallyCompactSpace F] |
| 72 | variable [MeasurableSpace F] [BorelSpace F] [MeasurableSpace Fˣ] [BorelSpace Fˣ] |
| 73 | |
| 74 | omit [LocallyCompactSpace F] in |
| 75 | theorem unitsAdditiveMeasure_openPos (μ : Measure F) [μ.IsAddHaarMeasure] : |
| 76 | (unitsAdditiveMeasure μ).IsOpenPosMeasure := by |
| 77 | constructor |
| 78 | intro U hU hne |
| 79 | rw [unitsAdditiveMeasure_apply μ hU.measurableSet] |
| 80 | exact (IsOpenUnits.isOpenEmbedding_unitsVal.isOpenMap _ hU).measure_ne_zero μ (hne.image _) |
| 81 | |
| 82 | theorem fieldMultiplicativeMeasure_openPos (hF : ¬ DiscreteTopology F) |
| 83 | (μ : Measure F) [μ.IsAddHaarMeasure] : (fieldMultiplicativeMeasure μ).IsOpenPosMeasure := by |
| 84 | let ν := unitsAdditiveMeasure μ |
| 85 | let : ν.IsOpenPosMeasure := unitsAdditiveMeasure_openPos μ |
| 86 | let w : Fˣ → ℝ≥0∞ := fun a => (((FieldModulus.Construction.fieldModulus F a)⁻¹ : ℝ≥0) : ℝ≥0∞) |
| 87 | have hw : Measurable w := measurable_coe_nnreal_ennreal.comp (ModulusMeasure.Construction.fieldModulus_measurable hF).inv |
| 88 | have hwne : ∀ᵐ a ∂ν, w a ≠ 0 := Filter.Eventually.of_forall fun a => by |
| 89 | dsimp only [w] |
| 90 | exact_mod_cast inv_ne_zero (FieldModulus.Construction.fieldModulus_pos a).ne' |
| 91 | have hac : ν ≪ ν.withDensity w := withDensity_absolutelyContinuous' hw.aemeasurable hwne |
| 92 | constructor |
| 93 | intro U hU hne hzero |
| 94 | exact hU.measure_ne_zero ν hne (hac hzero) |
| 95 | |
| 96 | theorem fieldMultiplicativeMeasure_isHaar (hF : ¬ DiscreteTopology F) |
| 97 | (μ : Measure F) [μ.IsAddHaarMeasure] [μ.Regular] : (fieldMultiplicativeMeasure μ).IsHaarMeasure := by |
| 98 | refine |
| 99 | { toIsMulLeftInvariant := fieldMultiplicativeMeasure_invariant hF μ |
| 100 | toIsOpenPosMeasure := fieldMultiplicativeMeasure_openPos hF μ |
| 101 | lt_top_of_isCompact := ?_ } |
| 102 | intro K hK |
| 103 | by_cases hne : K.Nonempty |
| 104 | · obtain ⟨a, ha, hmin⟩ := hK.exists_isMinOn hne Units.continuous_val.norm.continuousOn |
| 105 | have hb (b : Fˣ) (hb : b ∈ K) : |
| 106 | (((FieldModulus.Construction.fieldModulus F b)⁻¹ : ℝ≥0) : ℝ≥0∞) ≤ (((FieldModulus.Construction.fieldModulus F a)⁻¹ : ℝ≥0) : ℝ≥0∞) := by |
| 107 | have hnorm : ‖(a : F)‖ ≤ ‖(b : F)‖ := hmin hb |
| 108 | have hh := (inv_le_inv₀ (FieldModulus.Construction.fieldModulus_pos b) (FieldModulus.Construction.fieldModulus_pos a)).mpr |
| 109 | (ModulusMeasure.Construction.fieldModulus_mono_norm hF a b hnorm) |
| 110 | exact_mod_cast hh |
| 111 | have hfin : unitsAdditiveMeasure μ K < ∞ := by |
| 112 | rw [unitsAdditiveMeasure_apply μ hK.isClosed.measurableSet] |
| 113 | exact (hK.image Units.continuous_val).measure_lt_top |
| 114 | rw [fieldMultiplicativeMeasure, withDensity_apply _ hK.isClosed.measurableSet] |
| 115 | calc |
| 116 | _ ≤ ∫⁻ _ in K, (((FieldModulus.Construction.fieldModulus F a)⁻¹ : ℝ≥0) : ℝ≥0∞) ∂ unitsAdditiveMeasure μ := |
| 117 | setLIntegral_mono measurable_const hb |
| 118 | _ = (((FieldModulus.Construction.fieldModulus F a)⁻¹ : ℝ≥0) : ℝ≥0∞) * unitsAdditiveMeasure μ K := by simp |
| 119 | _ < ∞ := ENNReal.mul_lt_top ENNReal.coe_ne_top.lt_top hfin |
| 120 | · rw [Set.not_nonempty_iff_eq_empty.mp hne, measure_empty] |
| 121 | exact ENNReal.zero_lt_top |
| 122 | |
| 123 | theorem fieldMultiplicativeMeasure_withDensity_modulus (hF : ¬ DiscreteTopology F) |
| 124 | (μ : Measure F) : |
| 125 | (fieldMultiplicativeMeasure μ).withDensity (fun a => (FieldModulus.Construction.fieldModulus F a : ℝ≥0∞)) = |
| 126 | unitsAdditiveMeasure μ := by |
| 127 | have hw : Measurable (fun a : Fˣ => (((FieldModulus.Construction.fieldModulus F a)⁻¹ : ℝ≥0) : ℝ≥0∞)) := |
| 128 | measurable_coe_nnreal_ennreal.comp (ModulusMeasure.Construction.fieldModulus_measurable hF).inv |
| 129 | have hδ : Measurable (fun a : Fˣ => (FieldModulus.Construction.fieldModulus F a : ℝ≥0∞)) := |
| 130 | measurable_coe_nnreal_ennreal.comp (ModulusMeasure.Construction.fieldModulus_measurable hF) |
| 131 | rw [fieldMultiplicativeMeasure, ← withDensity_mul _ hw hδ] |
| 132 | have heq : (fun a : Fˣ => (((FieldModulus.Construction.fieldModulus F a)⁻¹ : ℝ≥0) : ℝ≥0∞)) * |
| 133 | (fun a : Fˣ => (FieldModulus.Construction.fieldModulus F a : ℝ≥0∞)) = 1 := by |
| 134 | funext a |
| 135 | change (((FieldModulus.Construction.fieldModulus F a)⁻¹ : ℝ≥0) : ℝ≥0∞) * (FieldModulus.Construction.fieldModulus F a : ℝ≥0∞) = 1 |
| 136 | rw [← ENNReal.coe_mul, inv_mul_cancel₀ (FieldModulus.Construction.fieldModulus_pos a).ne', ENNReal.coe_one] |
| 137 | rw [heq, withDensity_one] |
| 138 | |
| 139 | end |
| 140 | |
| 141 | end OAI.RepresentationTheory.Weil.UnitarySplitting.MultiplicativeHaar.Construction |