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.Framed.AffineLocalization |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Power.FrameCoordinates |
| 3 | |
| 4 | /-! # Affine Extension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Framed.AffineExtension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Extend a regular function on a section's nonvanishing open to a section of a |
| 12 | positive tensor power when the original line bundle is globally framed on an |
| 13 | affine scheme. The equality is expressed using actual pulled-back sections. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {X : Scheme.{u}} {L : X.Modules} |
| 21 | |
| 22 | /-- Multiplying a frame by a scalar endomorphism gives exactly that scalar coordinate. -/ |
| 23 | theorem frameCoordinate_scalar_frame (e : Line.Bundles.structureModule X ⟶ L) [IsIso e] |
| 24 | (a : End (Line.Bundles.structureModule X)) : Frame.Coordinates.frameCoordinate e (a ≫ e) = Frame.Coordinates.structureModuleEndValue X a := by |
| 25 | change Frame.Coordinates.structureModuleEndValue X ((a ≫ e) ≫ inv e) = Frame.Coordinates.structureModuleEndValue X a |
| 26 | simp only [Category.assoc, IsIso.hom_inv_id, Category.comp_id] |
| 27 | |
| 28 | /-- On an affine scheme with a global frame, every function on `D(s)` is the |
| 29 | ratio of a global section of a positive power to the same power of `s`. -/ |
| 30 | theorem framed_affine_section_extension [IsAffine X] |
| 31 | (e s : Line.Bundles.structureModule X ⟶ L) [IsIso e] |
| 32 | (r : Γ((Ample.LineBundles.sectionNonvanishing s).toScheme, ⊤)) : |
| 33 | ∃ (n : ℕ) (_ : 0 < n) (t : Line.Bundles.structureModule X ⟶ TensorPower.PowerSheaf.tensorPowerModule L n), |
| 34 | letI := Power.Nonvanishing.tensorPowerSection_pullback_isIso (Ample.LineBundles.sectionNonvanishing s).ι s n |
| 35 | Frame.Coordinates.frameCoordinate (Ample.LineBundles.pullbackSection (Ample.LineBundles.sectionNonvanishing s).ι (TensorPower.Maps.tensorPowerSection s n)) |
| 36 | (Ample.LineBundles.pullbackSection (Ample.LineBundles.sectionNonvanishing s).ι t) = r := by |
| 37 | obtain ⟨n, hn, b, hb⟩ := AffineLocalization.framed_nonvanishing_clear_denominator e s r |
| 38 | let a : End (Line.Bundles.structureModule X) := (Global.Sections.structureModuleEndRingEquiv X).symm b |
| 39 | let t : Line.Bundles.structureModule X ⟶ TensorPower.PowerSheaf.tensorPowerModule L n := a ≫ TensorPower.Maps.tensorPowerSection e n |
| 40 | let D := Ample.LineBundles.sectionNonvanishing s |
| 41 | let ep := Ample.LineBundles.pullbackSection D.ι (TensorPower.Maps.tensorPowerSection e n) |
| 42 | let sp := Ample.LineBundles.pullbackSection D.ι (TensorPower.Maps.tensorPowerSection s n) |
| 43 | let tp := Ample.LineBundles.pullbackSection D.ι t |
| 44 | have hep : IsIso ep := inferInstanceAs |
| 45 | (IsIso (Ample.LineBundles.pullbackSection D.ι (TensorPower.Maps.tensorPowerSection e n))) |
| 46 | have hsp : IsIso sp := Power.Nonvanishing.tensorPowerSection_pullback_isIso D.ι s n |
| 47 | have hnum : Frame.Coordinates.frameCoordinate (TensorPower.Maps.tensorPowerSection e n) t = b := |
| 48 | (frameCoordinate_scalar_frame (TensorPower.Maps.tensorPowerSection e n) a).trans |
| 49 | ((Global.Sections.structureModuleEndRingEquiv X).apply_symm_apply b) |
| 50 | have hnumD : Frame.Coordinates.frameCoordinate ep tp = D.ι.appTop b := |
| 51 | (Frame.FrameRestriction.frameCoordinate_pullback D.ι (TensorPower.Maps.tensorPowerSection e n) t).trans (congrArg D.ι.appTop hnum) |
| 52 | have hden : Frame.Coordinates.frameCoordinate ep sp = (D.ι.appTop (Frame.Coordinates.frameCoordinate e s)) ^ n := |
| 53 | Power.FrameCoordinates.frameCoordinate_tensorPowerSection_pullback D.ι e s n |
| 54 | have hu : IsUnit (Frame.Coordinates.frameCoordinate ep sp) := Frame.Coordinates.frameCoordinate_isUnit ep sp |
| 55 | refine ⟨n, hn, t, ?_⟩ |
| 56 | change Frame.Coordinates.frameCoordinate sp tp = r |
| 57 | apply hu.mul_left_cancel |
| 58 | exact (Frame.Coordinates.frameCoordinate_change ep sp tp).symm.trans |
| 59 | (hnumD.trans (hb.trans (congrArg (fun q => q * r) hden).symm)) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Framed.AffineExtension |