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.Projection |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.ComplexOperations |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.OppositePairs |
| 4 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.RationalCupUnit |
| 5 | |
| 6 | /-! # Integration Complex -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.IntegrationComplex.CM.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! Complex integration along a connected projective factor. In particular, |
| 15 | the scalar left after eliminating a nonzero top class cannot vanish. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | open CartesianMonoidalCategory |
| 19 | open scoped TensorProduct |
| 20 | |
| 21 | def complexFactorTrace (S X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 22 | S.complexCohomology (S.complexDimension + S.complexDimension) →ₗ[ℂ] |
| 23 | X.complexCohomology 0 := |
| 24 | (ComplexOperations.CM.Construction.projectiveComplexification X 0).toLinearMap.comp |
| 25 | (((Projection.CM.Construction.factorTraceMap S X).baseChange ℂ).comp |
| 26 | (ComplexOperations.CM.Construction.projectiveComplexification S (S.complexDimension + S.complexDimension)).symm.toLinearMap) |
| 27 | |
| 28 | theorem complexFactorTrace_scalar (S X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 29 | [PathConnectedSpace S.analyticSpace] [PathConnectedSpace X.analyticSpace] |
| 30 | (b : S.complexCohomology (S.complexDimension + S.complexDimension)) (hb : b ≠ 0) : |
| 31 | ∃ r : ℂ, r ≠ 0 ∧ complexFactorTrace S X b = |
| 32 | r • AlgebraicTopology.Products.CupCohomologyAlgebra.singularCohomologyCupUnit (R := ℂ) (Betti.Scheme.schemePointSpace X.toOver) := by |
| 33 | let bQ := (ComplexOperations.CM.Construction.projectiveComplexification S (S.complexDimension + S.complexDimension)).symm b |
| 34 | have hbQ : bQ ≠ 0 := by |
| 35 | intro hz |
| 36 | apply hb |
| 37 | exact (ComplexOperations.CM.Construction.projectiveComplexification S (S.complexDimension + S.complexDimension)).symm.injective |
| 38 | (hz.trans (map_zero _).symm) |
| 39 | obtain ⟨r, hr, heq⟩ := Projection.CM.Construction.coefficient_factorTrace_scalar ℂ S X bQ hbQ |
| 40 | refine ⟨r, hr, ?_⟩ |
| 41 | change ComplexOperations.CM.Construction.projectiveComplexification X 0 ((Projection.CM.Construction.factorTraceMap S X).baseChange ℂ bQ) = _ |
| 42 | rw [heq, map_smul] |
| 43 | change r • ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification (Betti.Scheme.schemePointSpace X.toOver) 0 |
| 44 | ((1 : ℂ) ⊗ₜ[ℚ] Cycles.Functoriality.UnitCap.cohomologyUnit X) = _ |
| 45 | rw [ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification_tmul, one_smul] |
| 46 | exact congrArg (fun a => r • a) (ComplexMultiplication.HodgeComparison.RationalCupUnit.CM.Construction.rationalToComplexCohomology_unit _) |
| 47 | |
| 48 | def factorProjectionPush (S X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 49 | (Albanese.Construction.SegreClosed.tensorIntegralProjectiveVariety S X).complexCohomology |
| 50 | (S.complexDimension + S.complexDimension) →ₗ[ℂ] X.complexCohomology 0 := by |
| 51 | let W := Albanese.Construction.SegreClosed.tensorIntegralProjectiveVariety S X |
| 52 | let f : W.toOver ⟶ X.toOver := snd S.toOver X.toOver |
| 53 | have hf : AlgebraicGeometry.IsProper f.left := SurfaceConstructionQ.CM.map_isProper (S := W) (X := X) f |
| 54 | have hd : S.complexDimension + X.complexDimension = 0 + W.complexDimension := by |
| 55 | dsimp [W] |
| 56 | rw [Products.CM.SurfaceConstruction.product_complexDimension] |
| 57 | omega |
| 58 | exact ComplexOperations.CM.Construction.complexPushforward (X := W) (Y := X) f hf S.complexDimension 0 hd |
| 59 | |
| 60 | def factorProjectionPull (S X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 61 | S.complexCohomology (S.complexDimension + S.complexDimension) →ₗ[ℂ] |
| 62 | (Albanese.Construction.SegreClosed.tensorIntegralProjectiveVariety S X).complexCohomology |
| 63 | (S.complexDimension + S.complexDimension) := |
| 64 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) (S.complexDimension + S.complexDimension) |
| 65 | (fst S.toOver X.toOver)).hom |
| 66 | |
| 67 | theorem complexFactorTrace_eq_pushforward (S X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 68 | (b : S.complexCohomology (S.complexDimension + S.complexDimension)) : |
| 69 | complexFactorTrace S X b = factorProjectionPush S X (factorProjectionPull S X b) := by |
| 70 | let j := ComplexOperations.CM.Construction.projectiveComplexification S (S.complexDimension + S.complexDimension) |
| 71 | obtain ⟨t, rfl⟩ := j.surjective b |
| 72 | let W := Albanese.Construction.SegreClosed.tensorIntegralProjectiveVariety S X |
| 73 | let f : W.toOver ⟶ X.toOver := snd S.toOver X.toOver |
| 74 | let g : W.toOver ⟶ S.toOver := fst S.toOver X.toOver |
| 75 | have hf : AlgebraicGeometry.IsProper f.left := SurfaceConstructionQ.CM.map_isProper (S := W) (X := X) f |
| 76 | have hd : S.complexDimension + X.complexDimension = 0 + W.complexDimension := by |
| 77 | dsimp [W] |
| 78 | rw [Products.CM.SurfaceConstruction.product_complexDimension] |
| 79 | omega |
| 80 | let Q := Cycles.Functoriality.UnitCap.cohomologyPushforward (X := W) (Y := X) f hf S.complexDimension 0 hd |
| 81 | let P := (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) (S.complexDimension + S.complexDimension) g).hom |
| 82 | have hl : complexFactorTrace S X (j t) = |
| 83 | ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification (Betti.Scheme.schemePointSpace X.toOver) 0 |
| 84 | (Q.baseChange ℂ (P.baseChange ℂ t)) := by |
| 85 | change ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification (Betti.Scheme.schemePointSpace X.toOver) 0 |
| 86 | ((Projection.CM.Construction.factorTraceMap S X).baseChange ℂ (j.symm (j t))) = _ |
| 87 | rw [LinearEquiv.symm_apply_apply] |
| 88 | change ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification (Betti.Scheme.schemePointSpace X.toOver) 0 |
| 89 | ((Q.comp P).baseChange ℂ t) = _ |
| 90 | rw [LinearMap.baseChange_comp] |
| 91 | rfl |
| 92 | have hpb := Pairs.CM.SurfaceConstruction.complexification_pullback |
| 93 | (X := W) (Y := S) g (S.complexDimension + S.complexDimension) t |
| 94 | have hpc := ComplexOperations.CM.Construction.complexPushforward_comparison (X := W) (Y := X) |
| 95 | f hf S.complexDimension 0 hd (P.baseChange ℂ t) |
| 96 | exact hl.trans (hpc.symm.trans (congrArg |
| 97 | (ComplexOperations.CM.Construction.complexPushforward (X := W) (Y := X) f hf S.complexDimension 0 hd) hpb)) |
| 98 | |
| 99 | end |
| 100 | |
| 101 | section |
| 102 | |
| 103 | /-! The geometric projection formula on complex classes, and algebraicity |
| 104 | after eliminating a nonzero top-degree factor by native proper pushforward. -/ |
| 105 | |
| 106 | open _root_.CategoryTheory |
| 107 | open CartesianMonoidalCategory |
| 108 | open scoped TensorProduct |
| 109 | |
| 110 | theorem bilinear_eq_of_rational_values |
| 111 | {U V UC VC W : Type*} |
| 112 | [AddCommGroup U] [Module ℚ U] [AddCommGroup V] [Module ℚ V] |
| 113 | [AddCommGroup UC] [Module ℂ UC] [AddCommGroup VC] [Module ℂ VC] |
| 114 | [AddCommGroup W] [Module ℂ W] |
| 115 | (j : ComplexMultiplication.WeightOne.CM.Complexification U ≃ₗ[ℂ] UC) (k : ComplexMultiplication.WeightOne.CM.Complexification V ≃ₗ[ℂ] VC) |
| 116 | (F G : UC →ₗ[ℂ] VC →ₗ[ℂ] W) |
| 117 | (h : ∀ u v, F (j ((1 : ℂ) ⊗ₜ[ℚ] u)) (k ((1 : ℂ) ⊗ₜ[ℚ] v)) = |
| 118 | G (j ((1 : ℂ) ⊗ₜ[ℚ] u)) (k ((1 : ℂ) ⊗ₜ[ℚ] v))) : F = G := by |
| 119 | apply LinearMap.ext |
| 120 | intro x |
| 121 | apply LinearMap.ext |
| 122 | intro y |
| 123 | obtain ⟨u, rfl⟩ := j.surjective x |
| 124 | obtain ⟨v, rfl⟩ := k.surjective y |
| 125 | induction u using TensorProduct.inductionOn with |
| 126 | | add u w hu hw => simp only [map_add, LinearMap.add_apply, hu, hw] |
| 127 | | tmul a u => |
| 128 | induction v using TensorProduct.inductionOn with |
| 129 | | add v w hv hw => simp only [map_add, hv, hw] |
| 130 | | tmul b v => |
| 131 | have hu : a ⊗ₜ[ℚ] u = a • ((1 : ℂ) ⊗ₜ[ℚ] u) := by |
| 132 | rw [TensorProduct.smul_tmul', smul_eq_mul, mul_one] |
| 133 | have hv : b ⊗ₜ[ℚ] v = b • ((1 : ℂ) ⊗ₜ[ℚ] v) := by |
| 134 | rw [TensorProduct.smul_tmul', smul_eq_mul, mul_one] |
| 135 | rw [hu, hv] |
| 136 | simp only [map_smul, LinearMap.smul_apply, h] |
| 137 | |
| 138 | theorem complexPushforward_rational {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 139 | (f : X.toOver ⟶ Y.toOver) (hf : AlgebraicGeometry.IsProper f.left) |
| 140 | (p q : ℕ) (hdeg : p + Y.complexDimension = q + X.complexDimension) |
| 141 | (a : X.rationalCohomology (p + p)) : |
| 142 | ComplexOperations.CM.Construction.complexPushforward f hf p q hdeg (X.rationalCohomologyInclusion (p + p) a) = |
| 143 | Y.rationalCohomologyInclusion (q + q) (Cycles.Functoriality.UnitCap.cohomologyPushforward f hf p q hdeg a) := by |
| 144 | simpa only [ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification_tmul, LinearMap.baseChange_tmul, |
| 145 | one_smul] using! ComplexOperations.CM.Construction.complexPushforward_comparison f hf p q hdeg ((1 : ℂ) ⊗ₜ[ℚ] a) |
| 146 | |
| 147 | theorem complex_projection_top {W X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 148 | (f : W.toOver ⟶ X.toOver) (d p : ℕ) |
| 149 | (hdim : W.complexDimension = X.complexDimension + d) |
| 150 | (hp : p ≤ X.complexDimension) |
| 151 | (a : X.complexCohomology (p + p)) (b : W.complexCohomology (d + d)) : |
| 152 | ComplexOperations.CM.Construction.complexPushforward f (SurfaceConstructionQ.CM.map_isProper f) (p + d) p (by omega) |
| 153 | (ComplexOperations.CM.Construction.evenCup ℂ (Betti.Scheme.schemePointSpace W.toOver) p d |
| 154 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) (p + p) f a) b) = |
| 155 | ComplexOperations.CM.Construction.evenCup ℂ (Betti.Scheme.schemePointSpace X.toOver) p 0 a |
| 156 | (ComplexOperations.CM.Construction.complexPushforward f (SurfaceConstructionQ.CM.map_isProper f) d 0 (by omega) b) := by |
| 157 | let F := ((ComplexOperations.CM.Construction.evenCup ℂ (Betti.Scheme.schemePointSpace W.toOver) p d).compl₁₂ |
| 158 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) (p + p) f).hom LinearMap.id).compr₂ |
| 159 | (ComplexOperations.CM.Construction.complexPushforward f (SurfaceConstructionQ.CM.map_isProper f) (p + d) p (by omega)) |
| 160 | let G := (ComplexOperations.CM.Construction.evenCup ℂ (Betti.Scheme.schemePointSpace X.toOver) p 0).compl₁₂ LinearMap.id |
| 161 | (ComplexOperations.CM.Construction.complexPushforward f (SurfaceConstructionQ.CM.map_isProper f) d 0 (by omega)) |
| 162 | have hFG : F = G := by |
| 163 | apply bilinear_eq_of_rational_values (ComplexOperations.CM.Construction.projectiveComplexification X (p + p)) |
| 164 | (ComplexOperations.CM.Construction.projectiveComplexification W (d + d)) |
| 165 | intro x y |
| 166 | change ComplexOperations.CM.Construction.complexPushforward f _ (p + d) p _ |
| 167 | (ComplexOperations.CM.Construction.evenCup ℂ _ p d |
| 168 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) (p + p) f |
| 169 | (ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification _ (p + p) ((1 : ℂ) ⊗ₜ[ℚ] x))) |
| 170 | (ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification _ (d + d) ((1 : ℂ) ⊗ₜ[ℚ] y))) = |
| 171 | ComplexOperations.CM.Construction.evenCup ℂ _ p 0 |
| 172 | (ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification _ (p + p) ((1 : ℂ) ⊗ₜ[ℚ] x)) |
| 173 | (ComplexOperations.CM.Construction.complexPushforward f _ d 0 _ |
| 174 | (ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification _ (d + d) ((1 : ℂ) ⊗ₜ[ℚ] y))) |
| 175 | simp only [ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification_tmul, one_smul] |
| 176 | have hf := (ConcreteCategory.congr_hom (Betti.Scheme.schemeBettiRationalInclusion_naturality f (p + p)) x).symm |
| 177 | erw [hf] |
| 178 | erw [← ComplexOperations.CM.Construction.rationalToComplex_evenCup (Betti.Scheme.schemePointSpace W.toOver) p d |
| 179 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) (p + p) f x) y] |
| 180 | have hcp := complexPushforward_rational (X := W) (Y := X) f |
| 181 | (SurfaceConstructionQ.CM.map_isProper (S := W) (X := X) f) (p + d) p (by omega) |
| 182 | (ComplexOperations.CM.Construction.evenCup ℚ (Betti.Scheme.schemePointSpace W.toOver) p d |
| 183 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) (p + p) f x) y) |
| 184 | have hcd := complexPushforward_rational (X := W) (Y := X) f |
| 185 | (SurfaceConstructionQ.CM.map_isProper (S := W) (X := X) f) d 0 (by omega) y |
| 186 | erw [hcp, hcd] |
| 187 | erw [← ComplexOperations.CM.Construction.rationalToComplex_evenCup (Betti.Scheme.schemePointSpace X.toOver) p 0 x |
| 188 | (Cycles.Functoriality.UnitCap.cohomologyPushforward (X := W) (Y := X) f |
| 189 | (SurfaceConstructionQ.CM.map_isProper (S := W) (X := X) f) d 0 (by omega) y)] |
| 190 | apply congrArg (X.rationalCohomologyInclusion (p + p)) |
| 191 | change Cycles.Functoriality.UnitCap.cohomologyPushforward f _ (p + d) p _ |
| 192 | (AlgebraicTopology.Products.CupCohomologyAlgebra.cohomologyCast _ _ _ _) = _ |
| 193 | rw [ComplexOperations.CM.Construction.cohomologyCast_eq_cast] |
| 194 | exact Projection.CM.Construction.native_projection_top f d p hdim hp x y |
| 195 | exact LinearMap.congr_fun (LinearMap.congr_fun hFG a) b |
| 196 | |
| 197 | end |
| 198 | |
| 199 | /-! Eliminate a nonzero top-degree factor from an algebraic exterior class |
| 200 | by actual proper pushforward. The surviving class is recovered by dividing |
| 201 | the proved nonzero integration scalar. -/ |
| 202 | |
| 203 | open _root_.CategoryTheory |
| 204 | open CartesianMonoidalCategory |
| 205 | |
| 206 | def factorExteriorCup (S X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) |
| 207 | (a : X.complexCohomology (p + p)) |
| 208 | (b : S.complexCohomology (S.complexDimension + S.complexDimension)) : |
| 209 | (Albanese.Construction.SegreClosed.tensorIntegralProjectiveVariety S X).complexCohomology |
| 210 | ((p + S.complexDimension) + (p + S.complexDimension)) := |
| 211 | ComplexOperations.CM.Construction.evenCup ℂ (Betti.Scheme.schemePointSpace (Albanese.Construction.SegreClosed.tensorIntegralProjectiveVariety S X).toOver) |
| 212 | p S.complexDimension |
| 213 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) (p + p) (snd S.toOver X.toOver) a) |
| 214 | (factorProjectionPull S X b) |
| 215 | |
| 216 | theorem evenCup_unit_right (X : TopCat.{0}) (p : ℕ) |
| 217 | (a : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℂ ℂ) X (p + p)) : |
| 218 | ComplexOperations.CM.Construction.evenCup ℂ X p 0 a (AlgebraicTopology.Products.CupCohomologyAlgebra.singularCohomologyCupUnit X) = a := by |
| 219 | change AlgebraicTopology.Products.CupCohomology.singularCohomologyCup X (p + p) 0 a (AlgebraicTopology.Products.CupCohomologyAlgebra.singularCohomologyCupUnit X) = a |
| 220 | exact AlgebraicTopology.Products.CupCohomologyAlgebra.cohomologyCup_cupUnit (R := ℂ) (p := p + p) (TopCat.toSSet.obj X) a |
| 221 | |
| 222 | theorem algebraic_of_top_factor (h_Functoriality : CycleOperations.CM.Construction.FunctorialityInput) |
| 223 | (S X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 224 | [PathConnectedSpace S.analyticSpace] [PathConnectedSpace X.analyticSpace] |
| 225 | (p : ℕ) (hp : p ≤ X.complexDimension) |
| 226 | (a : X.complexCohomology (p + p)) |
| 227 | (b : S.complexCohomology (S.complexDimension + S.complexDimension)) (hb : b ≠ 0) |
| 228 | (halg : factorExteriorCup S X p a b ∈ |
| 229 | (Albanese.Construction.SegreClosed.tensorIntegralProjectiveVariety S X).complexGeometricAlgebraicClasses |
| 230 | (p + S.complexDimension)) : |
| 231 | a ∈ X.complexGeometricAlgebraicClasses p := by |
| 232 | let W := Albanese.Construction.SegreClosed.tensorIntegralProjectiveVariety S X |
| 233 | let f : W.toOver ⟶ X.toOver := snd S.toOver X.toOver |
| 234 | have hf : AlgebraicGeometry.IsProper f.left := SurfaceConstructionQ.CM.map_isProper (S := W) (X := X) f |
| 235 | have hdim : W.complexDimension = X.complexDimension + S.complexDimension := by |
| 236 | dsimp [W] |
| 237 | rw [Products.CM.SurfaceConstruction.product_complexDimension, Nat.add_comm] |
| 238 | obtain ⟨r, hr, htrace⟩ := complexFactorTrace_scalar S X b hb |
| 239 | have htrace' : ComplexOperations.CM.Construction.complexPushforward (X := W) (Y := X) f hf S.complexDimension 0 (by omega) |
| 240 | (factorProjectionPull S X b) = |
| 241 | r • AlgebraicTopology.Products.CupCohomologyAlgebra.singularCohomologyCupUnit (R := ℂ) (Betti.Scheme.schemePointSpace X.toOver) := by |
| 242 | change factorProjectionPush S X (factorProjectionPull S X b) = _ |
| 243 | rw [← complexFactorTrace_eq_pushforward S X b, htrace] |
| 244 | have hproj := complex_projection_top (W := W) (X := X) f S.complexDimension p hdim hp |
| 245 | a (factorProjectionPull S X b) |
| 246 | rw [htrace', map_smul, evenCup_unit_right] at hproj |
| 247 | have hpush := ComplexOperations.CM.Construction.complex_pushforward_algebraic h_Functoriality (X := W) (Y := X) f hf |
| 248 | (p + S.complexDimension) p (by omega) (factorExteriorCup S X p a b) halg |
| 249 | change ComplexOperations.CM.Construction.complexPushforward f hf (p + S.complexDimension) p _ |
| 250 | (ComplexOperations.CM.Construction.evenCup ℂ (Betti.Scheme.schemePointSpace W.toOver) p S.complexDimension |
| 251 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) (p + p) f a) (factorProjectionPull S X b)) ∈ _ at hpush |
| 252 | rw [hproj] at hpush |
| 253 | exact (X.complexGeometricAlgebraicClasses p).smul_mem_iff hr |>.mp hpush |
| 254 | |
| 255 | end |
| 256 | |
| 257 | end OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.IntegrationComplex.CM.Construction |