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.NumberTheory.PadicHodge.IntegralComparison.LaurentChartMultiplication |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.PolynomialChartCoordinates |
| 3 | |
| 4 | /-! # Section Intersections -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.SectionIntersections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A global section of a positive projective twist has its same |
| 11 | homogeneous polynomial on every ordered affine intersection. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite _root_.MvPolynomial |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.LaurentPolynomialAction OAI.NumberTheory.PadicHodge.IntegralComparison.LaurentChartMultiplication |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] [LinearOrder σ] |
| 22 | |
| 23 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 24 | |
| 25 | def coordinates (j : σ) (d : ℤ) {n : ℕ} |
| 26 | (a : AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) n) : |
| 27 | AlgebraicGeometry.SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 28 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneTwist (R := R) j d) (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) n a.val ≃ₗ[ |
| 29 | Γ(Spec (CommRingCat.of R), ⊤)] |
| 30 | AddMonoidAlgebra Γ(Spec (CommRingCat.of R), ⊤) (LaurentPolynomialAction.Allowed d (fun k => (a.val k).down)) := |
| 31 | (AlgebraicGeometry.SheafCohomology.Projective.TwistCechFactors.MvPolynomial.coordinateHyperplaneTwistBaseCechFactorIsoUnit (R := R) a.val j d).toLinearEquiv.trans |
| 32 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCechIntersectionBaseHomogeneousLaurentLinearEquiv (R := R) a.val d) |
| 33 | |
| 34 | def sectionCoordinates (j : σ) (m : ℕ) |
| 35 | (s : Γ(AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j m, ⊤)) {n : ℕ} |
| 36 | (a : AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) n) : |
| 37 | AddMonoidAlgebra Γ(Spec (CommRingCat.of R), ⊤) (LaurentPolynomialAction.Allowed (m : ℤ) (fun k => (a.val k).down)) := |
| 38 | coordinates j (m : ℤ) a |
| 39 | ((AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j m).presheaf.map |
| 40 | (homOfLE (show AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.val ≤ ⊤ from le_top)).op s) |
| 41 | |
| 42 | def expansion (m : ℕ) (P : homogeneousSubmodule σ Γ(Spec (CommRingCat.of R), ⊤) m) {n : ℕ} |
| 43 | (a : AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) n) : |
| 44 | AddMonoidAlgebra Γ(Spec (CommRingCat.of R), ⊤) (LaurentPolynomialAction.Allowed (m : ℤ) (fun k => (a.val k).down)) := |
| 45 | ∑ e : AlgebraicGeometry.SheafCohomology.Projective.LaurentZeroCoefficients.MvPolynomial.NonnegativeLaurentWeight σ (m : ℤ), |
| 46 | AddMonoidAlgebra.single (AlgebraicGeometry.SheafCohomology.Projective.PolynomialChartMap.MvPolynomial.nonnegativeLaurentWeightAllowed (fun k => (a.val k).down) m e) |
| 47 | (AlgebraicGeometry.SheafCohomology.Projective.NonnegativeLaurentPolynomials.MvPolynomial.homogeneousPolynomialCoefficientsEquiv Γ(Spec (CommRingCat.of R), ⊤) m P e) |
| 48 | |
| 49 | omit [Fintype σ] in |
| 50 | theorem sectionCoordinates_delete (j : σ) (m : ℕ) |
| 51 | (s : Γ(AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j m, ⊤)) {n : ℕ} |
| 52 | (a : AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) (k : Fin (n + 1)) : |
| 53 | sectionCoordinates (R := R) j m s a = |
| 54 | AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateHomogeneousLaurentDeleteLinearMap (R := R) a k.succ (m : ℤ) |
| 55 | (sectionCoordinates (R := R) j m s (a.delete k.succ)) := by |
| 56 | let M := AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j m |
| 57 | let y := M.presheaf.map |
| 58 | (homOfLE (show AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) (a.delete k.succ).val ≤ ⊤ from le_top)).op s |
| 59 | have hs : M.presheaf.map (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCechDelete (R := R) a k.succ).op y = |
| 60 | M.presheaf.map (homOfLE (show AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.val ≤ ⊤ from le_top)).op s := by |
| 61 | dsimp only [y] |
| 62 | rw [← M.presheaf.map_comp_apply] |
| 63 | congr 1 |
| 64 | have hf := ConcreteCategory.congr_hom |
| 65 | (AlgebraicGeometry.SheafCohomology.Projective.TwistCechFirstFrame.MvPolynomial.coordinateHyperplaneTwistBaseCechFactorIsoUnit_naturality_delete_of_ne_zero |
| 66 | (R := R) a k.succ (Fin.succ_ne_zero k) j (m : ℤ)) y |
| 67 | change (AlgebraicGeometry.SheafCohomology.Projective.TwistCechFactors.MvPolynomial.coordinateHyperplaneTwistBaseCechFactorIsoUnit (R := R) a.val j (m : ℤ)).hom |
| 68 | (M.presheaf.map (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCechDelete (R := R) a k.succ).op y) = |
| 69 | (AlgebraicGeometry.SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 70 | (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj (Proj (homogeneousSubmodule σ R)))).map |
| 71 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCechDelete (R := R) a k.succ).op |
| 72 | ((AlgebraicGeometry.SheafCohomology.Projective.TwistCechFactors.MvPolynomial.coordinateHyperplaneTwistBaseCechFactorIsoUnit (R := R) (a.delete k.succ).val j (m : ℤ)).hom y) at hf |
| 73 | rw [hs] at hf |
| 74 | change AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCechIntersectionBaseHomogeneousLaurentLinearEquiv (R := R) a.val (m : ℤ) |
| 75 | ((AlgebraicGeometry.SheafCohomology.Projective.TwistCechFactors.MvPolynomial.coordinateHyperplaneTwistBaseCechFactorIsoUnit (R := R) a.val j (m : ℤ)).hom |
| 76 | (M.presheaf.map (homOfLE (show AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.val ≤ ⊤ from le_top)).op s)) = _ |
| 77 | rw [hf] |
| 78 | exact AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCechIntersectionBaseHomogeneousLaurentLinearEquiv_naturality_delete_succ |
| 79 | (R := R) a k (m : ℤ) _ |
| 80 | |
| 81 | theorem sectionCoordinates_expansion (j : σ) (m : ℕ) |
| 82 | (s : Γ(AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j m, ⊤)) (n : ℕ) |
| 83 | (a : AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) n) : |
| 84 | sectionCoordinates (R := R) j m s a = |
| 85 | expansion m (AlgebraicGeometry.SheafCohomology.Projective.DegreeZeroPolynomials.MvPolynomial.coordinateTwistGlobalSectionsLinearEquivPolynomials (R := R) j m s) a := by |
| 86 | induction n with |
| 87 | | zero => |
| 88 | change LaurentChartMultiplication.reindex Γ(Spec (CommRingCat.of R), ⊤) (m : ℤ) (fun k => (a.val k).down) |
| 89 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCechIntersectionBaseLaurentLinearEquiv (R := R) a.val |
| 90 | ((AlgebraicGeometry.SheafCohomology.Projective.TwistCechFactors.MvPolynomial.coordinateHyperplaneTwistBaseCechFactorIsoUnit (R := R) a.val j (m : ℤ)).hom |
| 91 | ((AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j m).presheaf.map |
| 92 | (homOfLE (show AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.val ≤ ⊤ from le_top)).op s))) = _ |
| 93 | rw [AlgebraicGeometry.SheafCohomology.Projective.PolynomialChartCoordinates.MvPolynomial.coordinateTwistGlobalSections_polynomial_chart, AlgebraicGeometry.SheafCohomology.Projective.PolynomialChartHomogeneous.MvPolynomial.polynomialChartRingHom_homogeneous, map_sum] |
| 94 | unfold expansion |
| 95 | apply Finset.sum_congr rfl |
| 96 | intro e _ |
| 97 | rw [LaurentChartMultiplication.reindex_single, Equiv.apply_symm_apply] |
| 98 | | succ n ih => |
| 99 | rw [sectionCoordinates_delete j m s a (Fin.last n), ih (a.delete (Fin.last n).succ)] |
| 100 | simp only [expansion, map_sum, AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateHomogeneousLaurentDeleteLinearMap_single] |
| 101 | apply Finset.sum_congr rfl |
| 102 | intro e _ |
| 103 | rfl |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.SectionIntersections |