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.Frames |
| 2 | |
| 3 | /-! # Coordinates -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Coordinates |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Regular coordinates in a line-bundle frame and their change-of-frame identities. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X : Scheme.{u}} {L : X.Modules} |
| 16 | |
| 17 | /-- A structure-module endomorphism determines its global scalar as a ring homomorphism. -/ |
| 18 | def structureModuleEndValue (X : Scheme.{u}) : End (Line.Bundles.structureModule X) →+* Γ(X, ⊤) where |
| 19 | toFun a := a.app ⊤ (1 : Γ(X, ⊤)) |
| 20 | map_one' := rfl |
| 21 | map_zero' := rfl |
| 22 | map_add' _ _ := rfl |
| 23 | map_mul' a b := |
| 24 | (TensorPower.Units.structureModuleEnd_app a ⊤ (show Γ(X, ⊤) from b.app ⊤ (1 : Γ(X, ⊤)))).trans |
| 25 | (mul_comm (show Γ(X, ⊤) from b.app ⊤ (1 : Γ(X, ⊤))) |
| 26 | (show Γ(X, ⊤) from a.app ⊤ (1 : Γ(X, ⊤)))) |
| 27 | |
| 28 | /-- The endomorphism obtained by writing a section in a global frame. -/ |
| 29 | def frameCoordinateEnd (s t : Line.Bundles.structureModule X ⟶ L) [IsIso s] : End (Line.Bundles.structureModule X) := |
| 30 | t ≫ inv s |
| 31 | |
| 32 | /-- The global regular function giving the coordinate of a section in a frame. -/ |
| 33 | def frameCoordinate (s t : Line.Bundles.structureModule X ⟶ L) [IsIso s] : Γ(X, ⊤) := |
| 34 | structureModuleEndValue X (frameCoordinateEnd s t) |
| 35 | |
| 36 | theorem frameCoordinateEnd_frame (s t : Line.Bundles.structureModule X ⟶ L) [IsIso s] : |
| 37 | frameCoordinateEnd s t ≫ s = t := by |
| 38 | simp only [frameCoordinateEnd, Category.assoc, IsIso.inv_hom_id, Category.comp_id] |
| 39 | |
| 40 | @[simp] |
| 41 | theorem frameCoordinate_self (s : Line.Bundles.structureModule X ⟶ L) [IsIso s] : frameCoordinate s s = 1 := by |
| 42 | change structureModuleEndValue X (s ≫ inv s) = 1 |
| 43 | rw [IsIso.hom_inv_id] |
| 44 | exact map_one (structureModuleEndValue X) |
| 45 | |
| 46 | /-- The transition function between two frames is a unit. -/ |
| 47 | theorem frameCoordinate_isUnit (s t : Line.Bundles.structureModule X ⟶ L) [IsIso s] [IsIso t] : |
| 48 | IsUnit (frameCoordinate s t) := by |
| 49 | have : IsIso (frameCoordinateEnd s t) := by dsimp [frameCoordinateEnd]; infer_instance |
| 50 | exact ((isUnit_iff_isIso (frameCoordinateEnd s t)).mpr this).map (structureModuleEndValue X) |
| 51 | |
| 52 | /-- Changing the frame multiplies every coordinate by the same transition function. -/ |
| 53 | theorem frameCoordinate_change (s t r : Line.Bundles.structureModule X ⟶ L) [IsIso s] [IsIso t] : |
| 54 | frameCoordinate s r = frameCoordinate s t * frameCoordinate t r := by |
| 55 | have he : frameCoordinateEnd s r = frameCoordinateEnd s t * frameCoordinateEnd t r := by |
| 56 | change r ≫ inv s = (r ≫ inv t) ≫ (t ≫ inv s) |
| 57 | simp only [Category.assoc, IsIso.inv_hom_id_assoc] |
| 58 | exact (congrArg (structureModuleEndValue X) he).trans (map_mul (structureModuleEndValue X) _ _) |
| 59 | |
| 60 | /-- The section-ratio construction is the regular coordinate in its canonical denominator frame. -/ |
| 61 | theorem sectionRatio_eq_frameCoordinate (s t : Line.Bundles.structureModule X ⟶ L) : |
| 62 | Section.Frames.sectionRatio s t = frameCoordinate |
| 63 | (Ample.LineBundles.pullbackSection (Ample.LineBundles.sectionNonvanishing s).ι s) |
| 64 | (Ample.LineBundles.pullbackSection (Ample.LineBundles.sectionNonvanishing s).ι t) := by |
| 65 | simp only [Section.Frames.sectionRatio, frameCoordinate, structureModuleEndValue, |
| 66 | Section.Frames.sectionRatioEnd, frameCoordinateEnd, Section.Frames.sectionFrameIso, asIso_inv] |
| 67 | rfl |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Coordinates |