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.FiniteSumWeights |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FamilyOrbitPolynomial |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FamilyTensorNilpotence |
| 4 | |
| 5 | /-! # Finite Sum Euler -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Endomorphism.FiniteSumEuler |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Genuine multivariate Euler polynomials for the pullbacks along |
| 12 | finite combinations of algebraic endomorphisms. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FamilyTensorNilpotence.ProjectiveK OAI.NumberTheory.PadicHodge.IntegralComparison.Endomorphism.EulerPolynomial |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Endomorphism.FiniteSumWeights.Tensor OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FamilyNewton.Family |
| 18 | |
| 19 | universe u v |
| 20 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 21 | |
| 22 | variable {K : Type u} [Field K] [IsAlgClosed K] |
| 23 | (A : Over (Spec (CommRingCat.of K))) [GrpObj A] [IsCommMonObj A] |
| 24 | [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] |
| 25 | {r : ℕ} (e : A.left ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) K)) |
| 26 | [IsClosedImmersion e] |
| 27 | |
| 28 | local instance : IsIntegral A.left := GeometricallyIntegral.isIntegral_of_subsingleton A.hom |
| 29 | |
| 30 | theorem euler_pullback_power (L : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) |
| 31 | (hsym : Nonempty ((L.pullback (GrpObj.inv (X := A)).left).sheaf ≅ L.sheaf)) |
| 32 | {ι : Type v} [Fintype ι] (f : ι → AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) (a : ι → ℕ) (m : ℕ) : |
| 33 | Coherent.EulerIndex.ProjectiveK.coherentEuler e ((L.pullback (2 • ∑ i, a i • f i).toMul.hom.hom.left).tensorPower m).sheaf = |
| 34 | Coherent.EulerIndex.ProjectiveK.coherentEulerIndex e (Finite.FamilyNewton.Family.ordered (fun t => EulerPolynomial.tensorEnd (FiniteSumTensor.factor A L f t)) |
| 35 | (fun t => FiniteSumTensor.weight a t * m) (Coherent.KTheory.Projective.coherentK0Class (Coherent.StructureDimension.ProjectiveK.coherentStructureModule A.left))) := by |
| 36 | rw [← Coherent.TensorPowers.ProjectiveK.coherentEulerIndex_tensor_power_structure] |
| 37 | change Coherent.EulerIndex.ProjectiveK.coherentEulerIndex e |
| 38 | ((EulerPolynomial.tensorEnd (L.pullback (2 • ∑ i, a i • f i).toMul.hom.hom.left) ^ m) _) = _ |
| 39 | rw [FiniteSumTensor.tensorEnd_double_sum_power A L hsym f a m] |
| 40 | |
| 41 | theorem exists_euler_polynomials (j : Fin (r + 1)) (L : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) |
| 42 | (hsym : Nonempty ((L.pullback (GrpObj.inv (X := A)).left).sheaf ≅ L.sheaf)) |
| 43 | {ι : Type v} [Fintype ι] (f : ι → AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) : |
| 44 | ∃ (P : (ι → ℕ) → Polynomial ℚ) (D : MvPolynomial ι ℚ), |
| 45 | D.totalDegree ≤ 2 * AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.hom ∧ |
| 46 | (∀ a, (P a).natDegree ≤ AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.hom) ∧ |
| 47 | (∀ a (m : ℕ), (P a).eval (m : ℚ) = |
| 48 | (Coherent.EulerIndex.ProjectiveK.coherentEuler e |
| 49 | ((L.pullback (2 • ∑ i, a i • f i).toMul.hom.hom.left).tensorPower m).sheaf : ℚ)) ∧ |
| 50 | (∀ a, (P a).coeff (AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.hom) = |
| 51 | MvPolynomial.eval (fun i => (a i : ℚ)) D) := by |
| 52 | let φ : Coherent.KTheory.Projective.CoherentK0 A.left →+ ℚ := (Int.castAddHom ℚ).comp (Coherent.EulerIndex.ProjectiveK.coherentEulerIndex e) |
| 53 | let x := Coherent.KTheory.Projective.coherentK0Class (Coherent.StructureDimension.ProjectiveK.coherentStructureModule A.left) |
| 54 | have hz (n : Fin (Fintype.card (ι × ι)) → ℕ) |
| 55 | (hn : AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.hom < ∑ i, n i) : |
| 56 | Finite.FamilyNewton.Family.ordered (fun t => EulerPolynomial.tensorEnd (FiniteSumTensor.factor A L f t) - 1) n x = 0 := |
| 57 | Finite.FamilyTensorNilpotence.ProjectiveK.coherentTensorDifference_family_eq_zero e j (fun t => (FiniteSumTensor.factor A L f t).sheaf) |
| 58 | (fun t => AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible (FiniteSumTensor.factor A L f t)) n |
| 59 | (AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.hom + 1) (Nat.succ_le_of_lt hn) x |
| 60 | (Coherent.StructureDimension.ProjectiveK.coherentStructureClass_mem_hilbertFiltration e j A.hom) |
| 61 | obtain ⟨P, D, hD, hP, hval, htop⟩ := Finite.FamilyOrbitPolynomial.Family.orbit_polynomials |
| 62 | (fun t => EulerPolynomial.tensorEnd (FiniteSumTensor.factor A L f t)) φ x (AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.hom) 2 hz |
| 63 | FiniteSumWeights.Tensor.weightPolynomial FiniteSumWeights.Tensor.weightPolynomial_totalDegree FiniteSumTensor.weight FiniteSumWeights.Tensor.weightPolynomial_eval |
| 64 | refine ⟨P, D, hD, hP, ?_, htop⟩ |
| 65 | intro a m |
| 66 | rw [hval] |
| 67 | exact congrArg (fun z : ℤ => (z : ℚ)) (euler_pullback_power A e L hsym f a m).symm |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Endomorphism.FiniteSumEuler |