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.Kunneth.Add |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.TensorContraction |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.SurfaceConstructionQ |
| 4 | import OAI.AlgebraicTopology.Kunneth.ProjectiveFinitenessLe |
| 5 | |
| 6 | /-! # Kunneth -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.Kunneth.CM.SurfaceConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Nonvanishing of the actual complex exterior cup, derived from the |
| 13 | checked canonical Kunneth equivalence and coefficient finiteness. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | open scoped TensorProduct DirectSum |
| 17 | |
| 18 | theorem complex_cohomology_finite (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (n : ℕ) : |
| 19 | FiniteDimensional ℂ (X.complexCohomology n) := by |
| 20 | let : FiniteDimensional ℚ (X.rationalCohomology n) := |
| 21 | AlgebraicTopology.Kunneth.ProjectiveFinitenessLe.Construction.ProjectiveFiniteness.projective_cohomology_finite X n |
| 22 | exact Module.Finite.of_surjective |
| 23 | (ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification (Betti.Scheme.schemePointSpace X.toOver) n) |
| 24 | (ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification_surjective (Betti.Scheme.schemePointSpace X.toOver) n) |
| 25 | |
| 26 | theorem complex_homology_finite (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (n : ℕ) : |
| 27 | FiniteDimensional ℂ |
| 28 | ((AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := ℂ) (Betti.Scheme.schemePointSpace X.toOver)).homology n) := by |
| 29 | let : FiniteDimensional ℂ (X.complexCohomology n) := complex_cohomology_finite X n |
| 30 | exact AlgebraicTopology.Kunneth.ProjectiveFinitenessLe.Construction.ProjectiveFiniteness.finite_homology_of_finite_cohomology |
| 31 | (Betti.Scheme.schemePointSpace X.toOver) n |
| 32 | |
| 33 | theorem complex_degree_le (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (n : ℕ) |
| 34 | (a : X.complexCohomology n) (ha : a ≠ 0) : n ≤ 2 * X.complexDimension := by |
| 35 | by_contra hn |
| 36 | have hn' : 2 * X.complexDimension < n := by omega |
| 37 | let : FiniteDimensional ℚ (X.rationalCohomology n) := |
| 38 | AlgebraicTopology.Kunneth.ProjectiveFinitenessLe.Construction.ProjectiveFiniteness.integralProjective_cohomology_finite X n |
| 39 | let : Subsingleton (X.rationalCohomology n) := ModuleCat.subsingleton_of_isZero |
| 40 | (X.singularCohomology_isZero_above_dimension n hn') |
| 41 | let : Subsingleton (ComplexMultiplication.WeightOne.CM.Complexification (X.rationalCohomology n)) := inferInstance |
| 42 | obtain ⟨t, ht⟩ := ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification_surjective (Betti.Scheme.schemePointSpace X.toOver) n a |
| 43 | have ht0 : t = 0 := Subsingleton.elim _ _ |
| 44 | rw [ht0, map_zero] at ht |
| 45 | exact ha ht.symm |
| 46 | |
| 47 | theorem topological_exteriorCup_ne_zero {k : Type} [Field k] |
| 48 | (X Y : TopCat.{0}) |
| 49 | [∀ n, FiniteDimensional k ((AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := k) X).homology n)] |
| 50 | [∀ n, FiniteDimensional k ((AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := k) Y).homology n)] |
| 51 | (p q : ℕ) (a : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of k k) X p) |
| 52 | (b : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of k k) Y q) (ha : a ≠ 0) (hb : b ≠ 0) : |
| 53 | AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := k) (TopCat.of (X × Y)) p q |
| 54 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of k k) TopCat.prodFst p a) |
| 55 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of k k) TopCat.prodSnd q b) ≠ 0 := by |
| 56 | classical |
| 57 | intro hz |
| 58 | have h := AlgebraicTopology.Kunneth.CanonicalCohomology.Construction.CanonicalCohomologyKunneth.canonicalCohomologyEquiv_lof_add X Y p q a b |
| 59 | rw [hz] at h |
| 60 | have hz' := |
| 61 | (AlgebraicTopology.Kunneth.CanonicalCohomology.Construction.CanonicalCohomologyKunneth.canonicalCohomologyEquiv X Y (p + q)).injective |
| 62 | (h.trans (map_zero _).symm) |
| 63 | have ht := congrArg |
| 64 | (DirectSum.component k (AlgebraicTopology.Kunneth.TensorHomologyD.Construction.TensorHomology.DegreePairs (p + q)) |
| 65 | (fun ij => AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of k k) X ij.val.1 ⊗[k] |
| 66 | AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of k k) Y ij.val.2) ⟨(p, q), rfl⟩) hz' |
| 67 | simp only [DirectSum.component.lof_self, map_zero] at ht |
| 68 | exact TensorContraction.CM.SurfaceConstruction.simpleTensor_ne_zero k ha hb ht |
| 69 | |
| 70 | theorem complex_exteriorCup_ne_zero |
| 71 | {X Y Z : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 72 | (πX : Z.toOver ⟶ X.toOver) (πY : Z.toOver ⟶ Y.toOver) |
| 73 | (hprod : IsLimit (BinaryFan.mk πX πY)) |
| 74 | (p q : ℕ) (a : X.complexCohomology p) (b : Y.complexCohomology q) |
| 75 | (ha : a ≠ 0) (hb : b ≠ 0) : |
| 76 | AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) (Betti.Scheme.schemePointSpace Z.toOver) p q |
| 77 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) p πX a) |
| 78 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) q πY b) ≠ 0 := by |
| 79 | let : ∀ n, FiniteDimensional ℂ |
| 80 | ((AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := ℂ) (Betti.Scheme.schemePointSpace X.toOver)).homology n) := |
| 81 | complex_homology_finite X |
| 82 | let : ∀ n, FiniteDimensional ℂ |
| 83 | ((AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := ℂ) (Betti.Scheme.schemePointSpace Y.toOver)).homology n) := |
| 84 | complex_homology_finite Y |
| 85 | let e := AlgebraicTopology.Kunneth.Add.Construction.productPointIso πX πY hprod |
| 86 | let ec := (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyFunctor (ModuleCat.of ℂ ℂ) (p + q)).mapIso e.op |
| 87 | have hnonzero := topological_exteriorCup_ne_zero |
| 88 | (Betti.Scheme.schemePointSpace X.toOver) (Betti.Scheme.schemePointSpace Y.toOver) p q a b ha hb |
| 89 | intro hz |
| 90 | apply hnonzero |
| 91 | apply ec.toLinearEquiv.injective |
| 92 | erw [map_zero] |
| 93 | change AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℂ ℂ) e.hom (p + q) _ = 0 |
| 94 | rw [AlgebraicTopology.Kunneth.CupPullbackSingular.Construction.CupPullback.singularCohomologyCup_pullback] |
| 95 | change AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) (Betti.Scheme.schemePointSpace Z.toOver) p q |
| 96 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℂ ℂ) e.hom p |
| 97 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℂ ℂ) TopCat.prodFst p a)) |
| 98 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℂ ℂ) e.hom q |
| 99 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℂ ℂ) TopCat.prodSnd q b)) = 0 |
| 100 | have hf := AlgebraicTopology.Kunneth.Add.Construction.productPointIso_fst πX πY hprod |
| 101 | have hg := AlgebraicTopology.Kunneth.Add.Construction.productPointIso_snd πX πY hprod |
| 102 | have hpull : ∀ {U V W : TopCat.{0}} (f : U ⟶ V) (g : V ⟶ W) n |
| 103 | (c : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℂ ℂ) W n), |
| 104 | AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℂ ℂ) f n |
| 105 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℂ ℂ) g n c) = |
| 106 | AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℂ ℂ) (f ≫ g) n c := by |
| 107 | intro U V W f g n c |
| 108 | rw [AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback_comp] |
| 109 | rfl |
| 110 | rw [hpull, hpull] |
| 111 | change AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) (Betti.Scheme.schemePointSpace Z.toOver) p q |
| 112 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℂ ℂ) |
| 113 | ((AlgebraicTopology.Kunneth.Add.Construction.productPointIso πX πY hprod).hom ≫ TopCat.prodFst) p a) |
| 114 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℂ ℂ) |
| 115 | ((AlgebraicTopology.Kunneth.Add.Construction.productPointIso πX πY hprod).hom ≫ TopCat.prodSnd) q b) = 0 |
| 116 | rw [hf, hg] |
| 117 | exact hz |
| 118 | |
| 119 | theorem rational_exteriorCup_ne_zero |
| 120 | {X Y Z : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 121 | (πX : Z.toOver ⟶ X.toOver) (πY : Z.toOver ⟶ Y.toOver) |
| 122 | (hprod : IsLimit (BinaryFan.mk πX πY)) |
| 123 | (p q : ℕ) (a : X.rationalCohomology p) (b : Y.rationalCohomology q) |
| 124 | (ha : a ≠ 0) (hb : b ≠ 0) : |
| 125 | AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℚ) (Betti.Scheme.schemePointSpace Z.toOver) p q |
| 126 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) p πX a) |
| 127 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) q πY b) ≠ 0 := by |
| 128 | classical |
| 129 | intro hz |
| 130 | have h := AlgebraicTopology.Kunneth.Add.Construction.kunnethMap_lof_tmul πX πY (p + q) ⟨(p, q), rfl⟩ a b |
| 131 | change AlgebraicTopology.Kunneth.Add.Construction.kunnethMap πX πY (p + q) _ = _ at h |
| 132 | have hz' : AlgebraicTopology.Kunneth.Add.Construction.exteriorProduct πX πY p q a b = 0 := hz |
| 133 | simp only [hz', cast_eq] at h |
| 134 | have hinj := (AlgebraicTopology.Kunneth.Add.Construction.kunnethMap_bijective πX πY hprod (p + q)).injective |
| 135 | have hs := hinj (h.trans (map_zero _).symm) |
| 136 | have ht := congrArg |
| 137 | (DirectSum.component ℚ (AlgebraicTopology.Kunneth.Add.Construction.DegreePairs (p + q)) |
| 138 | (fun ij => AlgebraicTopology.Kunneth.Add.Construction.KunnethSummand X Y ij.val) ⟨(p, q), rfl⟩) hs |
| 139 | simp only [DirectSum.component.lof_self, map_zero] at ht |
| 140 | exact TensorContraction.CM.SurfaceConstruction.simpleTensor_ne_zero ℚ ha hb ht |
| 141 | |
| 142 | end |
| 143 | |
| 144 | end OAI.AlgebraicGeometry.HodgeConjecture.Kunneth.CM.SurfaceConstruction |