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.CupCohomologyAlgebra |
| 2 | import OAI.AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality |
| 3 | |
| 4 | /-! # Cup Opposite Map -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.Products.CupOppositeMap |
| 7 | |
| 8 | /-! |
| 9 | A concrete reversal identity for a cochain map descends to the actual cup |
| 10 | product on cohomology. This lemma only performs descent through representatives; |
| 11 | the signed singular reversal and its identity action are supplied separately. |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | open OAI.AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality |
| 16 | |
| 17 | variable {R : Type} [CommRing R] |
| 18 | |
| 19 | /-- A signed opposite-cup identity for actual cochains descends to cohomology. -/ |
| 20 | theorem cohomologyCup_opposite_of_cochain (K : SSet.{0}) |
| 21 | (f : Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of R R) ⟶ |
| 22 | Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of R R)) (p q : ℕ) (c : R) |
| 23 | (hcup : ∀ (a : (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of R R)).X p) |
| 24 | (b : (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of R R)).X q), |
| 25 | f.f (p + q) (Cup.cup K a b) = |
| 26 | c • Cup.cochainCast K (ModuleCat.of R R) (Nat.add_comm q p) |
| 27 | (Cup.cup K (f.f q b) (f.f p a))) |
| 28 | (a : (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of R R)).homology p) |
| 29 | (b : (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of R R)).homology q) : |
| 30 | HomologicalComplex.homologyMap f (p + q) (CupCohomology.cohomologyCup K p q a b) = |
| 31 | c • CupCohomologyAlgebra.cohomologyCast K (ModuleCat.of R R) (Nat.add_comm q p) |
| 32 | (CupCohomology.cohomologyCup K q p (HomologicalComplex.homologyMap f q b) |
| 33 | (HomologicalComplex.homologyMap f p a)) := by |
| 34 | obtain ⟨a, rfl⟩ := Cohomology.Singular.Representatives.cochainClass_surjective (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of R R)) p a |
| 35 | obtain ⟨b, rfl⟩ := Cohomology.Singular.Representatives.cochainClass_surjective (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of R R)) q b |
| 36 | simp only [CupCohomology.cohomologyCupWith_class_class, Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality, CupCohomologyAlgebra.cohomologyCast_class] |
| 37 | rw [← map_smul] |
| 38 | apply congrArg (Cohomology.Singular.Representatives.cochainClass (Cohomology.Singular.Basic.simplicialCochains K (ModuleCat.of R R)) (p + q)) |
| 39 | apply Subtype.ext |
| 40 | simpa only [Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap_val, CupCohomology.cocycleCupWith_val, Submodule.coe_smul, |
| 41 | CupCohomologyAlgebra.cocycleCast_val, Cup.cup] using hcup a.val b.val |
| 42 | |
| 43 | end OAI.AlgebraicTopology.Products.CupOppositeMap |