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.PELModuli.IntegralModel.Relative.HomogeneousPicardEvaluation |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.DualGroupLaw |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.PicardFunctions |
| 4 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.PoincareDetection |
| 5 | |
| 6 | /-! # Poincare Eq -/ |
| 7 | |
| 8 | namespace OAI |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace AlgebraicGeometry.PELModuli.IntegralModel.Relative.PoincareEq.RelativePoincareClasses |
| 13 | open _root_.CategoryTheory |
| 14 | open _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory |
| 16 | open _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | open OAI.AlgebraicGeometry.Picard.Homomorphisms.PoincareDetection.Construction |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PoincareNormalization |
| 20 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.HomogeneousPicardEvaluation.RelativeNormalizedPicard |
| 21 | section |
| 22 | |
| 23 | /-! Actual normalized Poincare classes are additive in the specified |
| 24 | dual group law over reduced locally noetherian bases, on reduced |
| 25 | noetherian parameter schemes. Rigidity and effective descent prove it. -/ |
| 26 | |
| 27 | open Opposite |
| 28 | |
| 29 | variable {S : Scheme.{0}} [IsReduced S] [IsLocallyNoetherian S] {g : ℕ} |
| 30 | {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} (D : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) |
| 31 | {T : Over S} |
| 32 | |
| 33 | theorem representable_mul (a b : T ⟶ D.abelian.scheme) : |
| 34 | D.representable.homEquiv (a * b) = |
| 35 | D.representable.homEquiv a * D.representable.homEquiv b := by |
| 36 | have h : letI := Picard.Homomorphisms.CanonicalDualGroup.Construction.dualPicardGroup D |
| 37 | D.representable.homEquiv (a * b) = |
| 38 | D.representable.homEquiv a * D.representable.homEquiv b := by |
| 39 | let := Picard.Homomorphisms.CanonicalDualGroup.Construction.dualPicardGroup D |
| 40 | exact (Picard.Homomorphisms.CanonicalDualGroup.Construction.dualPicardGroupHomEquiv D T).map_mul a b |
| 41 | rw [DualGroupLaw.dualPicardGroup_eq_given_relative D] at h |
| 42 | exact h |
| 43 | |
| 44 | theorem poincareClass_mul (a b : T ⟶ D.abelian.scheme) : |
| 45 | Picard.Homomorphisms.PoincareDetection.Construction.poincareClass D (a * b) = Picard.Homomorphisms.PoincareDetection.Construction.poincareClass D a * Picard.Homomorphisms.PoincareDetection.Construction.poincareClass D b := by |
| 46 | have h := (congrArg (Picard.Homomorphisms.HomogeneousGroup.Construction.homogeneousPicardSheafInclusionHom A T) (representable_mul D a b)).trans |
| 47 | ((Picard.Homomorphisms.HomogeneousGroup.Construction.homogeneousPicardSheafInclusionHom A T).map_mul _ _) |
| 48 | simpa only [Picard.Homomorphisms.HomogeneousGroup.Construction.homogeneousPicardSheafInclusionHom_apply, ← Picard.Homomorphisms.PoincareDetection.Construction.poincareClass_eq_representation] using h |
| 49 | |
| 50 | def familyClass (t : T ⟶ D.abelian.scheme) : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass (T ⊗ A.scheme).left := |
| 51 | Picard.Homomorphisms.SchemePullback.Construction.schemePicardPullback (t ▷ A.scheme).left (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf D.poincare) |
| 52 | |
| 53 | omit [IsReduced S] [IsLocallyNoetherian S] in |
| 54 | theorem familyClass_zero (t : T ⟶ D.abelian.scheme) : |
| 55 | Picard.Homomorphisms.SchemePullback.Construction.schemePicardPullback (Isogenies.NeighborCounting.PoincareNormalization.familyZero A T).left (familyClass D t) = 1 := by |
| 56 | rw [familyClass, Picard.Inv.NormalizedPicard.zero_class_naturality] |
| 57 | have h : Picard.Homomorphisms.SchemePullback.Construction.schemePicardPullback (Isogenies.NeighborCounting.PoincareNormalization.familyZero A D.abelian.scheme).left |
| 58 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf D.poincare) = 1 := Quotient.sound D.normalizedAtAbelianZero |
| 59 | rw [h, map_one] |
| 60 | |
| 61 | variable [IsReduced T.left] [IsNoetherian T.left] |
| 62 | |
| 63 | theorem familyClass_mul (a b : T ⟶ D.abelian.scheme) : |
| 64 | familyClass D (a * b) = familyClass D a * familyClass D b := by |
| 65 | have hs : (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A.scheme).app (op T) (familyClass D (a * b)) = |
| 66 | (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A.scheme).app (op T) (familyClass D a * familyClass D b) := by |
| 67 | exact (poincareClass_mul D a b).trans |
| 68 | (Picard.Homomorphisms.RelativeGroup.Construction.toRelativePicard_mul A.scheme T (familyClass D a) (familyClass D b)).symm |
| 69 | have h := HomogeneousPicardEvaluation.RelativeNormalizedPicard.normalizedClass_eq_of_picard_eq A _ _ hs |
| 70 | have hab : Picard.Homomorphisms.SchemePullback.Construction.schemePicardPullback (Isogenies.NeighborCounting.PoincareNormalization.familyZero A T).left (familyClass D a * familyClass D b) = 1 := by |
| 71 | rw [map_mul, familyClass_zero, familyClass_zero, one_mul] |
| 72 | rw [Picard.Inv.NormalizedPicard.normalizedClass_eq_self A T _ (familyClass_zero D (a * b)), |
| 73 | Picard.Inv.NormalizedPicard.normalizedClass_eq_self A T _ hab] at h |
| 74 | exact h |
| 75 | |
| 76 | theorem familyClass_one : familyClass D (1 : T ⟶ D.abelian.scheme) = 1 := by |
| 77 | have h := familyClass_mul D (1 : T ⟶ D.abelian.scheme) 1 |
| 78 | rw [one_mul] at h |
| 79 | exact (mul_left_cancel ((mul_one _).trans h)).symm |
| 80 | |
| 81 | def familyClassHom : (T ⟶ D.abelian.scheme) →* AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass (T ⊗ A.scheme).left where |
| 82 | toFun := familyClass D |
| 83 | map_one' := familyClass_one D |
| 84 | map_mul' := familyClass_mul D |
| 85 | |
| 86 | end |
| 87 | |
| 88 | /-! The actual Poincare bundle on a varying family defines a bilinear |
| 89 | pairing of points with values in line-bundle classes on every reduced |
| 90 | noetherian parameter scheme. -/ |
| 91 | |
| 92 | variable {S : Scheme.{0}} [IsReduced S] [IsLocallyNoetherian S] {g : ℕ} |
| 93 | {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} (D : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) |
| 94 | {T : Over S} |
| 95 | |
| 96 | def pairClass (t : T ⟶ D.abelian.scheme) (a : T ⟶ A.scheme) : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass T.left := |
| 97 | Picard.Homomorphisms.SchemePullback.Construction.schemePicardPullback (lift t a).left (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf D.poincare) |
| 98 | |
| 99 | omit [IsReduced S] [IsLocallyNoetherian S] in |
| 100 | theorem pairClass_eq_evaluate (t : T ⟶ D.abelian.scheme) (a : T ⟶ A.scheme) : |
| 101 | pairClass D t a = HomogeneousPicardEvaluation.RelativeNormalizedPicard.evaluateClass A (familyClass D t) a := by |
| 102 | have h : HomogeneousPicardEvaluation.RelativeNormalizedPicard.evaluationSection A a ≫ (t ▷ A.scheme) = lift t a := by |
| 103 | apply hom_ext <;> simp [HomogeneousPicardEvaluation.RelativeNormalizedPicard.evaluationSection] |
| 104 | exact (congrArg (fun f => AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass f (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf D.poincare)) |
| 105 | (congrArg Over.Hom.left h).symm).trans |
| 106 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp (HomogeneousPicardEvaluation.RelativeNormalizedPicard.evaluationSection A a).left (t ▷ A.scheme).left |
| 107 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf D.poincare)) |
| 108 | |
| 109 | variable [IsReduced T.left] [IsNoetherian T.left] |
| 110 | |
| 111 | theorem pairClass_mul_left (s t : T ⟶ D.abelian.scheme) (a : T ⟶ A.scheme) : |
| 112 | pairClass D (s * t) a = pairClass D s a * pairClass D t a := by |
| 113 | simp only [pairClass_eq_evaluate, HomogeneousPicardEvaluation.RelativeNormalizedPicard.evaluateClass, familyClass_mul, map_mul] |
| 114 | |
| 115 | theorem pairClass_one_left (a : T ⟶ A.scheme) : pairClass D 1 a = 1 := by |
| 116 | rw [pairClass_eq_evaluate, HomogeneousPicardEvaluation.RelativeNormalizedPicard.evaluateClass, familyClass_one, map_one] |
| 117 | |
| 118 | omit [IsReduced S] [IsLocallyNoetherian S] in |
| 119 | theorem pairClass_mul_right (t : T ⟶ D.abelian.scheme) (a b : T ⟶ A.scheme) : |
| 120 | pairClass D t (a * b) = pairClass D t a * pairClass D t b := by |
| 121 | simp only [pairClass_eq_evaluate] |
| 122 | exact HomogeneousPicardEvaluation.RelativeNormalizedPicard.evaluateClass_mul A (familyClass D t) |
| 123 | (D.poincareHomogeneous.pullback A t) (familyClass_zero D t) a b |
| 124 | |
| 125 | omit [IsReduced S] [IsLocallyNoetherian S] [AlgebraicGeometry.IsReduced T.left] |
| 126 | [AlgebraicGeometry.IsNoetherian T.left] in |
| 127 | theorem pairClass_one_right (t : T ⟶ D.abelian.scheme) : pairClass D t 1 = 1 := by |
| 128 | rw [pairClass_eq_evaluate] |
| 129 | exact HomogeneousPicardEvaluation.RelativeNormalizedPicard.evaluateClass_one A (familyClass D t) (familyClass_zero D t) |
| 130 | |
| 131 | def pairLeftHom (a : T ⟶ A.scheme) : (T ⟶ D.abelian.scheme) →* AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass T.left where |
| 132 | toFun := fun t => pairClass D t a |
| 133 | map_one' := pairClass_one_left D a |
| 134 | map_mul' := fun s t => pairClass_mul_left D s t a |
| 135 | |
| 136 | def pairRightHom (t : T ⟶ D.abelian.scheme) : (T ⟶ A.scheme) →* AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass T.left where |
| 137 | toFun := pairClass D t |
| 138 | map_one' := pairClass_one_right D t |
| 139 | map_mul' := pairClass_mul_right D t |
| 140 | |
| 141 | theorem pairClass_pow_left (t : T ⟶ D.abelian.scheme) (a : T ⟶ A.scheme) (n : ℕ) : |
| 142 | pairClass D (t ^ n) a = pairClass D t a ^ n := (pairLeftHom D a).map_pow t n |
| 143 | |
| 144 | omit [IsReduced S] [IsLocallyNoetherian S] in |
| 145 | theorem pairClass_pow_right (t : T ⟶ D.abelian.scheme) (a : T ⟶ A.scheme) (n : ℕ) : |
| 146 | pairClass D t (a ^ n) = pairClass D t a ^ n := (pairRightHom D t).map_pow a n |
| 147 | |
| 148 | omit [IsReduced S] [IsLocallyNoetherian S] in |
| 149 | theorem pairClass_inv_right (t : T ⟶ D.abelian.scheme) (a : T ⟶ A.scheme) : |
| 150 | pairClass D t a⁻¹ = (pairClass D t a)⁻¹ := (pairRightHom D t).map_inv a |
| 151 | |
| 152 | end AlgebraicGeometry.PELModuli.IntegralModel.Relative.PoincareEq.RelativePoincareClasses |
| 153 | |
| 154 | namespace AlgebraicGeometry.PELModuli.IntegralModel.Relative.PoincareEq |
| 155 | |
| 156 | /-! Actual Poincare classes are additive in either operator on a varying |
| 157 | reduced noetherian family; the class on the dual factor detects the map. -/ |
| 158 | |
| 159 | set_option backward.isDefEq.respectTransparency false |
| 160 | set_option backward.isDefEq.respectTransparency.types false |
| 161 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 162 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 163 | open scoped _root_.CategoryTheory.MonObj |
| 164 | |
| 165 | namespace RelativePoincareClasses |
| 166 | open OAI.AlgebraicGeometry.Picard.Homomorphisms.PoincareDetection.Construction |
| 167 | |
| 168 | variable {S : Scheme.{0}} {g : ℕ} {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} (D : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) |
| 169 | |
| 170 | def leftOperatorClass (d : D.abelian.scheme ⟶ D.abelian.scheme) : |
| 171 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass (D.abelian.scheme ⊗ A.scheme).left := |
| 172 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (d ⊗ₘ 𝟙 A.scheme).left (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf D.poincare) |
| 173 | |
| 174 | def rightOperatorClass (u : A.scheme ⟶ A.scheme) : |
| 175 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass (D.abelian.scheme ⊗ A.scheme).left := |
| 176 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (𝟙 D.abelian.scheme ⊗ₘ u).left (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf D.poincare) |
| 177 | |
| 178 | theorem leftOperatorClass_eq_pair (d : D.abelian.scheme ⟶ D.abelian.scheme) : |
| 179 | leftOperatorClass D d = pairClass D (fst D.abelian.scheme A.scheme ≫ d) |
| 180 | (snd D.abelian.scheme A.scheme) := by |
| 181 | apply congrArg (fun v => AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass v (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf D.poincare)) |
| 182 | apply congrArg Over.Hom.left |
| 183 | ext <;> simp only [tensorHom_fst, tensorHom_snd, lift_fst, lift_snd, Category.comp_id] |
| 184 | |
| 185 | theorem rightOperatorClass_eq_pair (u : A.scheme ⟶ A.scheme) : |
| 186 | rightOperatorClass D u = pairClass D (fst D.abelian.scheme A.scheme) |
| 187 | (snd D.abelian.scheme A.scheme ≫ u) := by |
| 188 | apply congrArg (fun v => AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass v (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf D.poincare)) |
| 189 | apply congrArg Over.Hom.left |
| 190 | ext <;> simp only [tensorHom_fst, tensorHom_snd, lift_fst, lift_snd, Category.comp_id] |
| 191 | |
| 192 | theorem leftOperatorClass_injective : Function.Injective (leftOperatorClass D) := by |
| 193 | intro d e h |
| 194 | apply Picard.Homomorphisms.PoincareDetection.Construction.poincareClass_injective D D.abelian.scheme |
| 195 | have he := congrArg ((AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A.scheme).app (.op D.abelian.scheme)) h |
| 196 | simpa only [leftOperatorClass, Picard.Homomorphisms.PoincareDetection.Construction.poincareClass, tensorHom_id] using he |
| 197 | |
| 198 | variable [IsReduced S] [IsNoetherian S] |
| 199 | |
| 200 | local instance dualReduced : IsReduced D.abelian.scheme.left := by |
| 201 | have : GeometricallyReduced D.abelian.scheme.hom := |
| 202 | Quotients.FiniteDescent.SchemeSmooth.Construction.SchemeSmoothReduced.geometricallyReduced_of_smooth D.abelian.scheme.hom |
| 203 | exact GeometricallyReduced.isReduced_of_flat_of_isLocallyNoetherian D.abelian.scheme.hom |
| 204 | |
| 205 | local instance dualNoetherian : IsNoetherian D.abelian.scheme.left := by |
| 206 | let : IsLocallyNoetherian D.abelian.scheme.left := LocallyOfFiniteType.isLocallyNoetherian D.abelian.scheme.hom |
| 207 | let : CompactSpace D.abelian.scheme.left := QuasiCompact.compactSpace_of_compactSpace D.abelian.scheme.hom |
| 208 | exact ⟨⟩ |
| 209 | |
| 210 | local instance productReduced : IsReduced (D.abelian.scheme ⊗ A.scheme).left := |
| 211 | PicardFunctions.RelativePicardFunctions.product_isReduced A D.abelian.scheme |
| 212 | |
| 213 | local instance productNoetherian : IsNoetherian (D.abelian.scheme ⊗ A.scheme).left := |
| 214 | PicardFunctions.RelativePicardFunctions.product_isNoetherian A D.abelian.scheme |
| 215 | |
| 216 | theorem leftOperatorClass_mul (d e : D.abelian.scheme ⟶ D.abelian.scheme) : |
| 217 | leftOperatorClass D (d * e) = leftOperatorClass D d * leftOperatorClass D e := by |
| 218 | rw [leftOperatorClass_eq_pair, leftOperatorClass_eq_pair, leftOperatorClass_eq_pair, MonObj.comp_mul] |
| 219 | exact pairClass_mul_left D _ _ _ |
| 220 | |
| 221 | theorem rightOperatorClass_mul (u v : A.scheme ⟶ A.scheme) : |
| 222 | rightOperatorClass D (u * v) = rightOperatorClass D u * rightOperatorClass D v := by |
| 223 | rw [rightOperatorClass_eq_pair, rightOperatorClass_eq_pair, rightOperatorClass_eq_pair, MonObj.comp_mul] |
| 224 | exact pairClass_mul_right D _ _ _ |
| 225 | |
| 226 | end RelativePoincareClasses |
| 227 | |
| 228 | end AlgebraicGeometry.PELModuli.IntegralModel.Relative.PoincareEq |
| 229 | |
| 230 | end |
| 231 | |
| 232 | end OAI |