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.AbelianModuli.HilbertConstruction.Abelian.Schemes |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Picard.PicardSheaf |
| 3 | |
| 4 | /-! # Picard -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Translation-invariant classes in the relative Picard sheaf of an abelian |
| 12 | scheme. Invariance is imposed in the relative Picard sheaf, so a line bundle |
| 13 | pulled back from the test base is not mistaken for nontrivial relative data. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {g : ℕ} {S : Scheme.{u}} |
| 23 | |
| 24 | /-- Translation by a test-scheme point, with the test-scheme coordinate fixed. -/ |
| 25 | def Abelian.Schemes.AbelianScheme.translation (A : Abelian.Schemes.AbelianScheme g S) {T : Over S} (a : T ⟶ A.scheme) : |
| 26 | T ⊗ A.scheme ⟶ T ⊗ A.scheme := |
| 27 | lift (fst T A.scheme) ((fst T A.scheme ≫ a) * snd T A.scheme) |
| 28 | |
| 29 | @[simp] |
| 30 | theorem Abelian.Schemes.AbelianScheme.translation_fst (A : Abelian.Schemes.AbelianScheme g S) {T : Over S} (a : T ⟶ A.scheme) : |
| 31 | A.translation a ≫ fst T A.scheme = fst T A.scheme := by |
| 32 | simp [Abelian.Schemes.AbelianScheme.translation] |
| 33 | |
| 34 | @[simp] |
| 35 | theorem Abelian.Schemes.AbelianScheme.translation_snd (A : Abelian.Schemes.AbelianScheme g S) {T : Over S} (a : T ⟶ A.scheme) : |
| 36 | A.translation a ≫ snd T A.scheme = (fst T A.scheme ≫ a) * snd T A.scheme := by |
| 37 | simp [Abelian.Schemes.AbelianScheme.translation] |
| 38 | |
| 39 | @[simp] |
| 40 | theorem Abelian.Schemes.AbelianScheme.translation_one (A : Abelian.Schemes.AbelianScheme g S) (T : Over S) : |
| 41 | A.translation (1 : T ⟶ A.scheme) = 𝟙 (T ⊗ A.scheme) := by |
| 42 | simp [Abelian.Schemes.AbelianScheme.translation] |
| 43 | |
| 44 | /-- A line-bundle class is homogeneous if every translate of each of its |
| 45 | base changes has the same relative Picard class. -/ |
| 46 | def Abelian.Schemes.AbelianScheme.IsHomogeneousPicardClass (A : Abelian.Schemes.AbelianScheme g S) (T : Over S) |
| 47 | (q : (Picard.PicardSheaf.relativePicardPresheaf A.scheme).obj (.op T)) : Prop := |
| 48 | ∀ (U : Over S) (f : U ⟶ T) (a : U ⟶ A.scheme), |
| 49 | (Picard.PicardSheaf.toRelativePicard A.scheme).app (.op U) |
| 50 | (Line.Bundles.LineBundle.pullbackClass (A.translation a).left |
| 51 | ((Picard.PicardSheaf.relativePicardPresheaf A.scheme).map f.op q)) = |
| 52 | (Picard.PicardSheaf.toRelativePicard A.scheme).app (.op U) |
| 53 | ((Picard.PicardSheaf.relativePicardPresheaf A.scheme).map f.op q) |
| 54 | |
| 55 | theorem Abelian.Schemes.AbelianScheme.IsHomogeneousPicardClass.pullback (A : Abelian.Schemes.AbelianScheme g S) |
| 56 | {T U : Over S} {q : (Picard.PicardSheaf.relativePicardPresheaf A.scheme).obj (.op T)} |
| 57 | (hq : A.IsHomogeneousPicardClass T q) (f : U ⟶ T) : |
| 58 | A.IsHomogeneousPicardClass U ((Picard.PicardSheaf.relativePicardPresheaf A.scheme).map f.op q) := by |
| 59 | intro V h a |
| 60 | simpa only [op_comp, Functor.map_comp_apply] using hq V (h ≫ f) a |
| 61 | |
| 62 | /-- Trivial line bundles give homogeneous relative Picard classes. -/ |
| 63 | theorem Abelian.Schemes.AbelianScheme.trivialClass_homogeneous (A : Abelian.Schemes.AbelianScheme g S) (T : Over S) : |
| 64 | A.IsHomogeneousPicardClass T |
| 65 | (Line.Bundles.LineBundle.trivialClass ((Picard.PicardSheaf.familySchemeFunctor A.scheme).obj T)) := by |
| 66 | intro U f a |
| 67 | apply congrArg (fun q : (Picard.PicardSheaf.relativePicardPresheaf A.scheme).obj (.op U) => |
| 68 | (Picard.PicardSheaf.toRelativePicard A.scheme).app (.op U) q) |
| 69 | have h := Line.Bundles.LineBundle.pullbackClass_trivial ((Picard.PicardSheaf.familySchemeFunctor A.scheme).map f) |
| 70 | exact (congrArg (Line.Bundles.LineBundle.pullbackClass (A.translation a).left) h).trans |
| 71 | ((Line.Bundles.LineBundle.pullbackClass_trivial (A.translation a).left).trans h.symm) |
| 72 | |
| 73 | /-- The presheaf of homogeneous line-bundle classes. -/ |
| 74 | def Abelian.Schemes.AbelianScheme.homogeneousPicardPresheaf (A : Abelian.Schemes.AbelianScheme g S) : |
| 75 | (Over S)ᵒᵖ ⥤ Type (u + 1) where |
| 76 | obj T := {q : (Picard.PicardSheaf.relativePicardPresheaf A.scheme).obj T // |
| 77 | A.IsHomogeneousPicardClass T.unop q} |
| 78 | map f := TypeCat.ofHom fun q => |
| 79 | ⟨(Picard.PicardSheaf.relativePicardPresheaf A.scheme).map f q.val, q.property.pullback A f.unop⟩ |
| 80 | map_id T := by |
| 81 | apply ConcreteCategory.ext_apply |
| 82 | intro q |
| 83 | apply Subtype.ext |
| 84 | exact (Picard.PicardSheaf.relativePicardPresheaf A.scheme).map_id_apply T q.val |
| 85 | map_comp f h := by |
| 86 | apply ConcreteCategory.ext_apply |
| 87 | intro q |
| 88 | apply Subtype.ext |
| 89 | exact (Picard.PicardSheaf.relativePicardPresheaf A.scheme).map_comp_apply f h q.val |
| 90 | |
| 91 | /-- Forget the homogeneity condition. -/ |
| 92 | def Abelian.Schemes.AbelianScheme.homogeneousPicardInclusion (A : Abelian.Schemes.AbelianScheme g S) : |
| 93 | A.homogeneousPicardPresheaf ⟶ Picard.PicardSheaf.relativePicardPresheaf A.scheme where |
| 94 | app _ := TypeCat.ofHom Subtype.val |
| 95 | naturality {T U} f := by |
| 96 | apply ConcreteCategory.ext_apply |
| 97 | intro q |
| 98 | rfl |
| 99 | |
| 100 | /-- The fppf sheaf of homogeneous line-bundle classes. -/ |
| 101 | def Abelian.Schemes.AbelianScheme.homogeneousPicardSheaf (A : Abelian.Schemes.AbelianScheme g S) : |
| 102 | Sheaf (Scheme.fppfTopology.over S) (Type (u + 1)) := |
| 103 | (presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1))).obj |
| 104 | A.homogeneousPicardPresheaf |
| 105 | |
| 106 | /-- The identity section of the homogeneous Picard sheaf. -/ |
| 107 | def Abelian.Schemes.AbelianScheme.trivialHomogeneousPicardClass (A : Abelian.Schemes.AbelianScheme g S) (T : Over S) : |
| 108 | A.homogeneousPicardSheaf.obj.obj (.op T) := |
| 109 | (toSheafify (Scheme.fppfTopology.over S) A.homogeneousPicardPresheaf).app (.op T) |
| 110 | ⟨Line.Bundles.LineBundle.trivialClass ((Picard.PicardSheaf.familySchemeFunctor A.scheme).obj T), |
| 111 | A.trivialClass_homogeneous T⟩ |
| 112 | |
| 113 | /-- The homogeneous Picard sheaf maps canonically to the full Picard sheaf. -/ |
| 114 | def Abelian.Schemes.AbelianScheme.homogeneousPicardSheafInclusion (A : Abelian.Schemes.AbelianScheme g S) : |
| 115 | A.homogeneousPicardSheaf ⟶ Picard.PicardSheaf.relativePicardSheaf A.scheme := |
| 116 | (presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1))).map |
| 117 | A.homogeneousPicardInclusion |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |