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.LocalSubgroup |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.LocalCompletion |
| 3 | |
| 4 | /-! # Matrix Openness -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.MatrixOpenness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A closed subgroup of local algebraic matrix points is open when its |
| 11 | prime-field tangent span equals the tangent span of the full local group. |
| 12 | This is a proved local criterion, with no openness assumption. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField _root_.Matrix.Norms.Operator |
| 15 | open IsDedekindDomain Set Filter _root_.Topology |
| 16 | |
| 17 | variable {F : Type} [Field F] [NumberField F] {n : ℕ} |
| 18 | |
| 19 | def localMatrixMonoidHom (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (v : HeightOneSpectrum (𝓞 F)) : |
| 20 | LocalAdeles.LocalPoints G (Sum.inr v) →* Matrix (Fin n) (Fin n) (v.adicCompletion F) where |
| 21 | toFun g := (g.val : Matrix (Fin n) (Fin n) (LocalAdeles.Completion (Sum.inr v))) |
| 22 | map_one' := rfl |
| 23 | map_mul' _ _ := rfl |
| 24 | |
| 25 | theorem local_subgroup_isOpen_of_tangentSpan_eq (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 26 | (v : HeightOneSpectrum (𝓞 F)) (H : Subgroup (LocalAdeles.LocalPoints G (Sum.inr v))) |
| 27 | (hH : IsClosed (H : Set (LocalAdeles.LocalPoints G (Sum.inr v)))) |
| 28 | (hspan : TangentBracket.matrixTangentSpanOver (K := v.adicCompletion F) |
| 29 | (κ := TangentBracket.closedPrimeSubfield (v.adicCompletion F)) |
| 30 | G (LocalAdeles.localEmbedding (Sum.inr v)) H = |
| 31 | TangentBracket.matrixTangentSpanOver (K := v.adicCompletion F) |
| 32 | (κ := TangentBracket.closedPrimeSubfield (v.adicCompletion F)) |
| 33 | G (LocalAdeles.localEmbedding (Sum.inr v)) ⊤) : |
| 34 | IsOpen (H : Set (LocalAdeles.LocalPoints G (Sum.inr v))) := by |
| 35 | let : NontriviallyNormedField (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) := |
| 36 | TangentBracket.finiteClosedPrimeNontriviallyNormedField v |
| 37 | let : FiniteDimensional (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) (v.adicCompletion F) := |
| 38 | LocalCompletion.finiteCompletion_finiteDimensional_closedPrime v |
| 39 | let : @CompleteSpace (Matrix (Fin n) (Fin n) (v.adicCompletion F)) |
| 40 | (inferInstance : NormedRing (Matrix (Fin n) (Fin n) (v.adicCompletion F))).toUniformSpace := by |
| 41 | apply FiniteDimensional.complete (v.adicCompletion F) |
| 42 | let e := localMatrixMonoidHom G v |
| 43 | let HM := H.toSubmonoid.map e |
| 44 | let GM := (⊤ : Subgroup (LocalAdeles.LocalPoints G (Sum.inr v))).toSubmonoid.map e |
| 45 | have hemb : IsClosedEmbedding e := IntegralCompact.localPoints_closedEmbedding G (Sum.inr v) |
| 46 | have hHM : IsClosed (HM : Set (Matrix (Fin n) (Fin n) (v.adicCompletion F))) := |
| 47 | hemb.isClosedMap _ hH |
| 48 | have hs : LocalSubgroup.primeLocalTangentSpan v GM ≤ LocalSubgroup.primeLocalTangentSpan v HM := by |
| 49 | change TangentBracket.matrixTangentSpanOver (K := v.adicCompletion F) |
| 50 | (κ := TangentBracket.closedPrimeSubfield (v.adicCompletion F)) |
| 51 | G (LocalAdeles.localEmbedding (Sum.inr v)) ⊤ ≤ |
| 52 | TangentBracket.matrixTangentSpanOver (K := v.adicCompletion F) |
| 53 | (κ := TangentBracket.closedPrimeSubfield (v.adicCompletion F)) |
| 54 | G (LocalAdeles.localEmbedding (Sum.inr v)) H |
| 55 | exact hspan.symm.le |
| 56 | have hm := LocalSubgroup.tangentSpan_le_implies_local_containment v HM GM hHM hs |
| 57 | have hecont := hemb.continuous.tendsto (1 : LocalAdeles.LocalPoints G (Sum.inr v)) |
| 58 | rw [map_one] at hecont |
| 59 | have hpull := hecont hm |
| 60 | apply H.isOpen_of_mem_nhds (g := 1) |
| 61 | filter_upwards [hpull] with g hg |
| 62 | have hgm : e g ∈ GM := ⟨g, by trivial, rfl⟩ |
| 63 | obtain ⟨a, ha, he⟩ := hg hgm |
| 64 | exact hemb.injective he ▸ ha |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.Quaternion.Arithmetic.MatrixOpenness |