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.ReferenceFamily.Frame.CoordinatePullback |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.Nonvanishing |
| 3 | |
| 4 | /-! # Nonvanishing Pullback -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.NonvanishingPullback |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Nonvanishing of line-bundle sections commutes with arbitrary scheme |
| 11 | pullback, as follows from regular coordinates in local frames. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.Nonvanishing |
| 16 | |
| 17 | universe u |
| 18 | variable {X Y Z : Scheme.{u}} |
| 19 | |
| 20 | theorem sectionNonvanishing_pullback_comp (f : Y ⟶ Z) (h : X ⟶ Y) |
| 21 | {L : Z.Modules} (s : HilbertConstruction.Line.Bundles.structureModule Z ⟶ L) : |
| 22 | HilbertConstruction.Ample.LineBundles.sectionNonvanishing (HilbertConstruction.Ample.LineBundles.pullbackSection h (HilbertConstruction.Ample.LineBundles.pullbackSection f s)) = |
| 23 | HilbertConstruction.Ample.LineBundles.sectionNonvanishing (HilbertConstruction.Ample.LineBundles.pullbackSection (h ≫ f) s) := by |
| 24 | unfold HilbertConstruction.Ample.LineBundles.sectionNonvanishing |
| 25 | apply congrArg sSup |
| 26 | ext U |
| 27 | change IsIso (HilbertConstruction.Ample.LineBundles.pullbackSection U.ι (HilbertConstruction.Ample.LineBundles.pullbackSection h (HilbertConstruction.Ample.LineBundles.pullbackSection f s))) ↔ |
| 28 | IsIso (HilbertConstruction.Ample.LineBundles.pullbackSection U.ι (HilbertConstruction.Ample.LineBundles.pullbackSection (h ≫ f) s)) |
| 29 | rw [HilbertConstruction.Section.Nonvanishing.isIso_pullbackSection_comp_iff, HilbertConstruction.Section.Nonvanishing.isIso_pullbackSection_comp_iff, |
| 30 | HilbertConstruction.Section.Nonvanishing.isIso_pullbackSection_comp_iff, Category.assoc] |
| 31 | |
| 32 | theorem sectionNonvanishing_pullback_framed (f : X ⟶ Y) {L : Y.Modules} |
| 33 | (s t : HilbertConstruction.Line.Bundles.structureModule Y ⟶ L) [IsIso s] : |
| 34 | HilbertConstruction.Ample.LineBundles.sectionNonvanishing (HilbertConstruction.Ample.LineBundles.pullbackSection f t) = f ⁻¹ᵁ HilbertConstruction.Ample.LineBundles.sectionNonvanishing t := by |
| 35 | rw [HilbertConstruction.Scalar.Nonvanishing.sectionNonvanishing_frameCoordinate (HilbertConstruction.Ample.LineBundles.pullbackSection f s), |
| 36 | Frame.CoordinatePullback.frameCoordinate_pullback_any, HilbertConstruction.Scalar.Nonvanishing.sectionNonvanishing_frameCoordinate s, |
| 37 | f.preimage_basicOpen_top] |
| 38 | |
| 39 | theorem sectionNonvanishing_pullback_restrict (f : X ⟶ Y) (U : Y.Opens) |
| 40 | {L : Y.Modules} (s : HilbertConstruction.Line.Bundles.structureModule Y ⟶ L) : |
| 41 | HilbertConstruction.Ample.LineBundles.sectionNonvanishing (HilbertConstruction.Ample.LineBundles.pullbackSection (f ∣_ U) (HilbertConstruction.Ample.LineBundles.pullbackSection U.ι s)) = |
| 42 | HilbertConstruction.Ample.LineBundles.sectionNonvanishing (HilbertConstruction.Ample.LineBundles.pullbackSection (f ⁻¹ᵁ U).ι (HilbertConstruction.Ample.LineBundles.pullbackSection f s)) := by |
| 43 | rw [sectionNonvanishing_pullback_comp, sectionNonvanishing_pullback_comp, |
| 44 | morphismRestrict_ι] |
| 45 | |
| 46 | theorem lineBundle_sectionNonvanishing_pullback (f : X ⟶ Y) (L : HilbertConstruction.Line.Bundles.LineBundle Y) |
| 47 | (s : HilbertConstruction.Line.Bundles.structureModule Y ⟶ L.sheaf) : |
| 48 | HilbertConstruction.Ample.LineBundles.sectionNonvanishing (HilbertConstruction.Ample.LineBundles.pullbackSection f s) = f ⁻¹ᵁ HilbertConstruction.Ample.LineBundles.sectionNonvanishing s := by |
| 49 | ext x |
| 50 | obtain ⟨U, hxU, ⟨e⟩⟩ := L.locallyTrivial (f x) |
| 51 | let y : (f ⁻¹ᵁ U).toScheme := ⟨x, hxU⟩ |
| 52 | have h := sectionNonvanishing_pullback_framed (f ∣_ U) e.inv (HilbertConstruction.Ample.LineBundles.pullbackSection U.ι s) |
| 53 | rw [sectionNonvanishing_pullback_restrict, |
| 54 | HilbertConstruction.Section.Nonvanishing.sectionNonvanishing_pullback (f ⁻¹ᵁ U).ι, |
| 55 | HilbertConstruction.Section.Nonvanishing.sectionNonvanishing_pullback U.ι] at h |
| 56 | have hm := (congrArg (fun V : (f ⁻¹ᵁ U).toScheme.Opens => y ∈ V) h).to_iff |
| 57 | change x ∈ HilbertConstruction.Ample.LineBundles.sectionNonvanishing (HilbertConstruction.Ample.LineBundles.pullbackSection f s) ↔ |
| 58 | ((f ∣_ U) y).val ∈ HilbertConstruction.Ample.LineBundles.sectionNonvanishing s at hm |
| 59 | rw [morphismRestrict_base_coe] at hm |
| 60 | exact hm |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.NonvanishingPullback |