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.LineBundle.SectionKoszulComplex |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LeftTensorCoherence |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ZeroModuleCoherence |
| 4 | |
| 5 | /-! # Section Koszul Coherent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.SectionKoszulCoherent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every term of the finite section Koszul complex with coherent coefficients is coherent. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | theorem lineBundleSectionKoszulComplex_coherent {X : Scheme.{u}} (L : Line.Bundles.LineBundle X) |
| 16 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] |
| 17 | (ss : List (Line.Bundles.structureModule X ⟶ L.sheaf)) (i : ℤ) : |
| 18 | ((SectionKoszulComplex.lineBundleSectionKoszulComplex L M ss).X i).IsQuasicoherent ∧ |
| 19 | ((SectionKoszulComplex.lineBundleSectionKoszulComplex L M ss).X i).IsFiniteType := by |
| 20 | induction ss generalizing i with |
| 21 | | nil => |
| 22 | by_cases hi : i = 0 |
| 23 | · subst i |
| 24 | simpa only [SectionKoszulComplex.lineBundleSectionKoszulComplex, HomologicalComplex.single_obj_X_self] using |
| 25 | (show M.IsQuasicoherent ∧ M.IsFiniteType from ⟨inferInstance, inferInstance⟩) |
| 26 | · exact ZeroModuleCoherence.module_coherent_of_isZero _ |
| 27 | (HomologicalComplex.isZero_single_obj_X (.up ℤ) 0 M i hi) |
| 28 | | cons s ss ih => |
| 29 | let C := SectionKoszulComplex.lineBundleSectionKoszulComplex L M ss |
| 30 | change ((SectionKoszulStep.lineBundleSectionKoszulStep L s C).X i).IsQuasicoherent ∧ |
| 31 | ((SectionKoszulStep.lineBundleSectionKoszulStep L s C).X i).IsFiniteType |
| 32 | let F := (TensorEquivalence.lineBundleTensorEquivalence L).functor |
| 33 | have hnext := ih (i + 1) |
| 34 | have hhere := ih i |
| 35 | have : (C.X (i + 1)).IsQuasicoherent := hnext.1 |
| 36 | have : (C.X (i + 1)).IsFiniteType := hnext.2 |
| 37 | have : (C.X i).IsQuasicoherent := hhere.1 |
| 38 | have : (C.X i).IsFiniteType := hhere.2 |
| 39 | have : (F.obj (C.X i)).IsQuasicoherent := LeftTensorCoherence.lineBundleTensorLeft_quasicoherent L _ |
| 40 | have : (F.obj (C.X i)).IsFiniteType := LeftTensorCoherence.lineBundleTensorLeft_finiteType L _ |
| 41 | have hq := Coherent.BinaryBiproduct.module_biprod_quasicoherent (C.X (i + 1)) (F.obj (C.X i)) |
| 42 | have := Coherent.BinaryBiproduct.module_biprod_finiteType (C.X (i + 1)) (F.obj (C.X i)) |
| 43 | let e : (SectionKoszulStep.lineBundleSectionKoszulStep L s C).X i ≅ C.X (i + 1) ⊞ F.obj (C.X i) := |
| 44 | HomologicalComplex.homotopyCofiber.XIsoBiprod (SectionKoszulStep.lineBundleSectionComplexMap L s C) |
| 45 | i (i + 1) rfl |
| 46 | have hsource : ((SectionKoszulStep.lineBundleSectionKoszulStep L s C).X i).IsQuasicoherent := |
| 47 | (SheafOfModules.isQuasicoherent X.ringCatSheaf).prop_of_iso e.symm hq |
| 48 | exact ⟨hsource, Quasicoherent.RestrictionFiniteType.quasicoherent_finiteType_of_iso e.symm⟩ |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.SectionKoszulCoherent |