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.DivisorClass.Chern.Line.Bundles |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.SmoothProjectiveDecomposition |
| 3 | |
| 4 | /-! # Open Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # ChernClass: restriction of actual algebraic line bundles to open subschemes |
| 12 | |
| 13 | The restricted local trivializations are obtained using the genuine restriction |
| 14 | functors and their composition isomorphisms. In particular this restricts a |
| 15 | line bundle to each actual integral component of a smooth projective scheme. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | set_option backward.defeqAttrib.useBackward true |
| 23 | |
| 24 | namespace Open.OpenRestriction.Construction |
| 25 | |
| 26 | /-- Pull a genuine local frame back along an open immersion. -/ |
| 27 | def restrictFrameAlongOpen {X Y : Scheme} (f : Y ⟶ X) [IsOpenImmersion f] |
| 28 | (M : X.Modules) (U : X.Opens) (e : M.restrict U.ι ≅ Line.Bundles.Construction.structureModule U.toScheme) : |
| 29 | (M.restrict f).restrict (f ⁻¹ᵁ U).ι ≅ Line.Bundles.Construction.structureModule (f ⁻¹ᵁ U).toScheme := |
| 30 | ((Scheme.Modules.restrictFunctorComp (f ⁻¹ᵁ U).ι f).app M).symm ≪≫ |
| 31 | (Scheme.Modules.restrictFunctorCongr (morphismRestrict_ι f U).symm).app M ≪≫ |
| 32 | (Scheme.Modules.restrictFunctorComp (f ∣_ U) U.ι).app M ≪≫ |
| 33 | (Scheme.Modules.restrictFunctor (f ∣_ U)).mapIso e ≪≫ Scheme.Modules.restrictUnitIso (f ∣_ U) |
| 34 | |
| 35 | end Open.OpenRestriction.Construction |
| 36 | |
| 37 | variable {X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (L : Line.Bundles.AlgebraicLineBundle X) |
| 38 | |
| 39 | /-- Restriction of the actual module sheaf, with its induced rank-one local frames. -/ |
| 40 | def Line.Bundles.AlgebraicLineBundle.restrictToOpen (Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (f : Y.carrier ⟶ X.carrier) |
| 41 | [IsOpenImmersion f] : Line.Bundles.AlgebraicLineBundle Y where |
| 42 | sheaf := L.sheaf.restrict f |
| 43 | locallyTrivial y := ⟨f ⁻¹ᵁ L.trivializingOpen (f y), L.mem_trivializingOpen (f y), |
| 44 | ⟨Open.OpenRestriction.Construction.restrictFrameAlongOpen f L.sheaf (L.trivializingOpen (f y)) (L.trivialization (f y))⟩⟩ |
| 45 | |
| 46 | /-- The actual line bundle on an integral component of the original scheme. -/ |
| 47 | def Line.Bundles.AlgebraicLineBundle.componentLineBundle (C : irreducibleComponents X.carrier) : |
| 48 | Line.Bundles.AlgebraicLineBundle (X.componentVariety C).presentation := |
| 49 | L.restrictToOpen (X.componentVariety C).presentation (X.componentInclusion C) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.DivisorClass.Chern |