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.Picard.PoincareBundle.Functor |
| 3 | |
| 4 | /-! # Picard Pullback -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.PicardPullback.Construction.IntrinsicPicardPullback |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Geometric Picard pullback in the native HilbertConstruction polarization model. These |
| 12 | maps use HilbertConstruction's actual line bundles and homogeneous Picard sheaf, so the |
| 13 | dual-map comparison does not assume a bridge to a different Picard model. |
| 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 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Dual.Data |
| 23 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Functor (familyMap familyMap_id familyMap_comp) |
| 24 | |
| 25 | variable {S : Scheme.{u}} {X Y Z : Over S} |
| 26 | |
| 27 | def pullbackPresheaf (f : X ⟶ Y) : AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf Y ⟶ AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf X where |
| 28 | app T := ↾(AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (Picard.PoincareBundle.Functor.familyMap f T.unop)) |
| 29 | naturality {T U} a := by |
| 30 | ext q |
| 31 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (Picard.PoincareBundle.Functor.familyMap f U.unop) |
| 32 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass ((AbelianModuli.HilbertConstruction.Picard.PicardSheaf.familySchemeFunctor Y).map a.unop) q) = |
| 33 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass ((AbelianModuli.HilbertConstruction.Picard.PicardSheaf.familySchemeFunctor X).map a.unop) |
| 34 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (Picard.PoincareBundle.Functor.familyMap f T.unop) q) |
| 35 | erw [← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, ← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp] |
| 36 | exact congrArg (fun g => AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass g q) |
| 37 | (Picard.PoincareBundle.Functor.familyMap_naturality f a.unop) |
| 38 | |
| 39 | theorem pullbackPresheaf_id : pullbackPresheaf (𝟙 X) = 𝟙 (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf X) := by |
| 40 | ext T q |
| 41 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (Picard.PoincareBundle.Functor.familyMap (𝟙 X) T.unop) q = q |
| 42 | erw [Picard.PoincareBundle.Functor.familyMap_id, AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_id] |
| 43 | |
| 44 | theorem pullbackPresheaf_comp (f : X ⟶ Y) (g : Y ⟶ Z) : |
| 45 | pullbackPresheaf (f ≫ g) = pullbackPresheaf g ≫ pullbackPresheaf f := by |
| 46 | ext T q |
| 47 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (Picard.PoincareBundle.Functor.familyMap (f ≫ g) T.unop) q = |
| 48 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (Picard.PoincareBundle.Functor.familyMap f T.unop) |
| 49 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (Picard.PoincareBundle.Functor.familyMap g T.unop) q) |
| 50 | erw [Picard.PoincareBundle.Functor.familyMap_comp, AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp] |
| 51 | |
| 52 | def pullbackSheaf (f : X ⟶ Y) : AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardSheaf Y ⟶ AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardSheaf X := |
| 53 | (presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1))).map (pullbackPresheaf f) |
| 54 | |
| 55 | theorem pullbackSheaf_toRelativePicard (f : X ⟶ Y) : |
| 56 | AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard Y ≫ (pullbackSheaf f).hom = pullbackPresheaf f ≫ AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard X := |
| 57 | (toSheafify_naturality _ (pullbackPresheaf f)).symm |
| 58 | |
| 59 | variable {g h k : ℕ} {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} {B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h S} {C : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme k S} |
| 60 | variable (f : A.scheme ⟶ B.scheme) [IsMonHom f] |
| 61 | |
| 62 | theorem translation_naturality {T : Over S} (a : T ⟶ A.scheme) : |
| 63 | A.translation a ≫ (𝟙 T ⊗ₘ f) = (𝟙 T ⊗ₘ f) ≫ B.translation (a ≫ f) := by |
| 64 | apply hom_ext <;> |
| 65 | simp [AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.translation, MonObj.mul_comp, MonObj.comp_mul, Category.assoc] |
| 66 | |
| 67 | theorem translation_pullback {T : Over S} (a : T ⟶ A.scheme) |
| 68 | (q : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass (T ⊗ B.scheme).left) : |
| 69 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (A.translation a).left |
| 70 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (Picard.PoincareBundle.Functor.familyMap f T) q) = |
| 71 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (Picard.PoincareBundle.Functor.familyMap f T) |
| 72 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (B.translation (a ≫ f)).left q) := by |
| 73 | rw [← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, ← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp] |
| 74 | exact congrArg (fun b => AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass b q) |
| 75 | (congrArg Over.Hom.left (translation_naturality f a)) |
| 76 | |
| 77 | theorem homogeneous_pullback {T : Over S} |
| 78 | {q : (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf B.scheme).obj (op T)} |
| 79 | (hq : B.IsHomogeneousPicardClass T q) : |
| 80 | A.IsHomogeneousPicardClass T ((pullbackPresheaf f).app (op T) q) := by |
| 81 | intro U a x |
| 82 | have hbase := (pullbackPresheaf f).naturality_apply a.op q |
| 83 | have hη (z : (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf B.scheme).obj (op U)) : |
| 84 | (pullbackSheaf f).hom.app (op U) ((AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard B.scheme).app (op U) z) = |
| 85 | (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A.scheme).app (op U) ((pullbackPresheaf f).app (op U) z) := |
| 86 | congrArg (fun b => b.app (op U) z) (pullbackSheaf_toRelativePicard f) |
| 87 | rw [← hbase] |
| 88 | change (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A.scheme).app (op U) |
| 89 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (A.translation x).left |
| 90 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (Picard.PoincareBundle.Functor.familyMap f U) |
| 91 | ((AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf B.scheme).map a.op q))) = _ |
| 92 | erw [translation_pullback f x] |
| 93 | exact (hη _).symm.trans |
| 94 | ((congrArg (fun z => (pullbackSheaf f).hom.app (op U) z) (hq U a (x ≫ f))).trans (hη _)) |
| 95 | |
| 96 | def pullbackHomogeneousPresheaf : B.homogeneousPicardPresheaf ⟶ A.homogeneousPicardPresheaf where |
| 97 | app T := ↾(fun q => ⟨(pullbackPresheaf f).app T q.val, homogeneous_pullback f q.property⟩) |
| 98 | naturality {T U} a := by |
| 99 | apply ConcreteCategory.ext_apply |
| 100 | intro q |
| 101 | apply Subtype.ext |
| 102 | exact (pullbackPresheaf f).naturality_apply a q.val |
| 103 | |
| 104 | def pullbackHomogeneousSheaf : B.homogeneousPicardSheaf ⟶ A.homogeneousPicardSheaf := |
| 105 | (presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1))).map (pullbackHomogeneousPresheaf f) |
| 106 | |
| 107 | theorem pullbackHomogeneousPresheaf_id : |
| 108 | pullbackHomogeneousPresheaf (𝟙 A.scheme) = 𝟙 A.homogeneousPicardPresheaf := by |
| 109 | apply NatTrans.ext |
| 110 | funext T |
| 111 | apply ConcreteCategory.ext_apply |
| 112 | intro q |
| 113 | apply Subtype.ext |
| 114 | exact congrArg (fun b => b.app T q.val) (pullbackPresheaf_id (X := A.scheme)) |
| 115 | |
| 116 | theorem pullbackHomogeneousPresheaf_comp (a : B.scheme ⟶ C.scheme) [IsMonHom a] : |
| 117 | pullbackHomogeneousPresheaf (f ≫ a) = |
| 118 | pullbackHomogeneousPresheaf a ≫ pullbackHomogeneousPresheaf f := by |
| 119 | apply NatTrans.ext |
| 120 | funext T |
| 121 | apply ConcreteCategory.ext_apply |
| 122 | intro q |
| 123 | apply Subtype.ext |
| 124 | exact congrArg (fun b => b.app T q.val) (pullbackPresheaf_comp f a) |
| 125 | |
| 126 | theorem pullbackHomogeneousSheaf_id : |
| 127 | pullbackHomogeneousSheaf (𝟙 A.scheme) = 𝟙 A.homogeneousPicardSheaf := by |
| 128 | dsimp only [pullbackHomogeneousSheaf] |
| 129 | erw [pullbackHomogeneousPresheaf_id] |
| 130 | exact (presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1))).map_id _ |
| 131 | |
| 132 | theorem pullbackHomogeneousSheaf_comp (a : B.scheme ⟶ C.scheme) [IsMonHom a] : |
| 133 | pullbackHomogeneousSheaf (f ≫ a) = |
| 134 | pullbackHomogeneousSheaf a ≫ pullbackHomogeneousSheaf f := by |
| 135 | dsimp only [pullbackHomogeneousSheaf] |
| 136 | erw [pullbackHomogeneousPresheaf_comp, CategoryTheory.Functor.map_comp] |
| 137 | rfl |
| 138 | |
| 139 | theorem pullbackHomogeneousSheaf_trivial (T : Over S) : |
| 140 | (pullbackHomogeneousSheaf f).hom.app (op T) (B.trivialHomogeneousPicardClass T) = |
| 141 | A.trivialHomogeneousPicardClass T := by |
| 142 | let b : B.homogeneousPicardPresheaf.obj (op T) := |
| 143 | ⟨AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass _, B.trivialClass_homogeneous T⟩ |
| 144 | let a : A.homogeneousPicardPresheaf.obj (op T) := |
| 145 | ⟨AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass _, A.trivialClass_homogeneous T⟩ |
| 146 | have hba : (pullbackHomogeneousPresheaf f).app (op T) b = a := by |
| 147 | apply Subtype.ext |
| 148 | exact AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_trivial (Picard.PoincareBundle.Functor.familyMap f T) |
| 149 | have h := congrArg (fun z => z.app (op T) b) |
| 150 | (toSheafify_naturality (Scheme.fppfTopology.over S) (pullbackHomogeneousPresheaf f)) |
| 151 | exact h.symm.trans (congrArg |
| 152 | (fun z => (toSheafify (Scheme.fppfTopology.over S) A.homogeneousPicardPresheaf).app (op T) z) hba) |
| 153 | |
| 154 | variable (DA : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) (DB : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData B) (DC : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData C) |
| 155 | |
| 156 | /-- The dual morphism is constructed from geometric Picard pullback. -/ |
| 157 | def dualMap : DB.abelian.scheme ⟶ DA.abelian.scheme := |
| 158 | DA.representable.homEquiv.symm ((pullbackHomogeneousSheaf f).hom.app (op DB.abelian.scheme) |
| 159 | (DB.representable.homEquiv (𝟙 DB.abelian.scheme))) |
| 160 | |
| 161 | theorem dualMap_action {T : Over S} (x : T ⟶ DB.abelian.scheme) : |
| 162 | DA.representable.homEquiv (x ≫ dualMap f DA DB) = |
| 163 | (pullbackHomogeneousSheaf f).hom.app (op T) (DB.representable.homEquiv x) := by |
| 164 | rw [DA.representable.homEquiv_comp] |
| 165 | dsimp only [dualMap] |
| 166 | rw [Equiv.apply_symm_apply] |
| 167 | rw [← (pullbackHomogeneousSheaf f).hom.naturality_apply x.op] |
| 168 | rw [← DB.representable.homEquiv_comp x (𝟙 DB.abelian.scheme), Category.comp_id] |
| 169 | |
| 170 | /-- The canonical dual map preserves the actual identity section. -/ |
| 171 | theorem dualMap_one (T : Over S) : |
| 172 | (1 : T ⟶ DB.abelian.scheme) ≫ dualMap f DA DB = 1 := by |
| 173 | apply DA.representable.homEquiv.injective |
| 174 | rw [dualMap_action, DB.origin, pullbackHomogeneousSheaf_trivial, DA.origin] |
| 175 | |
| 176 | theorem dualMap_unique (d : DB.abelian.scheme ⟶ DA.abelian.scheme) |
| 177 | (hd : ∀ (T : Over S) (x : T ⟶ DB.abelian.scheme), |
| 178 | DA.representable.homEquiv (x ≫ d) = |
| 179 | (pullbackHomogeneousSheaf f).hom.app (op T) (DB.representable.homEquiv x)) : |
| 180 | d = dualMap f DA DB := by |
| 181 | apply DA.representable.homEquiv.injective |
| 182 | exact (congrArg DA.representable.homEquiv (Category.id_comp d).symm).trans |
| 183 | ((hd _ (𝟙 _)).trans (dualMap_action f DA DB (𝟙 _)).symm) |
| 184 | |
| 185 | theorem dualMap_id : dualMap (𝟙 A.scheme) DA DA = 𝟙 DA.abelian.scheme := by |
| 186 | apply DA.representable.homEquiv.injective |
| 187 | dsimp only [dualMap] |
| 188 | rw [Equiv.apply_symm_apply, pullbackHomogeneousSheaf_id] |
| 189 | rfl |
| 190 | |
| 191 | theorem dualMap_comp (a : B.scheme ⟶ C.scheme) [IsMonHom a] : |
| 192 | dualMap (f ≫ a) DA DC = dualMap a DB DC ≫ dualMap f DA DB := by |
| 193 | symm |
| 194 | apply dualMap_unique (f ≫ a) DA DC |
| 195 | intro T x |
| 196 | rw [← Category.assoc, dualMap_action, dualMap_action] |
| 197 | exact (congrArg (fun b => b.hom.app (op T) (DC.representable.homEquiv x)) |
| 198 | (pullbackHomogeneousSheaf_comp f a)).symm |
| 199 | |
| 200 | end |
| 201 | |
| 202 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.PicardPullback.Construction.IntrinsicPicardPullback |