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.AlgebraicTopology.Products.CapBoundary |
| 2 | import OAI.AlgebraicTopology.Products.CupCohomology |
| 3 | |
| 4 | /-! # Cap Compatibility -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.Products.CapCompatibility |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Naturality and evaluation adjunction for the cap product |
| 12 | |
| 13 | These identities concern the actual categorical (co)homology objects. They |
| 14 | follow from the checked chain-level formulas and the exact representative |
| 15 | formulas for the descended products. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory |
| 19 | |
| 20 | variable {R : Type} [CommRing R] |
| 21 | |
| 22 | /-- Naturality of the cap product on actual cycle representatives. -/ |
| 23 | theorem capCycles_naturality {K L : SSet.{0}} (f : K ⟶ L) (p q : ℕ) |
| 24 | (c : Cohomology.Singular.Representatives.cochainCocycles (Cohomology.Singular.Basic.simplicialCochains L (ModuleCat.of R R)) p) |
| 25 | (z : Cohomology.Singular.ChainRepresentatives.chainCycles (Cohomology.Singular.ChainDual.simplicialScalarChains (R := R) K) (p + q)) : |
| 26 | Cohomology.Singular.EvaluationNaturality.chainCycleMap (Cohomology.Singular.EvaluationNaturality.simplicialScalarChainMap (R := R) f) q |
| 27 | (CapBoundary.capCycles K p q (Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (Cohomology.Singular.Functor.simplicialPullback (ModuleCat.of R R) f) p c) z) = |
| 28 | CapBoundary.capCycles L p q c |
| 29 | (Cohomology.Singular.EvaluationNaturality.chainCycleMap (Cohomology.Singular.EvaluationNaturality.simplicialScalarChainMap (R := R) f) (p + q) z) := by |
| 30 | apply Subtype.ext |
| 31 | exact LinearMap.congr_fun (Cap.cap_naturality f p q c.val) z.val |
| 32 | |
| 33 | /-- Pushforward of the cap with a pulled-back class equals the cap of the |
| 34 | original class with the pushed-forward homology class. -/ |
| 35 | theorem capHomology_naturality {K L : SSet.{0}} (f : K ⟶ L) (p q : ℕ) |
| 36 | (c : (Cohomology.Singular.Basic.simplicialCochains L (ModuleCat.of R R)).homology p) |
| 37 | (z : (Cohomology.Singular.ChainDual.simplicialScalarChains (R := R) K).homology (p + q)) : |
| 38 | Cohomology.Singular.EvaluationNaturality.simplicialHomologyPushforward (R := R) f q |
| 39 | (CapBoundary.capHomology K p q |
| 40 | ((HomologicalComplex.homologyMap (Cohomology.Singular.Functor.simplicialPullback (ModuleCat.of R R) f) p) c) z) = |
| 41 | CapBoundary.capHomology L p q c (Cohomology.Singular.EvaluationNaturality.simplicialHomologyPushforward (R := R) f (p + q) z) := by |
| 42 | obtain ⟨c, rfl⟩ := Cohomology.Singular.Representatives.cochainClass_surjective (Cohomology.Singular.Basic.simplicialCochains L (ModuleCat.of R R)) p c |
| 43 | obtain ⟨z, rfl⟩ := Cohomology.Singular.ChainRepresentatives.chainClass_surjective (Cohomology.Singular.ChainDual.simplicialScalarChains (R := R) K) (p + q) z |
| 44 | rw [Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality, CapBoundary.capHomology_class_class, Cohomology.Singular.EvaluationNaturality.chainClass_naturality, |
| 45 | Cohomology.Singular.EvaluationNaturality.chainClass_naturality, CapBoundary.capHomology_class_class] |
| 46 | exact congrArg (Cohomology.Singular.ChainRepresentatives.chainClass (Cohomology.Singular.ChainDual.simplicialScalarChains (R := R) L) q) |
| 47 | (capCycles_naturality f p q c z) |
| 48 | |
| 49 | /-- Naturality of the genuine singular cap product for continuous maps. -/ |
| 50 | theorem singularCapHomology_naturality {X Y : TopCat.{0}} (f : X ⟶ Y) (p q : ℕ) |
| 51 | (c : Cohomology.Singular.Basic.singularCohomology (ModuleCat.of R R) Y p) |
| 52 | (z : (Cohomology.Singular.Evaluation.singularScalarChains (R := R) X).homology (p + q)) : |
| 53 | Cohomology.Singular.EvaluationNaturality.singularHomologyPushforward (R := R) f q |
| 54 | (CapBoundary.singularCapHomology X p q |
| 55 | ((Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of R R) f p) c) z) = |
| 56 | CapBoundary.singularCapHomology Y p q c (Cohomology.Singular.EvaluationNaturality.singularHomologyPushforward (R := R) f (p + q) z) := |
| 57 | capHomology_naturality (TopCat.toSSet.map f) p q c z |
| 58 | |
| 59 | /-- Cup evaluation is adjoint to the cap product, with an arbitrary coefficient |
| 60 | module in the second cohomology argument. -/ |
| 61 | theorem cohomologyCupWith_evaluation_cap (K : SSet.{0}) (M : ModuleCat.{0} R) |
| 62 | (p q : ℕ) (c : (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of R R)).homology p) |
| 63 | (b : (Cohomology.Singular.Basic.simplicialCochains K M).homology q) |
| 64 | (z : (Cohomology.Singular.ChainDual.simplicialScalarChains (R := R) K).homology (p + q)) : |
| 65 | Cohomology.Singular.Evaluation.simplicialHomologyEvaluation K M (p + q) |
| 66 | (CupCohomology.cohomologyCupWith K (M := ModuleCat.of R R) (N := M) (L := M) |
| 67 | (LinearMap.lsmul R M) p q c b) z = |
| 68 | Cohomology.Singular.Evaluation.simplicialHomologyEvaluation K M q b (CapBoundary.capHomology K p q c z) := by |
| 69 | obtain ⟨c, rfl⟩ := Cohomology.Singular.Representatives.cochainClass_surjective (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of R R)) p c |
| 70 | obtain ⟨b, rfl⟩ := Cohomology.Singular.Representatives.cochainClass_surjective (Cohomology.Singular.Basic.simplicialCochains K M) q b |
| 71 | obtain ⟨z, rfl⟩ := Cohomology.Singular.ChainRepresentatives.chainClass_surjective (Cohomology.Singular.ChainDual.simplicialScalarChains (R := R) K) (p + q) z |
| 72 | rw [CupCohomology.cohomologyCupWith_class_class, CapBoundary.capHomology_class_class, |
| 73 | Cohomology.Singular.Evaluation.simplicialHomologyEvaluation_class_class, Cohomology.Singular.Evaluation.simplicialHomologyEvaluation_class_class] |
| 74 | exact CapBoundary.cap_cupWith_pairing K M c.val b.val z.val |
| 75 | |
| 76 | /-- The scalar-coefficient cup-cap evaluation identity. -/ |
| 77 | theorem cohomologyCup_evaluation_cap (K : SSet.{0}) (p q : ℕ) |
| 78 | (c : (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of R R)).homology p) |
| 79 | (b : (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of R R)).homology q) |
| 80 | (z : (Cohomology.Singular.ChainDual.simplicialScalarChains (R := R) K).homology (p + q)) : |
| 81 | Cohomology.Singular.Evaluation.simplicialHomologyEvaluation K (ModuleCat.of R R) (p + q) |
| 82 | (CupCohomology.cohomologyCup K p q c b) z = |
| 83 | Cohomology.Singular.Evaluation.simplicialHomologyEvaluation K (ModuleCat.of R R) q b (CapBoundary.capHomology K p q c z) := by |
| 84 | have hmul : LinearMap.lsmul R R = LinearMap.mul R R := rfl |
| 85 | simpa only [hmul] using cohomologyCupWith_evaluation_cap K (ModuleCat.of R R) p q c b z |
| 86 | |
| 87 | /-- The cup-cap evaluation identity on genuine singular (co)homology, for |
| 88 | an arbitrary coefficient module. -/ |
| 89 | theorem singularCupWith_evaluation_cap (X : TopCat.{0}) (M : ModuleCat.{0} R) |
| 90 | (p q : ℕ) (c : Cohomology.Singular.Basic.singularCohomology (ModuleCat.of R R) X p) |
| 91 | (b : Cohomology.Singular.Basic.singularCohomology M X q) |
| 92 | (z : (Cohomology.Singular.Evaluation.singularScalarChains (R := R) X).homology (p + q)) : |
| 93 | Cohomology.Singular.Evaluation.singularEvaluation M X (p + q) |
| 94 | (CupCohomology.cohomologyCupWith (TopCat.toSSet.obj X) (M := ModuleCat.of R R) (N := M) (L := M) |
| 95 | (LinearMap.lsmul R M) p q c b) z = |
| 96 | Cohomology.Singular.Evaluation.singularEvaluation M X q b (CapBoundary.singularCapHomology X p q c z) := |
| 97 | cohomologyCupWith_evaluation_cap (TopCat.toSSet.obj X) M p q c b z |
| 98 | |
| 99 | /-- The ordinary scalar singular cup product and cap product are adjoint |
| 100 | under the actual evaluation pairing. -/ |
| 101 | theorem singularCohomologyCup_evaluation_cap (X : TopCat.{0}) (p q : ℕ) |
| 102 | (c : Cohomology.Singular.Basic.singularCohomology (ModuleCat.of R R) X p) |
| 103 | (b : Cohomology.Singular.Basic.singularCohomology (ModuleCat.of R R) X q) |
| 104 | (z : (Cohomology.Singular.Evaluation.singularScalarChains (R := R) X).homology (p + q)) : |
| 105 | Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of R R) X (p + q) |
| 106 | (CupCohomology.singularCohomologyCup X p q c b) z = |
| 107 | Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of R R) X q b (CapBoundary.singularCapHomology X p q c z) := |
| 108 | cohomologyCup_evaluation_cap (TopCat.toSSet.obj X) p q c b z |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.AlgebraicTopology.Products.CapCompatibility |