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.FrameTransport |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ZeroSections |
| 3 | |
| 4 | /-! # Section Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.SectionRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Sections for the concrete open-restriction functor, their component formulas, |
| 12 | and comparison with the canonical pullback construction. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {X Y : Scheme.{u}} {L M : Y.Modules} |
| 20 | |
| 21 | /-- Restrict a section using the explicit structure-module frame of an open immersion. -/ |
| 22 | def restrictSection (f : X ⟶ Y) [IsOpenImmersion f] (s : Line.Bundles.structureModule Y ⟶ L) : |
| 23 | Line.Bundles.structureModule X ⟶ L.restrict f := |
| 24 | (Scheme.Modules.restrictUnitIso f).inv ≫ (Scheme.Modules.restrictFunctor f).map s |
| 25 | |
| 26 | theorem restrictSection_app (f : X ⟶ Y) [IsOpenImmersion f] |
| 27 | (s : Line.Bundles.structureModule Y ⟶ L) (U : X.Opens) (r : Γ(X, U)) : |
| 28 | (restrictSection f s).app U r = s.app (f ''ᵁ U) ((f.appIso U).inv r) := rfl |
| 29 | |
| 30 | theorem restrictSection_app_one (f : X ⟶ Y) [IsOpenImmersion f] |
| 31 | (s : Line.Bundles.structureModule Y ⟶ L) (U : X.Opens) : |
| 32 | (restrictSection f s).app U (1 : Γ(X, U)) = s.app (f ''ᵁ U) (1 : Γ(Y, f ''ᵁ U)) := |
| 33 | (restrictSection_app f s U 1).trans |
| 34 | (congrArg (fun r : Γ(Y, f ''ᵁ U) => s.app (f ''ᵁ U) r) (map_one (f.appIso U).inv.hom)) |
| 35 | |
| 36 | theorem restrictSection_postcomp (f : X ⟶ Y) [IsOpenImmersion f] |
| 37 | (s : Line.Bundles.structureModule Y ⟶ L) (a : L ⟶ M) : |
| 38 | restrictSection f (s ≫ a) = restrictSection f s ≫ (Scheme.Modules.restrictFunctor f).map a := by |
| 39 | exact (congrArg (fun z : (Line.Bundles.structureModule Y).restrict f ⟶ M.restrict f => |
| 40 | (Scheme.Modules.restrictUnitIso f).inv ≫ z) ((Scheme.Modules.restrictFunctor f).map_comp s a)).trans |
| 41 | (Category.assoc _ _ _).symm |
| 42 | |
| 43 | /-- Changing the structure-module frame does not change a section's nonvanishing open. -/ |
| 44 | theorem sectionNonvanishing_sourceIso (a : Line.Bundles.structureModule Y ≅ Line.Bundles.structureModule Y) |
| 45 | (s : Line.Bundles.structureModule Y ⟶ L) : Ample.LineBundles.sectionNonvanishing (a.hom ≫ s) = Ample.LineBundles.sectionNonvanishing s := by |
| 46 | unfold Ample.LineBundles.sectionNonvanishing |
| 47 | apply congrArg sSup |
| 48 | ext U |
| 49 | change IsIso (Ample.LineBundles.pullbackSection U.ι (a.hom ≫ s)) ↔ IsIso (Ample.LineBundles.pullbackSection U.ι s) |
| 50 | rw [Nonvanishing.isIso_pullbackSection_iff, Nonvanishing.isIso_pullbackSection_iff, Functor.map_comp, isIso_comp_left_iff] |
| 51 | |
| 52 | /-- Explicit restriction pulls back the section's nonvanishing locus. -/ |
| 53 | theorem sectionNonvanishing_restrictSection (f : X ⟶ Y) [IsOpenImmersion f] |
| 54 | (s : Line.Bundles.structureModule Y ⟶ L) : Ample.LineBundles.sectionNonvanishing (restrictSection f s) = |
| 55 | f ⁻¹ᵁ Ample.LineBundles.sectionNonvanishing s := by |
| 56 | let e := Scheme.Modules.restrictFunctorIsoPullback f |
| 57 | let a := (Line.Bundles.structureModulePullbackIso f).symm ≪≫ e.symm.app (Line.Bundles.structureModule Y) ≪≫ |
| 58 | Scheme.Modules.restrictUnitIso f |
| 59 | have h : (a.hom ≫ restrictSection f s) ≫ (e.app L).hom = Ample.LineBundles.pullbackSection f s := |
| 60 | Frame.Comparison.framedSection_functorComparison (Scheme.Modules.restrictFunctor f) (Scheme.Modules.pullback f) |
| 61 | e (Scheme.Modules.restrictUnitIso f) (Line.Bundles.structureModulePullbackIso f) s |
| 62 | have hd : Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection f s) = Ample.LineBundles.sectionNonvanishing (restrictSection f s) := |
| 63 | (congrArg (fun t => Ample.LineBundles.sectionNonvanishing t) h).symm.trans |
| 64 | ((Ample.Powers.sectionNonvanishing_comp_iso (a.hom ≫ restrictSection f s) (e.app L)).trans |
| 65 | (sectionNonvanishing_sourceIso a (restrictSection f s))) |
| 66 | exact hd.symm.trans (Nonvanishing.sectionNonvanishing_pullback f s) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.SectionRestriction |