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.Finite.FlatTraceBasis |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.BasisStructureTrace |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.PullbackUnits |
| 4 | |
| 5 | /-! # Finite Flat Trace -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LocallyNoetherian.FiniteFlatTrace |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An actual normalized structure-sheaf trace for every finite flat map of constant invertible degree over a locally Noetherian base. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y : Scheme.{u}} [IsLocallyNoetherian X] |
| 16 | variable (f : Y ⟶ X) [IsFinite f] [Flat f] {n : ℕ} (hn : ∀ x, f.finrank x = n) |
| 17 | |
| 18 | def locallyNoetherianFiniteFlatStructureTrace (u : Γ(X, ⊤)ˣ) : |
| 19 | (Scheme.Modules.pushforward f).obj (Line.Bundles.structureModule Y) ⟶ Line.Bundles.structureModule X := |
| 20 | Affine.BasisStructureTrace.affineBasisStructureTrace f (Subtype.val : Finite.FlatTraceBasis.FiniteFlatTraceOpen f n → X.Opens) |
| 21 | (fun i => i.property.1) (fun i => i.property.1.preimage f) |
| 22 | (fun i => i.property.2.some) u (Finite.FlatTraceBasis.finiteFlatTraceOpen_isBasis f hn) |
| 23 | |
| 24 | theorem locallyNoetherianFiniteFlatStructureTrace_unit |
| 25 | (u : Γ(X, ⊤)ˣ) (hu : (u : Γ(X, ⊤)) = n) : |
| 26 | SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom ≫ |
| 27 | locallyNoetherianFiniteFlatStructureTrace f hn u = 𝟙 (Line.Bundles.structureModule X) := |
| 28 | Affine.BasisStructureTrace.affineBasisStructureTrace_unit f _ _ _ _ u _ hu |
| 29 | |
| 30 | include hn in |
| 31 | theorem locallyNoetherianFiniteFlat_structureUnit_splitMono |
| 32 | (u : Γ(X, ⊤)ˣ) (hu : (u : Γ(X, ⊤)) = n) : |
| 33 | IsSplitMono (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom) := |
| 34 | ⟨⟨locallyNoetherianFiniteFlatStructureTrace f hn u, |
| 35 | locallyNoetherianFiniteFlatStructureTrace_unit f hn u hu⟩⟩ |
| 36 | |
| 37 | include hn in |
| 38 | theorem locallyNoetherianFiniteFlat_pullbackStructureUnit_splitMono |
| 39 | (u : Γ(X, ⊤)ˣ) (hu : (u : Γ(X, ⊤)) = n) : |
| 40 | IsSplitMono ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app (Line.Bundles.structureModule X)) := by |
| 41 | refine ⟨⟨(Scheme.Modules.pushforward f).map (Line.Bundles.structureModulePullbackIso f).hom ≫ |
| 42 | locallyNoetherianFiniteFlatStructureTrace f hn u, ?_⟩⟩ |
| 43 | rw [← Category.assoc, Tensor.PullbackUnits.structureModulePullbackIso_unit] |
| 44 | exact locallyNoetherianFiniteFlatStructureTrace_unit f hn u hu |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LocallyNoetherian.FiniteFlatTrace |