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.Section.SectionRestriction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.Nonvanishing |
| 3 | import OAI.RepresentationTheory.Theta.Geometric.Pullback.Algebraic |
| 4 | |
| 5 | /-! # Nonvanishing Functor Comparison -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.NonvanishingFunctorComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Nonvanishing is invariant under the canonical comparison of module |
| 12 | functors and their structure-module frames. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem sectionNonvanishing_functorComparison {X Y : Scheme.{u}} |
| 20 | (F G : Y.Modules ⥤ X.Modules) (e : F ≅ G) |
| 21 | (uF : F.obj (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) ≅ AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 22 | (uG : G.obj (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) ≅ AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 23 | {M : Y.Modules} (s : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y ⟶ M) : |
| 24 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (uG.inv ≫ G.map s) = |
| 25 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (uF.inv ≫ F.map s) := by |
| 26 | have h := AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Comparison.framedSection_functorComparison F G e uF uG s |
| 27 | rw [← h, AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.Powers.sectionNonvanishing_comp_iso, AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.SectionRestriction.sectionNonvanishing_sourceIso] |
| 28 | |
| 29 | theorem sectionNonvanishing_pullback_comp {X Y Z : Scheme.{u}} (f : X ⟶ Y) (g : Y ⟶ Z) |
| 30 | {M : Z.Modules} (s : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Z ⟶ M) : |
| 31 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection g s)) = |
| 32 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (f ≫ g) s) := by |
| 33 | have h := sectionNonvanishing_functorComparison |
| 34 | (Scheme.Modules.pullback g ⋙ Scheme.Modules.pullback f) (Scheme.Modules.pullback (f ≫ g)) |
| 35 | (Scheme.Modules.pullbackComp f g) |
| 36 | ((Scheme.Modules.pullback f).mapIso (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso g) ≪≫ AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f) |
| 37 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (f ≫ g)) s |
| 38 | simpa only [AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection, Iso.trans_inv, Functor.mapIso_inv, Functor.comp_map, |
| 39 | Functor.map_comp, Category.assoc] using h.symm |
| 40 | |
| 41 | theorem sectionNonvanishing_pullback_targetIso {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 42 | {M N : Y.Modules} (s : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y ⟶ M) (e : M ≅ N) : |
| 43 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f (s ≫ e.hom)) = |
| 44 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s) := by |
| 45 | have h : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f (s ≫ e.hom) = |
| 46 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s ≫ ((Scheme.Modules.pullback f).mapIso e).hom := by |
| 47 | simp only [AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection, Functor.map_comp, Functor.mapIso_hom, Category.assoc] |
| 48 | rw [h, AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.Powers.sectionNonvanishing_comp_iso] |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.RepresentationTheory.Theta.Geometric.NonvanishingFunctorComparison |