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.Isogenies.NeighborCounting.DualComparison |
| 2 | import Mathlib.CategoryTheory.Sites.LocallyBijective |
| 3 | |
| 4 | /-! # Poincare Local -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PoincareLocal |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Local isomorphisms of the independently specified Poincare bundles. |
| 11 | The covering sieve is derived from representability and sheafification; |
| 12 | no Poincare comparison is an input. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PicardMaps OAI.AlgebraicGeometry.Isogenies.NeighborCounting.DualComparison |
| 21 | |
| 22 | variable {S : Scheme.{u}} {a b : ℕ} |
| 23 | variable {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme a S} {B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme b S} |
| 24 | variable (DA : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) (DB : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData B) |
| 25 | |
| 26 | /-- The Poincare bundle pulled back along the original abelian morphism. -/ |
| 27 | def abelianPullClass (f : A.scheme ⟶ B.scheme) [IsMonHom f] : |
| 28 | A.homogeneousPicardPresheaf.obj (op DB.abelian.scheme) := |
| 29 | (PicardMaps.homogeneousPicardPull f).app (op DB.abelian.scheme) |
| 30 | ⟨AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf DB.poincare, DB.poincareHomogeneous⟩ |
| 31 | |
| 32 | /-- The independently specified Poincare bundle on the source dual, |
| 33 | pulled back along the dual map constructed by representability. -/ |
| 34 | def dualPullClass (f : A.scheme ⟶ B.scheme) [IsMonHom f] : |
| 35 | A.homogeneousPicardPresheaf.obj (op DB.abelian.scheme) := |
| 36 | A.homogeneousPicardPresheaf.map (DualComparison.dualMap DA DB f).op |
| 37 | ⟨AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf DA.poincare, DA.poincareHomogeneous⟩ |
| 38 | |
| 39 | theorem poincare_sheafification_eq (f : A.scheme ⟶ B.scheme) [IsMonHom f] : |
| 40 | (toSheafify (Scheme.fppfTopology.over S) A.homogeneousPicardPresheaf).app |
| 41 | (op DB.abelian.scheme) (abelianPullClass DB f) = |
| 42 | (toSheafify (Scheme.fppfTopology.over S) A.homogeneousPicardPresheaf).app |
| 43 | (op DB.abelian.scheme) (dualPullClass DA DB f) := by |
| 44 | let qB : B.homogeneousPicardPresheaf.obj (op DB.abelian.scheme) := |
| 45 | ⟨AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf DB.poincare, DB.poincareHomogeneous⟩ |
| 46 | have hn := ConcreteCategory.congr_hom |
| 47 | (NatTrans.congr_app (PicardMaps.homogeneousPicardPull_toSheaf f) (op DB.abelian.scheme)) qB |
| 48 | have hd := DualComparison.dualMap_action DA DB f (𝟙 DB.abelian.scheme) |
| 49 | rw [Category.id_comp, DB.universalClass] at hd |
| 50 | exact hn.trans (hd.symm.trans (DualComparison.representable_poincare DA (DualComparison.dualMap DA DB f))) |
| 51 | |
| 52 | /-- The actual fppf covering sieve where the two raw line-bundle classes agree. -/ |
| 53 | def poincareComparisonCover (f : A.scheme ⟶ B.scheme) [IsMonHom f] : |
| 54 | (Scheme.fppfTopology.over S).Cover DB.abelian.scheme := |
| 55 | ⟨Presheaf.equalizerSieve (F := A.homogeneousPicardPresheaf) |
| 56 | (X := op DB.abelian.scheme) (abelianPullClass DB f) (dualPullClass DA DB f), |
| 57 | Presheaf.equalizerSieve_mem (Scheme.fppfTopology.over S) |
| 58 | (toSheafify (Scheme.fppfTopology.over S) A.homogeneousPicardPresheaf) |
| 59 | _ _ (poincare_sheafification_eq DA DB f)⟩ |
| 60 | |
| 61 | theorem poincare_local_class_eq (f : A.scheme ⟶ B.scheme) [IsMonHom f] |
| 62 | {T : Over S} (t : T ⟶ DB.abelian.scheme) |
| 63 | (ht : (poincareComparisonCover DA DB f).1 t) : |
| 64 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (t ▷ A.scheme).left |
| 65 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (DB.abelian.scheme ◁ f).left |
| 66 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf DB.poincare)) = |
| 67 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (t ▷ A.scheme).left |
| 68 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (DualComparison.dualMap DA DB f ▷ A.scheme).left |
| 69 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf DA.poincare)) := |
| 70 | congrArg Subtype.val ht |
| 71 | |
| 72 | /-- Each member of the constructed cover carries an actual module-sheaf |
| 73 | isomorphism, before passing to either Picard sheafification. -/ |
| 74 | def poincareLocalIso (f : A.scheme ⟶ B.scheme) [IsMonHom f] |
| 75 | {T : Over S} (t : T ⟶ DB.abelian.scheme) |
| 76 | (ht : (poincareComparisonCover DA DB f).1 t) : |
| 77 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullback (t ▷ A.scheme).left |
| 78 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullback (DB.abelian.scheme ◁ f).left DB.poincare)).sheaf ≅ |
| 79 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullback (t ▷ A.scheme).left |
| 80 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullback (DualComparison.dualMap DA DB f ▷ A.scheme).left DA.poincare)).sheaf := |
| 81 | Classical.choice (Quotient.exact (poincare_local_class_eq DA DB f t ht)) |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PoincareLocal |