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.NumberTheory.PadicHodge.GeometricComparison.FieldPositiveTopProduct |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SchemeIsoPositiveProduct |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Rational.CoverPositiveProduct |
| 4 | |
| 5 | /-! # Integral Positive Top Product -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The original generic-fiber isomorphism carries the number-field |
| 14 | top product to the inverse image of the integral model's affine cover. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | variable {K : Type} [Field K] [NumberField K] |
| 23 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : Geometry.AbelianH1Model K q jq) |
| 24 | |
| 25 | abbrev Geometry.AbelianH1Model.localPositiveVariety := (A.variety.pullback (Geometry.scalarBaseMap jq)).scheme |
| 26 | |
| 27 | def Geometry.AbelianH1Model.localPositiveProjection : A.localPositiveVariety.left ⟶ A.variety.scheme.left := |
| 28 | pullback.fst A.variety.scheme.hom (Geometry.scalarBaseMap jq) |
| 29 | |
| 30 | theorem Geometry.AbelianH1Model.localPositiveSquare : |
| 31 | IsPullback A.localPositiveProjection A.localPositiveVariety.hom |
| 32 | A.variety.scheme.hom (Spec.map (CommRingCat.ofHom jq)) := |
| 33 | IsPullback.of_hasPullback _ _ |
| 34 | |
| 35 | def Geometry.AbelianH1Model.localPositiveVarietyCover : |
| 36 | Integral.EtaleAffineCover.IntegralEtaleAffineCover.Index K A.variety.scheme → A.localPositiveVariety.left.Opens := |
| 37 | fun i => A.localPositiveProjection ⁻¹ᵁ Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens K A.variety.scheme i |
| 38 | |
| 39 | theorem Geometry.AbelianH1Model.localPositiveVarietyCover_covers : iSup A.localPositiveVarietyCover = ⊤ := |
| 40 | Affine.BaseChangeCover.AffineBaseChangeCover.cover A.variety.scheme A.localPositiveVariety |
| 41 | A.localPositiveProjection _ (Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.cover K A.variety.scheme) |
| 42 | |
| 43 | theorem Geometry.AbelianH1Model.localPositiveVarietyCover_affine (i : Integral.EtaleAffineCover.IntegralEtaleAffineCover.Index K A.variety.scheme) : |
| 44 | IsAffineOpen (A.localPositiveVarietyCover i) := |
| 45 | Affine.BaseChangeCover.AffineBaseChangeCover.affine jq A.variety.scheme A.localPositiveVariety |
| 46 | A.localPositiveProjection A.localPositiveSquare _ |
| 47 | (Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.affine K A.variety.scheme i) |
| 48 | |
| 49 | abbrev Geometry.AbelianH1Model.localPositiveVarietyH (n : ℕ) := |
| 50 | (IntegralComparison.IntegralDeRham.CechProduct.total ℚ_[q] A.localPositiveVariety |
| 51 | (IntegralComparison.NonemptyCechNerve.nerve A.localPositiveVarietyCover)).homology n |
| 52 | |
| 53 | abbrev Geometry.AbelianH1Model.localPositiveVarietyCup (i j : ℕ) |
| 54 | (x : A.localPositiveVarietyH i) (y : A.localPositiveVarietyH j) := |
| 55 | IntegralComparison.IntegralDeRham.CechProduct.cohomologyCup ℚ_[q] A.localPositiveVariety |
| 56 | (IntegralComparison.NonemptyCechNerve.nerve A.localPositiveVarietyCover) i j x y |
| 57 | |
| 58 | theorem Geometry.AbelianH1Model.localPositiveVarietyTopProduct (j : K →+* ℂ) |
| 59 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber j).scheme.left (A.complexFiber j).scheme.hom) |
| 60 | (n : ℕ) (hn : n+1 = 2*A.dimension) : |
| 61 | ∃ v : Fin (n+1) → A.localPositiveVarietyH 1, |
| 62 | IntegralComparison.GradedPositiveProduct.product A.localPositiveVarietyCup n v ≠ 0 := by |
| 63 | let : Algebra K ℚ_[q] := jq.toAlgebra |
| 64 | let : IsIso (AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechScalarTotal.BaseIntrinsicCechScalarTotal.homologyMap K ℚ_[q] A.variety.scheme |
| 65 | A.localPositiveVariety A.localPositiveProjection A.localPositiveSquare.w |
| 66 | (Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens K A.variety.scheme) (n+1)) := |
| 67 | IntegralComparison.Integral.CoverScalarIso.homologyMap_isIso K ℚ_[q] A.variety.scheme |
| 68 | A.localPositiveVariety A.localPositiveProjection A.localPositiveSquare (n+1) |
| 69 | exact IntegralComparison.Intrinsic.ScalarPositiveProduct.target_exists_nonzero K ℚ_[q] A.variety.scheme |
| 70 | A.localPositiveVariety A.localPositiveProjection A.localPositiveSquare.w |
| 71 | (Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens K A.variety.scheme) n (A.numberFieldPositiveTopProduct j P n hn) |
| 72 | |
| 73 | def Geometry.AbelianH1Model.integralPositiveProjection : A.localFiber.scheme.left ⟶ A.integral.scheme.left := |
| 74 | pullback.fst A.integral.scheme.hom (Geometry.scalarBaseMap (algebraMap ℤ_[q] ℚ_[q])) |
| 75 | |
| 76 | theorem Geometry.AbelianH1Model.integralPositiveSquare : |
| 77 | IsPullback A.integralPositiveProjection A.localFiber.scheme.hom A.integral.scheme.hom |
| 78 | (Spec.map (CommRingCat.ofHom (algebraMap ℤ_[q] ℚ_[q]))) := |
| 79 | IsPullback.of_hasPullback _ _ |
| 80 | |
| 81 | def Geometry.AbelianH1Model.localPositiveCover : |
| 82 | Integral.EtaleAffineCover.IntegralEtaleAffineCover.Index ℤ_[q] A.integral.scheme → A.localFiber.scheme.left.Opens := |
| 83 | fun i => A.integralPositiveProjection ⁻¹ᵁ Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens ℤ_[q] A.integral.scheme i |
| 84 | |
| 85 | theorem Geometry.AbelianH1Model.localPositiveCover_covers : iSup A.localPositiveCover = ⊤ := |
| 86 | Affine.BaseChangeCover.AffineBaseChangeCover.cover A.integral.scheme A.localFiber.scheme |
| 87 | A.integralPositiveProjection _ (Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.cover ℤ_[q] A.integral.scheme) |
| 88 | |
| 89 | theorem Geometry.AbelianH1Model.localPositiveCover_affine (i : Integral.EtaleAffineCover.IntegralEtaleAffineCover.Index ℤ_[q] A.integral.scheme) : |
| 90 | IsAffineOpen (A.localPositiveCover i) := |
| 91 | Affine.BaseChangeCover.AffineBaseChangeCover.affine (algebraMap ℤ_[q] ℚ_[q]) A.integral.scheme A.localFiber.scheme |
| 92 | A.integralPositiveProjection A.integralPositiveSquare _ |
| 93 | (Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.affine ℤ_[q] A.integral.scheme i) |
| 94 | |
| 95 | abbrev Geometry.AbelianH1Model.localPositiveH (n : ℕ) := |
| 96 | (IntegralComparison.IntegralDeRham.CechProduct.total ℚ_[q] A.localFiber.scheme |
| 97 | (IntegralComparison.NonemptyCechNerve.nerve A.localPositiveCover)).homology n |
| 98 | |
| 99 | abbrev Geometry.AbelianH1Model.localPositiveCup (i j : ℕ) (x : A.localPositiveH i) (y : A.localPositiveH j) := |
| 100 | IntegralComparison.IntegralDeRham.CechProduct.cohomologyCup ℚ_[q] A.localFiber.scheme |
| 101 | (IntegralComparison.NonemptyCechNerve.nerve A.localPositiveCover) i j x y |
| 102 | |
| 103 | theorem Geometry.AbelianH1Model.localPositiveTopProduct (j : K →+* ℂ) |
| 104 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber j).scheme.left (A.complexFiber j).scheme.hom) |
| 105 | (n : ℕ) (hn : n+1 = 2*A.dimension) : |
| 106 | ∃ v : Fin (n+1) → A.localPositiveH 1, |
| 107 | IntegralComparison.GradedPositiveProduct.product A.localPositiveCup n v ≠ 0 := by |
| 108 | let : A.localFiber.scheme.left.IsSeparated := by |
| 109 | constructor |
| 110 | rw [← terminal.comp_from A.localFiber.scheme.hom] |
| 111 | infer_instance |
| 112 | let V := IntegralComparison.SchemeIsoPositiveProduct.inverseCover ℚ_[q] A.localPositiveVariety |
| 113 | A.localFiber.scheme A.genericIso A.localPositiveVarietyCover |
| 114 | have hV : iSup V = ⊤ := IntegralComparison.SchemeIsoPositiveProduct.cover ℚ_[q] A.localPositiveVariety |
| 115 | A.localFiber.scheme A.genericIso A.localPositiveVarietyCover A.localPositiveVarietyCover_covers |
| 116 | have haV : ∀ i, IsAffineOpen (V i) := IntegralComparison.SchemeIsoPositiveProduct.affine ℚ_[q] A.localPositiveVariety |
| 117 | A.localFiber.scheme A.genericIso A.localPositiveVarietyCover A.localPositiveVarietyCover_affine |
| 118 | have htop := IntegralComparison.SchemeIsoPositiveProduct.exists_nonzero ℚ_[q] A.localPositiveVariety |
| 119 | A.localFiber.scheme A.genericIso A.localPositiveVarietyCover A.localPositiveVarietyCover_affine n |
| 120 | (A.localPositiveVarietyTopProduct j P n hn) |
| 121 | exact IntegralComparison.Rational.CoverPositiveProduct.exists_nonzero ℚ_[q] A.localFiber.scheme V A.localPositiveCover |
| 122 | hV A.localPositiveCover_covers haV A.localPositiveCover_affine n htop |
| 123 | |
| 124 | end |
| 125 | |
| 126 | /-! Genuine integral degree-one classes have a top cup product whose |
| 127 | image in the actual rational generic-fiber cohomology is nonzero. -/ |
| 128 | |
| 129 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 130 | open scoped TensorProduct |
| 131 | |
| 132 | set_option backward.defeqAttrib.useBackward true |
| 133 | set_option backward.isDefEq.respectTransparency false |
| 134 | set_option backward.isDefEq.respectTransparency.types false |
| 135 | |
| 136 | variable {K : Type} [Field K] [NumberField K] |
| 137 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : Geometry.AbelianH1Model K q jq) |
| 138 | |
| 139 | abbrev Geometry.AbelianH1Model.integralPositiveH (n : ℕ) := |
| 140 | (IntegralComparison.IntegralDeRham.CechProduct.total ℤ_[q] A.integral.scheme |
| 141 | (IntegralComparison.NonemptyCechNerve.nerve (Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens ℤ_[q] A.integral.scheme))).homology n |
| 142 | |
| 143 | abbrev Geometry.AbelianH1Model.integralPositiveCup (i j : ℕ) (x : A.integralPositiveH i) (y : A.integralPositiveH j) := |
| 144 | IntegralComparison.IntegralDeRham.CechProduct.cohomologyCup ℤ_[q] A.integral.scheme |
| 145 | (IntegralComparison.NonemptyCechNerve.nerve (Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens ℤ_[q] A.integral.scheme)) i j x y |
| 146 | |
| 147 | abbrev Geometry.AbelianH1Model.integralPositiveScalarMap (n : ℕ) : A.integralPositiveH n →+ A.localPositiveH n := |
| 148 | IntegralComparison.Intrinsic.ScalarPositiveProduct.map ℤ_[q] ℚ_[q] A.integral.scheme A.localFiber.scheme |
| 149 | A.integralPositiveProjection A.integralPositiveSquare.w |
| 150 | (Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens ℤ_[q] A.integral.scheme) n |
| 151 | |
| 152 | theorem Geometry.AbelianH1Model.integralPositiveTopProduct (j : K →+* ℂ) |
| 153 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber j).scheme.left (A.complexFiber j).scheme.hom) |
| 154 | (n : ℕ) (hn : n+1 = 2*A.dimension) : |
| 155 | ∃ v : Fin (n+1) → A.integralPositiveH 1, |
| 156 | A.integralPositiveScalarMap (n+1) |
| 157 | (IntegralComparison.GradedPositiveProduct.product A.integralPositiveCup n v) ≠ 0 := by |
| 158 | let : IsIso (AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechScalarTotal.BaseIntrinsicCechScalarTotal.homologyMap ℤ_[q] ℚ_[q] A.integral.scheme |
| 159 | A.localFiber.scheme A.integralPositiveProjection A.integralPositiveSquare.w |
| 160 | (Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens ℤ_[q] A.integral.scheme) 1) := |
| 161 | IntegralComparison.Integral.CoverScalarIso.homologyMap_isIso ℤ_[q] ℚ_[q] A.integral.scheme |
| 162 | A.localFiber.scheme A.integralPositiveProjection A.integralPositiveSquare 1 |
| 163 | exact IntegralComparison.Intrinsic.ScalarPositiveProduct.image_exists_nonzero ℤ_[q] ℚ_[q] A.integral.scheme |
| 164 | A.localFiber.scheme A.integralPositiveProjection A.integralPositiveSquare.w |
| 165 | (Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens ℤ_[q] A.integral.scheme) n (A.localPositiveTopProduct j P n hn) |
| 166 | |
| 167 | theorem Geometry.AbelianH1Model.integralPositiveScalarMap_apply (n : ℕ) (x : A.integralPositiveH n) : |
| 168 | A.integralPositiveScalarMap n x = |
| 169 | (AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechScalarTotal.BaseIntrinsicCechScalarTotal.homologyMap ℤ_[q] ℚ_[q] A.integral.scheme |
| 170 | A.localFiber.scheme A.integralPositiveProjection A.integralPositiveSquare.w |
| 171 | (Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens ℤ_[q] A.integral.scheme) n).hom (1 ⊗ₜ[ℤ_[q]] x) := by |
| 172 | unfold Geometry.AbelianH1Model.integralPositiveScalarMap IntegralComparison.Intrinsic.ScalarPositiveProduct.map |
| 173 | rw [IntegralComparison.IntrinsicDeRham.CechScalarCoordinates.Intrinsic.homologyMap] |
| 174 | rfl |
| 175 | |
| 176 | theorem Geometry.AbelianH1Model.integralPositiveTopProduct_tensor (j : K →+* ℂ) |
| 177 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber j).scheme.left (A.complexFiber j).scheme.hom) |
| 178 | (n : ℕ) (hn : n+1 = 2*A.dimension) : |
| 179 | ∃ v : Fin (n+1) → A.integralPositiveH 1, |
| 180 | (1 : ℚ_[q]) ⊗ₜ[ℤ_[q]] (IntegralComparison.GradedPositiveProduct.product A.integralPositiveCup n v) ≠ 0 := by |
| 181 | obtain ⟨v, hv⟩ := A.integralPositiveTopProduct j P n hn |
| 182 | refine ⟨v, ?_⟩ |
| 183 | intro hz |
| 184 | apply hv |
| 185 | rw [A.integralPositiveScalarMap_apply, hz, map_zero] |
| 186 | |
| 187 | end |
| 188 | |
| 189 | end OAI.NumberTheory.PadicHodge.GeometricComparison |