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.NegativeTwistResidueNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TopCechRightExact |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Trace.DualityDescent |
| 4 | import Mathlib.LinearAlgebra.Dual.Lemmas |
| 5 | |
| 6 | /-! # Top Trace Pairing -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual top Čech trace on the canonical projective twist gives a |
| 13 | perfect pairing for every sufficiently negative twist. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.NegativeTwistResidueNaturality OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.TwistResidueCoordinates |
| 18 | LaurentResidueNaturality Trace.DualityDescent |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | abbrev coefficientRing (R : Type u) [CommRing R] : CommRingCat.{u} := |
| 23 | Γ(Spec (CommRingCat.of R), ⊤) |
| 24 | |
| 25 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] [LinearOrder σ] |
| 26 | |
| 27 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 28 | |
| 29 | local notation "C₀" => OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing.coefficientRing R |
| 30 | |
| 31 | def onePolynomial : homogeneousSubmodule σ C₀ 0 := ⟨1, isHomogeneous_one σ C₀⟩ |
| 32 | |
| 33 | abbrev topFunctor (n : ℕ) := |
| 34 | TopCechRightExact.functor (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 35 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) (n + 1) |
| 36 | |
| 37 | abbrev canonicalTwist (n : ℕ) (hn : Fintype.card σ = n + 2) := |
| 38 | AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) (n + 2) |
| 39 | |
| 40 | omit [LinearOrder σ] in |
| 41 | theorem canonical_degree (n : ℕ) (hn : Fintype.card σ = n + 2) : |
| 42 | Int.negSucc (n + 1) = -(0 : ℤ) - (Fintype.card σ : ℤ) := by omega |
| 43 | |
| 44 | def trace (n : ℕ) (hn : Fintype.card σ = n + 2) : |
| 45 | (topFunctor (R := R) (σ := σ) n).obj (canonicalTwist (R := R) n hn) ⟶ ModuleCat.of C₀ C₀ := |
| 46 | ModuleCat.ofHom |
| 47 | ((Module.Dual.eval C₀ (homogeneousSubmodule σ C₀ 0) (onePolynomial (R := R) (σ := σ))).comp |
| 48 | (Intrinsic.TwistResidueCoordinates.cohomologyDual (R := R) (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) (.negSucc (n + 1)) n 0 hn |
| 49 | (canonical_degree n hn)).toLinearMap) |
| 50 | |
| 51 | def negativeDualEquiv (n : ℕ) (hn : Fintype.card σ = n + 2) (A : ℕ) (hA : n + 1 ≤ A) : |
| 52 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) (A + 1) ⟶ |
| 53 | canonicalTwist (R := R) n hn) ≃ |
| 54 | Module.Dual C₀ ((topFunctor (R := R) (σ := σ) n).obj |
| 55 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) (A + 1))) := |
| 56 | (AlgebraicGeometry.SheafCohomology.Projective.NegativeTwistHomPolynomials.MvPolynomial.coordinateNegativeTwistHomEquivPolynomials (R := R) (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) |
| 57 | (A + 1) (n + 2) (Nat.add_le_add_right hA 1)).trans |
| 58 | (((Module.evalEquiv C₀ (homogeneousSubmodule σ C₀ ((A + 1) - (n + 2)))).trans |
| 59 | (Intrinsic.TwistResidueCoordinates.cohomologyDual (R := R) (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) (.negSucc A) n |
| 60 | ((A + 1) - (n + 2)) hn (by omega)).dualMap).toEquiv) |
| 61 | |
| 62 | attribute [local irreducible] Intrinsic.TwistResidueCoordinates.cohomologyDual AlgebraicGeometry.SheafCohomology.Projective.NegativeTwistHomPolynomials.MvPolynomial.coordinateNegativeTwistHomEquivPolynomials in |
| 63 | theorem negativeDualEquiv_apply (n : ℕ) (hn : Fintype.card σ = n + 2) (A : ℕ) (hA : n + 1 ≤ A) |
| 64 | (f : AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) (A + 1) ⟶ |
| 65 | canonicalTwist (R := R) n hn) |
| 66 | (x : (topFunctor (R := R) (σ := σ) n).obj |
| 67 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) (A + 1))) : |
| 68 | negativeDualEquiv (R := R) n hn A hA f x = |
| 69 | Intrinsic.TwistResidueCoordinates.cohomologyDual (R := R) (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) (.negSucc A) n |
| 70 | ((A + 1) - (n + 2)) hn (by omega) x |
| 71 | (AlgebraicGeometry.SheafCohomology.Projective.NegativeTwistHomPolynomials.MvPolynomial.coordinateNegativeTwistHomEquivPolynomials (R := R) (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) |
| 72 | (A + 1) (n + 2) (Nat.add_le_add_right hA 1) f) := rfl |
| 73 | |
| 74 | attribute [local irreducible] Intrinsic.TwistResidueCoordinates.cohomologyDual AlgebraicGeometry.SheafCohomology.Projective.NegativeTwistHomPolynomials.MvPolynomial.coordinateNegativeTwistHomEquivPolynomials in |
| 75 | theorem pairingMap_apply (n : ℕ) (hn : Fintype.card σ = n + 2) (A : ℕ) (hA : n + 1 ≤ A) |
| 76 | (f : AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) (A + 1) ⟶ |
| 77 | canonicalTwist (R := R) n hn) |
| 78 | (x : (topFunctor (R := R) (σ := σ) n).obj |
| 79 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) (A + 1))) : |
| 80 | (Trace.DualityDescent.pairingMap (topFunctor (R := R) (σ := σ) n) (trace (R := R) n hn) _ f).hom x = |
| 81 | negativeDualEquiv (R := R) n hn A hA f x := by |
| 82 | let m := (A + 1) - (n + 2) |
| 83 | let P := AlgebraicGeometry.SheafCohomology.Projective.NegativeTwistHomPolynomials.MvPolynomial.coordinateNegativeTwistHomEquivPolynomials (R := R) (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) |
| 84 | (A + 1) (n + 2) (Nat.add_le_add_right hA 1) f |
| 85 | have hP : LaurentResidueNaturality.homogeneousProduct σ C₀ m 0 P (onePolynomial (R := R) (σ := σ)) = P := by |
| 86 | apply Subtype.ext |
| 87 | exact mul_one P.val |
| 88 | have h := NegativeTwistResidueNaturality.cohomologyDual_naturality |
| 89 | (R := R) n hn A (n + 1) 0 hA (canonical_degree n hn) f |
| 90 | (onePolynomial (R := R) (σ := σ)) x |
| 91 | have he := congrArg (fun p : homogeneousSubmodule σ C₀ m => |
| 92 | Intrinsic.TwistResidueCoordinates.cohomologyDual (R := R) (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) (.negSucc A) n m hn (by omega) x p) hP |
| 93 | have hfinal := h.trans he |
| 94 | rw [negativeDualEquiv_apply] |
| 95 | exact hfinal |
| 96 | |
| 97 | def linearMapHomEquiv {C : Type*} [CommRing C] (V : ModuleCat C) : |
| 98 | Module.Dual C V ≃ (V ⟶ ModuleCat.of C C) where |
| 99 | toFun := ModuleCat.ofHom |
| 100 | invFun f := f.hom |
| 101 | left_inv _ := rfl |
| 102 | right_inv _ := rfl |
| 103 | |
| 104 | theorem negative_pairing_bijective (n : ℕ) (hn : Fintype.card σ = n + 2) (A : ℕ) (hA : n + 1 ≤ A) : |
| 105 | Function.Bijective (Trace.DualityDescent.pairingMap (topFunctor (R := R) (σ := σ) n) (trace (R := R) n hn) |
| 106 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) (A + 1))) := by |
| 107 | let e := (negativeDualEquiv (R := R) n hn A hA).trans |
| 108 | (linearMapHomEquiv ((topFunctor (R := R) (σ := σ) n).obj |
| 109 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) (A + 1)))) |
| 110 | have he : Trace.DualityDescent.pairingMap (topFunctor (R := R) (σ := σ) n) (trace (R := R) n hn) |
| 111 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) (A + 1)) = e := by |
| 112 | funext f |
| 113 | apply ModuleCat.hom_ext |
| 114 | apply LinearMap.ext |
| 115 | intro x |
| 116 | exact pairingMap_apply n hn A hA f x |
| 117 | rw [he] |
| 118 | exact e.bijective |
| 119 | |
| 120 | theorem negative_pairing_bijective_of_le (n : ℕ) (hn : Fintype.card σ = n + 2) |
| 121 | (d : ℕ) (hd : n + 2 ≤ d) : |
| 122 | Function.Bijective (Trace.DualityDescent.pairingMap (topFunctor (R := R) (σ := σ) n) (trace (R := R) n hn) |
| 123 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) d)) := by |
| 124 | cases d with |
| 125 | | zero => omega |
| 126 | | succ A => exact negative_pairing_bijective n hn A (by omega) |
| 127 | |
| 128 | end |
| 129 | |
| 130 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing |