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.Geometric.SectionSpanning |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundleRationalFrames |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Single.PointBaseSectionFrames |
| 4 | |
| 5 | /-! # Point Section Tensor Frames -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Single.PointSectionTensorFrames |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A surjective field pullback with trivial line bundle detects a global frame when the actual section tensor comparison is surjective. In particular, this applies to the residue fiber over a one-point, possibly nonreduced, base. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 13 | universe u |
| 14 | |
| 15 | theorem lineBundle_trivial_of_surjective_field_section_tensor |
| 16 | {K : Type u} [Field K] {S X P : Scheme.{u}} |
| 17 | {a : P ⟶ X} {b : P ⟶ Spec (.of K)} {f : X ⟶ S} {g : Spec (.of K) ⟶ S} |
| 18 | (H : IsPullback a b f g) [UniversallyClosed b] [IsReduced P] [ConnectedSpace P] |
| 19 | (ha : Function.Surjective a) (L : Line.Bundles.LineBundle X) |
| 20 | (e : (L.pullback a).sheaf ≅ Line.Bundles.structureModule P) |
| 21 | (y : Spec (.of K) ⟶ P) (hy : y ≫ b = 𝟙 _) |
| 22 | (hsurj : Function.Surjective ((Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H L.sheaf).app (op ⊤))) : |
| 23 | Nonempty (L.sheaf ≅ Line.Bundles.structureModule X) := by |
| 24 | let k : Spec (.of K) := IsLocalRing.closedPoint K |
| 25 | let t : Line.Bundles.structureModule P ⟶ (L.pullback a).sheaf := e.inv |
| 26 | have ht : Ample.LineBundles.sectionNonvanishing t = ⊤ := Ample.LineBundles.sectionNonvanishing_of_isIso t |
| 27 | have hyt : y k ∈ Ample.LineBundles.sectionNonvanishing t := ht.symm ▸ (show y k ∈ (⊤ : P.Opens) from trivial) |
| 28 | obtain ⟨s, hs⟩ := Geometric.SectionSpanning.exists_section_nonvanishing_of_tensor_surjective H L hsurj (y k) t hyt |
| 29 | let sa : Line.Bundles.structureModule P ⟶ (L.pullback a).sheaf := Ample.LineBundles.pullbackSection a s |
| 30 | have hsa : y k ∈ Ample.LineBundles.sectionNonvanishing sa := |
| 31 | (congrArg (fun V : P.Opens => y k ∈ V) |
| 32 | (LineBundle.NonvanishingBaseChange.sectionNonvanishing_lineBundle_baseChange a L s)).mpr hs |
| 33 | have hframe : IsIso (Ample.LineBundles.pullbackSection y sa) := by |
| 34 | apply (Section.Frames.isIso_iff_sectionNonvanishing_eq_top _).mpr |
| 35 | rw [LineBundle.NonvanishingBaseChange.sectionNonvanishing_lineBundle_baseChange y (L.pullback a) sa] |
| 36 | apply top_unique |
| 37 | intro z _ |
| 38 | change y z ∈ Ample.LineBundles.sectionNonvanishing sa |
| 39 | exact (congrArg (fun q : Spec (.of K) => y q ∈ Ample.LineBundles.sectionNonvanishing sa) |
| 40 | (Subsingleton.elim z k)).mpr hsa |
| 41 | have hsaIso : IsIso sa := LineBundleRationalFrames.trivialLineBundle_section_isIso_of_rationalFiber b y hy (L.pullback a) e sa |
| 42 | have : IsIso (Ample.LineBundles.pullbackSection a s) := hsaIso |
| 43 | have : IsIso s := PointBaseSectionFrames.lineBundle_section_isIso_of_surjective_pullback a ha L s |
| 44 | exact ⟨(asIso s).symm⟩ |
| 45 | |
| 46 | theorem lineBundle_trivial_of_single_fiber_section_tensor |
| 47 | {S X : Scheme.{u}} [Subsingleton S] (f : X ⟶ S) (x : S) |
| 48 | [UniversallyClosed (f.fiberToSpecResidueField x)] [IsReduced (f.fiber x)] |
| 49 | [ConnectedSpace (f.fiber x)] (L : Line.Bundles.LineBundle X) |
| 50 | (e : (L.pullback (f.fiberι x)).sheaf ≅ Line.Bundles.structureModule (f.fiber x)) |
| 51 | (y : Spec (S.residueField x) ⟶ f.fiber x) |
| 52 | (hy : y ≫ f.fiberToSpecResidueField x = 𝟙 _) |
| 53 | (hsurj : Function.Surjective |
| 54 | ((Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison (IsPullback.of_hasPullback f (S.fromSpecResidueField x)) |
| 55 | L.sheaf).app (op ⊤))) : |
| 56 | Nonempty (L.sheaf ≅ Line.Bundles.structureModule X) := by |
| 57 | exact lineBundle_trivial_of_surjective_field_section_tensor |
| 58 | (K := S.residueField x) (a := f.fiberι x) (b := f.fiberToSpecResidueField x) |
| 59 | (f := f) (g := S.fromSpecResidueField x) |
| 60 | (IsPullback.of_hasPullback f (S.fromSpecResidueField x)) |
| 61 | (PointBaseSectionFrames.fiberInclusion_surjective_of_subsingleton_base f x) L e y hy hsurj |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Single.PointSectionTensorFrames |