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.ProperQuadratic |
| 2 | import OAI.RepresentationTheory.Weil.UnitarySplitting.QuadraticNorm |
| 3 | |
| 4 | /-! # Norm Haar -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.NormHaar.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Properness of the quadratic field norm and compactness of norm-one fibers. -/ |
| 13 | |
| 14 | open _root_.Topology |
| 15 | |
| 16 | variable {F E : Type} [NormedField F] [NormedField E] [Algebra F E] |
| 17 | variable [CompleteSpace F] [LocallyCompactSpace F] [FiniteDimensional F E] |
| 18 | variable (hF : ¬ DiscreteTopology F) (hEmbedding : Continuous (algebraMap F E)) |
| 19 | variable (hQuadratic : Module.finrank F E = 2) |
| 20 | |
| 21 | include hF hEmbedding hQuadratic in |
| 22 | theorem quadraticNorm_isProperMap : IsProperMap (Algebra.norm F : E → F) := by |
| 23 | rcases NormedField.discreteTopology_or_nontriviallyNormedField F with hd | ⟨_, rfl⟩ |
| 24 | · exact (hF hd).elim |
| 25 | · let : ProperSpace F := ProperSpace.of_nontriviallyNormedField_of_weaklyLocallyCompactSpace F |
| 26 | let e := QuadraticNorm.Construction.quadraticFieldCoordinates hF hEmbedding hQuadratic |
| 27 | let q : (Fin 2 → F) → F := fun x => Algebra.norm F (e.symm x) |
| 28 | have hqc : Continuous q := (QuadraticNorm.Construction.fieldNorm_continuous hF hEmbedding).comp e.symm.continuous |
| 29 | have hqh (a : F) (x : Fin 2 → F) : q (a • x) = a ^ 2 * q x := by |
| 30 | dsimp only [q] |
| 31 | rw [map_smul, Algebra.smul_def, map_mul, Algebra.norm_algebraMap, hQuadratic] |
| 32 | have hqz (x : Fin 2 → F) (hx : q x = 0) : x = 0 := by |
| 33 | have hh : e.symm x = 0 := Algebra.norm_eq_zero_iff.mp hx |
| 34 | apply e.symm.injective |
| 35 | simpa using hh |
| 36 | have hp := ProperQuadratic.Construction.anisotropic_quadratic_isProperMap q hqc hqh hqz |
| 37 | have hh := hp.comp e.toHomeomorph.isProperMap |
| 38 | convert hh using 1 |
| 39 | funext x |
| 40 | change Algebra.norm F x = Algebra.norm F (e.symm (e x)) |
| 41 | rw [e.symm_apply_apply] |
| 42 | |
| 43 | include hF hEmbedding hQuadratic in |
| 44 | theorem quadraticNorm_fiber_compact (a : F) : IsCompact {z : E | Algebra.norm F z = a} := by |
| 45 | exact (quadraticNorm_isProperMap hF hEmbedding hQuadratic).isCompact_preimage isCompact_singleton |
| 46 | |
| 47 | include hF hEmbedding hQuadratic in |
| 48 | theorem normOne_compact [CharZero F] (σ : E ≃ₐ[F] E) (hne : ∃ z : E, σ z ≠ z) : |
| 49 | IsCompact {z : E | σ z * z = 1} := by |
| 50 | have heq : {z : E | σ z * z = 1} = {z : E | Algebra.norm F z = 1} := by |
| 51 | ext z |
| 52 | constructor |
| 53 | · intro hz |
| 54 | apply (algebraMap F E).injective |
| 55 | rw [QuadraticNorm.Construction.quadratic_norm_formula hQuadratic σ hne, map_one, mul_comm] |
| 56 | exact hz |
| 57 | · intro hz |
| 58 | have hh := congrArg (algebraMap F E) hz |
| 59 | rw [QuadraticNorm.Construction.quadratic_norm_formula hQuadratic σ hne, map_one] at hh |
| 60 | change σ z * z = 1 |
| 61 | rwa [mul_comm] |
| 62 | rw [heq] |
| 63 | exact quadraticNorm_fiber_compact hF hEmbedding hQuadratic 1 |
| 64 | |
| 65 | end |
| 66 | |
| 67 | /-! The quadratic norm pushes multiplicative Haar measure to Haar measure |
| 68 | on the norm subgroup specified by the quadratic character. -/ |
| 69 | |
| 70 | open _root_.Topology _root_.MeasureTheory |
| 71 | |
| 72 | variable {F E : Type} [NormedField F] [NormedField E] [Algebra F E] |
| 73 | variable [CompleteSpace F] [LocallyCompactSpace F] [FiniteDimensional F E] |
| 74 | variable (hF : ¬ DiscreteTopology F) (hEmbedding : Continuous (algebraMap F E)) |
| 75 | variable (hQuadratic : Module.finrank F E = 2) |
| 76 | |
| 77 | include hF hEmbedding hQuadratic in |
| 78 | theorem normUnits_isProperMap : IsProperMap (Units.map (Algebra.norm F : E →* F)) := by |
| 79 | apply isProperMap_iff_isCompact_preimage.mpr |
| 80 | refine ⟨Units.continuous_map (QuadraticNorm.Construction.fieldNorm_continuous hF hEmbedding), fun K hK => ?_⟩ |
| 81 | apply Units.isEmbedding_val₀.isCompact_iff.mpr |
| 82 | have heq : ((↑) : Eˣ → E) '' ((Units.map (Algebra.norm F : E →* F)) ⁻¹' K) = |
| 83 | (Algebra.norm F : E → F) ⁻¹' (((↑) : Fˣ → F) '' K) := by |
| 84 | ext x |
| 85 | constructor |
| 86 | · rintro ⟨u, hu, rfl⟩ |
| 87 | exact ⟨Units.map (Algebra.norm F) u, hu, rfl⟩ |
| 88 | · rintro ⟨v, hv, hxv⟩ |
| 89 | have hNx : Algebra.norm F x ≠ 0 := by rw [← hxv]; exact v.ne_zero |
| 90 | have hx : x ≠ 0 := Algebra.norm_ne_zero_iff.mp hNx |
| 91 | refine ⟨Units.mk0 x hx, ?_, rfl⟩ |
| 92 | have he : Units.map (Algebra.norm F) (Units.mk0 x hx) = v := Units.ext hxv.symm |
| 93 | change Units.map (Algebra.norm F) (Units.mk0 x hx) ∈ K |
| 94 | rwa [he] |
| 95 | rw [heq] |
| 96 | exact (quadraticNorm_isProperMap hF hEmbedding hQuadratic).isCompact_preimage |
| 97 | (hK.image Units.continuous_val) |
| 98 | |
| 99 | variable (ω : Fˣ →ₜ* Circle) (hω : Characters.Construction.IsExtensionQuadraticCharacter (E := E) ω) |
| 100 | |
| 101 | def normToKernel : Eˣ →* ω.toMonoidHom.ker := |
| 102 | (Units.map (Algebra.norm F : E →* F)).codRestrict ω.toMonoidHom.ker |
| 103 | (fun b => (hω _).mpr ⟨b, rfl⟩) |
| 104 | |
| 105 | omit [CompleteSpace F] [LocallyCompactSpace F] [FiniteDimensional F E] in |
| 106 | theorem normToKernel_surjective : Function.Surjective (normToKernel ω hω) := by |
| 107 | intro a |
| 108 | obtain ⟨b, hb⟩ := (hω a.val).mp a.property |
| 109 | refine ⟨b, Subtype.ext ?_⟩ |
| 110 | exact Units.ext hb |
| 111 | |
| 112 | include hF hEmbedding in |
| 113 | omit [LocallyCompactSpace F] in |
| 114 | theorem normToKernel_continuous : Continuous (normToKernel ω hω) := |
| 115 | (Units.continuous_map (QuadraticNorm.Construction.fieldNorm_continuous hF hEmbedding)).subtype_mk _ |
| 116 | |
| 117 | include hF hEmbedding hQuadratic in |
| 118 | theorem normToKernel_isProperMap : IsProperMap (normToKernel ω hω) := by |
| 119 | exact isProperMap_of_comp_of_inj |
| 120 | (normToKernel_continuous hF hEmbedding ω hω) continuous_subtype_val |
| 121 | (normUnits_isProperMap hF hEmbedding hQuadratic) Subtype.val_injective |
| 122 | |
| 123 | include hF hEmbedding hQuadratic in |
| 124 | theorem normToKernel_map_haar |
| 125 | [MeasurableSpace Eˣ] [BorelSpace Eˣ] |
| 126 | [MeasurableSpace ω.toMonoidHom.ker] [BorelSpace ω.toMonoidHom.ker] |
| 127 | (μ : Measure Eˣ) [μ.IsHaarMeasure] : |
| 128 | (μ.map (normToKernel ω hω)).IsHaarMeasure := by |
| 129 | exact Measure.isHaarMeasure_map μ (normToKernel ω hω) |
| 130 | (normToKernel_continuous hF hEmbedding ω hω) (normToKernel_surjective ω hω) |
| 131 | (by |
| 132 | rw [Filter.hasBasis_cocompact.tendsto_right_iff] |
| 133 | intro K hK |
| 134 | exact (normToKernel_isProperMap hF hEmbedding hQuadratic ω hω).isCompact_preimage hK |
| 135 | |>.compl_mem_cocompact) |
| 136 | |
| 137 | end |
| 138 | |
| 139 | end OAI.RepresentationTheory.Weil.UnitarySplitting.NormHaar.Construction |