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.Frame.FrameRestriction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.Powers |
| 3 | |
| 4 | /-! # Nonvanishing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.Nonvanishing |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The local-frame nonvanishing open agrees with the usual basic open of its regular coordinate. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y : Scheme.{u}} |
| 17 | |
| 18 | /-- A global regular function is invertible precisely when its basic open is the whole scheme. -/ |
| 19 | theorem global_isUnit_iff_basicOpen_eq_top (r : Γ(X, ⊤)) : IsUnit r ↔ X.basicOpen r = ⊤ := by |
| 20 | constructor |
| 21 | · exact X.basicOpen_of_isUnit |
| 22 | · intro hr |
| 23 | apply X.toLocallyRingedSpace.toRingedSpace.isUnit_of_isUnit_germ ⊤ r |
| 24 | intro x _ |
| 25 | exact (X.mem_basicOpen_top r x).mp (hr.symm ▸ (show x ∈ (⊤ : X.Opens) from trivial)) |
| 26 | |
| 27 | /-- A scalar section is a frame on an open precisely when its restricted function is a unit. -/ |
| 28 | theorem scalar_pullbackSection_isIso_iff (f : X ⟶ Y) [IsOpenImmersion f] |
| 29 | (a : End (Line.Bundles.structureModule Y)) : |
| 30 | IsIso (Ample.LineBundles.pullbackSection f a) ↔ IsUnit (f.appTop (Frame.Coordinates.structureModuleEndValue Y a)) := by |
| 31 | let e := (Scheme.Modules.restrictFunctorIsoPullback f).app (Line.Bundles.structureModule Y) ≪≫ |
| 32 | Line.Bundles.structureModulePullbackIso f |
| 33 | let b : End (Line.Bundles.structureModule X) := e.inv ≫ (Scheme.Modules.restrictFunctor f).map a ≫ e.hom |
| 34 | have hb : IsIso b ↔ IsIso ((Scheme.Modules.restrictFunctor f).map a) := by |
| 35 | simp only [b, isIso_comp_left_iff, isIso_comp_right_iff] |
| 36 | have hv : Frame.Coordinates.structureModuleEndValue X b = f.appTop (Frame.Coordinates.structureModuleEndValue Y a) := |
| 37 | RestrictionScalars.structureModuleEndValue_restrict f a e |
| 38 | exact (Section.Nonvanishing.isIso_pullbackSection_iff f a).trans |
| 39 | ((Power.Nonvanishing.isIso_restrict_map_iff f a).symm.trans |
| 40 | (hb.symm.trans ((Global.Sections.structureModuleEnd_isIso_iff b).trans (congrArg IsUnit hv).to_iff))) |
| 41 | |
| 42 | /-- The nonvanishing open of a scalar sheaf map is the basic open of its global function. -/ |
| 43 | theorem sectionNonvanishing_scalar (a : End (Line.Bundles.structureModule X)) : |
| 44 | Ample.LineBundles.sectionNonvanishing a = X.basicOpen (Frame.Coordinates.structureModuleEndValue X a) := by |
| 45 | apply le_antisymm |
| 46 | · intro x hx |
| 47 | obtain ⟨U, hU, hxU⟩ := TopologicalSpace.Opens.mem_sSup.mp hx |
| 48 | change X.Opens at U |
| 49 | have hu : IsUnit (U.ι.appTop (Frame.Coordinates.structureModuleEndValue X a)) := |
| 50 | (scalar_pullbackSection_isIso_iff U.ι a).mp hU |
| 51 | have hpre : U.ι ⁻¹ᵁ X.basicOpen (Frame.Coordinates.structureModuleEndValue X a) = ⊤ := |
| 52 | (U.ι.preimage_basicOpen_top _).trans (U.toScheme.basicOpen_of_isUnit hu) |
| 53 | exact (show (⟨x, hxU⟩ : U.toScheme) ∈ U.ι ⁻¹ᵁ X.basicOpen (Frame.Coordinates.structureModuleEndValue X a) from |
| 54 | hpre.symm ▸ trivial) |
| 55 | · let U : X.Opens := X.basicOpen (Frame.Coordinates.structureModuleEndValue X a) |
| 56 | have hpre : U.ι ⁻¹ᵁ U = ⊤ := by |
| 57 | ext x |
| 58 | exact iff_true_intro x.property |
| 59 | have hu : IsUnit (U.ι.appTop (Frame.Coordinates.structureModuleEndValue X a)) := |
| 60 | (global_isUnit_iff_basicOpen_eq_top _).mpr ((U.ι.preimage_basicOpen_top _).symm.trans hpre) |
| 61 | apply le_sSup |
| 62 | exact (scalar_pullbackSection_isIso_iff U.ι a).mpr hu |
| 63 | |
| 64 | /-- In a global frame, the nonvanishing open of a section is the basic open of its coordinate. -/ |
| 65 | theorem sectionNonvanishing_frameCoordinate {L : X.Modules} (s t : Line.Bundles.structureModule X ⟶ L) [IsIso s] : |
| 66 | Ample.LineBundles.sectionNonvanishing t = X.basicOpen (Frame.Coordinates.frameCoordinate s t) := by |
| 67 | have he : Ample.LineBundles.sectionNonvanishing t = Ample.LineBundles.sectionNonvanishing (Frame.Coordinates.frameCoordinateEnd s t) := |
| 68 | (congrArg (fun z : Line.Bundles.structureModule X ⟶ L => Ample.LineBundles.sectionNonvanishing z) |
| 69 | (Frame.Coordinates.frameCoordinateEnd_frame s t).symm).trans |
| 70 | (Ample.Powers.sectionNonvanishing_comp_iso (Frame.Coordinates.frameCoordinateEnd s t) (asIso s)) |
| 71 | exact he.trans (sectionNonvanishing_scalar (Frame.Coordinates.frameCoordinateEnd s t)) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.Nonvanishing |