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.Tensor.ProductBaseChange |
| 2 | |
| 3 | /-! # Line Bundles -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Tensor products of actual algebraic line bundles. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y : Scheme.{u}} |
| 16 | |
| 17 | /-- A trivialization remains a trivialization on every smaller open subscheme. -/ |
| 18 | def Line.Bundles.LineBundle.frameRestrict (L : Line.Bundles.LineBundle X) {U V : X.Opens} (h : U ≤ V) |
| 19 | (e : (Scheme.Modules.pullback V.ι).obj L.sheaf ≅ Line.Bundles.structureModule V.toScheme) : |
| 20 | (Scheme.Modules.pullback U.ι).obj L.sheaf ≅ Line.Bundles.structureModule U.toScheme := |
| 21 | (Scheme.Modules.pullbackCongr (X.homOfLE_ι h).symm).app L.sheaf ≪≫ |
| 22 | (Scheme.Modules.pullbackComp (X.homOfLE h) V.ι).symm.app L.sheaf ≪≫ |
| 23 | (Scheme.Modules.pullback (X.homOfLE h)).mapIso e ≪≫ Line.Bundles.structureModulePullbackIso (X.homOfLE h) |
| 24 | |
| 25 | /-- The tensor product of locally free rank-one sheaves is again a line bundle. -/ |
| 26 | def Line.Bundles.LineBundle.tensor (L M : Line.Bundles.LineBundle X) : Line.Bundles.LineBundle X where |
| 27 | sheaf := Tensor.ProductSheaf.tensorModule L.sheaf M.sheaf |
| 28 | locallyTrivial x := by |
| 29 | obtain ⟨U, hxU, ⟨e⟩⟩ := L.locallyTrivial x |
| 30 | obtain ⟨V, hxV, ⟨f⟩⟩ := M.locallyTrivial x |
| 31 | refine ⟨U ⊓ V, ⟨hxU, hxV⟩, ⟨?_⟩⟩ |
| 32 | exact Tensor.ProductBaseChange.tensorModulePullbackIso (U ⊓ V).ι L.sheaf M.sheaf ≪≫ |
| 33 | Tensor.ProductSheaf.tensorModuleCongr (L.frameRestrict inf_le_left e) (M.frameRestrict inf_le_right f) ≪≫ |
| 34 | Tensor.ProductSheaf.tensorModuleUnitLeftIso (Line.Bundles.structureModule (U ⊓ V).toScheme) |
| 35 | |
| 36 | /-- Tensor product of line-bundle classes is independent of the representatives. -/ |
| 37 | def Line.Bundles.LineBundle.tensorClass (q r : Line.Bundles.LineBundle.IsoClass X) : Line.Bundles.LineBundle.IsoClass X := |
| 38 | Quotient.liftOn₂ q r (fun L M => Line.Bundles.LineBundle.classOf (L.tensor M)) (by |
| 39 | intro L L' M M' ⟨e⟩ ⟨f⟩ |
| 40 | exact Quotient.sound ⟨Tensor.ProductSheaf.tensorModuleCongr e f⟩) |
| 41 | |
| 42 | theorem Line.Bundles.LineBundle.tensorClass_comm (q r : Line.Bundles.LineBundle.IsoClass X) : Line.Bundles.LineBundle.tensorClass q r = Line.Bundles.LineBundle.tensorClass r q := by |
| 43 | induction q using Quotient.inductionOn with |
| 44 | | h L => |
| 45 | induction r using Quotient.inductionOn with |
| 46 | | h M => exact Quotient.sound ⟨Tensor.ProductSheaf.tensorModuleCommIso L.sheaf M.sheaf⟩ |
| 47 | |
| 48 | @[simp] |
| 49 | theorem Line.Bundles.LineBundle.tensorClass_trivial_left (q : Line.Bundles.LineBundle.IsoClass X) : Line.Bundles.LineBundle.tensorClass (Line.Bundles.LineBundle.trivialClass X) q = q := by |
| 50 | induction q using Quotient.inductionOn with |
| 51 | | h L => exact Quotient.sound ⟨Tensor.ProductSheaf.tensorModuleUnitLeftIso L.sheaf⟩ |
| 52 | |
| 53 | @[simp] |
| 54 | theorem Line.Bundles.LineBundle.tensorClass_trivial_right (q : Line.Bundles.LineBundle.IsoClass X) : Line.Bundles.LineBundle.tensorClass q (Line.Bundles.LineBundle.trivialClass X) = q := |
| 55 | (Line.Bundles.LineBundle.tensorClass_comm _ _).trans (Line.Bundles.LineBundle.tensorClass_trivial_left q) |
| 56 | |
| 57 | /-- Restriction of tensor products is tensor product of restrictions. -/ |
| 58 | def Line.Bundles.LineBundle.tensorPullbackIso (f : X ⟶ Y) [IsOpenImmersion f] (L M : Line.Bundles.LineBundle Y) : |
| 59 | ((L.tensor M).pullback f).sheaf ≅ ((L.pullback f).tensor (M.pullback f)).sheaf := |
| 60 | Tensor.ProductBaseChange.tensorModulePullbackIso f L.sheaf M.sheaf |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |