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.CycleClass.Geometric.HomologyWithSupports |
| 2 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Biproducts |
| 3 | import Mathlib.Algebra.Homology.HomologicalComplexAbelian |
| 4 | |
| 5 | /-! # Integral Small Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.IntegralSmallDescent.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Degreewise descent through the actual integral binary-small quotient. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | open OAI.AlgebraicGeometry.CycleClass.Geometric.HomologyWithSupports.Cycles |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | abbrev integralChainDegree (n : ℕ) := |
| 19 | HomologicalComplex.eval (ModuleCat.{0} ℤ) (ComplexShape.down ℕ) n |
| 20 | |
| 21 | variable (X : TopCat.{0}) (A B : Set X) (n : ℕ) |
| 22 | variable {M : ModuleCat.{0} ℤ} (f : (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains X).X n ⟶ M) |
| 23 | variable (hA : (CycleClass.Geometric.LocalHomology.Cycles.subspaceChainInclusion X A).f n ≫ f = 0) |
| 24 | variable (hB : (CycleClass.Geometric.LocalHomology.Cycles.subspaceChainInclusion X B).f n ≫ f = 0) |
| 25 | |
| 26 | include hA hB in |
| 27 | theorem integralBinarySmallDegreeInclusion_zero : |
| 28 | (CycleClass.Geometric.BinarySmallInclusion.Cycles.binarySmallIntegralChainInclusion X A B).f n ≫ f = 0 := by |
| 29 | let F := integralChainDegree n |
| 30 | change F.map (CycleClass.Geometric.BinarySmallInclusion.Cycles.binarySmallIntegralChainInclusion X A B) ≫ f = 0 |
| 31 | have : Epi (CycleClass.Geometric.SmallMayerVietoris.Cycles.smallMayerVietorisSequence X A B).g := |
| 32 | (CycleClass.Geometric.SmallMayerVietoris.Cycles.smallMayerVietorisSequence_shortExact X A B).epi_g |
| 33 | let : PreservesBinaryBiproduct (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains (TopCat.of A)) |
| 34 | (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains (TopCat.of B)) F := |
| 35 | preservesBinaryBiproduct_of_preservesBiproduct F _ _ |
| 36 | apply (cancel_epi (F.map (CycleClass.Geometric.SmallMayerVietoris.Cycles.smallMayerVietorisSequence X A B).g)).mp |
| 37 | apply (cancel_epi (F.mapBiprod |
| 38 | (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains (TopCat.of A)) (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains (TopCat.of B))).inv).mp |
| 39 | rw [Functor.mapBiprod_inv] |
| 40 | apply biprod.hom_ext' |
| 41 | · rw [biprod.inl_desc_assoc, ← F.map_comp_assoc, |
| 42 | CycleClass.Geometric.SmallMayerVietoris.Cycles.smallMayerVietorisSequence_g, biprod.inl_desc, ← F.map_comp_assoc, |
| 43 | CycleClass.Geometric.BinarySmallInclusion.Cycles.binarySmallIntegralChainInclusion_left] |
| 44 | exact hA.trans (by simp) |
| 45 | · rw [biprod.inr_desc_assoc, ← F.map_comp_assoc, |
| 46 | CycleClass.Geometric.SmallMayerVietoris.Cycles.smallMayerVietorisSequence_g, biprod.inr_desc, ← F.map_comp_assoc, |
| 47 | CycleClass.Geometric.BinarySmallInclusion.Cycles.binarySmallIntegralChainInclusion_right] |
| 48 | exact hB.trans (by simp) |
| 49 | |
| 50 | def binaryIntegralComplementDegreeDesc : (CycleClass.Geometric.HomologyWithSupports.Cycles.binarySmallComplementChains X A B).X n ⟶ M := |
| 51 | (PreservesCokernel.iso (integralChainDegree n) (CycleClass.Geometric.BinarySmallInclusion.Cycles.binarySmallIntegralChainInclusion X A B)).hom ≫ |
| 52 | cokernel.desc ((integralChainDegree n).map (CycleClass.Geometric.BinarySmallInclusion.Cycles.binarySmallIntegralChainInclusion X A B)) |
| 53 | f (integralBinarySmallDegreeInclusion_zero X A B n f hA hB) |
| 54 | |
| 55 | theorem binaryIntegralComplementDegreeDesc_projection : |
| 56 | (CycleClass.Geometric.HomologyWithSupports.Cycles.binarySmallComplementProjection X A B).f n ≫ |
| 57 | binaryIntegralComplementDegreeDesc X A B n f hA hB = f := by |
| 58 | change (integralChainDegree n).map (CycleClass.Geometric.HomologyWithSupports.Cycles.binarySmallComplementProjection X A B) ≫ _ = _ |
| 59 | rw [binaryIntegralComplementDegreeDesc, ← Category.assoc, |
| 60 | PreservesCokernel.π_iso_hom, cokernel.π_desc] |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.IntegralSmallDescent.Constructions |