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.IntegralPolynomialCurves |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.SelectedArithmeticProduct |
| 3 | import OAI.NumberTheory.Quaternion.Arithmetic.ScalarApproximation |
| 4 | |
| 5 | /-! # Adelic Polynomial Curves -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.Quaternion.Arithmetic.AdelicPolynomialCurves |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Additive strong approximation places every independently supported |
| 14 | value of a ground-field polynomial additive curve in the adelic closure |
| 15 | of the rational group. -/ |
| 16 | |
| 17 | open scoped Classical _root_.NumberField RestrictedProduct |
| 18 | open IsDedekindDomain Filter Set |
| 19 | |
| 20 | variable {F : Type} [Field F] [NumberField F] {n : ℕ} |
| 21 | |
| 22 | omit [NumberField F] in |
| 23 | theorem awayFinitePlace_injective (S : Finset (LocalAdeles.Place F)) |
| 24 | (harch : ∀ w : NumberField.InfinitePlace F, Sum.inl w ∈ S) : |
| 25 | Function.Injective (SelectedArithmeticProduct.awayFinitePlace S harch) := by |
| 26 | intro v w h |
| 27 | apply Subtype.ext |
| 28 | rw [← SelectedArithmeticProduct.inr_awayFinitePlace S harch v, ← SelectedArithmeticProduct.inr_awayFinitePlace S harch w] |
| 29 | exact congrArg Sum.inr h |
| 30 | |
| 31 | theorem localPointsPlaceEquiv_mem_integral (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 32 | {v w : LocalAdeles.Place F} (h : v = w) (g : LocalAdeles.LocalPoints G v) : |
| 33 | SelectedArithmeticProduct.localPointsPlaceEquiv G h g ∈ LocalAdeles.integralLocalSubgroup G w ↔ g ∈ LocalAdeles.integralLocalSubgroup G v := by |
| 34 | subst w |
| 35 | rfl |
| 36 | |
| 37 | variable (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (S : Finset (LocalAdeles.Place F)) |
| 38 | (harch : ∀ w : NumberField.InfinitePlace F, Sum.inl w ∈ S) |
| 39 | (u : PolynomialAdditiveCurves.PolynomialAdditiveCurve G) |
| 40 | |
| 41 | def finiteCurveToAwayPoint (v : ApproximationTopology.AwayPlace S) (t : (SelectedArithmeticProduct.awayFinitePlace S harch v).adicCompletion F) : |
| 42 | LocalAdeles.LocalPoints G v.val := |
| 43 | SelectedArithmeticProduct.localPointsPlaceEquiv G (SelectedArithmeticProduct.inr_awayFinitePlace S harch v) |
| 44 | (u.hom _ (LocalAdeles.localEmbedding (.inr (SelectedArithmeticProduct.awayFinitePlace S harch v))) (Multiplicative.ofAdd t)) |
| 45 | |
| 46 | theorem finiteCurveToAwayPoint_continuous (v : ApproximationTopology.AwayPlace S) : |
| 47 | Continuous (finiteCurveToAwayPoint G S harch u v) := |
| 48 | (SelectedArithmeticProduct.localPointsPlaceEquiv G (SelectedArithmeticProduct.inr_awayFinitePlace S harch v)).continuous.comp |
| 49 | (u.continuous_point (LocalAdeles.localEmbedding (.inr (SelectedArithmeticProduct.awayFinitePlace S harch v)))) |
| 50 | |
| 51 | theorem finiteCurveToAwayPoint_zero (v : ApproximationTopology.AwayPlace S) : |
| 52 | finiteCurveToAwayPoint G S harch u v 0 = 1 := by |
| 53 | change SelectedArithmeticProduct.localPointsPlaceEquiv G _ (u.hom _ _ 1) = 1 |
| 54 | rw [map_one, map_one] |
| 55 | |
| 56 | theorem finiteCurveToAwayPoint_rational (v : ApproximationTopology.AwayPlace S) (t : F) : |
| 57 | finiteCurveToAwayPoint G S harch u v |
| 58 | (algebraMap F ((SelectedArithmeticProduct.awayFinitePlace S harch v).adicCompletion F) t) = |
| 59 | LocalAdeles.diagonalLocal G v.val (u.hom F (RingHom.id F) (Multiplicative.ofAdd t)) := by |
| 60 | unfold finiteCurveToAwayPoint |
| 61 | have he := u.map_point (RingHom.id F) |
| 62 | (LocalAdeles.localEmbedding (.inr (SelectedArithmeticProduct.awayFinitePlace S harch v))) t |
| 63 | have hd : u.hom _ (LocalAdeles.localEmbedding (.inr (SelectedArithmeticProduct.awayFinitePlace S harch v))) |
| 64 | (Multiplicative.ofAdd (algebraMap F ((SelectedArithmeticProduct.awayFinitePlace S harch v).adicCompletion F) t)) = |
| 65 | LocalAdeles.diagonalLocal G (.inr (SelectedArithmeticProduct.awayFinitePlace S harch v)) |
| 66 | (u.hom F (RingHom.id F) (Multiplicative.ofAdd t)) := by |
| 67 | simpa only [RingHom.comp_id] using! he.symm |
| 68 | rw [hd] |
| 69 | exact SelectedArithmeticProduct.localPointsPlaceEquiv_diagonal G _ _ |
| 70 | |
| 71 | theorem finiteCurveToAwayPoint_eventually_integral : |
| 72 | ∀ᶠ v : ApproximationTopology.AwayPlace S in cofinite, MapsTo (finiteCurveToAwayPoint G S harch u v) |
| 73 | ((SelectedArithmeticProduct.awayFinitePlace S harch v).adicCompletionIntegers F) |
| 74 | (LocalAdeles.integralLocalSubgroup G v.val) := by |
| 75 | have he := (Subtype.val_injective (p := fun v : LocalAdeles.Place F => v ∉ S)).tendsto_cofinite |
| 76 | (IntegralPolynomialCurves.polynomialAdditiveCurve_eventually_integral G u) |
| 77 | filter_upwards [he] with v hv |
| 78 | intro t ht |
| 79 | unfold finiteCurveToAwayPoint |
| 80 | apply (localPointsPlaceEquiv_mem_integral G (SelectedArithmeticProduct.inr_awayFinitePlace S harch v) _).mpr |
| 81 | have hv' : MapsTo |
| 82 | (fun t : LocalAdeles.Completion (.inr (SelectedArithmeticProduct.awayFinitePlace S harch v)) => |
| 83 | u.hom _ (LocalAdeles.localEmbedding (.inr (SelectedArithmeticProduct.awayFinitePlace S harch v))) (Multiplicative.ofAdd t)) |
| 84 | (LocalAdeles.localIntegerRing (.inr (SelectedArithmeticProduct.awayFinitePlace S harch v))) |
| 85 | (LocalAdeles.integralLocalSubgroup G (.inr (SelectedArithmeticProduct.awayFinitePlace S harch v))) := by |
| 86 | rw [SelectedArithmeticProduct.inr_awayFinitePlace S harch v] |
| 87 | exact hv |
| 88 | exact hv' ht |
| 89 | |
| 90 | def polynomialCurveAdelicMap : ScalarApproximation.ScalarFiniteAdeles F → LocalAdeles.AwayAdelicPoints G S := |
| 91 | RestrictedProduct.mapAlong (fun v : HeightOneSpectrum (𝓞 F) => v.adicCompletion F) |
| 92 | (fun v : ApproximationTopology.AwayPlace S => LocalAdeles.LocalPoints G v.val) |
| 93 | (SelectedArithmeticProduct.awayFinitePlace S harch) (awayFinitePlace_injective S harch).tendsto_cofinite |
| 94 | (finiteCurveToAwayPoint G S harch u) (finiteCurveToAwayPoint_eventually_integral G S harch u) |
| 95 | |
| 96 | theorem polynomialCurveAdelicMap_continuous : Continuous (polynomialCurveAdelicMap G S harch u) := |
| 97 | RestrictedProduct.mapAlong_continuous _ _ _ _ _ _ (finiteCurveToAwayPoint_continuous G S harch u) |
| 98 | |
| 99 | theorem polynomialCurveAdelicMap_rational (t : F) : |
| 100 | polynomialCurveAdelicMap G S harch u (algebraMap F (ScalarApproximation.ScalarFiniteAdeles F) t) = |
| 101 | LocalAdeles.diagonalAway G S (u.hom F (RingHom.id F) (Multiplicative.ofAdd t)) := by |
| 102 | apply RestrictedProduct.ext |
| 103 | intro v |
| 104 | exact finiteCurveToAwayPoint_rational G S harch u v t |
| 105 | |
| 106 | theorem polynomialCurveAdelicMap_mem_diagonal_closure (a : ScalarApproximation.ScalarFiniteAdeles F) : |
| 107 | polynomialCurveAdelicMap G S harch u a ∈ (LocalAdeles.diagonalAway G S).range.topologicalClosure := by |
| 108 | apply (ScalarApproximation.denseRange_scalarFiniteAdeles F).induction_on |
| 109 | (p := fun a => polynomialCurveAdelicMap G S harch u a ∈ |
| 110 | (LocalAdeles.diagonalAway G S).range.topologicalClosure) a |
| 111 | ((LocalAdeles.diagonalAway G S).range.isClosed_topologicalClosure.preimage |
| 112 | (polynomialCurveAdelicMap_continuous G S harch u)) |
| 113 | intro t |
| 114 | rw [polynomialCurveAdelicMap_rational] |
| 115 | exact (LocalAdeles.diagonalAway G S).range.le_topologicalClosure (Set.mem_range_self _) |
| 116 | |
| 117 | end |
| 118 | |
| 119 | /-! A polynomial additive curve can be supported at one chosen local |
| 120 | factor inside the closure of the rational adelic diagonal. -/ |
| 121 | |
| 122 | open scoped Classical _root_.NumberField RestrictedProduct |
| 123 | open IsDedekindDomain Set |
| 124 | |
| 125 | variable {F : Type} [Field F] [NumberField F] {n : ℕ} |
| 126 | (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (S : Finset (LocalAdeles.Place F)) |
| 127 | (harch : ∀ w : NumberField.InfinitePlace F, Sum.inl w ∈ S) |
| 128 | (u : PolynomialAdditiveCurves.PolynomialAdditiveCurve G) |
| 129 | |
| 130 | theorem polynomialCurveAdelicMap_single (v : ApproximationTopology.AwayPlace S) |
| 131 | (t : (SelectedArithmeticProduct.awayFinitePlace S harch v).adicCompletion F) : |
| 132 | polynomialCurveAdelicMap G S harch u |
| 133 | (RestrictedProduct.single (fun w : HeightOneSpectrum (𝓞 F) => w.adicCompletionIntegers F) |
| 134 | (SelectedArithmeticProduct.awayFinitePlace S harch v) t) = |
| 135 | RestrictedProduct.mulSingle (fun w : ApproximationTopology.AwayPlace S => LocalAdeles.integralLocalSubgroup G w.val) |
| 136 | v (finiteCurveToAwayPoint G S harch u v t) := by |
| 137 | apply RestrictedProduct.ext |
| 138 | intro w |
| 139 | by_cases hw : w = v |
| 140 | · subst w |
| 141 | simp only [polynomialCurveAdelicMap, RestrictedProduct.mapAlong_apply, |
| 142 | RestrictedProduct.single_eq_same, RestrictedProduct.mulSingle_eq_same] |
| 143 | · have hf : SelectedArithmeticProduct.awayFinitePlace S harch w ≠ SelectedArithmeticProduct.awayFinitePlace S harch v := |
| 144 | fun h => hw (awayFinitePlace_injective S harch h) |
| 145 | simp only [polynomialCurveAdelicMap, RestrictedProduct.mapAlong_apply, |
| 146 | RestrictedProduct.single_eq_of_ne _ t hf, finiteCurveToAwayPoint_zero, |
| 147 | RestrictedProduct.mulSingle_eq_of_ne _ _ hw] |
| 148 | |
| 149 | theorem finiteCurveToAwayPoint_range (v : ApproximationTopology.AwayPlace S) : |
| 150 | Set.range (finiteCurveToAwayPoint G S harch u v) = |
| 151 | Set.range (fun t : LocalAdeles.Completion v.val => u.hom _ (LocalAdeles.localEmbedding v.val) (Multiplicative.ofAdd t)) := by |
| 152 | obtain ⟨v, hv⟩ := v |
| 153 | cases v with |
| 154 | | inl w => exact (hv (harch w)).elim |
| 155 | | inr w => rfl |
| 156 | |
| 157 | include harch in |
| 158 | theorem supported_polynomial_curve_mem_diagonal_closure (v : ApproximationTopology.AwayPlace S) (t : LocalAdeles.Completion v.val) : |
| 159 | RestrictedProduct.mulSingle (fun w : ApproximationTopology.AwayPlace S => LocalAdeles.integralLocalSubgroup G w.val) v |
| 160 | (u.hom _ (LocalAdeles.localEmbedding v.val) (Multiplicative.ofAdd t)) ∈ |
| 161 | (LocalAdeles.diagonalAway G S).range.topologicalClosure := by |
| 162 | have hr : u.hom _ (LocalAdeles.localEmbedding v.val) (Multiplicative.ofAdd t) ∈ |
| 163 | Set.range (finiteCurveToAwayPoint G S harch u v) := by |
| 164 | rw [finiteCurveToAwayPoint_range] |
| 165 | exact Set.mem_range_self t |
| 166 | obtain ⟨s, hs⟩ := hr |
| 167 | rw [← hs, ← polynomialCurveAdelicMap_single] |
| 168 | exact polynomialCurveAdelicMap_mem_diagonal_closure G S harch u _ |
| 169 | |
| 170 | include harch in |
| 171 | theorem supported_rational_unipotent_mem_diagonal_closure |
| 172 | (g : G.RationalPoints) (hg : IsNilpotent (PolynomialGaloisNorm.matrixPointsHom G (RingHom.id F) g - 1)) |
| 173 | (v : ApproximationTopology.AwayPlace S) : |
| 174 | RestrictedProduct.mulSingle (fun w : ApproximationTopology.AwayPlace S => LocalAdeles.integralLocalSubgroup G w.val) v |
| 175 | (LocalAdeles.diagonalLocal G v.val g) ∈ (LocalAdeles.diagonalAway G S).range.topologicalClosure := by |
| 176 | obtain ⟨c, hc⟩ := PolynomialAdditiveCurves.unipotent_point_has_polynomialAdditiveCurve G g hg |
| 177 | have he := c.map_point (RingHom.id F) (LocalAdeles.localEmbedding v.val) 1 |
| 178 | have hv : c.hom _ (LocalAdeles.localEmbedding v.val) (Multiplicative.ofAdd 1) = LocalAdeles.diagonalLocal G v.val g := by |
| 179 | simpa only [hc, RingHom.comp_id, map_one] using! he.symm |
| 180 | rw [← hv] |
| 181 | exact supported_polynomial_curve_mem_diagonal_closure G S harch c v 1 |
| 182 | |
| 183 | end |
| 184 | |
| 185 | end OAI.NumberTheory.Quaternion.Arithmetic.AdelicPolynomialCurves |