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 OAI.AlgebraicGeometry.SheafCohomology.Projective.Dual |
| 3 | |
| 4 | /-! # Dual Line -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.DualLine.Construction.DualLineBundle |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual sheaf dual of an FiniteDescent line bundle is again a line bundle. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X : Scheme.{u}} |
| 18 | |
| 19 | /-- Local frames for a line bundle also frame its sheaf of linear functionals. -/ |
| 20 | def dual (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X where |
| 21 | sheaf := SheafCohomology.Projective.Dual.Scheme.Modules.dualObj L.sheaf |
| 22 | locallyTrivial x := by |
| 23 | obtain ⟨U, hx, ⟨e⟩⟩ := L.locallyTrivial x |
| 24 | refine ⟨U, hx, ⟨?_⟩⟩ |
| 25 | exact SheafCohomology.Projective.Invertible.Scheme.Modules.pullbackIsoOfRestrictIso _ U |
| 26 | (SheafCohomology.Projective.Dual.Scheme.Modules.dualRestrictIsoOfRestrictIso L.sheaf U |
| 27 | (SheafCohomology.Projective.Invertible.Scheme.Modules.restrictIsoOfPullbackIso L.sheaf U e)) |
| 28 | |
| 29 | /-- Dualization respects isomorphisms of line bundles. -/ |
| 30 | def congr {L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X} (e : L.sheaf ≅ M.sheaf) : |
| 31 | (dual M).sheaf ≅ (dual L).sheaf := |
| 32 | SheafCohomology.Projective.Dual.Scheme.Modules.dualIsoObj e |
| 33 | |
| 34 | /-- The dual of the trivial line bundle is trivial. -/ |
| 35 | def unitIso : (dual (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial X)).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X := |
| 36 | SheafCohomology.Projective.Dual.Scheme.Modules.dualUnitObjIso |
| 37 | |
| 38 | /-- Duals of isomorphic bundles determine the same line-bundle class. -/ |
| 39 | def dualClass (q : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass X) : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass X := |
| 40 | Quotient.liftOn q (fun L => AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (dual L)) (by |
| 41 | intro L M ⟨e⟩ |
| 42 | exact Quotient.sound ⟨congr e.symm⟩) |
| 43 | |
| 44 | theorem dualClass_trivial : |
| 45 | dualClass (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass X) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass X := |
| 46 | Quotient.sound ⟨unitIso⟩ |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.DualLine.Construction.DualLineBundle |