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.EvenAlgebra |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.EvenAppend |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CupRegrouping |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.CupAppend |
| 5 | |
| 6 | /-! # Packed Regroup -/ |
| 7 | |
| 8 | namespace OAI |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace AlgebraicGeometry.HodgeConjecture.CMReduction.PackedRegroup.CM.Construction |
| 13 | |
| 14 | /-! Degree-aware packaging of actual cup products and pullbacks. The fixed |
| 15 | four-vector identity gives the exact regrouping used in a pair switch. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory |
| 18 | |
| 19 | def packEven (X : TopCat.{0}) (p : ℕ) |
| 20 | (a : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℂ ℂ) X (p + p)) : EvenAlgebra.CM.Construction.EvenClass (R := ℂ) X := ⟨p, a⟩ |
| 21 | |
| 22 | theorem packEven_injective (X : TopCat.{0}) (p : ℕ) : Function.Injective (packEven X p) := by |
| 23 | intro a b h |
| 24 | exact eq_of_heq (Sigma.mk.inj h).2 |
| 25 | |
| 26 | def IsAlgebraicEven (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (a : EvenAlgebra.CM.Construction.EvenClass (R := ℂ) (Betti.Scheme.schemePointSpace V.toOver)) : |
| 27 | Prop := a.2 ∈ V.complexGeometricAlgebraicClasses a.1 |
| 28 | |
| 29 | theorem IsAlgebraicEven.mul (h_LineBundleCycles : CycleOperations.CM.Construction.LineBundleCyclesInput) (h_ThomClass : CycleOperations.CM.Construction.ExteriorInput) |
| 30 | {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 31 | {a b : EvenAlgebra.CM.Construction.EvenClass (R := ℂ) (Betti.Scheme.schemePointSpace V.toOver)} |
| 32 | (ha : IsAlgebraicEven V a) (hb : IsAlgebraicEven V b) : IsAlgebraicEven V (a * b) := |
| 33 | ComplexOperations.CM.Construction.complex_cup_algebraic h_LineBundleCycles h_ThomClass V a.1 b.1 a.2 b.2 ha hb |
| 34 | |
| 35 | theorem scheme_pullback_cohomologyCast {R : Type} [CommRing R] |
| 36 | {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) {n m : ℕ} (h : n = m) |
| 37 | (a : Betti.Scheme.schemeBetti (ModuleCat.of R R) Y n) : |
| 38 | Betti.Scheme.schemeBettiMap (ModuleCat.of R R) m f |
| 39 | (AlgebraicTopology.Products.CupCohomologyAlgebra.cohomologyCast (TopCat.toSSet.obj (Betti.Scheme.schemePointSpace Y)) (ModuleCat.of R R) h a) = |
| 40 | AlgebraicTopology.Products.CupCohomologyAlgebra.cohomologyCast (TopCat.toSSet.obj (Betti.Scheme.schemePointSpace X)) (ModuleCat.of R R) h |
| 41 | (Betti.Scheme.schemeBettiMap (ModuleCat.of R R) n f a) := by |
| 42 | subst m |
| 43 | rfl |
| 44 | |
| 45 | theorem evenCup_pullback {R : Type} [CommRing R] |
| 46 | {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) (p q : ℕ) |
| 47 | (a : Betti.Scheme.schemeBetti (ModuleCat.of R R) Y (p + p)) |
| 48 | (b : Betti.Scheme.schemeBetti (ModuleCat.of R R) Y (q + q)) : |
| 49 | Betti.Scheme.schemeBettiMap (ModuleCat.of R R) ((p + q) + (p + q)) f |
| 50 | (ComplexOperations.CM.Construction.evenCup R (Betti.Scheme.schemePointSpace Y) p q a b) = |
| 51 | ComplexOperations.CM.Construction.evenCup R (Betti.Scheme.schemePointSpace X) p q |
| 52 | (Betti.Scheme.schemeBettiMap (ModuleCat.of R R) (p + p) f a) |
| 53 | (Betti.Scheme.schemeBettiMap (ModuleCat.of R R) (q + q) f b) := by |
| 54 | change Betti.Scheme.schemeBettiMap (ModuleCat.of R R) _ f (AlgebraicTopology.Products.CupCohomologyAlgebra.cohomologyCast _ _ _ _) = _ |
| 55 | rw [scheme_pullback_cohomologyCast (R := R) f (add_add_add_comm p p q q), |
| 56 | CupPullback.CM.Construction.scheme_cup_pullback] |
| 57 | rfl |
| 58 | |
| 59 | def evenPullback {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) : |
| 60 | MulHom (EvenAlgebra.CM.Construction.EvenClass (R := ℂ) (Betti.Scheme.schemePointSpace Y)) (EvenAlgebra.CM.Construction.EvenClass (R := ℂ) (Betti.Scheme.schemePointSpace X)) where |
| 61 | toFun a := ⟨a.1, Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) (a.1 + a.1) f a.2⟩ |
| 62 | map_mul' a b := Sigma.ext rfl (heq_of_eq (evenCup_pullback (R := ℂ) f a.1 b.1 a.2 b.2)) |
| 63 | |
| 64 | theorem IsAlgebraicEven.pullback (h_LineBundleCycles : CycleOperations.CM.Construction.LineBundleCyclesInput) |
| 65 | {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (f : X.toOver ⟶ Y.toOver) |
| 66 | {a : EvenAlgebra.CM.Construction.EvenClass (R := ℂ) (Betti.Scheme.schemePointSpace Y.toOver)} (ha : IsAlgebraicEven Y a) : |
| 67 | IsAlgebraicEven X (evenPullback f a) := |
| 68 | ComplexOperations.CM.Construction.complex_pullback_algebraic h_LineBundleCycles f a.1 a.2 ha |
| 69 | |
| 70 | def packH1Cup (X : TopCat.{0}) (p : ℕ) |
| 71 | (v : Fin (p + p) → AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℂ ℂ) X 1) : EvenAlgebra.CM.Construction.EvenClass (R := ℂ) X := |
| 72 | packEven X p (IteratedCup.CM.Construction.h1Cup ℂ X (p + p) v) |
| 73 | |
| 74 | theorem packH1Cup_evenAppend (X : TopCat.{0}) (p q : ℕ) |
| 75 | (u : Fin (p + p) → AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℂ ℂ) X 1) |
| 76 | (v : Fin (q + q) → AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℂ ℂ) X 1) : |
| 77 | packH1Cup X (p + q) (EvenAppend.CM.Construction.evenAppend p q u v) = packH1Cup X p u * packH1Cup X q v := by |
| 78 | change packEven X (p + q) (IteratedCup.CM.Construction.h1Cup ℂ X ((p + q) + (p + q)) (EvenAppend.CM.Construction.evenAppend p q u v)) = |
| 79 | packEven X (p + q) (ComplexOperations.CM.Construction.evenCup ℂ X p q (IteratedCup.CM.Construction.h1Cup ℂ X (p + p) u) (IteratedCup.CM.Construction.h1Cup ℂ X (q + q) v)) |
| 80 | exact congrArg (packEven X (p + q)) (EvenAppend.CM.Construction.h1Cup_evenAppend (R := ℂ) X p q u v) |
| 81 | |
| 82 | def packPair (X : TopCat.{0}) (a b : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℂ ℂ) X 1) : |
| 83 | EvenAlgebra.CM.Construction.EvenClass (R := ℂ) X := packEven X 1 (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) X 1 1 a b) |
| 84 | |
| 85 | theorem packPair_cycle (X : TopCat.{0}) (a b c d : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℂ ℂ) X 1) : |
| 86 | packPair X a b * packPair X c d = packPair X a c * packPair X d b := by |
| 87 | change packEven X 2 (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) X 2 2 |
| 88 | (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) X 1 1 a b) (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) X 1 1 c d)) = |
| 89 | packEven X 2 (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) X 2 2 |
| 90 | (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) X 1 1 a c) (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) X 1 1 d b)) |
| 91 | exact congrArg (packEven X 2) (CupRegrouping.CM.SurfaceConstruction.cup1111_cycle (R := ℂ) X a b c d) |
| 92 | |
| 93 | theorem switch_cup_regroup (X : TopCat.{0}) |
| 94 | (U L₁ L₂ : EvenAlgebra.CM.Construction.EvenClass (R := ℂ) X) |
| 95 | (c₁ c₂ i₁ i₂ z₁ z₂ : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℂ ℂ) X 1) : |
| 96 | ((U * packPair X c₁ c₂) * (packPair X i₁ i₂ * packPair X z₁ z₂)) * (L₁ * L₂) = |
| 97 | (U * packPair X z₁ z₂) * |
| 98 | ((packPair X c₁ i₁ * L₁) * (packPair X i₂ c₂ * L₂)) := by |
| 99 | rw [show ((U * packPair X c₁ c₂) * (packPair X i₁ i₂ * packPair X z₁ z₂)) * (L₁ * L₂) = |
| 100 | (U * packPair X z₁ z₂) * ((packPair X c₁ c₂ * packPair X i₁ i₂) * (L₁ * L₂)) by ac_rfl] |
| 101 | rw [packPair_cycle] |
| 102 | ac_rfl |
| 103 | |
| 104 | end AlgebraicGeometry.HodgeConjecture.CMReduction.PackedRegroup.CM.Construction |
| 105 | |
| 106 | namespace AlgebraicGeometry.HodgeConjecture.CMReduction |
| 107 | |
| 108 | /-! Extracting a class in a known degree, and naturality of packed |
| 109 | iterated cups. Each equality retains the actual cohomology coefficient map. -/ |
| 110 | |
| 111 | open _root_.CategoryTheory |
| 112 | |
| 113 | def EvenAlgebra.CM.Construction.EvenClass.inDegree {X : TopCat.{0}} (a : EvenAlgebra.CM.Construction.EvenClass (R := ℂ) X) (p : ℕ) (hp : a.1 = p) : |
| 114 | AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℂ ℂ) X (p + p) := |
| 115 | AlgebraicTopology.Products.CupCohomologyAlgebra.cohomologyCast (TopCat.toSSet.obj X) (ModuleCat.of ℂ ℂ) (congrArg (fun n => n + n) hp) a.2 |
| 116 | |
| 117 | theorem PackedRegroup.CM.Construction.packEven_inDegree {X : TopCat.{0}} (a : EvenAlgebra.CM.Construction.EvenClass (R := ℂ) X) (p : ℕ) (hp : a.1 = p) : |
| 118 | PackedRegroup.CM.Construction.packEven X p (a.inDegree p hp) = a := by |
| 119 | apply Sigma.ext hp.symm |
| 120 | exact EvenAlgebra.CM.Construction.cohomologyCast_heq (R := ℂ) X (congrArg (fun n => n + n) hp) a.2 |
| 121 | |
| 122 | theorem PackedRegroup.CM.Construction.evenPullback_pack {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) (p : ℕ) |
| 123 | (a : Betti.Scheme.schemeBetti (ModuleCat.of ℂ ℂ) Y (p + p)) : |
| 124 | PackedRegroup.CM.Construction.evenPullback f (PackedRegroup.CM.Construction.packEven (Betti.Scheme.schemePointSpace Y) p a) = |
| 125 | PackedRegroup.CM.Construction.packEven (Betti.Scheme.schemePointSpace X) p (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) (p + p) f a) := rfl |
| 126 | |
| 127 | theorem PackedRegroup.CM.Construction.evenPullback_comp {X Y Z : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) (g : Y ⟶ Z) |
| 128 | (a : EvenAlgebra.CM.Construction.EvenClass (R := ℂ) (Betti.Scheme.schemePointSpace Z)) : |
| 129 | PackedRegroup.CM.Construction.evenPullback f (PackedRegroup.CM.Construction.evenPullback g a) = PackedRegroup.CM.Construction.evenPullback (f ≫ g) a := by |
| 130 | rcases a with ⟨p, a⟩ |
| 131 | exact congrArg (PackedRegroup.CM.Construction.packEven (Betti.Scheme.schemePointSpace X) p) (CupPullback.CM.Construction.scheme_pullback_comp (R := ℂ) f g (p + p) a) |
| 132 | |
| 133 | theorem PackedRegroup.CM.Construction.evenPullback_H1Cup {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) (p : ℕ) |
| 134 | (v : Fin (p + p) → Betti.Scheme.schemeBetti (ModuleCat.of ℂ ℂ) Y 1) : |
| 135 | PackedRegroup.CM.Construction.evenPullback f (PackedRegroup.CM.Construction.packH1Cup (Betti.Scheme.schemePointSpace Y) p v) = |
| 136 | PackedRegroup.CM.Construction.packH1Cup (Betti.Scheme.schemePointSpace X) p |
| 137 | (fun i => Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 f (v i)) := |
| 138 | congrArg (PackedRegroup.CM.Construction.packEven (Betti.Scheme.schemePointSpace X) p) (CupAppend.CM.Construction.scheme_h1Cup_pullback (R := ℂ) f (p + p) v) |
| 139 | |
| 140 | theorem PackedRegroup.CM.Construction.evenPullback_pair {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) |
| 141 | (a b : Betti.Scheme.schemeBetti (ModuleCat.of ℂ ℂ) Y 1) : |
| 142 | PackedRegroup.CM.Construction.evenPullback f (PackedRegroup.CM.Construction.packPair (Betti.Scheme.schemePointSpace Y) a b) = |
| 143 | PackedRegroup.CM.Construction.packPair (Betti.Scheme.schemePointSpace X) |
| 144 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 f a) (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 f b) := |
| 145 | congrArg (PackedRegroup.CM.Construction.packEven (Betti.Scheme.schemePointSpace X) 1) (CupPullback.CM.Construction.scheme_cup_pullback (R := ℂ) f 1 1 a b) |
| 146 | |
| 147 | theorem PackedRegroup.CM.Construction.packH1Cup_pair (X : TopCat.{0}) (a b : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℂ ℂ) X 1) : |
| 148 | PackedRegroup.CM.Construction.packH1Cup X 1 ![a, b] = PackedRegroup.CM.Construction.packPair X a b := |
| 149 | congrArg (PackedRegroup.CM.Construction.packEven X 1) (CupAppend.CM.Construction.h1Cup_two (R := ℂ) X ![a, b]) |
| 150 | |
| 151 | theorem PackedRegroup.CM.Construction.packH1Cup_four (X : TopCat.{0}) |
| 152 | (a b c d : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℂ ℂ) X 1) : |
| 153 | PackedRegroup.CM.Construction.packH1Cup X 2 ![a, b, c, d] = PackedRegroup.CM.Construction.packPair X a b * PackedRegroup.CM.Construction.packPair X c d := |
| 154 | congrArg (PackedRegroup.CM.Construction.packEven X 2) (CupAppend.CM.Construction.h1Cup_four (R := ℂ) X ![a, b, c, d]) |
| 155 | |
| 156 | end AlgebraicGeometry.HodgeConjecture.CMReduction |
| 157 | |
| 158 | namespace AlgebraicGeometry.HodgeConjecture.CMReduction.PackedRegroup.CM.Construction |
| 159 | |
| 160 | /-! Algebraicity of the exactly regrouped switch product. -/ |
| 161 | |
| 162 | open _root_.CategoryTheory |
| 163 | |
| 164 | theorem pullback_switch_regroup |
| 165 | {W X : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : W ⟶ X) |
| 166 | (U : EvenAlgebra.CM.Construction.EvenClass (R := ℂ) (Betti.Scheme.schemePointSpace X)) |
| 167 | (L₁ L₂ : EvenAlgebra.CM.Construction.EvenClass (R := ℂ) (Betti.Scheme.schemePointSpace W)) |
| 168 | (c₁ c₂ i₁ i₂ : Betti.Scheme.schemeBetti (ModuleCat.of ℂ ℂ) W 1) |
| 169 | (z₁ z₂ : Betti.Scheme.schemeBetti (ModuleCat.of ℂ ℂ) X 1) : |
| 170 | ((evenPullback f U * packPair (Betti.Scheme.schemePointSpace W) c₁ c₂) * |
| 171 | (packPair (Betti.Scheme.schemePointSpace W) i₁ i₂ * evenPullback f (packPair (Betti.Scheme.schemePointSpace X) z₁ z₂))) * |
| 172 | (L₁ * L₂) = |
| 173 | evenPullback f (U * packPair (Betti.Scheme.schemePointSpace X) z₁ z₂) * |
| 174 | ((packPair (Betti.Scheme.schemePointSpace W) c₁ i₁ * L₁) * (packPair (Betti.Scheme.schemePointSpace W) i₂ c₂ * L₂)) := by |
| 175 | rw [map_mul, evenPullback_pair] |
| 176 | exact switch_cup_regroup (Betti.Scheme.schemePointSpace W) (evenPullback f U) L₁ L₂ c₁ c₂ i₁ i₂ |
| 177 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 f z₁) (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 f z₂) |
| 178 | |
| 179 | theorem regroup_algebraic (h_LineBundleCycles : CycleOperations.CM.Construction.LineBundleCyclesInput) (h_ThomClass : CycleOperations.CM.Construction.ExteriorInput) |
| 180 | {W X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (f : W.toOver ⟶ X.toOver) |
| 181 | (U : EvenAlgebra.CM.Construction.EvenClass (R := ℂ) (Betti.Scheme.schemePointSpace X.toOver)) |
| 182 | (L₁ L₂ : EvenAlgebra.CM.Construction.EvenClass (R := ℂ) (Betti.Scheme.schemePointSpace W.toOver)) |
| 183 | (c₁ c₂ i₁ i₂ : W.complexCohomology 1) (z₁ z₂ : X.complexCohomology 1) |
| 184 | (hprevious : IsAlgebraicEven W (evenPullback f U * packPair (Betti.Scheme.schemePointSpace W.toOver) c₁ c₂)) |
| 185 | (hswitch : IsAlgebraicEven W |
| 186 | (packPair (Betti.Scheme.schemePointSpace W.toOver) i₁ i₂ * evenPullback f (packPair (Betti.Scheme.schemePointSpace X.toOver) z₁ z₂))) |
| 187 | (hL₁ : IsAlgebraicEven W L₁) (hL₂ : IsAlgebraicEven W L₂) : |
| 188 | IsAlgebraicEven W (evenPullback f (U * packPair (Betti.Scheme.schemePointSpace X.toOver) z₁ z₂) * |
| 189 | ((packPair (Betti.Scheme.schemePointSpace W.toOver) c₁ i₁ * L₁) * |
| 190 | (packPair (Betti.Scheme.schemePointSpace W.toOver) i₂ c₂ * L₂))) := by |
| 191 | rw [← pullback_switch_regroup f U L₁ L₂ c₁ c₂ i₁ i₂ z₁ z₂] |
| 192 | exact IsAlgebraicEven.mul h_LineBundleCycles h_ThomClass |
| 193 | (IsAlgebraicEven.mul h_LineBundleCycles h_ThomClass hprevious hswitch) |
| 194 | (IsAlgebraicEven.mul h_LineBundleCycles h_ThomClass hL₁ hL₂) |
| 195 | |
| 196 | end AlgebraicGeometry.HodgeConjecture.CMReduction.PackedRegroup.CM.Construction |
| 197 | |
| 198 | end |
| 199 | |
| 200 | end OAI |