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.Quotients.FiniteDescent.PullbackScalarsValue |
| 2 | |
| 3 | /-! # Section Base -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.SectionBase.Construction.SectionBaseChange |
| 6 | |
| 7 | /-! The nonvanishing locus of a line-bundle section commutes with arbitrary base change. -/ |
| 8 | |
| 9 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 10 | |
| 11 | universe u |
| 12 | |
| 13 | variable {X Y Z : Scheme.{u}} |
| 14 | |
| 15 | theorem nonvanishing_pullback_comp (f : Y ⟶ Z) (g : X ⟶ Y) |
| 16 | {M : Z.Modules} (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Z ⟶ M) : |
| 17 | AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection g (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s)) = |
| 18 | AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (g ≫ f) s) := by |
| 19 | apply congrArg sSup |
| 20 | ext U |
| 21 | change IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.ι (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection g (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s))) ↔ |
| 22 | IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.ι (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (g ≫ f) s)) |
| 23 | rw [AbelianModuli.HilbertConstruction.Section.Nonvanishing.isIso_pullbackSection_comp_iff g U.ι (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s), |
| 24 | AbelianModuli.HilbertConstruction.Section.Nonvanishing.isIso_pullbackSection_comp_iff f (U.ι ≫ g) s, |
| 25 | AbelianModuli.HilbertConstruction.Section.Nonvanishing.isIso_pullbackSection_comp_iff (g ≫ f) U.ι s, Category.assoc] |
| 26 | |
| 27 | theorem nonvanishing_pullback_targetIso (f : X ⟶ Y) {M N : Y.Modules} |
| 28 | (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y ⟶ M) (e : M ≅ N) : |
| 29 | AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f (s ≫ e.hom)) = |
| 30 | AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s) := by |
| 31 | have he : AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f (s ≫ e.hom) = |
| 32 | AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s ≫ ((Scheme.Modules.pullback f).mapIso e).hom := by |
| 33 | simp only [AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection, Functor.map_comp, Category.assoc, Functor.mapIso_hom] |
| 34 | rw [he, AbelianModuli.HilbertConstruction.Ample.Powers.sectionNonvanishing_comp_iso] |
| 35 | |
| 36 | /-- This equality holds for all scheme morphisms, including closed fibers |
| 37 | and nonreduced base changes. -/ |
| 38 | theorem nonvanishing_pullback (f : X ⟶ Y) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) |
| 39 | (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y ⟶ L.sheaf) : |
| 40 | AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s) = f ⁻¹ᵁ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s := by |
| 41 | ext x |
| 42 | obtain ⟨U, hxU, ⟨e⟩⟩ := L.locallyTrivial (f x) |
| 43 | let V : X.Opens := f ⁻¹ᵁ U |
| 44 | let y : V.toScheme := ⟨x, hxU⟩ |
| 45 | have hcomp : AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection V.ι (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s)) = |
| 46 | AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (f ∣_ U) (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.ι s)) := |
| 47 | (nonvanishing_pullback_comp f V.ι s).trans |
| 48 | ((congrArg (fun k : V.toScheme ⟶ Y => AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection k s)) |
| 49 | (morphismRestrict_ι f U).symm).trans |
| 50 | (nonvanishing_pullback_comp U.ι (f ∣_ U) s).symm) |
| 51 | have hlocal : AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection V.ι (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s)) = |
| 52 | (f ∣_ U) ⁻¹ᵁ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.ι s) := by |
| 53 | rw [hcomp, ← nonvanishing_pullback_targetIso (f ∣_ U) (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.ι s) e] |
| 54 | rw [PullbackScalarsValue.Construction.PullbackScalars.nonvanishing_pullback_scalar, AbelianModuli.HilbertConstruction.Ample.Powers.sectionNonvanishing_comp_iso] |
| 55 | rw [AbelianModuli.HilbertConstruction.Section.Nonvanishing.sectionNonvanishing_pullback V.ι, AbelianModuli.HilbertConstruction.Section.Nonvanishing.sectionNonvanishing_pullback U.ι] at hlocal |
| 56 | have hy : U.ι ((f ∣_ U) y) = f x := |
| 57 | congrArg (fun k : V.toScheme ⟶ Y => k y) (morphismRestrict_ι f U) |
| 58 | have hm := congrArg (fun W : V.toScheme.Opens => y ∈ W) hlocal |>.to_iff |
| 59 | change x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s) ↔ |
| 60 | U.ι ((f ∣_ U) y) ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s at hm |
| 61 | rw [hy] at hm |
| 62 | exact hm |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.SectionBase.Construction.SectionBaseChange |