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.DifferentialPrime |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.DifferentialHullGroup |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.ConnectedBaseChange |
| 4 | |
| 5 | /-! # Differential Hull Connected -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.Quaternion.Arithmetic.DifferentialHullConnected |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The algebraic hull of infinitesimal directions is irreducible and |
| 12 | connected. Its vanishing ideal is the prime differential core. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | open Set _root_.Topology |
| 16 | |
| 17 | variable {k : Type} [Field k] [CharZero k] {n : ℕ} |
| 18 | |
| 19 | theorem matrixDifferentialCore_isPrime (S : Set (Matrix (Fin n) (Fin n) k)) : |
| 20 | (ArithmeticGroups.Lattices.MatrixDifferential.Construction.matrixDifferentialCore S).IsPrime := by |
| 21 | let : (RingHom.ker (ArithmeticGroups.Lattices.Algebraic.evaluateMatrix (RingHom.id k) (1 : ArithmeticGroups.Lattices.Algebraic.SL n k))).IsPrime := |
| 22 | RingHom.ker_isPrime _ |
| 23 | exact DifferentialPrime.differentialCore_isPrime _ _ |
| 24 | |
| 25 | variable [IsAlgClosed k] (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup k n) |
| 26 | |
| 27 | local instance differentialHullRationalTopology : TopologicalSpace G.RationalPoints := ArithmeticGroups.Lattices.RationalZariski.Construction.rationalZariskiTopology G |
| 28 | |
| 29 | theorem differentialHull_irreducible |
| 30 | (S : Set (Matrix (Fin n) (Fin n) k)) (hS : S ⊆ ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G) : |
| 31 | IrreducibleSpace (ArithmeticGroups.Lattices.DifferentialHullGroup.Construction.differentialHullSubgroup G S) := by |
| 32 | let N := ArithmeticGroups.Lattices.DifferentialHullGroup.Construction.differentialHullSubgroup G S |
| 33 | let f : N → PrimeSpectrum (ArithmeticGroups.Lattices.Algebraic.CoordinatePolynomial n k) := fun g => ArithmeticGroups.Lattices.RationalZariski.Construction.rationalPrime G g.val |
| 34 | have he : PrimeSpectrum.vanishingIdeal (range f) = ArithmeticGroups.Lattices.DifferentialHullGroup.Construction.hullVanishingIdeal G S := by |
| 35 | ext p |
| 36 | simp only [PrimeSpectrum.mem_vanishingIdeal, forall_mem_range, ArithmeticGroups.Lattices.DifferentialHullGroup.Construction.hullVanishingIdeal, |
| 37 | Ideal.mem_iInf] |
| 38 | rfl |
| 39 | have hp : (PrimeSpectrum.vanishingIdeal (range f)).IsPrime := by |
| 40 | rw [he, ArithmeticGroups.Lattices.DifferentialHullGroup.Construction.hullVanishingIdeal_eq_core G S hS] |
| 41 | exact matrixDifferentialCore_isPrime S |
| 42 | apply ArithmeticGroups.Lattices.ConnectedBaseChange.Construction.irreducible_of_inducing_range |
| 43 | ((show IsInducing (ArithmeticGroups.Lattices.RationalZariski.Construction.rationalPrime G) from ⟨rfl⟩).comp IsInducing.subtypeVal) |
| 44 | exact PrimeSpectrum.isIrreducible_iff_vanishingIdeal_isPrime.mpr hp |
| 45 | |
| 46 | theorem differentialHull_connected |
| 47 | (S : Set (Matrix (Fin n) (Fin n) k)) (hS : S ⊆ ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G) : |
| 48 | IsConnected (ArithmeticGroups.Lattices.DifferentialHullGroup.Construction.differentialHullSubgroup G S : Set G.RationalPoints) := by |
| 49 | let : IrreducibleSpace (ArithmeticGroups.Lattices.DifferentialHullGroup.Construction.differentialHullSubgroup G S) := differentialHull_irreducible G S hS |
| 50 | exact isConnected_iff_connectedSpace.mpr inferInstance |
| 51 | |
| 52 | omit [CharZero k] [IsAlgClosed k] in |
| 53 | theorem differentialHull_closed (S : Set (Matrix (Fin n) (Fin n) k)) : |
| 54 | IsClosed (ArithmeticGroups.Lattices.DifferentialHullGroup.Construction.differentialHullSubgroup G S : Set G.RationalPoints) := |
| 55 | ArithmeticGroups.Lattices.DifferentialHullGroup.Construction.differentialHullSubmonoid_closed G S |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.Quaternion.Arithmetic.DifferentialHullConnected |