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.RelativeReversal |
| 2 | import OAI.AlgebraicTopology.Products.CupGradedCommutativity |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology |
| 4 | |
| 5 | /-! # Relative Cup Graded Commutativity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicTopology.Products.RelativeCupGradedCommutativity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Graded commutativity in actual relative cohomology |
| 13 | |
| 14 | The actual signed-reversal homotopy preserves the kernels defining relative |
| 15 | cochains. Its cochain cup identity therefore descends inside those kernels, |
| 16 | rather than merely after forgetting support. This provides the relative |
| 17 | cup transposition used in the direct trace construction. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology.Cycles |
| 22 | |
| 23 | set_option backward.defeqAttrib.useBackward true |
| 24 | set_option backward.isDefEq.respectTransparency false |
| 25 | set_option backward.isDefEq.respectTransparency.types false |
| 26 | |
| 27 | variable {R : Type} [CommRing R] |
| 28 | |
| 29 | /-- The actual reversal cup identity holds in the relative kernel itself. -/ |
| 30 | theorem relativeReversalCochainMap_cup (X : TopCat.{0}) (A : Set X) {p q : ℕ} |
| 31 | (a : (Cohomology.Singular.Basic.singularCochains (ModuleCat.of R R) X).X p) |
| 32 | (b : (Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of R R) X A).X q) : |
| 33 | (RelativeReversal.relativeReversalCochainMap (ModuleCat.of R R) X A).f (p + q) |
| 34 | (AlgebraicGeometry.CycleClass.Geometric.RelativeCup.Cycles.absoluteRelativeCup X A p q a b) = |
| 35 | (-1 : R) ^ (p * q) • |
| 36 | AlgebraicGeometry.CycleClass.Geometric.RelativeCup.Cycles.relativeCochainCast (ModuleCat.of R R) X A (Nat.add_comm q p) |
| 37 | (AlgebraicGeometry.CycleClass.Geometric.RelativeCup.Cycles.relativeAbsoluteCup X A q p |
| 38 | ((RelativeReversal.relativeReversalCochainMap (ModuleCat.of R R) X A).f q b) |
| 39 | ((SingularReversalHomotopy.singularReversalCochainMap (ModuleCat.of R R) X).f p a)) := by |
| 40 | apply AlgebraicGeometry.CycleClass.Geometric.RelativeCochainHomotopy.Cohomology.relativeCochainInclusion_injective (ModuleCat.of R R) X A (p + q) |
| 41 | simpa only [map_smul, RelativeReversal.relativeReversalCochainMap_inclusion_apply, |
| 42 | AlgebraicGeometry.CycleClass.Geometric.RelativeCup.Cycles.absoluteRelativeCup, AlgebraicGeometry.CycleClass.Geometric.RelativeCup.Cycles.absoluteRelativeCupWith_inclusion, |
| 43 | AlgebraicGeometry.CycleClass.Geometric.RelativeCup.Cycles.relativeCochainCast_inclusion, AlgebraicGeometry.CycleClass.Geometric.RelativeCup.Cycles.relativeAbsoluteCup, |
| 44 | AlgebraicGeometry.CycleClass.Geometric.RelativeCup.Cycles.relativeAbsoluteCupWith_inclusion, Cup.singularCup, Cup.cup] using |
| 45 | CupGradedCommutativity.singularReversalCochainMap_cup X a ((Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of R R) X A).f q b) |
| 46 | |
| 47 | /-- Reversal interchanges the actual ordinary/relative products on cohomology. -/ |
| 48 | theorem relativeReversalCochainMap_cup_cohomology (X : TopCat.{0}) (A : Set X) |
| 49 | {p q : ℕ} (a : Cohomology.Singular.Basic.singularCohomology (ModuleCat.of R R) X p) |
| 50 | (b : Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of R R) X A q) : |
| 51 | HomologicalComplex.homologyMap (RelativeReversal.relativeReversalCochainMap (ModuleCat.of R R) X A) |
| 52 | (p + q) (AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology.Cycles.absoluteRelativeCohomologyCup X A p q a b) = |
| 53 | (-1 : R) ^ (p * q) • |
| 54 | AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeCohomologyCast (ModuleCat.of R R) X A (Nat.add_comm q p) |
| 55 | (AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeAbsoluteCohomologyCup X A q p |
| 56 | (HomologicalComplex.homologyMap |
| 57 | (RelativeReversal.relativeReversalCochainMap (ModuleCat.of R R) X A) q b) |
| 58 | (HomologicalComplex.homologyMap |
| 59 | (SingularReversalHomotopy.singularReversalCochainMap (ModuleCat.of R R) X) p a)) := by |
| 60 | obtain ⟨a, rfl⟩ := Cohomology.Singular.Representatives.cochainClass_surjective (Cohomology.Singular.Basic.singularCochains (ModuleCat.of R R) X) p a |
| 61 | obtain ⟨b, rfl⟩ := Cohomology.Singular.Representatives.cochainClass_surjective |
| 62 | (Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of R R) X A) q b |
| 63 | simp only [AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology.Cycles.absoluteRelativeCohomologyCup, AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeAbsoluteCohomologyCup] |
| 64 | rw [AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology.Cycles.absoluteRelativeCohomologyCupWith_class_class, Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality, |
| 65 | Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality, Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality, |
| 66 | AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeAbsoluteCohomologyCupWith_class_class, AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeCohomologyCast_class, |
| 67 | ← map_smul] |
| 68 | apply congrArg (Cohomology.Singular.Representatives.cochainClass (Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of R R) X A) (p + q)) |
| 69 | apply Subtype.ext |
| 70 | simp only [Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap_val, AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology.Cycles.absoluteRelativeCocycleCupWith_val, |
| 71 | Submodule.coe_smul, AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeCocycleCast_val, AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeAbsoluteCocycleCupWith_val] |
| 72 | exact relativeReversalCochainMap_cup X A a.val b.val |
| 73 | |
| 74 | /-- Graded commutativity is an equality in relative cohomology, with the |
| 75 | support retained throughout the homotopy. -/ |
| 76 | theorem absoluteRelativeCohomologyCup_graded_comm (X : TopCat.{0}) (A : Set X) |
| 77 | {p q : ℕ} (a : Cohomology.Singular.Basic.singularCohomology (ModuleCat.of R R) X p) |
| 78 | (b : Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of R R) X A q) : |
| 79 | AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology.Cycles.absoluteRelativeCohomologyCup X A p q a b = |
| 80 | (-1 : R) ^ (p * q) • |
| 81 | AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeCohomologyCast (ModuleCat.of R R) X A (Nat.add_comm q p) |
| 82 | (AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeAbsoluteCohomologyCup X A q p b a) := by |
| 83 | have h := relativeReversalCochainMap_cup_cohomology X A a b |
| 84 | simpa only [RelativeReversal.relativeReversalCochainMap_homologyMap, |
| 85 | SingularReversalHomotopy.singularReversalCochainMap_homologyMap, ModuleCat.id_apply] using h |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicTopology.Products.RelativeCupGradedCommutativity |