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.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.RelationsIncidence |
| 2 | |
| 3 | /-! # Incidence Lifting -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.IncidenceLifting |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Compatible actual affine quotient data lift to the constructed global incidence scheme. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {ι ν κ μ : Type u} |
| 16 | variable [Fintype ι] [Fintype ν] [Fintype κ] [Fintype μ] |
| 17 | variable [DecidableEq ι] [DecidableEq ν] [DecidableEq κ] [DecidableEq μ] |
| 18 | variable {S : Scheme.{u}} {M : Over S} |
| 19 | variable (q : M ⟶ Grassmann.ParameterScheme.grassmannParameterScheme (ι := ι) (ν := ν) S) |
| 20 | variable (k : M ⟶ Grassmann.ParameterScheme.grassmannParameterScheme (ι := κ) (ν := μ) S) |
| 21 | variable (F : Matrix μ ν Γ(M.left, ⊤)) |
| 22 | |
| 23 | theorem grassmannIncidenceCondition_of_affine_relations |
| 24 | (R : CommRingCat.{u}) (f : Spec R ⟶ S) (x : Over.mk f ⟶ M) |
| 25 | (N : Module.Grassmannian R (ν → R) (Fintype.card ι)) |
| 26 | (K : Module.Grassmannian R (μ → R) (Fintype.card κ)) |
| 27 | (hN : x ≫ q = Grassmann.ParameterScheme.grassmannParameterAffinePointEquiv R f N) |
| 28 | (hK : x ≫ k = Grassmann.ParameterScheme.grassmannParameterAffinePointEquiv R f K) |
| 29 | (F₀ : Matrix μ ν R) |
| 30 | (hF : F.map x.left.appTop.hom = F₀.map (Scheme.ΓSpecIso R).inv.hom) |
| 31 | (h : N.toSubmodule ≤ K.toSubmodule.comap (Matrix.toLin' F₀)) : |
| 32 | Grassmann.IncidenceCondition.GrassmannIncidenceCondition q k F x := by |
| 33 | have he : Grassmann.IncidenceScheme.grassmannIncidenceIdeal (x ≫ q) (x ≫ k) (F.map x.left.appTop.hom) = |
| 34 | Grassmann.IncidenceScheme.grassmannIncidenceIdeal (Grassmann.ParameterScheme.grassmannParameterAffinePointEquiv R f N) |
| 35 | (Grassmann.ParameterScheme.grassmannParameterAffinePointEquiv R f K) (F₀.map (Scheme.ΓSpecIso R).inv.hom) := by |
| 36 | rw [hN, hK, hF] |
| 37 | exact (Grassmann.IncidenceCondition.grassmannIncidenceIdeal_vanish_iff q k F x).mp |
| 38 | ((Grassmann.IncidenceChartRecognition.grassmannIncidenceIdeal_baseChange F x).trans |
| 39 | (he.trans (RelationsIncidence.grassmannIncidenceIdeal_eq_bot_of_affine_relations R f N K F₀ h))) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.IncidenceLifting |