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.Endomorphism.PullbackPowers |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.MixedOrbitPolynomial |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Coherent.TensorPowers |
| 4 | |
| 5 | /-! # Euler Polynomial -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Endomorphism.EulerPolynomial |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual coherent Euler polynomials of the powers of `([n] - f)^*L`. |
| 12 | The degree bounds use the intrinsic dimension and the proved tensor |
| 13 | difference filtration; the pullbacks and Euler characteristics are the |
| 14 | original geometric constructions. -/ |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory MonoidalCategory |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Coherent.TensorPowers.ProjectiveK OAI.NumberTheory.PadicHodge.IntegralComparison.Endomorphism.PullbackPowers |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra AlgebraicGeometry.SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory |
| 23 | AlgebraicGeometry.SheafCohomology.Projective.Monoidal.Scheme.Modules.symmetricCategory |
| 24 | |
| 25 | abbrev tensorEnd {X : Scheme.{u}} (L : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) : AddMonoid.End (Coherent.KTheory.Projective.CoherentK0 X) := |
| 26 | Coherent.KTheory.Projective.coherentTensorEnd L.sheaf (AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible L) |
| 27 | |
| 28 | theorem tensorEnd_tensor {X : Scheme.{u}} (L M : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) : |
| 29 | tensorEnd (L.tensor M) = tensorEnd L * tensorEnd M := by |
| 30 | symm |
| 31 | change (Coherent.KTheory.Projective.coherentTensorK0 L.sheaf _).comp (Coherent.KTheory.Projective.coherentTensorK0 M.sheaf _) = _ |
| 32 | rw [Coherent.KTheory.Projective.coherentTensorK0_comp] |
| 33 | exact Coherent.KTheory.Projective.coherentTensorK0_congr _ _ |
| 34 | ((β_ M.sheaf L.sheaf) ≪≫ AlgebraicGeometry.Quotients.FiniteDescent.MonoidalLine.Construction.MonoidalLineBundles.tensorIso L.sheaf M.sheaf) |
| 35 | |
| 36 | theorem tensorEnd_commute {X : Scheme.{u}} (L M : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) : |
| 37 | Commute (tensorEnd L) (tensorEnd M) := |
| 38 | Coherent.KTheory.Projective.coherentTensorK0_commute L.sheaf M.sheaf |
| 39 | (AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible L) (AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible M) |
| 40 | |
| 41 | theorem tensorEnd_power {X : Scheme.{u}} (L : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (m : ℕ) : |
| 42 | tensorEnd (L.tensorPower m) = tensorEnd L ^ m := |
| 43 | (Coherent.TensorPowers.ProjectiveK.coherentTensorEnd_power L m).symm |
| 44 | |
| 45 | variable {K : Type u} [Field K] [IsAlgClosed K] |
| 46 | (A : Over (Spec (CommRingCat.of K))) [GrpObj A] [IsCommMonObj A] |
| 47 | [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] |
| 48 | |
| 49 | theorem tensorEnd_pullback (L : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) |
| 50 | (hsym : Nonempty ((L.pullback (GrpObj.inv (X := A)).left).sheaf ≅ L.sheaf)) |
| 51 | (f : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) (n : ℕ) : |
| 52 | tensorEnd (L.pullback ((n : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) - f).toMul.hom.hom.left) = |
| 53 | tensorEnd L ^ (n * n) * tensorEnd (PullbackPowers.linearBundle A L f) ^ n * |
| 54 | tensorEnd (L.pullback f.toMul.hom.hom.left) := by |
| 55 | obtain ⟨e⟩ := PullbackPowers.pullback_iso A L hsym f n |
| 56 | have h := Coherent.KTheory.Projective.coherentTensorK0_congr |
| 57 | (AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible (L.pullback ((n : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) - f).toMul.hom.hom.left)) |
| 58 | (AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible (PullbackPowers.tensorOrbit A L f n)) e |
| 59 | change tensorEnd (L.pullback ((n : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) - f).toMul.hom.hom.left) = |
| 60 | tensorEnd (PullbackPowers.tensorOrbit A L f n) at h |
| 61 | rw [h] |
| 62 | simp only [PullbackPowers.tensorOrbit, tensorEnd_tensor, tensorEnd_power] |
| 63 | |
| 64 | theorem tensorEnd_pullback_power (L : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) |
| 65 | (hsym : Nonempty ((L.pullback (GrpObj.inv (X := A)).left).sheaf ≅ L.sheaf)) |
| 66 | (f : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) (n m : ℕ) : |
| 67 | tensorEnd (L.pullback ((n : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) - f).toMul.hom.hom.left) ^ m = |
| 68 | tensorEnd L ^ (n * n * m) * tensorEnd (PullbackPowers.linearBundle A L f) ^ (n * m) * |
| 69 | tensorEnd (L.pullback f.toMul.hom.hom.left) ^ m := by |
| 70 | rw [tensorEnd_pullback A L hsym f n] |
| 71 | have h₁ := (tensorEnd_commute L (PullbackPowers.linearBundle A L f)).pow_pow (n * n) n |
| 72 | have h₂ := ((tensorEnd_commute L (L.pullback f.toMul.hom.hom.left)).pow_left (n * n)).mul_left |
| 73 | ((tensorEnd_commute (PullbackPowers.linearBundle A L f) (L.pullback f.toMul.hom.hom.left)).pow_left n) |
| 74 | rw [h₂.mul_pow, h₁.mul_pow, ← pow_mul, ← pow_mul] |
| 75 | |
| 76 | variable {r : ℕ} |
| 77 | (e : A.left ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) K)) |
| 78 | [IsClosedImmersion e] |
| 79 | |
| 80 | local instance : IsIntegral A.left := |
| 81 | GeometricallyIntegral.isIntegral_of_subsingleton A.hom |
| 82 | |
| 83 | theorem euler_pullback_power (L : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) |
| 84 | (hsym : Nonempty ((L.pullback (GrpObj.inv (X := A)).left).sheaf ≅ L.sheaf)) |
| 85 | (f : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) (n m : ℕ) : |
| 86 | Coherent.EulerIndex.ProjectiveK.coherentEuler e ((L.pullback ((n : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) - f).toMul.hom.hom.left).tensorPower m).sheaf = |
| 87 | Coherent.EulerIndex.ProjectiveK.coherentEulerIndex e |
| 88 | ((tensorEnd L ^ (n * n * m)) |
| 89 | ((tensorEnd (PullbackPowers.linearBundle A L f) ^ (n * m)) |
| 90 | ((tensorEnd (L.pullback f.toMul.hom.hom.left) ^ m) |
| 91 | (Coherent.KTheory.Projective.coherentK0Class (Coherent.StructureDimension.ProjectiveK.coherentStructureModule A.left))))) := by |
| 92 | rw [← Coherent.TensorPowers.ProjectiveK.coherentEulerIndex_tensor_power_structure] |
| 93 | change Coherent.EulerIndex.ProjectiveK.coherentEulerIndex e |
| 94 | ((tensorEnd (L.pullback ((n : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) - f).toMul.hom.hom.left) ^ m) _) = _ |
| 95 | rw [tensorEnd_pullback_power A L hsym f n m] |
| 96 | rfl |
| 97 | |
| 98 | /-- The top coefficient in the tensor-power variable is itself polynomial |
| 99 | in `n`, with twice the intrinsic dimension as an upper bound. -/ |
| 100 | theorem exists_euler_polynomials (j : Fin (r + 1)) (L : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) |
| 101 | (hsym : Nonempty ((L.pullback (GrpObj.inv (X := A)).left).sheaf ≅ L.sheaf)) |
| 102 | (f : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) : |
| 103 | ∃ (P : ℕ → Polynomial ℚ) (D : Polynomial ℚ), |
| 104 | D.natDegree ≤ 2 * AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.hom ∧ |
| 105 | (∀ n : ℕ, (P n).natDegree ≤ AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.hom) ∧ |
| 106 | (∀ n m : ℕ, (P n).eval (m : ℚ) = |
| 107 | (Coherent.EulerIndex.ProjectiveK.coherentEuler e |
| 108 | ((L.pullback ((n : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) - f).toMul.hom.hom.left).tensorPower m).sheaf : ℚ)) ∧ |
| 109 | (∀ n : ℕ, (P n).coeff (AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.hom) = D.eval (n : ℚ)) ∧ |
| 110 | D.coeff (2 * AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.hom) = |
| 111 | (Coherent.EulerIndex.ProjectiveK.coherentEulerIndex e |
| 112 | (((tensorEnd L - 1) ^ AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.hom) |
| 113 | (Coherent.KTheory.Projective.coherentK0Class (Coherent.StructureDimension.ProjectiveK.coherentStructureModule A.left))) : ℚ) / |
| 114 | ((AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.hom).factorial : ℚ) := by |
| 115 | have : IsIntegral A.left := GeometricallyIntegral.isIntegral_of_subsingleton A.hom |
| 116 | let φ : Coherent.KTheory.Projective.CoherentK0 A.left →+ ℚ := (Int.castAddHom ℚ).comp (Coherent.EulerIndex.ProjectiveK.coherentEulerIndex e) |
| 117 | let x := Coherent.KTheory.Projective.coherentK0Class (Coherent.StructureDimension.ProjectiveK.coherentStructureModule A.left) |
| 118 | have hz (a b c : ℕ) (hd : AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.hom < a + b + c) : |
| 119 | ((tensorEnd L - 1) ^ a) |
| 120 | (((tensorEnd (PullbackPowers.linearBundle A L f) - 1) ^ b) |
| 121 | (((tensorEnd (L.pullback f.toMul.hom.hom.left) - 1) ^ c) x)) = 0 := |
| 122 | Coherent.StructureDimension.ProjectiveK.coherentTensorDifference_mixed_structure_dimension e j A.hom |
| 123 | L.sheaf (PullbackPowers.linearBundle A L f).sheaf (L.pullback f.toMul.hom.hom.left).sheaf |
| 124 | (AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible L) (AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible (PullbackPowers.linearBundle A L f)) |
| 125 | (AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible (L.pullback f.toMul.hom.hom.left)) a b c hd |
| 126 | obtain ⟨P, D, hD, hP, hval, htop, hlead⟩ := MixedOrbitPolynomial.orbit_polynomials_with_top |
| 127 | (tensorEnd L) (tensorEnd (PullbackPowers.linearBundle A L f)) (tensorEnd (L.pullback f.toMul.hom.hom.left)) |
| 128 | φ x (AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.hom) hz |
| 129 | refine ⟨P, D, hD, hP, ?_, htop, hlead⟩ |
| 130 | intro n m |
| 131 | rw [hval] |
| 132 | exact congrArg (fun z : ℤ => (z : ℚ)) (euler_pullback_power A e L hsym f n m).symm |
| 133 | |
| 134 | end |
| 135 | |
| 136 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Endomorphism.EulerPolynomial |