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.HilbertScheme.Presentations.MatrixRank.StalkLifting |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Global.GermNaturality |
| 3 | |
| 4 | /-! # Stalk Criterion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.MatrixRank.StalkCriterion.Grassmannian |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The represented local matrix-rank condition is equivalent to the explicit |
| 11 | pivot equations in every stalk. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {ι μ ν : Type u} [Fintype ι] [DecidableEq ι] |
| 17 | variable {S : Scheme.{u}} (M : Over S) (A : Matrix ν μ Γ(M.left, ⊤)) |
| 18 | |
| 19 | theorem matrixRank_stalk_of_local {T : Over S} (x : T ⟶ M) |
| 20 | (hx : Representation.Grassmannian.matrixRankLocalCondition (ι := ι) M A x) : |
| 21 | StalkLifting.Grassmannian.matrixRankStalkCondition (ι := ι) M A x := by |
| 22 | obtain ⟨U, hU⟩ := (Equations.Grassmannian.matrixRankLocalCondition_iff_equations M A x).mp hx |
| 23 | intro t |
| 24 | let i := U.idx t |
| 25 | obtain ⟨v, hv⟩ := U.covers t |
| 26 | obtain ⟨p, hp⟩ := hU i |
| 27 | refine ⟨p, ?_, ?_⟩ |
| 28 | · change IsUnit (T.left.presheaf.Γgerm t (x.left.appTop (A.submatrix p.2 p.1).det)) |
| 29 | rw [← hv] |
| 30 | apply (isUnit_map_iff ((U.f i).stalkMap v).hom _).mp |
| 31 | rw [Global.GermNaturality.global_germ_appTop] |
| 32 | exact hp.1.map ((U.X i).presheaf.Γgerm v).hom |
| 33 | · intro q |
| 34 | change T.left.presheaf.Γgerm t (x.left.appTop |
| 35 | (MatrixPivot.Cokernel.Grassmannian.pivotResidual (A.submatrix p.2 p.1) (A.submatrix p.2 id) (A.submatrix id p.1) A q.1 q.2)) = 0 |
| 36 | rw [← hv] |
| 37 | apply (ConcreteCategory.bijective_of_isIso ((U.f i).stalkMap v)).1 |
| 38 | rw [map_zero, Global.GermNaturality.global_germ_appTop] |
| 39 | change (U.X i).presheaf.Γgerm v ((U.f i ≫ x.left).appTop |
| 40 | (MatrixPivot.Cokernel.Grassmannian.pivotResidual (A.submatrix p.2 p.1) (A.submatrix p.2 id) (A.submatrix id p.1) A q.1 q.2)) = 0 |
| 41 | rw [hp.2 q, map_zero] |
| 42 | |
| 43 | theorem matrixRank_stalk_iff_local [Finite μ] [Finite ν] |
| 44 | {T : Over S} (x : T ⟶ M) : |
| 45 | StalkLifting.Grassmannian.matrixRankStalkCondition (ι := ι) M A x ↔ Representation.Grassmannian.matrixRankLocalCondition (ι := ι) M A x := |
| 46 | ⟨StalkLifting.Grassmannian.matrixRank_local_of_stalk M A x, matrixRank_stalk_of_local M A x⟩ |
| 47 | |
| 48 | theorem matrixRankRepresentation_stalks [Finite μ] [Finite ν] |
| 49 | {T : Over S} (x : T ⟶ M) : |
| 50 | StalkLifting.Grassmannian.matrixRankStalkCondition (ι := ι) M A x ↔ |
| 51 | ∃! y : T ⟶ Data.Grassmannian.matrixRankOver (ι := ι) M A, y ≫ Data.Grassmannian.matrixRankParameterMap M A = x := |
| 52 | (matrixRank_stalk_iff_local M A x).trans (Representation.Grassmannian.matrixRankLocalCondition_iff_lift M A x) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.MatrixRank.StalkCriterion.Grassmannian |