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.Picard.Homomorphisms.LineBundleClasses |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Picard.PicardSheaf |
| 3 | |
| 4 | /-! # Sheaf Maps -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.SheafMaps |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Homomorphisms: pullback and p-th tensor powers on the relative Picard sheaf |
| 12 | |
| 13 | All operations below are induced from pullback or tensor powers of actual |
| 14 | line bundles and then passed through fppf sheafification. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 19 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Picard.PicardSheaf |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | namespace Construction |
| 24 | |
| 25 | universe u |
| 26 | |
| 27 | variable {S : Scheme.{u}} {A B : Over S} |
| 28 | |
| 29 | def relativePicardPullbackPresheaf (f : A ⟶ B) : |
| 30 | AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf B ⟶ AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf A where |
| 31 | app T := TypeCat.ofHom (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (T.unop ◁ f).left) |
| 32 | naturality {T U} h := by |
| 33 | ext q |
| 34 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (U.unop ◁ f).left |
| 35 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (h.unop ▷ B).left q) = |
| 36 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (h.unop ▷ A).left |
| 37 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (T.unop ◁ f).left q) |
| 38 | rw [← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, ← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, |
| 39 | ← Over.comp_left, ← Over.comp_left, whisker_exchange] |
| 40 | |
| 41 | def relativePicardPullback (f : A ⟶ B) : AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardSheaf B ⟶ AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardSheaf A := |
| 42 | (presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1))).map |
| 43 | (relativePicardPullbackPresheaf f) |
| 44 | |
| 45 | theorem relativePicardPullback_toRelativePicard (f : A ⟶ B) : |
| 46 | AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard B ≫ (relativePicardPullback f).hom = |
| 47 | relativePicardPullbackPresheaf f ≫ AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A := |
| 48 | (toSheafify_naturality _ _).symm |
| 49 | |
| 50 | theorem relativePicardPullback_toRelativePicard_apply (f : A ⟶ B) (T : Over S) |
| 51 | (q : (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf B).obj (.op T)) : |
| 52 | (relativePicardPullback f).hom.app (.op T) ((AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard B).app (.op T) q) = |
| 53 | (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A).app (.op T) ((relativePicardPullbackPresheaf f).app (.op T) q) := |
| 54 | ConcreteCategory.congr_hom (NatTrans.congr_app (relativePicardPullback_toRelativePicard f) (.op T)) q |
| 55 | |
| 56 | variable (p : ℕ) (hp : p.Prime) (hS : (p : Γ(S, ⊤)) = 0) |
| 57 | |
| 58 | def relativePicardTensorPowerPresheaf (A : Over S) : |
| 59 | AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf A ⟶ AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf A where |
| 60 | app _ := TypeCat.ofHom (LineBundleClasses.Construction.tensorPowerClass p) |
| 61 | naturality {T U} h := by |
| 62 | ext q |
| 63 | exact (LineBundleClasses.Construction.tensorPowerClass_pullback p hp |
| 64 | (Frobenius.Construction.prime_eq_zero_of_map p hS (U.unop ⊗ A).hom) |
| 65 | (Frobenius.Construction.prime_eq_zero_of_map p hS (T.unop ⊗ A).hom) (h.unop ▷ A).left q).symm |
| 66 | |
| 67 | def relativePicardTensorPower (A : Over S) : AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardSheaf A ⟶ AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardSheaf A := |
| 68 | (presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1))).map |
| 69 | (relativePicardTensorPowerPresheaf p hp hS A) |
| 70 | |
| 71 | theorem relativePicardTensorPower_toRelativePicard (A : Over S) : |
| 72 | AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A ≫ (relativePicardTensorPower p hp hS A).hom = |
| 73 | relativePicardTensorPowerPresheaf p hp hS A ≫ AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A := |
| 74 | (toSheafify_naturality _ _).symm |
| 75 | |
| 76 | theorem relativePicardTensorPower_toRelativePicard_apply (A : Over S) (T : Over S) |
| 77 | (q : (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf A).obj (.op T)) : |
| 78 | (relativePicardTensorPower p hp hS A).hom.app (.op T) |
| 79 | ((AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A).app (.op T) q) = |
| 80 | (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A).app (.op T) (LineBundleClasses.Construction.tensorPowerClass p q) := |
| 81 | ConcreteCategory.congr_hom (NatTrans.congr_app |
| 82 | (relativePicardTensorPower_toRelativePicard p hp hS A) (.op T)) q |
| 83 | |
| 84 | theorem relativePicardTensorPowerPresheaf_pullback (f : A ⟶ B) : |
| 85 | relativePicardTensorPowerPresheaf p hp hS B ≫ relativePicardPullbackPresheaf f = |
| 86 | relativePicardPullbackPresheaf f ≫ relativePicardTensorPowerPresheaf p hp hS A := by |
| 87 | ext T q |
| 88 | exact LineBundleClasses.Construction.tensorPowerClass_pullback p hp |
| 89 | (Frobenius.Construction.prime_eq_zero_of_map p hS (T.unop ⊗ A).hom) |
| 90 | (Frobenius.Construction.prime_eq_zero_of_map p hS (T.unop ⊗ B).hom) (T.unop ◁ f).left q |
| 91 | |
| 92 | theorem relativePicardTensorPower_pullback (f : A ⟶ B) : |
| 93 | relativePicardTensorPower p hp hS B ≫ relativePicardPullback f = |
| 94 | relativePicardPullback f ≫ relativePicardTensorPower p hp hS A := by |
| 95 | let F := presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1)) |
| 96 | exact (F.map_comp _ _).symm.trans |
| 97 | ((congrArg F.map (relativePicardTensorPowerPresheaf_pullback p hp hS f)).trans |
| 98 | (F.map_comp _ _)) |
| 99 | |
| 100 | end Construction |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.SheafMaps |