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.LogTangent |
| 2 | import Mathlib.Analysis.Calculus.FDeriv.RestrictScalars |
| 3 | |
| 4 | /-! # Span Local -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.SpanLocal |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! A local logarithm at a finite place and its derivative at the identity. |
| 13 | The domain records both the inverse-function chart and the proven disk of |
| 14 | convergence for the exponential. -/ |
| 15 | |
| 16 | open scoped Classical _root_.NumberField |
| 17 | open IsDedekindDomain Set Filter _root_.Topology |
| 18 | |
| 19 | variable {F : Type} [Field F] [NumberField F] |
| 20 | |
| 21 | def finiteLocalLog (v : HeightOneSpectrum (𝓞 F)) |
| 22 | (A : Type*) [NormedRing A] [NormedAlgebra (v.adicCompletion F) A] [CompleteSpace A] : |
| 23 | A → A := (LocalCompletion.finiteExponentialChart v A).symm |
| 24 | |
| 25 | @[simp] theorem finiteLocalLog_one (v : HeightOneSpectrum (𝓞 F)) |
| 26 | (A : Type*) [NormedRing A] [NormedAlgebra (v.adicCompletion F) A] [CompleteSpace A] : |
| 27 | finiteLocalLog v A 1 = 0 := by |
| 28 | have h := (LocalCompletion.finiteExponentialChart v A).left_inv |
| 29 | (LocalCompletion.zero_mem_finiteExponentialChart_source v A) |
| 30 | simpa only [finiteLocalLog, LocalCompletion.finiteExponentialChart_apply, NormedSpace.exp_zero] using h |
| 31 | |
| 32 | theorem finiteLocalLog_hasStrictFDerivAt (v : HeightOneSpectrum (𝓞 F)) |
| 33 | (A : Type*) [NormedRing A] [NormedAlgebra (v.adicCompletion F) A] [CompleteSpace A] : |
| 34 | HasStrictFDerivAt (finiteLocalLog v A) |
| 35 | (ContinuousLinearMap.id (v.adicCompletion F) A) 1 := by |
| 36 | have h := (LocalCompletion.finite_exponential_hasStrictFDerivAt v A).to_localInverse |
| 37 | (f' := ContinuousLinearEquiv.refl (v.adicCompletion F) A) |
| 38 | simpa only [NormedSpace.exp_zero, HasStrictFDerivAt.localInverse, |
| 39 | finiteLocalLog, LocalCompletion.finiteExponentialChart, ContinuousLinearEquiv.refl_symm, |
| 40 | ContinuousLinearEquiv.coe_refl] using h |
| 41 | |
| 42 | def finiteLogDomain (v : HeightOneSpectrum (𝓞 F)) |
| 43 | (A : Type*) [NormedRing A] [NormedAlgebra (v.adicCompletion F) A] [CompleteSpace A] : |
| 44 | Set A := (LocalCompletion.finiteExponentialChart v A).target ∩ |
| 45 | (finiteLocalLog v A) ⁻¹' Metric.eball 0 (NormedSpace.expSeries (v.adicCompletion F) A).radius |
| 46 | |
| 47 | theorem finiteLogDomain_mem_nhds (v : HeightOneSpectrum (𝓞 F)) |
| 48 | (A : Type*) [NormedRing A] [NormedAlgebra (v.adicCompletion F) A] [CompleteSpace A] : |
| 49 | finiteLogDomain v A ∈ 𝓝 (1 : A) := by |
| 50 | apply inter_mem ((LocalCompletion.finiteExponentialChart v A).open_target.mem_nhds |
| 51 | (LocalCompletion.one_mem_finiteExponentialChart_target v A)) |
| 52 | have h := (finiteLocalLog_hasStrictFDerivAt v A).continuousAt |
| 53 | rw [ContinuousAt, finiteLocalLog_one] at h |
| 54 | exact h (Metric.eball_mem_nhds _ (LocalCompletion.finite_expSeries_radius_pos v A)) |
| 55 | |
| 56 | theorem exp_finiteLocalLog (v : HeightOneSpectrum (𝓞 F)) |
| 57 | {A : Type*} [NormedRing A] [NormedAlgebra (v.adicCompletion F) A] [CompleteSpace A] |
| 58 | {g : A} (hg : g ∈ finiteLogDomain v A) : NormedSpace.exp (finiteLocalLog v A g) = g := |
| 59 | (LocalCompletion.finiteExponentialChart v A).right_inv hg.1 |
| 60 | |
| 61 | theorem finiteLocalLog_mem_tangentCone (v : HeightOneSpectrum (𝓞 F)) |
| 62 | {A : Type*} [NormedRing A] [NormedAlgebra (v.adicCompletion F) A] [CompleteSpace A] |
| 63 | [Algebra (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) A] |
| 64 | [IsScalarTower (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) (v.adicCompletion F) A] |
| 65 | (H : Submonoid A) {g : A} (hg : g ∈ H) (hu : g ∈ finiteLogDomain v A) : |
| 66 | finiteLocalLog v A g ∈ |
| 67 | tangentConeAt (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) (H : Set A) 1 := by |
| 68 | apply LogTangent.local_exp_parameter_mem_tangentCone v H hu.2 |
| 69 | rwa [exp_finiteLocalLog v hu] |
| 70 | |
| 71 | end |
| 72 | |
| 73 | section |
| 74 | |
| 75 | /-! The tangent span of a finite-dimensional local submonoid is generated |
| 76 | by its logarithms in every sufficiently small identity neighborhood. -/ |
| 77 | |
| 78 | open scoped Classical _root_.NumberField |
| 79 | open IsDedekindDomain Set Filter _root_.Topology |
| 80 | |
| 81 | theorem tangentCone_subset_closed_submodule |
| 82 | {κ E : Type*} [Field κ] [AddCommGroup E] [Module κ E] [TopologicalSpace E] |
| 83 | (W : Submodule κ E) (hW : IsClosed (W : Set E)) {s : Set E} (hs : s ⊆ W) : |
| 84 | tangentConeAt κ s 0 ⊆ (W : Set E) := by |
| 85 | intro X hX |
| 86 | obtain ⟨α, l, hl, c, d, hd, hds, hcd⟩ := exists_fun_of_mem_tangentConeAt hX |
| 87 | apply hW.mem_of_tendsto hcd |
| 88 | filter_upwards [hds] with j hj |
| 89 | exact W.smul_mem (c j) (hs (by simpa only [zero_add] using hj)) |
| 90 | |
| 91 | variable {F : Type} [Field F] [NumberField F] |
| 92 | |
| 93 | theorem tangentSpan_eq_span_localLog (v : HeightOneSpectrum (𝓞 F)) |
| 94 | {A : Type*} [NormedRing A] [NormedAlgebra (v.adicCompletion F) A] [CompleteSpace A] |
| 95 | [NormedAlgebra (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) A] |
| 96 | [IsScalarTower (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) (v.adicCompletion F) A] |
| 97 | [FiniteDimensional (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) A] |
| 98 | (H : Submonoid A) {U : Set A} (hU : U ∈ 𝓝 (1 : A)) |
| 99 | (hUsmall : U ⊆ finiteLogDomain v A) : |
| 100 | Submodule.span (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) |
| 101 | (tangentConeAt (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) (H : Set A) 1) = |
| 102 | Submodule.span (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) |
| 103 | (finiteLocalLog v A '' ((H : Set A) ∩ U)) := by |
| 104 | let : NontriviallyNormedField (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) := |
| 105 | TangentBracket.finiteClosedPrimeNontriviallyNormedField v |
| 106 | let W := Submodule.span (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) |
| 107 | (finiteLocalLog v A '' ((H : Set A) ∩ U)) |
| 108 | apply le_antisymm |
| 109 | · apply Submodule.span_le.mpr |
| 110 | intro X hX |
| 111 | have hXi : X ∈ tangentConeAt (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) |
| 112 | ((H : Set A) ∩ U) 1 := by |
| 113 | rwa [tangentConeAt_inter_nhds hU] |
| 114 | obtain ⟨α, l, hl, c, d, hd, hds, hcd⟩ := exists_fun_of_mem_tangentConeAt hXi |
| 115 | let cK := fun j => algebraMap (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) |
| 116 | (v.adicCompletion F) (c j) |
| 117 | have hec (j : α) (Y : A) : cK j • Y = c j • Y := |
| 118 | IsScalarTower.algebraMap_smul (v.adicCompletion F) (c j) Y |
| 119 | have hcdK : Tendsto (fun j => cK j • d j) l (𝓝 X) := by |
| 120 | simpa only [hec] using hcd |
| 121 | have hlim := (finiteLocalLog_hasStrictFDerivAt v A).hasFDerivAt.hasFDerivWithinAt |
| 122 | (s := (H : Set A) ∩ U) |>.lim hd hds hcdK |
| 123 | have hloglim : Tendsto (fun j => c j • finiteLocalLog v A (1 + d j)) l (𝓝 X) := by |
| 124 | simpa only [finiteLocalLog_one, sub_zero, ContinuousLinearMap.id_apply, hec] using hlim |
| 125 | apply W.closed_of_finiteDimensional.mem_of_tendsto hloglim |
| 126 | filter_upwards [hds] with j hj |
| 127 | exact W.smul_mem (c j) (Submodule.subset_span ⟨1 + d j, hj, rfl⟩) |
| 128 | · apply Submodule.span_le.mpr |
| 129 | rintro _ ⟨g, ⟨hg, hu⟩, rfl⟩ |
| 130 | exact Submodule.subset_span (finiteLocalLog_mem_tangentCone v H hg (hUsmall hu)) |
| 131 | |
| 132 | end |
| 133 | |
| 134 | /-! A finite basis selected from a prescribed spanning set. This will |
| 135 | select genuine local subgroup logarithms for the analytic coordinates. -/ |
| 136 | |
| 137 | open scoped Classical |
| 138 | open Set _root_.Module |
| 139 | |
| 140 | theorem exists_fin_basis_span_mem |
| 141 | {κ E : Type*} [Field κ] [AddCommGroup E] [Module κ E] [FiniteDimensional κ E] |
| 142 | (s : Set E) : |
| 143 | ∃ (n : ℕ) (b : Basis (Fin n) κ (Submodule.span κ s)), ∀ i, (b i : E) ∈ s := by |
| 144 | let t : Set (Submodule.span κ s) := Subtype.val ⁻¹' s |
| 145 | have ht : ⊤ ≤ Submodule.span κ t := by |
| 146 | rw [show t = Subtype.val ⁻¹' s from rfl, Submodule.span_span_coe_preimage] |
| 147 | let b := Basis.ofSpan ht |
| 148 | let := FiniteDimensional.fintypeBasisIndex b |
| 149 | refine ⟨Fintype.card _, b.reindex (Fintype.equivFin _), ?_⟩ |
| 150 | intro i |
| 151 | have h := Basis.ofSpan_subset ht |
| 152 | (mem_range_self (f := b) ((Fintype.equivFin _).symm i)) |
| 153 | simpa only [Basis.reindex_apply, t, mem_preimage] using h |
| 154 | |
| 155 | end |
| 156 | |
| 157 | end OAI.NumberTheory.Quaternion.Arithmetic.SpanLocal |