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.StableHilbert.CoordinateCompleteness |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.SectionFrameCriterion |
| 3 | |
| 4 | /-! # Section Completeness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.SectionCompleteness.StableHilbertCoverage |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Bijectivity of the homogeneous degree-one map gives completeness of |
| 11 | the original coordinate section family over the actual global base ring. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 14 | open scoped BigOperators |
| 15 | universe u v |
| 16 | |
| 17 | def linearCoordinateVector (R : Type u) [CommRing R] (n : ℕ) (i : Fin (n + 1)) : |
| 18 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n 1 := ⟨X i, isHomogeneous_X R i⟩ |
| 19 | |
| 20 | def linearCoordinateBasis (R : Type u) [CommRing R] (n : ℕ) : |
| 21 | Module.Basis (Fin (n + 1)) R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n 1) := by |
| 22 | have hi : LinearIndependent R (linearCoordinateVector R n) := by |
| 23 | apply LinearIndependent.of_comp (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n 1).subtype |
| 24 | exact MvPolynomial.linearIndependent_X (Fin (n + 1)) R |
| 25 | have hs : ⊤ ≤ Submodule.span R (Set.range (linearCoordinateVector R n)) := by |
| 26 | intro p _ |
| 27 | have hp : p.val ∈ Submodule.span R (Set.range (X : Fin (n + 1) → HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n)) := by |
| 28 | rw [← homogeneousSubmodule_one_eq_span_X] |
| 29 | exact p.property |
| 30 | obtain ⟨c, hc⟩ := (Submodule.mem_span_range_iff_exists_fun R).mp hp |
| 31 | have he : ∑ i, c i • linearCoordinateVector R n i = p := by |
| 32 | apply Subtype.ext |
| 33 | simpa only [Submodule.coe_sum, Submodule.coe_smul, linearCoordinateVector] using hc |
| 34 | rw [← he] |
| 35 | apply Submodule.sum_mem |
| 36 | intro i _ |
| 37 | exact Submodule.smul_mem _ _ (Submodule.subset_span ⟨i, rfl⟩) |
| 38 | exact Module.Basis.mk hi hs |
| 39 | |
| 40 | theorem linearCoordinateBasis_apply (R : Type u) [CommRing R] (n : ℕ) (i : Fin (n + 1)) : |
| 41 | linearCoordinateBasis R n i = linearCoordinateVector R n i := by |
| 42 | unfold linearCoordinateBasis |
| 43 | exact congrFun (Module.Basis.coe_mk _ _) i |
| 44 | |
| 45 | def spectrumCoefficientBasis {R : Type u} [CommRing R] {X : Scheme.{u}} |
| 46 | (p : X ⟶ Spec (.of R)) (M : X.Modules) {ι : Type v} |
| 47 | (b : Module.Basis ι R ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj M)) : |
| 48 | Module.Basis ι Γ(Spec (.of R), ⊤) ((Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor p.appTop.hom).obj M) := by |
| 49 | letI : Module Γ(Spec (.of R), ⊤) ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj M) := |
| 50 | inferInstanceAs (Module Γ(Spec (.of R), ⊤) ((Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor p.appTop.hom).obj M)) |
| 51 | exact b.mapCoeffs (Scheme.ΓSpecIso (.of R)).symm.commRingCatIsoToRingEquiv (fun _ _ => rfl) |
| 52 | |
| 53 | theorem spectrumCoefficientBasis_apply {R : Type u} [CommRing R] {X : Scheme.{u}} |
| 54 | (p : X ⟶ Spec (.of R)) (M : X.Modules) {ι : Type v} |
| 55 | (b : Module.Basis ι R ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj M)) (i : ι) : |
| 56 | (spectrumCoefficientBasis p M b i : (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj M) = b i := by |
| 57 | let : Module Γ(Spec (.of R), ⊤) ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj M) := |
| 58 | inferInstanceAs (Module Γ(Spec (.of R), ⊤) ((Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor p.appTop.hom).obj M)) |
| 59 | exact b.mapCoeffs_apply (Scheme.ΓSpecIso (.of R)).symm.commRingCatIsoToRingEquiv |
| 60 | (fun _ _ => rfl) i |
| 61 | |
| 62 | theorem spectrumCoefficientBasis_family {R : Type u} [CommRing R] {X : Scheme.{u}} |
| 63 | (p : X ⟶ Spec (.of R)) (M : X.Modules) {ι : Type v} |
| 64 | (b : Module.Basis ι R ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj M)) : |
| 65 | Coefficient.RingSectionBasis.coefficientRingBasisFamily p.appTop.hom M (spectrumCoefficientBasis p M b) = |
| 66 | Coefficient.RingSectionBasis.coefficientRingBasisFamily (Coefficient.ModulePresheaf.schemeCoefficientMap p) M b := by |
| 67 | funext i |
| 68 | exact congrArg ((Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) M).symm) |
| 69 | (spectrumCoefficientBasis_apply p M b i) |
| 70 | |
| 71 | theorem coordinateSections_bijective_of_polynomialMap {R : Type u} [CommRing R] {n : ℕ} |
| 72 | (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 73 | (hI : Function.Bijective (SaturatedPolynomialSectionMap.homogeneousPolynomialTwistingSectionMap I 1)) : |
| 74 | Function.Bijective (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination |
| 75 | (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).appTop.hom |
| 76 | (ProjectiveTwisting.Bundle.projectiveTwistingBundle I 1).sheaf (ProjectiveCoordinate.GlobalSections.projectiveCoordinateSection I)) := by |
| 77 | let p := HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) |
| 78 | let M := (ProjectiveTwisting.Bundle.projectiveTwistingBundle I 1).sheaf |
| 79 | let e := LinearEquiv.ofBijective (SaturatedPolynomialSectionMap.homogeneousPolynomialTwistingSectionMap I 1) hI |
| 80 | let b := (linearCoordinateBasis R n).map e |
| 81 | apply (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination_bijective_iff p.appTop.hom M |
| 82 | (ProjectiveCoordinate.GlobalSections.projectiveCoordinateSection I)).mpr |
| 83 | refine ⟨spectrumCoefficientBasis p M b, ?_⟩ |
| 84 | rw [spectrumCoefficientBasis_family] |
| 85 | funext i |
| 86 | have hb : b i = SaturatedPolynomialSectionMap.homogeneousPolynomialTwistingSectionMap I 1 (linearCoordinateVector R n i) := by |
| 87 | change e (linearCoordinateBasis R n i) = _ |
| 88 | rw [linearCoordinateBasis_apply] |
| 89 | rfl |
| 90 | change (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) M).symm (b i) = _ |
| 91 | rw [hb] |
| 92 | exact CoordinateCompleteness.StableHilbertCoverage.polynomialLinearSection_eq_coordinate I i |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.SectionCompleteness.StableHilbertCoverage |