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.CupCohomology |
| 2 | import OAI.AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality |
| 3 | import OAI.AlgebraicGeometry.Betti.Scheme |
| 4 | |
| 5 | /-! # Cup Pullback -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.CupPullback.CM.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Naturality of the actual cup product, proved from the cochain formula. |
| 12 | CMReduction uses this when pulling exterior products back along diagonals. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | open OAI.AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality OAI.AlgebraicTopology.Products.CupCohomology |
| 17 | |
| 18 | theorem cup_pullback {R : Type} [CommRing R] |
| 19 | {X Y : TopCat.{0}} (f : X ⟶ Y) (p q : ℕ) |
| 20 | (a : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of R R) Y p) |
| 21 | (b : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of R R) Y q) : |
| 22 | AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of R R) f (p + q) |
| 23 | (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup Y p q a b) = |
| 24 | AlgebraicTopology.Products.CupCohomology.singularCohomologyCup X p q |
| 25 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of R R) f p a) |
| 26 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of R R) f q b) := by |
| 27 | obtain ⟨c, rfl⟩ := AlgebraicTopology.Cohomology.Singular.Representatives.singularClass_surjective (ModuleCat.of R R) Y p a |
| 28 | obtain ⟨d, rfl⟩ := AlgebraicTopology.Cohomology.Singular.Representatives.singularClass_surjective (ModuleCat.of R R) Y q b |
| 29 | rw [AlgebraicTopology.Products.CupCohomology.singularCohomologyCup_class_class, AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.singularCohomologyPullback_class, |
| 30 | AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.singularCohomologyPullback_class, AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.singularCohomologyPullback_class, |
| 31 | AlgebraicTopology.Products.CupCohomology.singularCohomologyCup_class_class] |
| 32 | apply congrArg (AlgebraicTopology.Cohomology.Singular.Representatives.singularClass (ModuleCat.of R R) X (p + q)) |
| 33 | apply Subtype.ext |
| 34 | exact AlgebraicTopology.Products.Cup.cupWith_pullback (TopCat.toSSet.map f) |
| 35 | (M := ModuleCat.of R R) (N := ModuleCat.of R R) (L := ModuleCat.of R R) |
| 36 | (LinearMap.mul R R) c.val d.val |
| 37 | |
| 38 | theorem scheme_cup_pullback {R : Type} [CommRing R] |
| 39 | {X Y : CategoryTheory.Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) (p q : ℕ) |
| 40 | (a : Betti.Scheme.schemeBetti (ModuleCat.of R R) Y p) |
| 41 | (b : Betti.Scheme.schemeBetti (ModuleCat.of R R) Y q) : |
| 42 | Betti.Scheme.schemeBettiMap (ModuleCat.of R R) (p + q) f |
| 43 | (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (Betti.Scheme.schemePointSpace Y) p q a b) = |
| 44 | AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (Betti.Scheme.schemePointSpace X) p q |
| 45 | (Betti.Scheme.schemeBettiMap (ModuleCat.of R R) p f a) |
| 46 | (Betti.Scheme.schemeBettiMap (ModuleCat.of R R) q f b) := |
| 47 | cup_pullback (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) p q a b |
| 48 | |
| 49 | theorem scheme_pullback_cast {R : Type} [CommRing R] |
| 50 | {X Y : CategoryTheory.Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) |
| 51 | {n m : ℕ} (h : n = m) (a : Betti.Scheme.schemeBetti (ModuleCat.of R R) Y n) : |
| 52 | Betti.Scheme.schemeBettiMap (ModuleCat.of R R) m f |
| 53 | (cast (congrArg (fun d => (Betti.Scheme.schemeBetti (ModuleCat.of R R) Y d : Type)) h) a) = |
| 54 | cast (congrArg (fun d => (Betti.Scheme.schemeBetti (ModuleCat.of R R) X d : Type)) h) |
| 55 | (Betti.Scheme.schemeBettiMap (ModuleCat.of R R) n f a) := by |
| 56 | subst m |
| 57 | rfl |
| 58 | |
| 59 | theorem scheme_pullback_comp {R : Type} [CommRing R] |
| 60 | {X Y Z : CategoryTheory.Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) (g : Y ⟶ Z) |
| 61 | (n : ℕ) (a : Betti.Scheme.schemeBetti (ModuleCat.of R R) Z n) : |
| 62 | Betti.Scheme.schemeBettiMap (ModuleCat.of R R) n f (Betti.Scheme.schemeBettiMap (ModuleCat.of R R) n g a) = |
| 63 | Betti.Scheme.schemeBettiMap (ModuleCat.of R R) n (f ≫ g) a := by |
| 64 | simp only [Betti.Scheme.schemeBettiMap, Functor.map_comp, AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback_comp, |
| 65 | ConcreteCategory.comp_apply] |
| 66 | |
| 67 | theorem scheme_pullback_id {R : Type} [CommRing R] |
| 68 | (X : CategoryTheory.Over Foundations.Scheme.ProjectiveSpace.complexBase) (n : ℕ) |
| 69 | (a : Betti.Scheme.schemeBetti (ModuleCat.of R R) X n) : |
| 70 | Betti.Scheme.schemeBettiMap (ModuleCat.of R R) n (𝟙 X) a = a := by |
| 71 | exact ConcreteCategory.congr_hom |
| 72 | ((Betti.Scheme.schemeBettiFunctor (ModuleCat.of R R) n).map_id (Opposite.op X)) a |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.CupPullback.CM.Construction |