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.Local.ModuleIsomorphisms |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TensorPower.Units |
| 3 | |
| 4 | /-! # Frames -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.Frames |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual section frames on nonvanishing opens and regular ratios of sections. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : Scheme.{u}} {L : X.Modules} |
| 17 | |
| 18 | /-- A section is a global frame exactly when its nonvanishing open is the whole scheme. -/ |
| 19 | theorem isIso_iff_sectionNonvanishing_eq_top (s : Line.Bundles.structureModule X ⟶ L) : |
| 20 | IsIso s ↔ Ample.LineBundles.sectionNonvanishing s = ⊤ := by |
| 21 | constructor |
| 22 | · intro hs |
| 23 | let := hs |
| 24 | exact Ample.LineBundles.sectionNonvanishing_of_isIso s |
| 25 | · intro hs |
| 26 | apply Local.ModuleIsomorphisms.moduleMap_isIso_of_locally s |
| 27 | intro x |
| 28 | have hx : x ∈ Ample.LineBundles.sectionNonvanishing s := hs.symm ▸ (show x ∈ (⊤ : X.Opens) from trivial) |
| 29 | obtain ⟨U, hU, hxU⟩ := TopologicalSpace.Opens.mem_sSup.mp hx |
| 30 | change X.Opens at U |
| 31 | exact ⟨U, hxU, (Nonvanishing.isIso_pullbackSection_iff U.ι s).mp hU⟩ |
| 32 | |
| 33 | /-- A section really is invertible on its entire nonvanishing open. -/ |
| 34 | instance pullbackSection_nonvanishing_isIso (s : Line.Bundles.structureModule X ⟶ L) : |
| 35 | IsIso (Ample.LineBundles.pullbackSection (Ample.LineBundles.sectionNonvanishing s).ι s) := by |
| 36 | apply (isIso_iff_sectionNonvanishing_eq_top _).mpr |
| 37 | rw [Nonvanishing.sectionNonvanishing_pullback] |
| 38 | ext x |
| 39 | change (Ample.LineBundles.sectionNonvanishing s).ι x ∈ Ample.LineBundles.sectionNonvanishing s ↔ True |
| 40 | exact iff_true_intro x.property |
| 41 | |
| 42 | /-- The canonical frame supplied by a section on its nonvanishing open. -/ |
| 43 | def sectionFrameIso (s : Line.Bundles.structureModule X ⟶ L) : |
| 44 | Line.Bundles.structureModule (Ample.LineBundles.sectionNonvanishing s).toScheme ≅ |
| 45 | (Scheme.Modules.pullback (Ample.LineBundles.sectionNonvanishing s).ι).obj L := |
| 46 | asIso (Ample.LineBundles.pullbackSection (Ample.LineBundles.sectionNonvanishing s).ι s) |
| 47 | |
| 48 | /-- On the nonvanishing open of s, divide another section by the frame s. -/ |
| 49 | def sectionRatioEnd (s t : Line.Bundles.structureModule X ⟶ L) : |
| 50 | End (Line.Bundles.structureModule (Ample.LineBundles.sectionNonvanishing s).toScheme) := |
| 51 | Ample.LineBundles.pullbackSection (Ample.LineBundles.sectionNonvanishing s).ι t ≫ (sectionFrameIso s).inv |
| 52 | |
| 53 | /-- The quotient of two sections is a regular function where the denominator is nonvanishing. -/ |
| 54 | def sectionRatio (s t : Line.Bundles.structureModule X ⟶ L) : Γ((Ample.LineBundles.sectionNonvanishing s).toScheme, ⊤) := |
| 55 | (sectionRatioEnd s t).app ⊤ (1 : Γ((Ample.LineBundles.sectionNonvanishing s).toScheme, ⊤)) |
| 56 | |
| 57 | /-- The quotient recovers the numerator when multiplied by the denominator frame. -/ |
| 58 | theorem sectionRatioEnd_frame (s t : Line.Bundles.structureModule X ⟶ L) : |
| 59 | sectionRatioEnd s t ≫ (sectionFrameIso s).hom = |
| 60 | Ample.LineBundles.pullbackSection (Ample.LineBundles.sectionNonvanishing s).ι t := by |
| 61 | simp only [sectionRatioEnd, Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 62 | |
| 63 | @[simp] |
| 64 | theorem sectionRatioEnd_self (s : Line.Bundles.structureModule X ⟶ L) : sectionRatioEnd s s = 𝟙 _ := |
| 65 | (sectionFrameIso s).hom_inv_id |
| 66 | |
| 67 | @[simp] |
| 68 | theorem sectionRatio_self (s : Line.Bundles.structureModule X ⟶ L) : sectionRatio s s = 1 := by |
| 69 | change (sectionRatioEnd s s).app ⊤ (1 : Γ((Ample.LineBundles.sectionNonvanishing s).toScheme, ⊤)) = _ |
| 70 | rw [sectionRatioEnd_self] |
| 71 | rfl |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.Frames |