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.ScalarKoszul.AugmentationIdeal |
| 2 | |
| 3 | /-! # Coefficient Cokernel -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ScalarKoszul.CoefficientCokernel |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Coefficient-module isomorphisms transport the entire scalar Koszul |
| 10 | complex and its final cokernel. A rank-one coefficient module has the |
| 11 | actual parameter quotient as cokernel, which is nonzero for a proper ideal. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | universe u |
| 14 | |
| 15 | def cochainFinalCokernelIso {C : Type u} [Category C] [Abelian C] |
| 16 | {K L : CochainComplex C ℤ} (e : K ≅ L) : |
| 17 | cokernel (K.d (-1) 0) ≅ cokernel (L.d (-1) 0) := |
| 18 | cokernel.mapIso _ _ ((HomologicalComplex.eval C (.up ℤ) (-1)).mapIso e) |
| 19 | ((HomologicalComplex.eval C (.up ℤ) 0).mapIso e) (e.hom.comm (-1) 0).symm |
| 20 | |
| 21 | def scalarKoszulCoefficientIso {R : Type u} [CommRing R] |
| 22 | {M N : ModuleCat.{u} R} (e : M ≅ N) (rs : List R) : |
| 23 | KoszulComplex.scalarKoszulComplex M rs ≅ KoszulComplex.scalarKoszulComplex N rs := by |
| 24 | induction rs with |
| 25 | | nil => exact (HomologicalComplex.single (ModuleCat.{u} R) (.up ℤ) 0).mapIso e |
| 26 | | cons r rs ih => |
| 27 | exact HomologicalComplex.homotopyCofiber.mapArrowIso |
| 28 | (r • 𝟙 (KoszulComplex.scalarKoszulComplex M rs)) (r • 𝟙 (KoszulComplex.scalarKoszulComplex N rs)) |
| 29 | (fun j => ⟨j - 1, by change j - 1 + 1 = j; omega⟩) |
| 30 | (Arrow.isoMk ih ih (by |
| 31 | change ih.hom ≫ (r • 𝟙 (KoszulComplex.scalarKoszulComplex N rs)) = |
| 32 | (r • 𝟙 (KoszulComplex.scalarKoszulComplex M rs)) ≫ ih.hom |
| 33 | simp only [Linear.smul_comp, Linear.comp_smul, Category.id_comp, Category.comp_id])) |
| 34 | |
| 35 | def scalarKoszulRankOneCokernelIso {R : Type u} [CommRing R] |
| 36 | (M : ModuleCat.{u} R) (e : M ≅ ModuleCat.of R R) (rs : List R) : |
| 37 | cokernel ((KoszulComplex.scalarKoszulComplex M rs).d (-1) 0) ≅ ModuleCat.of R (R ⧸ Regular.SequenceBasic.Ideal.ofList rs) := |
| 38 | cochainFinalCokernelIso (scalarKoszulCoefficientIso e rs) ≪≫ AugmentationIdeal.scalarKoszulCokernelQuotientIso rs |
| 39 | |
| 40 | theorem scalarKoszulRankOneCokernel_nonzero {R : Type u} [CommRing R] |
| 41 | (M : ModuleCat.{u} R) (e : M ≅ ModuleCat.of R R) (rs : List R) (hr : Regular.SequenceBasic.Ideal.ofList rs ≠ ⊤) : |
| 42 | ¬ IsZero (cokernel ((KoszulComplex.scalarKoszulComplex M rs).d (-1) 0)) := by |
| 43 | let : Nontrivial (R ⧸ Regular.SequenceBasic.Ideal.ofList rs) := Ideal.Quotient.nontrivial_iff.mpr hr |
| 44 | intro hz |
| 45 | have : Subsingleton (R ⧸ Regular.SequenceBasic.Ideal.ofList rs) := |
| 46 | ModuleCat.isZero_iff_subsingleton.mp ((scalarKoszulRankOneCokernelIso M e rs).isZero_iff.mp hz) |
| 47 | exact zero_ne_one (Subsingleton.elim (0 : R ⧸ Regular.SequenceBasic.Ideal.ofList rs) 1) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ScalarKoszul.CoefficientCokernel |