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.RationalNormCurveValues |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.LocalGaloisNormCurve |
| 3 | import OAI.NumberTheory.Quaternion.Arithmetic.DenseParameterClosure |
| 4 | |
| 5 | /-! # Simultaneous Norm Closure -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.Quaternion.Arithmetic.SimultaneousNormClosure |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Weak approximation on the scalar parameters puts the local norm |
| 12 | curves into every closed set containing the diagonal rational points. -/ |
| 13 | |
| 14 | open scoped Classical _root_.Matrix.Norms.Operator |
| 15 | open _root_.Matrix Set Filter _root_.Topology |
| 16 | |
| 17 | variable {F E : Type} [Field F] [Field E] [CharZero E] [Algebra F E] |
| 18 | [FiniteDimensional F E] [IsGalois F E] {ι : Type*} [Fintype ι] [Nonempty ι] |
| 19 | {K A : ι → Type*} [∀ i, NontriviallyNormedField (K i)] [∀ i, Algebra F (K i)] |
| 20 | [∀ i, NormedCommRing (A i)] [∀ i, Nontrivial (A i)] [∀ i, Algebra F (A i)] |
| 21 | [∀ i, NormedAlgebra (K i) (A i)] [∀ i, IsScalarTower F (K i) (A i)] |
| 22 | [∀ i, CompleteSpace (K i)] [∀ i, CompleteSpace (A i)] [∀ i, FiniteDimensional (K i) (A i)] |
| 23 | {n : ℕ} |
| 24 | |
| 25 | def simultaneousNormCurve (f : ∀ i, E →ₐ[F] A i) (B : ArithmeticGroups.Lattices.Algebraic.SL n E) (a : E) (m : Fin n → ℤ) |
| 26 | (t : ∀ i, K i) : ∀ i, Matrix (Fin n) (Fin n) (A i) := |
| 27 | fun i => LocalGaloisNormCurve.localGaloisNormCurve (f i) B a m (t i) |
| 28 | |
| 29 | theorem simultaneousNormCurve_eventually_mem_closed (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 30 | (S : Matrix (Fin n) (Fin n) F) (B : ArithmeticGroups.Lattices.Algebraic.SL n E) (m : Fin n → ℤ) |
| 31 | (hLie : MappedWeightCurves.integerWeightMatrix B m ∈ |
| 32 | ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer (ArithmeticGroups.Lattices.BaseChange.Construction.matrixGroupBaseChange G (algebraMap F E))) |
| 33 | (hpoly : ∀ u : Eˣ, ∃ p : Polynomial E, Polynomial.aeval (S.map (algebraMap F E)) p = |
| 34 | (B : Matrix (Fin n) (Fin n) E) * Matrix.diagonal (fun i => ((u ^ m i : Eˣ) : E)) * |
| 35 | ((B⁻¹ : ArithmeticGroups.Lattices.Algebraic.SL n E) : Matrix (Fin n) (Fin n) E)) |
| 36 | (f : ∀ i, E →ₐ[F] A i) (a : E) |
| 37 | (hdense : DenseRange (fun r : F => fun i => algebraMap F (K i) r)) |
| 38 | (C : Set (∀ i, Matrix (Fin n) (Fin n) (A i))) (hC : IsClosed C) |
| 39 | (hrational : ∀ g : G.RationalPoints, |
| 40 | (fun i => (PolynomialGaloisNorm.matrixPointsHom G (RingHom.id F) g).map (algebraMap F (A i))) ∈ C) : |
| 41 | ∀ᶠ t in 𝓝 (0 : ∀ i, K i), simultaneousNormCurve f B a m t ∈ C := by |
| 42 | let U : Set (∀ i, K i) := {t | ∀ i, ∀ σ : E ≃ₐ[F] E, IsUnit (1 + t i • f i (σ a))} |
| 43 | have hUopen : IsOpen U := by |
| 44 | have he : U = ⋂ i, (fun t : ∀ i, K i => t i) ⁻¹' |
| 45 | {x : K i | ∀ σ : E ≃ₐ[F] E, IsUnit (1 + x • f i (σ a))} := by |
| 46 | ext t |
| 47 | simp only [U, mem_ofPred_eq, mem_iInter, mem_preimage] |
| 48 | rw [he] |
| 49 | exact isOpen_iInter_of_finite (fun i => |
| 50 | (LocalGaloisNormCurve.localGaloisNormCurve_unitDomain_isOpen (K := K i) (f i) a).preimage (continuous_apply i)) |
| 51 | have hUzero : (0 : ∀ i, K i) ∈ U := by |
| 52 | intro i σ |
| 53 | simp only [Pi.zero_apply, zero_smul, add_zero, isUnit_one] |
| 54 | filter_upwards [hUopen.mem_nhds hUzero] with t ht |
| 55 | have hcont : ContinuousAt (simultaneousNormCurve f B a m) t := by |
| 56 | apply continuousAt_pi.mpr |
| 57 | intro i |
| 58 | exact (LocalGaloisNormCurve.localGaloisNormCurve_continuousAt (K := K i) (f i) B a m (ht i)).comp |
| 59 | (f := fun t : ∀ i, K i => t i) (continuous_apply i).continuousAt |
| 60 | apply DenseParameterClosure.dense_parameters_mem_closed hdense hC hcont (hUopen.mem_nhds ht) |
| 61 | intro r hr |
| 62 | let i₀ : ι := Classical.choice inferInstance |
| 63 | have hunit : IsUnit (1 + algebraMap F E r * a) := |
| 64 | RationalNormCurveValues.global_affine_isUnit_of_local (K := K i₀) (f i₀) a r (hr i₀ 1) |
| 65 | obtain ⟨u, hu⟩ := hunit |
| 66 | obtain ⟨g, hg⟩ := RationalNormCurveValues.simultaneous_rational_norm_curve_values (K := K) G S B m hLie hpoly f a r u hu |
| 67 | have he : simultaneousNormCurve f B a m (fun i => algebraMap F (K i) r) = |
| 68 | fun i => (PolynomialGaloisNorm.matrixPointsHom G (RingHom.id F) g).map (algebraMap F (A i)) := funext hg |
| 69 | rw [he] |
| 70 | exact hrational g |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.NumberTheory.Quaternion.Arithmetic.SimultaneousNormClosure |