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.CMReduction.IteratedCup |
| 2 | |
| 3 | /-! # Cup Append -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.CupAppend.CM.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Naturality and small-degree normalizations of the actual iterated cup. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | theorem cupUnit_pullback {R : Type} [CommRing R] |
| 16 | {X Y : TopCat.{0}} (f : X ⟶ Y) : |
| 17 | AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of R R) f 0 |
| 18 | (AlgebraicTopology.Products.CupCohomologyAlgebra.singularCohomologyCupUnit Y) = AlgebraicTopology.Products.CupCohomologyAlgebra.singularCohomologyCupUnit X := by |
| 19 | change AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of R R) f 0 |
| 20 | (AlgebraicTopology.Cohomology.Singular.Representatives.singularClass (ModuleCat.of R R) Y 0 (AlgebraicTopology.Products.CupCohomologyAlgebra.cocycleCupUnit (TopCat.toSSet.obj Y))) = |
| 21 | AlgebraicTopology.Cohomology.Singular.Representatives.singularClass (ModuleCat.of R R) X 0 (AlgebraicTopology.Products.CupCohomologyAlgebra.cocycleCupUnit (TopCat.toSSet.obj X)) |
| 22 | rw [AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.singularCohomologyPullback_class] |
| 23 | apply congrArg (AlgebraicTopology.Cohomology.Singular.Representatives.singularClass (ModuleCat.of R R) X 0) |
| 24 | apply Subtype.ext |
| 25 | exact AlgebraicTopology.Products.Cup.cupUnit_pullback (TopCat.toSSet.map f) |
| 26 | |
| 27 | theorem h1Cup_pullback {R : Type} [CommRing R] |
| 28 | {X Y : TopCat.{0}} (f : X ⟶ Y) (n : ℕ) |
| 29 | (v : Fin n → AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of R R) Y 1) : |
| 30 | AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of R R) f n (IteratedCup.CM.Construction.h1Cup R Y n v) = |
| 31 | IteratedCup.CM.Construction.h1Cup R X n (fun i => AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of R R) f 1 (v i)) := by |
| 32 | induction n with |
| 33 | | zero => exact cupUnit_pullback f |
| 34 | | succ n ih => |
| 35 | rw [IteratedCup.CM.Construction.h1Cup_succ, IteratedCup.CM.Construction.h1Cup_succ, CupPullback.CM.Construction.cup_pullback, ih] |
| 36 | rfl |
| 37 | |
| 38 | theorem scheme_h1Cup_pullback {R : Type} [CommRing R] |
| 39 | {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) (n : ℕ) |
| 40 | (v : Fin n → Betti.Scheme.schemeBetti (ModuleCat.of R R) Y 1) : |
| 41 | Betti.Scheme.schemeBettiMap (ModuleCat.of R R) n f (IteratedCup.CM.Construction.h1Cup R (Betti.Scheme.schemePointSpace Y) n v) = |
| 42 | IteratedCup.CM.Construction.h1Cup R (Betti.Scheme.schemePointSpace X) n |
| 43 | (fun i => Betti.Scheme.schemeBettiMap (ModuleCat.of R R) 1 f (v i)) := |
| 44 | h1Cup_pullback (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) n v |
| 45 | |
| 46 | theorem h1Cup_one {R : Type} [CommRing R] (X : TopCat.{0}) |
| 47 | (v : Fin 1 → AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of R R) X 1) : |
| 48 | IteratedCup.CM.Construction.h1Cup R X 1 v = v 0 := |
| 49 | AlgebraicTopology.Products.CupCohomologyAlgebra.cohomologyCupUnit_cup (TopCat.toSSet.obj X) (v 0) |
| 50 | |
| 51 | theorem h1Cup_two {R : Type} [CommRing R] (X : TopCat.{0}) |
| 52 | (v : Fin 2 → AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of R R) X 1) : |
| 53 | IteratedCup.CM.Construction.h1Cup R X 2 v = AlgebraicTopology.Products.CupCohomology.singularCohomologyCup X 1 1 (v 0) (v 1) := by |
| 54 | rw [IteratedCup.CM.Construction.h1Cup_succ, h1Cup_one] |
| 55 | rfl |
| 56 | |
| 57 | theorem h1Cup_four {R : Type} [CommRing R] (X : TopCat.{0}) |
| 58 | (v : Fin 4 → AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of R R) X 1) : |
| 59 | IteratedCup.CM.Construction.h1Cup R X 4 v = AlgebraicTopology.Products.CupCohomology.singularCohomologyCup X 2 2 |
| 60 | (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup X 1 1 (v 0) (v 1)) |
| 61 | (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup X 1 1 (v 2) (v 3)) := by |
| 62 | rw [IteratedCup.CM.Construction.h1Cup_succ R X 3 v, IteratedCup.CM.Construction.h1Cup_succ R X 2 (Fin.init v), |
| 63 | h1Cup_two X (Fin.init (Fin.init v))] |
| 64 | exact AlgebraicTopology.Products.CupCohomologyAlgebra.cohomologyCup_assoc (R := R) (p := 2) (q := 1) (r := 1) (TopCat.toSSet.obj X) |
| 65 | (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup X 1 1 (v 0) (v 1)) (v 2) (v 3) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | /-! Grouping consecutive blocks in an actual iterated H1 cup product. -/ |
| 70 | |
| 71 | open _root_.CategoryTheory |
| 72 | |
| 73 | theorem h1Cup_snoc {R : Type} [CommRing R] (X : TopCat.{0}) (n : ℕ) |
| 74 | (v : Fin n → AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of R R) X 1) |
| 75 | (x : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of R R) X 1) : |
| 76 | IteratedCup.CM.Construction.h1Cup R X (n + 1) (Fin.snoc v x) = |
| 77 | AlgebraicTopology.Products.CupCohomology.singularCohomologyCup X n 1 (IteratedCup.CM.Construction.h1Cup R X n v) x := by |
| 78 | rw [IteratedCup.CM.Construction.h1Cup_succ R X n (Fin.snoc v x), Fin.init_snoc, Fin.snoc_last] |
| 79 | |
| 80 | theorem h1Cup_append {R : Type} [CommRing R] (X : TopCat.{0}) (n m : ℕ) |
| 81 | (u : Fin n → AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of R R) X 1) |
| 82 | (v : Fin m → AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of R R) X 1) : |
| 83 | IteratedCup.CM.Construction.h1Cup R X (n + m) (Fin.append u v) = |
| 84 | AlgebraicTopology.Products.CupCohomology.singularCohomologyCup X n m (IteratedCup.CM.Construction.h1Cup R X n u) (IteratedCup.CM.Construction.h1Cup R X m v) := by |
| 85 | induction m with |
| 86 | | zero => |
| 87 | have hv : Fin.append u v = u := by |
| 88 | simpa only [Fin.cast_refl, Function.comp_id] using Fin.append_right_nil u v rfl |
| 89 | rw [hv] |
| 90 | exact (AlgebraicTopology.Products.CupCohomologyAlgebra.cohomologyCup_cupUnit (R := R) (p := n) (TopCat.toSSet.obj X) (IteratedCup.CM.Construction.h1Cup R X n u)).symm |
| 91 | | succ m ih => |
| 92 | conv_lhs => rw [← Fin.snoc_init_self v, Fin.append_snoc] |
| 93 | erw [h1Cup_snoc (R := R) X (n + m) (Fin.append u (Fin.init v)) (v (Fin.last m)), |
| 94 | ih, IteratedCup.CM.Construction.h1Cup_succ R X m v] |
| 95 | exact AlgebraicTopology.Products.CupCohomologyAlgebra.cohomologyCup_assoc (R := R) (p := n) (q := m) (r := 1) |
| 96 | (TopCat.toSSet.obj X) (IteratedCup.CM.Construction.h1Cup R X n u) (IteratedCup.CM.Construction.h1Cup R X m (Fin.init v)) (v (Fin.last m)) |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.CupAppend.CM.Construction |