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.ArithmeticGroups.Lattices.MatrixDifferential |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.RationalZariski |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.NoetherianSubmonoid |
| 4 | |
| 5 | /-! # Differential Hull Group -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.DifferentialHullGroup.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The algebraic subgroup cut out by the differential core, inside the |
| 12 | rational points of a matrix group. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | open _root_.TopologicalSpace Set |
| 16 | |
| 17 | def differentialHullSubmonoid {k : Type} [Field k] {n : ℕ} |
| 18 | (G : Algebraic.MatrixAlgebraicGroup k n) (S : Set (Matrix (Fin n) (Fin n) k)) : |
| 19 | Submonoid G.RationalPoints where |
| 20 | carrier := {g | ∀ p ∈ MatrixDifferential.Construction.matrixDifferentialCore S, Algebraic.evaluateMatrix (RingHom.id k) g.val p = 0} |
| 21 | one_mem' := fun _ hp => MatrixDifferential.Construction.matrixDifferentialCore_eval_one S hp |
| 22 | mul_mem' := by |
| 23 | intro g h hg hh p hp |
| 24 | have he := hh (LeftTranslation.Construction.leftTranslate (g.val : Matrix (Fin n) (Fin n) k) p) |
| 25 | (MatrixDifferential.Construction.leftTranslate_mem_matrixDifferentialCore S g.val hg hp) |
| 26 | rw [MatrixDifferential.Construction.leftTranslate_evaluate_rational] at he |
| 27 | exact he |
| 28 | |
| 29 | theorem differentialHullSubmonoid_closed {k : Type} [Field k] {n : ℕ} |
| 30 | (G : Algebraic.MatrixAlgebraicGroup k n) (S : Set (Matrix (Fin n) (Fin n) k)) : |
| 31 | @IsClosed G.RationalPoints (RationalZariski.Construction.rationalZariskiTopology G) |
| 32 | (differentialHullSubmonoid G S : Set G.RationalPoints) := by |
| 33 | let : TopologicalSpace G.RationalPoints := RationalZariski.Construction.rationalZariskiTopology G |
| 34 | have he : (differentialHullSubmonoid G S : Set G.RationalPoints) = |
| 35 | ⋂ p : MatrixDifferential.Construction.matrixDifferentialCore S, |
| 36 | {g : G.RationalPoints | Algebraic.evaluateMatrix (RingHom.id k) g.val p.val = 0} := by |
| 37 | ext g |
| 38 | simp only [mem_iInter, mem_ofPred_eq] |
| 39 | exact ⟨fun h p => h p.val p.property, fun h p hp => h ⟨p, hp⟩⟩ |
| 40 | rw [he] |
| 41 | exact isClosed_iInter (fun p => RationalZariski.Construction.rational_polynomial_zero_closed G p.val) |
| 42 | |
| 43 | def differentialHullSubgroup {k : Type} [Field k] {n : ℕ} |
| 44 | (G : Algebraic.MatrixAlgebraicGroup k n) (S : Set (Matrix (Fin n) (Fin n) k)) : |
| 45 | Subgroup G.RationalPoints := by |
| 46 | let : TopologicalSpace G.RationalPoints := RationalZariski.Construction.rationalZariskiTopology G |
| 47 | let : NoetherianSpace G.RationalPoints := RationalZariski.Construction.rational_zariski_noetherian G |
| 48 | let : SeparatelyContinuousMul G.RationalPoints := { |
| 49 | continuous_const_mul := fun {g} => RationalZariski.Construction.rational_left_mul_continuous G g |
| 50 | continuous_mul_const := fun {g} => RationalZariski.Construction.rational_right_mul_continuous G g } |
| 51 | exact NoetherianSubmonoid.Construction.closedNoetherianSubgroup (differentialHullSubmonoid G S) (differentialHullSubmonoid_closed G S) |
| 52 | |
| 53 | theorem mem_differentialHullSubgroup {k : Type} [Field k] {n : ℕ} |
| 54 | (G : Algebraic.MatrixAlgebraicGroup k n) (S : Set (Matrix (Fin n) (Fin n) k)) (g : G.RationalPoints) : |
| 55 | g ∈ differentialHullSubgroup G S ↔ |
| 56 | ∀ p ∈ MatrixDifferential.Construction.matrixDifferentialCore S, Algebraic.evaluateMatrix (RingHom.id k) g.val p = 0 := Iff.rfl |
| 57 | |
| 58 | def hullVanishingIdeal {k : Type} [Field k] {n : ℕ} |
| 59 | (G : Algebraic.MatrixAlgebraicGroup k n) (S : Set (Matrix (Fin n) (Fin n) k)) : |
| 60 | Ideal (Algebraic.CoordinatePolynomial n k) := |
| 61 | ⨅ g : differentialHullSubgroup G S, RingHom.ker (Algebraic.evaluateMatrix (RingHom.id k) g.val.val) |
| 62 | |
| 63 | theorem hullVanishingIdeal_eq_core |
| 64 | {k : Type} [Field k] [CharZero k] [IsAlgClosed k] {n : ℕ} |
| 65 | (G : Algebraic.MatrixAlgebraicGroup k n) (S : Set (Matrix (Fin n) (Fin n) k)) |
| 66 | (hS : S ⊆ Infinitesimal.Action.Construction.infinitesimalStabilizer G) : hullVanishingIdeal G S = MatrixDifferential.Construction.matrixDifferentialCore S := by |
| 67 | apply le_antisymm |
| 68 | · intro p hp |
| 69 | apply MatrixDifferential.Construction.matrixDifferentialCore_isRadical S |
| 70 | rw [← MvPolynomial.vanishingIdeal_zeroLocus_eq_radical (K := k)] |
| 71 | intro x hx |
| 72 | have hle := MatrixDifferential.Construction.vanishingIdeal_le_matrixDifferentialCore G S hS |
| 73 | have hd := hx (CoordinateIdeal.Construction.determinantEquation k n) |
| 74 | (hle (CoordinateIdeal.Construction.definingIdeal_le_vanishingIdeal G (Ideal.subset_span (Set.mem_insert _ _)))) |
| 75 | have hdet : Matrix.det (fun i j : Fin n => x (i, j)) = 1 := by |
| 76 | apply sub_eq_zero.mp |
| 77 | simpa only [MvPolynomial.aeval_eq_eval₂Hom, Algebra.algebraMap_self, |
| 78 | CoordinateIdeal.Construction.eval_determinantEquation] using hd |
| 79 | let g : Algebraic.SL n k := ⟨fun i j => x (i, j), hdet⟩ |
| 80 | have hg : g ∈ G.subgroup k (RingHom.id k) := by |
| 81 | apply (VanishingIdeal.Construction.mem_group_iff_vanishingIdeal G (RingHom.id k) g).mpr |
| 82 | intro q hq |
| 83 | exact hx q (hle hq) |
| 84 | have hh : (⟨g, hg⟩ : G.RationalPoints) ∈ differentialHullSubgroup G S := by |
| 85 | intro q hq |
| 86 | exact hx q hq |
| 87 | exact Ideal.mem_iInf.mp hp ⟨⟨g, hg⟩, hh⟩ |
| 88 | · intro p hp |
| 89 | apply Ideal.mem_iInf.mpr |
| 90 | intro g |
| 91 | exact g.property p hp |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.NumberTheory.ArithmeticGroups.Lattices.DifferentialHullGroup.Construction |