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.Crystalline.Cohomology.PolynomialOperators |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.FreeDivided.KoszulHomotopy |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Koszul.FunctorResolution |
| 4 | |
| 5 | /-! # Polynomial Resolution -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.PolynomialResolution.CrystallinePolynomialResolution |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # A coordinate resolution of native crystalline functions |
| 13 | |
| 14 | Natural coordinate primitives on actual polynomial extensions give an |
| 15 | augmented complex of presheaves whose coefficient object is the original |
| 16 | native crystalline functions presheaf. Its augmentation is a |
| 17 | quasi-isomorphism. The differential acts in the adjoined coordinates and |
| 18 | annihilates the original ambient functions. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory Opposite |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [CharP k p] |
| 26 | (X : Over (AlgebraicGeometry.Spec (CommRingCat.of k))) (σ : Type u) [Fintype σ] |
| 27 | |
| 28 | local notation "W" => WittVector p k |
| 29 | local notation "C" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Site.Object p k X |
| 30 | local notation "F" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PolynomialOperators.CrystallinePolynomialOperators.functions p k X σ |
| 31 | local notation "G" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Site.functions p k X |
| 32 | local notation "D" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PolynomialOperators.CrystallinePolynomialOperators.derivative p k X σ |
| 33 | local notation "S" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PolynomialOperators.CrystallinePolynomialOperators.primitive p k X σ |
| 34 | local notation "d" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Koszul.Functor.KoszulFunctor.derivatives W σ F D |
| 35 | local notation "s" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Koszul.Functor.KoszulFunctor.derivatives W σ F S |
| 36 | local notation "c" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PolynomialOperators.CrystallinePolynomialOperators.coefficients p k X σ |
| 37 | local notation "r" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PolynomialOperators.CrystallinePolynomialOperators.augmentation p k X σ |
| 38 | |
| 39 | omit [Fintype σ] in |
| 40 | theorem commute (Q : Cᵒᵖ) (i j : σ) : Function.Commute (d Q i) (d Q j) := |
| 41 | FreeDivided.Derivation.FreeDividedDerivation.derivations_commute Q.unop.thickening.ring σ i j |
| 42 | |
| 43 | omit [Fintype σ] in |
| 44 | theorem rightInverse (Q : Cᵒᵖ) (i : σ) (a : (F).obj Q) : d Q i (s Q i a) = a := |
| 45 | FreeDivided.Primitive.FreeDividedPrimitive.derivation_primitive Q.unop.thickening.ring σ i a |
| 46 | |
| 47 | omit [Fintype σ] in |
| 48 | theorem commute_primitive (Q : Cᵒᵖ) (i j : σ) (hji : j ≠ i) (a : (F).obj Q) : |
| 49 | d Q j (s Q i a) = s Q i (d Q j a) := |
| 50 | LinearMap.congr_fun (FreeDivided.Primitive.FreeDividedPrimitive.derivation_primitive_commute Q.unop.thickening.ring σ i j hji.symm) a |
| 51 | |
| 52 | omit [Fintype σ] in |
| 53 | theorem coefficient_split (Q : Cᵒᵖ) : ((r).app Q).hom.comp ((c).app Q).hom = LinearMap.id := by |
| 54 | apply LinearMap.ext |
| 55 | intro a |
| 56 | exact (Multivariable.Reduction.MultivariableReduction.augmentation Q.unop.thickening.ring σ).commutes a |
| 57 | |
| 58 | omit [Fintype σ] in |
| 59 | theorem derivative_coefficients (Q : Cᵒᵖ) (i : σ) (a : (G).obj Q) : d Q i (((c).app Q).hom a) = 0 := |
| 60 | Derivation.map_algebraMap (FreeDivided.Derivation.FreeDividedDerivation.derivation Q.unop.thickening.ring σ i) a |
| 61 | |
| 62 | omit [Fintype σ] in |
| 63 | theorem successive_apply (Q : Cᵒᵖ) (l : List σ) (a : (F).obj Q) : |
| 64 | Koszul.SuccessiveHomotopy.KoszulSuccessiveHomotopy.coefficient W σ ((F).obj Q) (d Q) (s Q) l a = |
| 65 | FreeDivided.Constants.FreeDividedConstants.successive Q.unop.thickening.ring σ l a := by |
| 66 | induction l generalizing a with |
| 67 | | nil => rfl |
| 68 | | cons i l ih => |
| 69 | change Koszul.SuccessiveHomotopy.KoszulSuccessiveHomotopy.coefficient W σ ((F).obj Q) (d Q) (s Q) l |
| 70 | (Koszul.CoordinateHomotopy.KoszulCoordinateHomotopy.coefficientProjection W σ ((F).obj Q) (d Q) i (s Q i) a) = |
| 71 | FreeDivided.Constants.FreeDividedConstants.successive Q.unop.thickening.ring σ l |
| 72 | (FreeDivided.Primitive.FreeDividedPrimitive.projection Q.unop.thickening.ring σ i a) |
| 73 | rw [ih] |
| 74 | congr 1 |
| 75 | exact LinearMap.congr_fun (FreeDivided.KoszulHomotopy.FreeDividedKoszulHomotopy.coordinateProjection Q.unop.thickening.ring σ i) a |
| 76 | |
| 77 | omit [Fintype σ] in |
| 78 | theorem augmentation_eq_constantCoefficient (Q : Cᵒᵖ) : |
| 79 | (Multivariable.Reduction.MultivariableReduction.augmentation Q.unop.thickening.ring σ).toLinearMap = |
| 80 | FreeDivided.Constants.FreeDividedConstants.constantCoefficient Q.unop.thickening.ring σ := by |
| 81 | apply LinearMap.ext_on (Multivariable.DividedAlgebra.MultivariableDividedAlgebra.span_monomial_eq_top Q.unop.thickening.ring σ) |
| 82 | rintro _ ⟨e, rfl⟩ |
| 83 | exact (Multivariable.Reduction.MultivariableReduction.augmentation_monomial Q.unop.thickening.ring σ e).trans |
| 84 | (FreeDivided.Constants.FreeDividedConstants.constantCoefficient_monomial Q.unop.thickening.ring σ e).symm |
| 85 | |
| 86 | omit [Fintype σ] in |
| 87 | theorem finalProjection (Q : Cᵒᵖ) (l : List σ) (hl : ∀ i, i ∈ l) : |
| 88 | Koszul.SuccessiveHomotopy.KoszulSuccessiveHomotopy.coefficient W σ ((F).obj Q) (d Q) (s Q) l = |
| 89 | ((c).app Q).hom.comp ((r).app Q).hom := by |
| 90 | apply LinearMap.ext |
| 91 | intro a |
| 92 | rw [successive_apply, FreeDivided.Constants.FreeDividedConstants.successive_eq_constants _ σ l hl] |
| 93 | have hc := LinearMap.congr_fun (augmentation_eq_constantCoefficient p k X σ Q) a |
| 94 | change algebraMap Q.unop.thickening.ring |
| 95 | (DividedPowerAlgebra Q.unop.thickening.ring (σ →₀ Q.unop.thickening.ring)) |
| 96 | (FreeDivided.Constants.FreeDividedConstants.constantCoefficient Q.unop.thickening.ring σ a) = |
| 97 | algebraMap Q.unop.thickening.ring |
| 98 | (DividedPowerAlgebra Q.unop.thickening.ring (σ →₀ Q.unop.thickening.ring)) |
| 99 | (Multivariable.Reduction.MultivariableReduction.augmentation Q.unop.thickening.ring σ a) |
| 100 | rw [← hc] |
| 101 | rfl |
| 102 | |
| 103 | def complex : CochainComplex (Cᵒᵖ ⥤ ModuleCat W) ℕ := |
| 104 | Koszul.Functor.KoszulFunctor.complex W σ F D (commute p k X σ) |
| 105 | |
| 106 | /-- The coefficient presheaf is the original native crystalline functions. -/ |
| 107 | def augmentation : (CochainComplex.single₀ (Cᵒᵖ ⥤ ModuleCat W)).obj G ⟶ complex p k X σ := |
| 108 | Koszul.FunctorResolution.KoszulFunctorResolution.augmentation W σ F G D S (commute p k X σ) |
| 109 | (rightInverse p k X σ) (commute_primitive p k X σ) |
| 110 | (FreeDivided.KoszulHomotopy.FreeDividedKoszulHomotopy.coordinateList σ) (FreeDivided.KoszulHomotopy.FreeDividedKoszulHomotopy.mem_coordinateList σ) |
| 111 | c r (coefficient_split p k X σ) (derivative_coefficients p k X σ) |
| 112 | (fun Q => finalProjection p k X σ Q _ (FreeDivided.KoszulHomotopy.FreeDividedKoszulHomotopy.mem_coordinateList σ)) |
| 113 | |
| 114 | instance augmentation_quasiIso : QuasiIso (augmentation p k X σ) := |
| 115 | Koszul.FunctorResolution.KoszulFunctorResolution.augmentation_quasiIso W σ F G D S (commute p k X σ) |
| 116 | (rightInverse p k X σ) (commute_primitive p k X σ) |
| 117 | (FreeDivided.KoszulHomotopy.FreeDividedKoszulHomotopy.coordinateList σ) (FreeDivided.KoszulHomotopy.FreeDividedKoszulHomotopy.mem_coordinateList σ) |
| 118 | c r (coefficient_split p k X σ) (derivative_coefficients p k X σ) |
| 119 | (fun Q => finalProjection p k X σ Q _ (FreeDivided.KoszulHomotopy.FreeDividedKoszulHomotopy.mem_coordinateList σ)) |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.PolynomialResolution.CrystallinePolynomialResolution |