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.Dual.Data |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.BaseChange |
| 3 | |
| 4 | /-! # Picard Maps -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PicardMaps |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Contravariant Picard maps from actual group-scheme morphisms. Pullback of |
| 12 | line bundles preserves homogeneity because it intertwines translations. |
| 13 | This constructs the dual-functor input for the polarization comparison. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {S : Scheme.{u}} {X Y Z : Over S} |
| 23 | |
| 24 | def familyMorphism (f : X ⟶ Y) : AbelianModuli.HilbertConstruction.Picard.PicardSheaf.familySchemeFunctor X ⟶ AbelianModuli.HilbertConstruction.Picard.PicardSheaf.familySchemeFunctor Y := |
| 25 | Functor.whiskerRight ((tensoringRight (Over S)).map f) (Over.forget S) |
| 26 | |
| 27 | def picardPull (f : X ⟶ Y) : AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf Y ⟶ AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf X := |
| 28 | Functor.whiskerRight (NatTrans.op (familyMorphism f)) AbelianModuli.HilbertConstruction.Line.Bundles.lineBundleClassFunctor |
| 29 | |
| 30 | theorem picardPull_apply (f : X ⟶ Y) (T : Over S) |
| 31 | (q : (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf Y).obj (op T)) : |
| 32 | (picardPull f).app (op T) q = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (T ◁ f).left q := rfl |
| 33 | |
| 34 | def picardSheafPull (f : X ⟶ Y) : AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardSheaf Y ⟶ AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardSheaf X := |
| 35 | (presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1))).map (picardPull f) |
| 36 | |
| 37 | theorem picardPull_toSheaf (f : X ⟶ Y) : |
| 38 | picardPull f ≫ AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard X = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard Y ≫ (picardSheafPull f).hom := |
| 39 | toSheafify_naturality (Scheme.fppfTopology.over S) (picardPull f) |
| 40 | |
| 41 | theorem picardPull_toSheaf_apply (f : X ⟶ Y) (T : Over S) |
| 42 | (q : (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf Y).obj (op T)) : |
| 43 | (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard X).app (op T) (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (T ◁ f).left q) = |
| 44 | (picardSheafPull f).hom.app (op T) ((AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard Y).app (op T) q) := |
| 45 | ConcreteCategory.congr_hom (NatTrans.congr_app (picardPull_toSheaf f) (op T)) q |
| 46 | |
| 47 | variable {d e : ℕ} {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d S} {B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme e S} |
| 48 | |
| 49 | theorem translation_hom_naturality (f : A.scheme ⟶ B.scheme) [IsMonHom f] |
| 50 | (T : Over S) (a : T ⟶ A.scheme) : |
| 51 | A.translation a ≫ (T ◁ f) = (T ◁ f) ≫ B.translation (a ≫ f) := by |
| 52 | apply hom_ext |
| 53 | · simp only [Category.assoc, whiskerLeft_fst, AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.translation_fst] |
| 54 | · simp only [Category.assoc, whiskerLeft_snd, AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.translation_snd] |
| 55 | rw [← Category.assoc, AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.translation_snd, MonObj.mul_comp] |
| 56 | simp only [MonObj.comp_mul, ← Category.assoc, whiskerLeft_fst, whiskerLeft_snd] |
| 57 | |
| 58 | theorem translationClass_hom_naturality (f : A.scheme ⟶ B.scheme) [IsMonHom f] |
| 59 | (T : Over S) (a : T ⟶ A.scheme) |
| 60 | (q : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass (T ⊗ B.scheme).left) : |
| 61 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (A.translation a).left |
| 62 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (T ◁ f).left q) = |
| 63 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (T ◁ f).left |
| 64 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (B.translation (a ≫ f)).left q) := by |
| 65 | have ht : (A.translation a).left ≫ (T ◁ f).left = |
| 66 | (T ◁ f).left ≫ (B.translation (a ≫ f)).left := |
| 67 | congrArg (fun z : T ⊗ A.scheme ⟶ T ⊗ B.scheme => z.left) |
| 68 | (translation_hom_naturality f T a) |
| 69 | exact (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp (A.translation a).left (T ◁ f).left q).symm.trans |
| 70 | ((congrArg (fun z : (T ⊗ A.scheme).left ⟶ (T ⊗ B.scheme).left => |
| 71 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass z q) ht).trans |
| 72 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp (T ◁ f).left |
| 73 | (B.translation (a ≫ f)).left q)) |
| 74 | |
| 75 | theorem picardPull_homogeneous (f : A.scheme ⟶ B.scheme) [IsMonHom f] |
| 76 | (T : Over S) (q : (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf B.scheme).obj (op T)) |
| 77 | (hq : B.IsHomogeneousPicardClass T q) : |
| 78 | A.IsHomogeneousPicardClass T ((picardPull f).app (op T) q) := by |
| 79 | intro U t a |
| 80 | have hn := ((picardPull f).naturality_apply t.op q).symm |
| 81 | change (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf A.scheme).map t.op ((picardPull f).app (op T) q) = |
| 82 | (picardPull f).app (op U) ((AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf B.scheme).map t.op q) at hn |
| 83 | rw [hn] |
| 84 | let qU : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass (U ⊗ B.scheme).left := |
| 85 | (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf B.scheme).map t.op q |
| 86 | change (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A.scheme).app (op U) |
| 87 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (A.translation a).left |
| 88 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (U ◁ f).left qU)) = |
| 89 | (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A.scheme).app (op U) |
| 90 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (U ◁ f).left qU) |
| 91 | exact (congrArg ((AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A.scheme).app (op U)) |
| 92 | (translationClass_hom_naturality f U a qU)).trans |
| 93 | ((picardPull_toSheaf_apply f U |
| 94 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (B.translation (a ≫ f)).left qU)).trans |
| 95 | ((congrArg ((picardSheafPull f).hom.app (op U)) (hq U t (a ≫ f))).trans |
| 96 | (picardPull_toSheaf_apply f U qU).symm)) |
| 97 | |
| 98 | def homogeneousPicardPull (f : A.scheme ⟶ B.scheme) [IsMonHom f] : |
| 99 | B.homogeneousPicardPresheaf ⟶ A.homogeneousPicardPresheaf where |
| 100 | app T := TypeCat.ofHom fun q => |
| 101 | ⟨(picardPull f).app T q.val, picardPull_homogeneous f T.unop q.val q.property⟩ |
| 102 | naturality := by |
| 103 | intro T U t |
| 104 | apply ConcreteCategory.ext_apply |
| 105 | intro q |
| 106 | apply Subtype.ext |
| 107 | exact (picardPull f).naturality_apply t q.val |
| 108 | |
| 109 | def homogeneousPicardSheafPull (f : A.scheme ⟶ B.scheme) [IsMonHom f] : |
| 110 | B.homogeneousPicardSheaf ⟶ A.homogeneousPicardSheaf := |
| 111 | (presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1))).map |
| 112 | (homogeneousPicardPull f) |
| 113 | |
| 114 | theorem picardPull_id (X : Over S) : picardPull (𝟙 X) = 𝟙 (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf X) := by |
| 115 | ext T q |
| 116 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (T.unop ◁ 𝟙 X).left q = q |
| 117 | rw [MonoidalCategory.whiskerLeft_id] |
| 118 | exact AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_id q |
| 119 | |
| 120 | theorem picardPull_comp (f : X ⟶ Y) (g : Y ⟶ Z) : |
| 121 | picardPull g ≫ picardPull f = picardPull (f ≫ g) := by |
| 122 | ext T q |
| 123 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (T.unop ◁ f).left |
| 124 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (T.unop ◁ g).left q) = |
| 125 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (T.unop ◁ (f ≫ g)).left q |
| 126 | rw [MonoidalCategory.whiskerLeft_comp, Over.comp_left] |
| 127 | exact (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp _ _ _).symm |
| 128 | |
| 129 | theorem homogeneousPicardPull_id (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d S) : |
| 130 | homogeneousPicardPull (𝟙 A.scheme) = 𝟙 A.homogeneousPicardPresheaf := by |
| 131 | ext T q |
| 132 | apply Subtype.ext |
| 133 | exact ConcreteCategory.congr_hom (NatTrans.congr_app (picardPull_id A.scheme) T) q.val |
| 134 | |
| 135 | theorem homogeneousPicardPull_comp {c : ℕ} {C : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme c S} |
| 136 | (f : A.scheme ⟶ B.scheme) (g : B.scheme ⟶ C.scheme) [IsMonHom f] [IsMonHom g] : |
| 137 | homogeneousPicardPull g ≫ homogeneousPicardPull f = homogeneousPicardPull (f ≫ g) := by |
| 138 | ext T q |
| 139 | apply Subtype.ext |
| 140 | exact ConcreteCategory.congr_hom (NatTrans.congr_app (picardPull_comp f g) T) q.val |
| 141 | |
| 142 | def homogeneousPicardIso (e : A.scheme ≅ B.scheme) [IsMonHom e.hom] : |
| 143 | B.homogeneousPicardSheaf ≅ A.homogeneousPicardSheaf := |
| 144 | (presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1))).mapIso { |
| 145 | hom := homogeneousPicardPull e.hom |
| 146 | inv := homogeneousPicardPull e.inv |
| 147 | hom_inv_id := by simp only [homogeneousPicardPull_comp, e.inv_hom_id, homogeneousPicardPull_id] |
| 148 | inv_hom_id := by simp only [homogeneousPicardPull_comp, e.hom_inv_id, homogeneousPicardPull_id] } |
| 149 | |
| 150 | theorem homogeneousPicardSheafPull_id (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d S) : |
| 151 | homogeneousPicardSheafPull (𝟙 A.scheme) = 𝟙 A.homogeneousPicardSheaf := by |
| 152 | let F := presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1)) |
| 153 | exact (congrArg F.map (homogeneousPicardPull_id A)).trans (F.map_id _) |
| 154 | |
| 155 | theorem homogeneousPicardSheafPull_comp {c : ℕ} {C : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme c S} |
| 156 | (f : A.scheme ⟶ B.scheme) (g : B.scheme ⟶ C.scheme) [IsMonHom f] [IsMonHom g] : |
| 157 | homogeneousPicardSheafPull g ≫ homogeneousPicardSheafPull f = |
| 158 | homogeneousPicardSheafPull (f ≫ g) := by |
| 159 | let F := presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1)) |
| 160 | exact (F.map_comp (homogeneousPicardPull g) (homogeneousPicardPull f)).symm.trans |
| 161 | (congrArg F.map (homogeneousPicardPull_comp f g)) |
| 162 | |
| 163 | theorem homogeneousPicardPull_toSheaf (f : A.scheme ⟶ B.scheme) [IsMonHom f] : |
| 164 | homogeneousPicardPull f ≫ toSheafify (Scheme.fppfTopology.over S) |
| 165 | A.homogeneousPicardPresheaf = |
| 166 | toSheafify (Scheme.fppfTopology.over S) B.homogeneousPicardPresheaf ≫ |
| 167 | (homogeneousPicardSheafPull f).hom := |
| 168 | toSheafify_naturality (Scheme.fppfTopology.over S) (homogeneousPicardPull f) |
| 169 | |
| 170 | theorem homogeneousPicardSheafPull_trivial |
| 171 | (f : A.scheme ⟶ B.scheme) [IsMonHom f] (T : Over S) : |
| 172 | (homogeneousPicardSheafPull f).hom.app (op T) |
| 173 | (B.trivialHomogeneousPicardClass T) = A.trivialHomogeneousPicardClass T := by |
| 174 | let q : B.homogeneousPicardPresheaf.obj (op T) := |
| 175 | ⟨AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass _, B.trivialClass_homogeneous T⟩ |
| 176 | have h := ConcreteCategory.congr_hom |
| 177 | (NatTrans.congr_app (homogeneousPicardPull_toSheaf f) (op T)) q |
| 178 | have hq : (homogeneousPicardPull f).app (op T) q = |
| 179 | ⟨AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass _, A.trivialClass_homogeneous T⟩ := |
| 180 | Subtype.ext (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_trivial (T ◁ f).left) |
| 181 | exact h.symm.trans (congrArg |
| 182 | ((toSheafify (Scheme.fppfTopology.over S) A.homogeneousPicardPresheaf).app (op T)) hq) |
| 183 | |
| 184 | end |
| 185 | |
| 186 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PicardMaps |