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.HodgeConjecture.DegreeTwo.CompactCohomologyCup |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RelativeCupAssociativity |
| 3 | |
| 4 | /-! # Compact Cup Associativity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.CompactCupAssociativity.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Associativity of the actual compact-support cup action, with exact degree transport. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | variable (X : TopCat.{0}) |
| 17 | |
| 18 | theorem compactCohomologyι_degreeCast (K : Compacts X) {p q : ℕ} (h : p=q) |
| 19 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X (K : Set X)ᶜ p) : |
| 20 | eqToHom (congrArg (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) X) h) |
| 21 | (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) X K p a) = |
| 22 | AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) X K q |
| 23 | (eqToHom (congrArg (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X (K : Set X)ᶜ) h) a) := by |
| 24 | subst q |
| 25 | rfl |
| 26 | |
| 27 | theorem compactCohomologyRightCup_assoc (p q r : ℕ) |
| 28 | (a : AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) X p) |
| 29 | (b : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) X q) |
| 30 | (c : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) X r) : |
| 31 | eqToHom (congrArg (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) X) (Nat.add_assoc p q r)) |
| 32 | (CompactCohomologyCup.Constructions.compactCohomologyRightCup X (p+q) r c (CompactCohomologyCup.Constructions.compactCohomologyRightCup X p q b a)) = |
| 33 | CompactCohomologyCup.Constructions.compactCohomologyRightCup X p (q+r) (AlgebraicTopology.Products.CupCohomology.cohomologyCup (R := ℚ) (TopCat.toSSet.obj X) q r b c) a := by |
| 34 | obtain ⟨K,a,rfl⟩ := AlgebraicTopology.Duality.Poincare.CompactSupportColimit.compactSupportedCohomology_exists_stage (ModuleCat.of ℚ ℚ) X p a |
| 35 | rw [CompactCohomologyCup.Constructions.compactCohomologyRightCup_stage, CompactCohomologyCup.Constructions.compactCohomologyRightCup_stage, |
| 36 | compactCohomologyι_degreeCast X K (Nat.add_assoc p q r), CompactCohomologyCup.Constructions.compactCohomologyRightCup_stage] |
| 37 | apply congrArg (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) X K (p+(q+r))) |
| 38 | rw [← RelativeCupAssociativity.Constructions.relativeCohomologyCast_eqToHom X (K : Set X)ᶜ (Nat.add_assoc p q r)] |
| 39 | exact RelativeCupAssociativity.Constructions.relativeAbsoluteCohomologyCup_assoc X (K : Set X)ᶜ a b c |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.CompactCupAssociativity.Constructions |