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.Line.Bundles |
| 2 | import Mathlib.AlgebraicGeometry.Sites.Fpqc |
| 3 | import Mathlib.CategoryTheory.Sites.Over |
| 4 | import Mathlib.CategoryTheory.Sites.LeftExact |
| 5 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Over |
| 6 | |
| 7 | /-! # Picard Sheaf -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Picard.PicardSheaf |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | The underlying set-valued relative Picard sheaf. Its presheaf assigns to a |
| 15 | test scheme the isomorphism classes of actual line bundles on the base-changed |
| 16 | family; fppf sheafification removes locally trivial choices. No representing |
| 17 | scheme or existence theorem is assumed by this construction. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory _root_.AlgebraicGeometry |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {S : Scheme.{u}} |
| 25 | |
| 26 | /-- The total spaces of a family after varying its test scheme. -/ |
| 27 | def familySchemeFunctor (X : Over S) : Over S ⥤ Scheme.{u} := |
| 28 | tensorRight X ⋙ Over.forget S |
| 29 | |
| 30 | /-- Line-bundle classes on the base changes of a fixed family. -/ |
| 31 | def relativePicardPresheaf (X : Over S) : (Over S)ᵒᵖ ⥤ Type (u + 1) := |
| 32 | (familySchemeFunctor X).op ⋙ Line.Bundles.lineBundleClassFunctor |
| 33 | |
| 34 | /-- The underlying sheaf of sets of the relative fppf Picard sheaf. -/ |
| 35 | def relativePicardSheaf (X : Over S) : |
| 36 | Sheaf (Scheme.fppfTopology.over S) (Type (u + 1)) := |
| 37 | (presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1))).obj |
| 38 | (relativePicardPresheaf X) |
| 39 | |
| 40 | /-- The canonical map from actual line-bundle classes to the Picard sheaf. -/ |
| 41 | def toRelativePicard (X : Over S) : |
| 42 | relativePicardPresheaf X ⟶ (relativePicardSheaf X).obj := |
| 43 | toSheafify (Scheme.fppfTopology.over S) (relativePicardPresheaf X) |
| 44 | |
| 45 | /-- A section of the Picard sheaf over the test scheme `T`. -/ |
| 46 | abbrev PicardSections (X T : Over S) := (relativePicardSheaf X).obj.obj (.op T) |
| 47 | |
| 48 | /-- The zero class comes from the trivial line bundle. -/ |
| 49 | def trivialPicardClass (X T : Over S) : PicardSections X T := |
| 50 | (toRelativePicard X).app (.op T) |
| 51 | (Line.Bundles.LineBundle.trivialClass ((familySchemeFunctor X).obj T)) |
| 52 | |
| 53 | theorem toRelativePicard_naturality (X : Over S) {T U : Over S} (f : U ⟶ T) |
| 54 | (q : (relativePicardPresheaf X).obj (.op T)) : |
| 55 | (relativePicardSheaf X).obj.map f.op ((toRelativePicard X).app (.op T) q) = |
| 56 | (toRelativePicard X).app (.op U) ((relativePicardPresheaf X).map f.op q) := |
| 57 | ((toRelativePicard X).naturality_apply f.op q).symm |
| 58 | |
| 59 | @[simp] |
| 60 | theorem trivialPicardClass_naturality (X : Over S) {T U : Over S} (f : U ⟶ T) : |
| 61 | (relativePicardSheaf X).obj.map f.op (trivialPicardClass X T) = |
| 62 | trivialPicardClass X U := by |
| 63 | exact (toRelativePicard_naturality X f |
| 64 | (Line.Bundles.LineBundle.trivialClass ((familySchemeFunctor X).obj T))).trans |
| 65 | (congrArg (fun q : (relativePicardPresheaf X).obj (.op U) => |
| 66 | (toRelativePicard X).app (.op U) q) |
| 67 | (Line.Bundles.LineBundle.pullbackClass_trivial ((familySchemeFunctor X).map f))) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Picard.PicardSheaf |