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.MatrixPivot.Cokernel |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.SectionUnitZeroLocus |
| 3 | |
| 4 | /-! # Locus -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.MatrixPivot.Locus.Grassmannian |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual relative schemes for finite-presentation pivot charts, with verified free cokernels over every test scheme. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {ι κ τ : Type u} [Fintype ι] [Fintype κ] [Fintype τ] |
| 17 | variable [DecidableEq ι] [DecidableEq κ] [DecidableEq τ] |
| 18 | |
| 19 | def matrixPivotCondition {R T : Type u} [CommRing R] [CommRing T] |
| 20 | (A : Matrix ι ι R) (B : Matrix ι κ R) (C : Matrix τ ι R) (D : Matrix τ κ R) |
| 21 | (φ : R →+* T) : Prop := |
| 22 | IsUnit (φ A.det) ∧ ∀ p : τ × κ, φ (Cokernel.Grassmannian.pivotResidual A B C D p.1 p.2) = 0 |
| 23 | |
| 24 | def matrixPivotConditionCokernelEquiv {R T : Type u} [CommRing R] [CommRing T] |
| 25 | (A : Matrix ι ι R) (B : Matrix ι κ R) (C : Matrix τ ι R) (D : Matrix τ κ R) |
| 26 | (φ : R →+* T) (h : matrixPivotCondition A B C D φ) : |
| 27 | (((ι → T) × (τ → T)) ⧸ |
| 28 | (Grassmannian.Incidence.blockLinearMap (Matrix.toLin' (A.map φ)) (Matrix.toLin' (B.map φ)) |
| 29 | (Matrix.toLin' (C.map φ)) (Matrix.toLin' (D.map φ))).range) ≃ₗ[T] (τ → T) := by |
| 30 | apply Cokernel.Grassmannian.matrixPivotCokernelEquiv |
| 31 | · have hd : φ A.det = (A.map φ).det := φ.map_det A |
| 32 | exact hd ▸ h.1 |
| 33 | · rw [← Cokernel.Grassmannian.pivotResidual_map φ] |
| 34 | ext i j |
| 35 | exact h.2 (i, j) |
| 36 | |
| 37 | variable {S : Scheme.{u}} (M : Over S) |
| 38 | variable (A : Matrix ι ι Γ(M.left, ⊤)) (B : Matrix ι κ Γ(M.left, ⊤)) |
| 39 | variable (C : Matrix τ ι Γ(M.left, ⊤)) (D : Matrix τ κ Γ(M.left, ⊤)) |
| 40 | |
| 41 | def matrixPivotSubfunctor : Subfunctor (yoneda.obj M) := |
| 42 | SectionUnitZeroLocus.sectionUnitZeroSubfunctor M A.det (fun p : τ × κ => Cokernel.Grassmannian.pivotResidual A B C D p.1 p.2) |
| 43 | |
| 44 | omit [Fintype κ] [Fintype τ] [DecidableEq κ] [DecidableEq τ] in |
| 45 | theorem matrix_pivot_locus_representable : |
| 46 | ∃ (U : Over S) (j : U ⟶ M), IsOpenImmersion j.left ∧ |
| 47 | ∃ (Z : Over S) (k : Z ⟶ U), IsClosedImmersion k.left ∧ |
| 48 | ∃ e : yoneda.obj Z ≅ (matrixPivotSubfunctor M A B C D).toFunctor, |
| 49 | e.hom ≫ (matrixPivotSubfunctor M A B C D).ι = yoneda.map (k ≫ j) := |
| 50 | SectionUnitZeroLocus.section_unit_zero_locus_representable M A.det (fun p : τ × κ => Cokernel.Grassmannian.pivotResidual A B C D p.1 p.2) |
| 51 | |
| 52 | def matrixPivotPointCokernelEquiv {T : Over S} |
| 53 | (x : (matrixPivotSubfunctor M A B C D).toFunctor.obj (Opposite.op T)) : |
| 54 | (((ι → Γ(T.left, ⊤)) × (τ → Γ(T.left, ⊤))) ⧸ |
| 55 | (Grassmannian.Incidence.blockLinearMap (Matrix.toLin' (A.map x.val.left.appTop.hom)) |
| 56 | (Matrix.toLin' (B.map x.val.left.appTop.hom)) (Matrix.toLin' (C.map x.val.left.appTop.hom)) |
| 57 | (Matrix.toLin' (D.map x.val.left.appTop.hom))).range) ≃ₗ[Γ(T.left, ⊤)] (τ → Γ(T.left, ⊤)) := |
| 58 | matrixPivotConditionCokernelEquiv A B C D x.val.left.appTop.hom x.property |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.MatrixPivot.Locus.Grassmannian |