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.NormAdditiveMeasure |
| 2 | |
| 3 | /-! # Norm Quadratic Integrals -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.NormQuadraticIntegrals.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Integrals over the two fibers of a quadratic character. The vanishing |
| 12 | of the full integral makes the two fiber integrals negatives of each other. -/ |
| 13 | |
| 14 | open _root_.MeasureTheory _root_.Topology |
| 15 | open scoped NNReal ENNReal |
| 16 | |
| 17 | variable {G : Type} [Group G] [TopologicalSpace G] [MeasurableSpace G] [BorelSpace G] |
| 18 | variable (ω : G →ₜ* Circle) (hsq : ∀ g : G, ω g ^ 2 = 1) |
| 19 | |
| 20 | include hsq in |
| 21 | theorem square_one_character_fiber_integral |
| 22 | (μ : Measure G) (f : G → ℂ) (hf : Integrable f μ) (hzero : ∫ x, f x ∂μ = 0) |
| 23 | (a : G) : |
| 24 | (∫ x in {x | ω x = ω a}, f x ∂μ) = |
| 25 | (ω a : ℂ) * ∫ x in (ω.toMonoidHom.ker : Set G), f x ∂μ := by |
| 26 | have hval (x : G) : (ω x : ℂ) = 1 ∨ (ω x : ℂ) = -1 := |
| 27 | sq_eq_one_iff.mp (congrArg (fun z : Circle => (z : ℂ)) (hsq x)) |
| 28 | by_cases ha : ω a = 1 |
| 29 | · simp only [ha, Circle.coe_one, one_mul] |
| 30 | rfl |
| 31 | · have ham : (ω a : ℂ) = -1 := (hval a).resolve_left (fun h => ha (Circle.ext h)) |
| 32 | have hset : {x | ω x = ω a} = (ω.toMonoidHom.ker : Set G)ᶜ := by |
| 33 | ext x |
| 34 | change ω x = ω a ↔ ¬ ω x = 1 |
| 35 | constructor |
| 36 | · intro hx |
| 37 | rwa [hx] |
| 38 | · intro hx |
| 39 | apply Circle.ext |
| 40 | exact ((hval x).resolve_left (fun h => hx (Circle.ext h))).trans ham.symm |
| 41 | rw [hset, setIntegral_compl (NormKernelOpen.Construction.square_one_character_kernel_open ω hsq).measurableSet hf, |
| 42 | hzero, zero_sub, ham, neg_one_mul] |
| 43 | |
| 44 | variable [MeasurableMul G] |
| 45 | |
| 46 | theorem scaled_measure_character_fiber |
| 47 | (μ : Measure G) (ρ : G → ℝ≥0) |
| 48 | (hscale : ∀ a : G, ρ a • μ.map (fun x => a * x) = μ) (a : G) : |
| 49 | ρ a • (μ.restrict (ω.toMonoidHom.ker : Set G)).map (fun x => a * x) = |
| 50 | μ.restrict {x | ω x = ω a} := by |
| 51 | have hfiber : MeasurableSet {x | ω x = ω a} := |
| 52 | isClosed_eq ω.continuous continuous_const |>.measurableSet |
| 53 | have hpre : (fun x => a * x) ⁻¹' {x | ω x = ω a} = |
| 54 | (ω.toMonoidHom.ker : Set G) := by |
| 55 | ext x |
| 56 | change ω (a * x) = ω a ↔ ω x = 1 |
| 57 | rw [map_mul, mul_eq_left] |
| 58 | have hh := congrArg (fun ν : Measure G => ν.restrict {x | ω x = ω a}) (hscale a) |
| 59 | rwa [Measure.restrict_smul, Measure.restrict_map (measurable_const_mul a) hfiber, hpre] at hh |
| 60 | |
| 61 | include hsq in |
| 62 | theorem scaled_measure_quadratic_character_integral |
| 63 | (μ : Measure G) (ρ : G → ℝ≥0) |
| 64 | (hscale : ∀ a : G, ρ a • μ.map (fun x => a * x) = μ) |
| 65 | (f : G → ℂ) (hfm : StronglyMeasurable f) |
| 66 | (hf : Integrable f μ) (hzero : ∫ x, f x ∂μ = 0) (a : G) : |
| 67 | (ρ a : ℂ) * (∫ x in (ω.toMonoidHom.ker : Set G), f (a * x) ∂μ) = |
| 68 | (ω a : ℂ) * ∫ x in (ω.toMonoidHom.ker : Set G), f x ∂μ := by |
| 69 | have hh := congrArg (fun ν : Measure G => ∫ x, f x ∂ν) |
| 70 | (scaled_measure_character_fiber ω μ ρ hscale a) |
| 71 | rw [integral_smul_nnreal_measure, |
| 72 | integral_map_of_stronglyMeasurable (measurable_const_mul a) hfm] at hh |
| 73 | have hi := square_one_character_fiber_integral ω hsq μ f hf hzero a |
| 74 | exact hh.trans hi |
| 75 | |
| 76 | end |
| 77 | |
| 78 | section |
| 79 | |
| 80 | /-! Quadratic-character scaling of norm integrals against test functions |
| 81 | whose additive integral vanishes. -/ |
| 82 | |
| 83 | open _root_.MeasureTheory _root_.Topology |
| 84 | open scoped NNReal ENNReal |
| 85 | |
| 86 | variable {F E : Type} [NormedField F] [NormedField E] [Algebra F E] |
| 87 | variable [CompleteSpace F] [LocallyCompactSpace F] [LocallyCompactSpace E] [FiniteDimensional F E] |
| 88 | variable [MeasurableSpace F] [BorelSpace F] [MeasurableSpace E] [BorelSpace E] |
| 89 | variable [MeasurableSpace Fˣ] [BorelSpace Fˣ] [MeasurableSpace Eˣ] [BorelSpace Eˣ] |
| 90 | variable [CharZero F] |
| 91 | variable (hF : ¬ DiscreteTopology F) (hE : ¬ DiscreteTopology E) |
| 92 | variable (hEmbedding : Continuous (algebraMap F E)) (hQuadratic : Module.finrank F E = 2) |
| 93 | variable (σ : E ≃ₐ[F] E) (hne : ∃ z : E, σ z ≠ z) |
| 94 | variable (ω : Fˣ →ₜ* Circle) (hω : Characters.Construction.IsExtensionQuadraticCharacter (E := E) ω) |
| 95 | |
| 96 | include hF hE hEmbedding hQuadratic hne hω in |
| 97 | theorem norm_units_integral_scaling |
| 98 | (μF : Measure F) [μF.IsAddHaarMeasure] [μF.Regular] |
| 99 | (μE : Measure E) [μE.IsAddHaarMeasure] [μE.Regular] |
| 100 | (f : Fˣ → ℂ) (hfm : StronglyMeasurable f) |
| 101 | (hf : Integrable f (MultiplicativeHaar.Construction.unitsAdditiveMeasure μF)) |
| 102 | (hzero : ∫ x, f x ∂ MultiplicativeHaar.Construction.unitsAdditiveMeasure μF = 0) (a : Fˣ) : |
| 103 | (FieldModulus.Construction.fieldModulus F a : ℂ) * |
| 104 | (∫ b, f (a * Units.map (Algebra.norm F) b) ∂ MultiplicativeHaar.Construction.unitsAdditiveMeasure μE) = |
| 105 | (ω a : ℂ) * (∫ b, f (Units.map (Algebra.norm F) b) ∂ MultiplicativeHaar.Construction.unitsAdditiveMeasure μE) := by |
| 106 | obtain ⟨c, -, hcomp⟩ := NormAdditiveMeasure.Construction.norm_additive_units_measure_comparison |
| 107 | hF hE hEmbedding hQuadratic σ hne ω hω μF μE |
| 108 | have hN : Measurable (Units.map (Algebra.norm F : E →* F)) := |
| 109 | (Units.continuous_map (QuadraticNorm.Construction.fieldNorm_continuous hF hEmbedding)).measurable |
| 110 | have hI (a : Fˣ) : |
| 111 | (∫ b, f (a * Units.map (Algebra.norm F) b) ∂ MultiplicativeHaar.Construction.unitsAdditiveMeasure μE) = |
| 112 | (c : ℂ) * ∫ x in (ω.toMonoidHom.ker : Set Fˣ), f (a * x) ∂ MultiplicativeHaar.Construction.unitsAdditiveMeasure μF := by |
| 113 | have hh := congrArg (fun ν : Measure Fˣ => ∫ x, f (a * x) ∂ν) hcomp |
| 114 | have hfa : StronglyMeasurable (fun x => f (a * x)) := |
| 115 | hfm.comp_measurable (measurable_const_mul a) |
| 116 | rw [integral_map_of_stronglyMeasurable hN hfa, |
| 117 | integral_smul_nnreal_measure] at hh |
| 118 | exact hh |
| 119 | have hIone := hI 1 |
| 120 | simp only [one_mul] at hIone |
| 121 | rw [hI, hIone] |
| 122 | have hchar := scaled_measure_quadratic_character_integral ω |
| 123 | (Characters.Construction.quadraticCharacter_square hQuadratic ω hω) (MultiplicativeHaar.Construction.unitsAdditiveMeasure μF) |
| 124 | (FieldModulus.Construction.fieldModulus F) (MultiplicativeHaar.Construction.unitsAdditiveMeasure_scaled μF) f hfm hf hzero a |
| 125 | calc |
| 126 | _ = (c : ℂ) * ((FieldModulus.Construction.fieldModulus F a : ℂ) * |
| 127 | ∫ x in (ω.toMonoidHom.ker : Set Fˣ), f (a * x) ∂ MultiplicativeHaar.Construction.unitsAdditiveMeasure μF) := by ring |
| 128 | _ = (c : ℂ) * ((ω a : ℂ) * |
| 129 | ∫ x in (ω.toMonoidHom.ker : Set Fˣ), f x ∂ MultiplicativeHaar.Construction.unitsAdditiveMeasure μF) := by rw [hchar] |
| 130 | _ = _ := by ring |
| 131 | |
| 132 | end |
| 133 | |
| 134 | /-! Field-valued test integrals for the quadratic norm, with the null set |
| 135 | at zero removed only inside the measure-theoretic argument. -/ |
| 136 | |
| 137 | open _root_.MeasureTheory _root_.Topology |
| 138 | open scoped NNReal ENNReal |
| 139 | |
| 140 | theorem unitsAdditiveMeasure_integral {F : Type} [NormedField F] [LocallyCompactSpace F] |
| 141 | [MeasurableSpace F] [BorelSpace F] [MeasurableSpace Fˣ] [BorelSpace Fˣ] |
| 142 | (hF : ¬ DiscreteTopology F) (μ : Measure F) [μ.IsAddHaarMeasure] (f : F → ℂ) : |
| 143 | (∫ u : Fˣ, f (u : F) ∂ MultiplicativeHaar.Construction.unitsAdditiveMeasure μ) = ∫ x, f x ∂μ := by |
| 144 | rw [← MultiplicativeHaar.Construction.unitsVal_measurableEmbedding.integral_map, NormAdditiveMeasure.Construction.unitsAdditiveMeasure_map_val hF μ] |
| 145 | |
| 146 | theorem unitsAdditiveMeasure_integrable {F : Type} [NormedField F] [LocallyCompactSpace F] |
| 147 | [MeasurableSpace F] [BorelSpace F] [MeasurableSpace Fˣ] [BorelSpace Fˣ] |
| 148 | (hF : ¬ DiscreteTopology F) (μ : Measure F) [μ.IsAddHaarMeasure] (f : F → ℂ) : |
| 149 | Integrable (fun u : Fˣ => f (u : F)) (MultiplicativeHaar.Construction.unitsAdditiveMeasure μ) ↔ Integrable f μ := by |
| 150 | change Integrable (f ∘ ((↑) : Fˣ → F)) (MultiplicativeHaar.Construction.unitsAdditiveMeasure μ) ↔ Integrable f μ |
| 151 | rw [← MultiplicativeHaar.Construction.unitsVal_measurableEmbedding.integrable_map_iff, NormAdditiveMeasure.Construction.unitsAdditiveMeasure_map_val hF μ] |
| 152 | |
| 153 | variable {F E : Type} [NormedField F] [NormedField E] [Algebra F E] |
| 154 | variable [CompleteSpace F] [LocallyCompactSpace F] [LocallyCompactSpace E] [FiniteDimensional F E] |
| 155 | variable [MeasurableSpace F] [BorelSpace F] [MeasurableSpace E] [BorelSpace E] [CharZero F] |
| 156 | variable (hF : ¬ DiscreteTopology F) (hE : ¬ DiscreteTopology E) |
| 157 | variable (hEmbedding : Continuous (algebraMap F E)) (hQuadratic : Module.finrank F E = 2) |
| 158 | variable (σ : E ≃ₐ[F] E) (hne : ∃ z : E, σ z ≠ z) |
| 159 | variable (ω : Fˣ →ₜ* Circle) (hω : Characters.Construction.IsExtensionQuadraticCharacter (E := E) ω) |
| 160 | |
| 161 | include hF hE hEmbedding hQuadratic hne hω in |
| 162 | theorem norm_test_integral_scaling |
| 163 | (μF : Measure F) [μF.IsAddHaarMeasure] [μF.Regular] |
| 164 | (μE : Measure E) [μE.IsAddHaarMeasure] [μE.Regular] |
| 165 | (f : F → ℂ) (hfm : StronglyMeasurable f) (hf : Integrable f μF) |
| 166 | (hzero : ∫ x, f x ∂μF = 0) (a : Fˣ) : |
| 167 | (FieldModulus.Construction.fieldModulus F a : ℂ) * (∫ b, f ((a : F) * Algebra.norm F b) ∂μE) = |
| 168 | (ω a : ℂ) * (∫ b, f (Algebra.norm F b) ∂μE) := by |
| 169 | let : MeasurableSpace Fˣ := borel Fˣ |
| 170 | let : BorelSpace Fˣ := ⟨rfl⟩ |
| 171 | let : MeasurableSpace Eˣ := borel Eˣ |
| 172 | let : BorelSpace Eˣ := ⟨rfl⟩ |
| 173 | have hfm' : StronglyMeasurable (fun u : Fˣ => f (u : F)) := |
| 174 | hfm.comp_measurable MultiplicativeHaar.Construction.unitsVal_measurableEmbedding.measurable |
| 175 | have hf' := (unitsAdditiveMeasure_integrable hF μF f).mpr hf |
| 176 | have hz : (∫ u : Fˣ, f (u : F) ∂ MultiplicativeHaar.Construction.unitsAdditiveMeasure μF) = 0 := by |
| 177 | rw [unitsAdditiveMeasure_integral hF μF, hzero] |
| 178 | have hh := norm_units_integral_scaling hF hE hEmbedding hQuadratic σ hne ω hω |
| 179 | μF μE (fun u : Fˣ => f (u : F)) hfm' hf' hz a |
| 180 | change (FieldModulus.Construction.fieldModulus F a : ℂ) * |
| 181 | (∫ b : Eˣ, f ((a : F) * Algebra.norm F (b : E)) ∂ MultiplicativeHaar.Construction.unitsAdditiveMeasure μE) = |
| 182 | (ω a : ℂ) * (∫ b : Eˣ, f (Algebra.norm F (b : E)) ∂ MultiplicativeHaar.Construction.unitsAdditiveMeasure μE) at hh |
| 183 | rw [unitsAdditiveMeasure_integral hE μE (fun b => f ((a : F) * Algebra.norm F b)), |
| 184 | unitsAdditiveMeasure_integral hE μE (fun b => f (Algebra.norm F b))] at hh |
| 185 | exact hh |
| 186 | |
| 187 | end |
| 188 | |
| 189 | end OAI.RepresentationTheory.Weil.UnitarySplitting.NormQuadraticIntegrals.Construction |