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.Local.UnitaryInner |
| 2 | |
| 3 | /-! # Field Coordinates -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.Local.FieldCoordinates.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Transport of the concrete Bruhat space and its energy between topological field presentations. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory |
| 14 | |
| 15 | def fieldPositionEquiv {k l : Type} [NormedField k] [NormedField l] |
| 16 | (e : k ≃+* l) (he : Continuous e) (he' : Continuous e.symm) (n : ℕ) : |
| 17 | FunctionsMetaplectic.Construction.Position k n ≃ₜ+ FunctionsMetaplectic.Construction.Position l n where |
| 18 | toFun x i := e (x i) |
| 19 | invFun x i := e.symm (x i) |
| 20 | left_inv x := by ext i; exact e.symm_apply_apply (x i) |
| 21 | right_inv x := by ext i; exact e.apply_symm_apply (x i) |
| 22 | map_add' x y := by ext i; exact e.map_add (x i) (y i) |
| 23 | continuous_toFun := continuous_pi (fun i => he.comp (continuous_apply i)) |
| 24 | continuous_invFun := continuous_pi (fun i => he'.comp (continuous_apply i)) |
| 25 | |
| 26 | theorem schwartzBruhat_comp_crossField |
| 27 | {k l : Type} [NormedField k] [NormedField l] {m n : ℕ} |
| 28 | (e : FunctionsMetaplectic.Construction.Position k m ≃ₜ+ FunctionsMetaplectic.Construction.Position l n) |
| 29 | {f : FunctionsMetaplectic.Construction.Position l n → ℂ} (hf : f ∈ FunctionsMetaplectic.Construction.schwartzBruhat l n) : |
| 30 | f ∘ e ∈ FunctionsMetaplectic.Construction.schwartzBruhat k m := by |
| 31 | induction hf using Submodule.span_induction with |
| 32 | | mem f hf => |
| 33 | rcases hf with hf | ⟨d, a, φ, rfl⟩ |
| 34 | · exact FunctionsMetaplectic.Construction.compact_locallyConstant_mem |
| 35 | (hf.1.comp_continuous e.continuous) (hf.2.comp_homeomorph e.toHomeomorph) |
| 36 | · exact FunctionsMetaplectic.Construction.schwartz_coordinate_mem (a.trans e.symm) φ |
| 37 | | zero => exact (FunctionsMetaplectic.Construction.schwartzBruhat k m).zero_mem |
| 38 | | add f g _ _ hf hg => exact (FunctionsMetaplectic.Construction.schwartzBruhat k m).add_mem hf hg |
| 39 | | smul c f _ hf => exact (FunctionsMetaplectic.Construction.schwartzBruhat k m).smul_mem c hf |
| 40 | |
| 41 | def testSpaceTransport {k l : Type} [NormedField k] [NormedField l] {m n : ℕ} |
| 42 | (e : FunctionsMetaplectic.Construction.Position k m ≃ₜ+ FunctionsMetaplectic.Construction.Position l n) : FunctionsMetaplectic.Construction.schwartzBruhat k m ≃ₗ[ℂ] FunctionsMetaplectic.Construction.schwartzBruhat l n where |
| 43 | toFun f := ⟨f.val ∘ e.symm, schwartzBruhat_comp_crossField e.symm f.property⟩ |
| 44 | invFun f := ⟨f.val ∘ e, schwartzBruhat_comp_crossField e f.property⟩ |
| 45 | left_inv f := by ext x; simp |
| 46 | right_inv f := by ext x; simp |
| 47 | map_add' _ _ := rfl |
| 48 | map_smul' _ _ := rfl |
| 49 | |
| 50 | theorem testSpaceTransport_apply {k l : Type} [NormedField k] [NormedField l] {m n : ℕ} |
| 51 | (e : FunctionsMetaplectic.Construction.Position k m ≃ₜ+ FunctionsMetaplectic.Construction.Position l n) (f : FunctionsMetaplectic.Construction.schwartzBruhat k m) (x : FunctionsMetaplectic.Construction.Position l n) : |
| 52 | (testSpaceTransport e f).val x = f.val (e.symm x) := rfl |
| 53 | |
| 54 | theorem testSpaceTransport_energy_congr |
| 55 | {k l : Type} [NormedField k] [NormedField l] [LocallyCompactSpace k] [LocallyCompactSpace l] |
| 56 | [MeasurableSpace k] [BorelSpace k] [MeasurableSpace l] [BorelSpace l] |
| 57 | [SecondCountableTopology k] [SecondCountableTopology l] {m n : ℕ} |
| 58 | (e : FunctionsMetaplectic.Construction.Position k m ≃ₜ+ FunctionsMetaplectic.Construction.Position l n) (f g : FunctionsMetaplectic.Construction.schwartzBruhat k m) |
| 59 | (hfg : FunctionsMetaplectic.Construction.l2Energy k m f = FunctionsMetaplectic.Construction.l2Energy k m g) : |
| 60 | FunctionsMetaplectic.Construction.l2Energy l n (testSpaceTransport e f) = FunctionsMetaplectic.Construction.l2Energy l n (testSpaceTransport e g) := by |
| 61 | let μ := UnitaryInner.Construction.referencePositionMeasure l n |
| 62 | let ν := UnitaryInner.Construction.referencePositionMeasure k m |
| 63 | let : (μ.map e.symm).IsAddHaarMeasure := e.symm.isAddHaarMeasure_map μ |
| 64 | have hμ := Measure.isAddLeftInvariant_eq_smul_of_regular (μ.map e.symm) ν |
| 65 | have hi (f : FunctionsMetaplectic.Construction.schwartzBruhat k m) : FunctionsMetaplectic.Construction.l2Energy l n (testSpaceTransport e f) = |
| 66 | (Measure.addHaarScalarFactor (μ.map e.symm) ν : ℝ) * FunctionsMetaplectic.Construction.l2Energy k m f := by |
| 67 | have h := integral_map_equiv (μ := μ) e.symm.toHomeomorph.toMeasurableEquiv |
| 68 | (fun x => ‖f.val x‖ ^ 2) |
| 69 | change (∫ x, ‖f.val x‖ ^ 2 ∂μ.map e.symm) = _ at h |
| 70 | rw [hμ, integral_smul_nnreal_measure] at h |
| 71 | exact h.symm |
| 72 | rw [hi, hi, hfg] |
| 73 | |
| 74 | end |
| 75 | |
| 76 | section |
| 77 | |
| 78 | /-! The actual reference Haar measures under a topological field isomorphism. -/ |
| 79 | |
| 80 | open _root_.MeasureTheory |
| 81 | open scoped NNReal |
| 82 | |
| 83 | def fieldAddHomeomorph {k l : Type} [NormedField k] [NormedField l] |
| 84 | (e : k ≃+* l) (he : Continuous e) (he' : Continuous e.symm) : k ≃ₜ+ l where |
| 85 | toAddEquiv := e.toAddEquiv |
| 86 | continuous_toFun := he |
| 87 | continuous_invFun := he' |
| 88 | |
| 89 | def fieldReferenceHaarFactor |
| 90 | {k l : Type} [NormedField k] [NormedField l] |
| 91 | [LocallyCompactSpace k] [LocallyCompactSpace l] |
| 92 | [MeasurableSpace k] [BorelSpace k] [MeasurableSpace l] [BorelSpace l] |
| 93 | (e : k ≃+* l) (he : Continuous e) (he' : Continuous e.symm) : ℝ≥0 := |
| 94 | let : ((Measure.addHaar : Measure k).map e).IsAddHaarMeasure := |
| 95 | (fieldAddHomeomorph e he he').isAddHaarMeasure_map Measure.addHaar |
| 96 | Measure.addHaarScalarFactor ((Measure.addHaar : Measure k).map e) (Measure.addHaar : Measure l) |
| 97 | |
| 98 | theorem fieldReferenceHaarFactor_pos |
| 99 | {k l : Type} [NormedField k] [NormedField l] |
| 100 | [LocallyCompactSpace k] [LocallyCompactSpace l] |
| 101 | [MeasurableSpace k] [BorelSpace k] [MeasurableSpace l] [BorelSpace l] |
| 102 | (e : k ≃+* l) (he : Continuous e) (he' : Continuous e.symm) : |
| 103 | 0 < fieldReferenceHaarFactor e he he' := by |
| 104 | let : ((Measure.addHaar : Measure k).map e).IsAddHaarMeasure := |
| 105 | (fieldAddHomeomorph e he he').isAddHaarMeasure_map Measure.addHaar |
| 106 | exact Measure.addHaarScalarFactor_pos_of_isAddHaarMeasure _ _ |
| 107 | |
| 108 | theorem fieldReferenceHaar_map |
| 109 | {k l : Type} [NormedField k] [NormedField l] |
| 110 | [LocallyCompactSpace k] [LocallyCompactSpace l] |
| 111 | [MeasurableSpace k] [BorelSpace k] [MeasurableSpace l] [BorelSpace l] |
| 112 | (e : k ≃+* l) (he : Continuous e) (he' : Continuous e.symm) : |
| 113 | (Measure.addHaar : Measure k).map e = |
| 114 | fieldReferenceHaarFactor e he he' • (Measure.addHaar : Measure l) := by |
| 115 | let : ((Measure.addHaar : Measure k).map e).IsAddHaarMeasure := |
| 116 | (fieldAddHomeomorph e he he').isAddHaarMeasure_map Measure.addHaar |
| 117 | let : ((Measure.addHaar : Measure k).map e).Regular := |
| 118 | Measure.Regular.map (fieldAddHomeomorph e he he').toHomeomorph |
| 119 | exact Measure.isAddLeftInvariant_eq_smul_of_regular _ _ |
| 120 | |
| 121 | theorem fieldReferenceHaar_integral |
| 122 | {k l : Type} [NormedField k] [NormedField l] |
| 123 | [LocallyCompactSpace k] [LocallyCompactSpace l] |
| 124 | [MeasurableSpace k] [BorelSpace k] [MeasurableSpace l] [BorelSpace l] |
| 125 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 126 | (e : k ≃+* l) (he : Continuous e) (he' : Continuous e.symm) (f : k → E) : |
| 127 | (∫ x, f x ∂Measure.addHaar) = |
| 128 | (fieldReferenceHaarFactor e he he' : ℝ) • ∫ y, f (e.symm y) ∂Measure.addHaar := by |
| 129 | have hi := integral_map_equiv (μ := (Measure.addHaar : Measure k)) |
| 130 | (fieldAddHomeomorph e he he').toHomeomorph.toMeasurableEquiv (fun y => f (e.symm y)) |
| 131 | change (∫ y, f (e.symm y) ∂(Measure.addHaar : Measure k).map e) = |
| 132 | ∫ x, f (e.symm (e x)) ∂Measure.addHaar at hi |
| 133 | rw [fieldReferenceHaar_map e he he', integral_smul_nnreal_measure] at hi |
| 134 | simpa only [RingEquiv.symm_apply_apply, NNReal.smul_def] using hi.symm |
| 135 | |
| 136 | end |
| 137 | |
| 138 | /-! The Haar modulus is invariant under a topological field isomorphism. -/ |
| 139 | |
| 140 | open _root_.MeasureTheory Set |
| 141 | open scoped NNReal ENNReal Pointwise |
| 142 | |
| 143 | theorem field_localModulus |
| 144 | {k l : Type} [NormedField k] [NormedField l] |
| 145 | [LocallyCompactSpace k] [LocallyCompactSpace l] |
| 146 | [MeasurableSpace k] [BorelSpace k] [MeasurableSpace l] [BorelSpace l] |
| 147 | (e : k ≃+* l) (he : Continuous e) (he' : Continuous e.symm) (a : kˣ) : |
| 148 | FunctionsMetaplectic.Construction.localModulus k a = FunctionsMetaplectic.Construction.localModulus l (Units.map e.toMonoidHom a) := by |
| 149 | let ν : Measure l := Measure.addHaar |
| 150 | let μ : Measure k := ν.map e.symm |
| 151 | let E := fieldAddHomeomorph e he he' |
| 152 | let : μ.IsAddHaarMeasure := E.symm.isAddHaarMeasure_map ν |
| 153 | let : μ.Regular := Measure.Regular.map E.symm.toHomeomorph |
| 154 | let s : Set k := FunctionsMetaplectic.Construction.referenceCompact k |
| 155 | have hs0 : μ s ≠ 0 := (Measure.measure_pos_of_nonempty_interior μ |
| 156 | (FunctionsMetaplectic.Construction.referenceCompact k).interior_nonempty).ne' |
| 157 | have hsfin : μ s ≠ ⊤ := (FunctionsMetaplectic.Construction.referenceCompact k).isCompact.measure_ne_top |
| 158 | have hpre : e.symm ⁻¹' (a • s) = |
| 159 | Units.map e.toMonoidHom a • (e.symm ⁻¹' s) := by |
| 160 | ext y |
| 161 | simp only [mem_preimage, mem_smul_set_iff_inv_smul_mem] |
| 162 | change ((a⁻¹ : kˣ) : k) * e.symm y ∈ s ↔ |
| 163 | e.symm (((Units.map e.toMonoidHom a)⁻¹ : lˣ) * y) ∈ s |
| 164 | simp only [map_mul, ← map_inv, Units.coe_map] |
| 165 | change ((a⁻¹ : kˣ) : k) * e.symm y ∈ s ↔ |
| 166 | e.symm (e ((a⁻¹ : kˣ) : k)) * e.symm y ∈ s |
| 167 | rw [RingEquiv.symm_apply_apply] |
| 168 | have hmap (t : Set k) : μ t = ν (e.symm ⁻¹' t) := |
| 169 | E.symm.toHomeomorph.measurableEmbedding.map_apply ν t |
| 170 | have hmul : μ (a • s) = |
| 171 | (distribHaarChar l (Units.map e.toMonoidHom a) : ℝ≥0∞) * μ s := by |
| 172 | rw [hmap, hmap, hpre] |
| 173 | exact (distribHaarChar_mul ν (Units.map e.toMonoidHom a) (e.symm ⁻¹' s)).symm |
| 174 | exact congrArg (fun r : ℝ≥0 => (r : ℝ)) |
| 175 | (distribHaarChar_eq_of_measure_smul_eq_mul hs0 hsfin hmul) |
| 176 | |
| 177 | end |
| 178 | |
| 179 | end OAI.RepresentationTheory.Weil.Local.FieldCoordinates.Construction |