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.ReducedSectionsEq |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.TensorSection |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.MonoidalLine |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCoordinatesApp |
| 5 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistPowers |
| 6 | |
| 7 | /-! # Section Detection -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Frame.SectionDetection |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Global sections detect maps whose source has global section frames |
| 14 | covering the scheme. All nonnegative projective twists have such frames. -/ |
| 15 | |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 20 | open MonoidalCategory |
| 21 | |
| 22 | namespace Construction |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | attribute [local instance] SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory SheafCohomology.Projective.Monoidal.Scheme.Modules.symmetricCategory |
| 27 | |
| 28 | def HasFrameSections {X : Scheme.{u}} (M : X.Modules) : Prop := |
| 29 | ∀ x : X, ∃ s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M, x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s |
| 30 | |
| 31 | def HasFrameSections.lineBundle {X : Scheme.{u}} {M : X.Modules} (h : HasFrameSections M) : |
| 32 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X where |
| 33 | sheaf := M |
| 34 | locallyTrivial x := by |
| 35 | obtain ⟨s, hs⟩ := h x |
| 36 | exact ⟨AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s, hs, ⟨(AbelianModuli.HilbertConstruction.Section.Frames.sectionFrameIso s).symm⟩⟩ |
| 37 | |
| 38 | theorem HasFrameSections.of_iso {X : Scheme.{u}} {M N : X.Modules} |
| 39 | (h : HasFrameSections M) (e : M ≅ N) : HasFrameSections N := by |
| 40 | intro x |
| 41 | obtain ⟨s, hs⟩ := h x |
| 42 | exact ⟨s ≫ e.hom, (AbelianModuli.HilbertConstruction.Ample.Powers.sectionNonvanishing_comp_iso s e).symm ▸ hs⟩ |
| 43 | |
| 44 | theorem hasFrameSections_structure (X : Scheme.{u}) : HasFrameSections (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) := by |
| 45 | intro x |
| 46 | exact ⟨𝟙 _, (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing_of_isIso (𝟙 (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X))).symm ▸ trivial⟩ |
| 47 | |
| 48 | theorem HasFrameSections.tensor {X : Scheme.{u}} {M N : X.Modules} |
| 49 | (hM : HasFrameSections M) (hN : HasFrameSections N) : HasFrameSections (M ⊗ N) := by |
| 50 | intro x |
| 51 | obtain ⟨s, hs⟩ := hM x |
| 52 | obtain ⟨t, ht⟩ := hN x |
| 53 | let q := Quotients.FiniteDescent.BinaryTensorId.Construction.BinaryTensorMap.tensorSection s t |
| 54 | let e := (Quotients.FiniteDescent.MonoidalLine.Construction.MonoidalLineBundles.tensorIso M N).symm |
| 55 | have he : AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing q = AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s ⊓ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing t := |
| 56 | Quotients.FiniteDescent.TensorSection.Construction.TensorSectionLocus.nonvanishing (L := hM.lineBundle) (M := hN.lineBundle) s t |
| 57 | exact ⟨q ≫ e.hom, (AbelianModuli.HilbertConstruction.Ample.Powers.sectionNonvanishing_comp_iso q e).symm ▸ he.symm ▸ ⟨hs, ht⟩⟩ |
| 58 | |
| 59 | theorem HasFrameSections.hom_eq_zero {X : Scheme.{u}} {M N : X.Modules} |
| 60 | (hM : HasFrameSections M) (a : M ⟶ N) (ha : a.app ⊤ = 0) : a = 0 := by |
| 61 | apply Quotients.FiniteDescent.ReducedSectionsEq.Construction.ReducedSections.moduleMap_eq_of_locally |
| 62 | intro x |
| 63 | obtain ⟨s, hs⟩ := hM x |
| 64 | have hsa : s ≫ a = 0 := by |
| 65 | apply (AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv N).injective |
| 66 | change a.app ⊤ (s.app ⊤ (1 : Γ(X, ⊤))) = 0 |
| 67 | rw [ha] |
| 68 | rfl |
| 69 | let U := AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s |
| 70 | refine ⟨U, hs, ?_⟩ |
| 71 | rw [Functor.map_zero] |
| 72 | apply (cancel_epi (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.ι s)).mp |
| 73 | simp only [AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection, Category.assoc, ← Functor.map_comp, hsa, |
| 74 | Functor.map_zero, comp_zero] |
| 75 | |
| 76 | theorem HasFrameSections.hom_eq_zero_of_subsingleton {X : Scheme.{u}} {M N : X.Modules} |
| 77 | (hM : HasFrameSections M) [Subsingleton Γ(N, ⊤)] (a : M ⟶ N) : a = 0 := by |
| 78 | apply hM.hom_eq_zero a |
| 79 | ext x |
| 80 | exact Subsingleton.elim _ _ |
| 81 | |
| 82 | variable {R : Type u} [CommRing R] {σ : Type} |
| 83 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 84 | |
| 85 | theorem coordinateHyperplane_hasFrameSections (j : σ) : |
| 86 | HasFrameSections (SheafCohomology.Projective.HyperplanePole.MvPolynomial.coordinateHyperplanePoleSheaf (R := R) j) := by |
| 87 | intro x |
| 88 | have hx : x ∈ iSup (SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) : σ → (Proj _).Opens) := by |
| 89 | rw [SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.iSup_coordinateOpen_eq_top] |
| 90 | trivial |
| 91 | obtain ⟨i, hi⟩ := TopologicalSpace.Opens.mem_iSup.mp hx |
| 92 | exact ⟨Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.sectionHom (R := R) j i, |
| 93 | (Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.sectionHom_nonvanishing (R := R) j i).symm ▸ hi⟩ |
| 94 | |
| 95 | theorem coordinatePositiveTwist_hasFrameSections (j : σ) (n : ℕ) : |
| 96 | HasFrameSections (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n) := by |
| 97 | induction n with |
| 98 | | zero => exact (hasFrameSections_structure _).of_iso (Quotients.FiniteDescent.MonoidalLine.Construction.MonoidalLineBundles.unitIso _).symm |
| 99 | | succ n ih => exact ih.tensor (coordinateHyperplane_hasFrameSections j) |
| 100 | |
| 101 | end Construction |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Frame.SectionDetection |