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.PolynomialFunctor |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.FreeDivided.Constants |
| 3 | |
| 4 | /-! # Polynomial Operators -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.PolynomialOperators.CrystallinePolynomialOperators |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Natural coordinate operators on crystalline polynomial functions |
| 12 | |
| 13 | Coordinate differentiation and integration are natural endomorphisms of |
| 14 | the actual functions presheaf of the native polynomial extension. The |
| 15 | coefficient maps split naturally, and the coordinate derivatives vanish |
| 16 | on the original crystalline functions. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory Opposite |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [CharP k p] |
| 24 | (X : Over (AlgebraicGeometry.Spec (CommRingCat.of k))) (σ : Type u) |
| 25 | |
| 26 | local notation "W" => WittVector p k |
| 27 | local notation "C" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Site.Object p k X |
| 28 | |
| 29 | /-- Actual ambient functions of the polynomial-extension functor. -/ |
| 30 | def functions : Cᵒᵖ ⥤ ModuleCat W := |
| 31 | (PolynomialFunctor.CrystallinePolynomialFunctor.functor p k X σ).op ⋙ Site.functions p k X |
| 32 | |
| 33 | def derivative (i : σ) : functions p k X σ ⟶ functions p k X σ where |
| 34 | app Q := ModuleCat.ofHom |
| 35 | ((FreeDivided.Derivation.FreeDividedDerivation.derivation Q.unop.thickening.ring σ i).toLinearMap.restrictScalars W) |
| 36 | naturality {Q P} f := by |
| 37 | apply ModuleCat.hom_ext |
| 38 | apply LinearMap.ext |
| 39 | intro a |
| 40 | let : Algebra Q.unop.thickening.ring P.unop.thickening.ring := f.unop.ambientMap.toRingHom.toAlgebra |
| 41 | exact FreeRelative.BaseChange.FreeRelativeBaseChange.derivation_naturality Q.unop.thickening.ring P.unop.thickening.ring σ i a |
| 42 | |
| 43 | def primitive (i : σ) : functions p k X σ ⟶ functions p k X σ where |
| 44 | app Q := ModuleCat.ofHom ((FreeDivided.Primitive.FreeDividedPrimitive.primitive Q.unop.thickening.ring σ i).restrictScalars W) |
| 45 | naturality {Q P} f := by |
| 46 | apply ModuleCat.hom_ext |
| 47 | apply LinearMap.ext |
| 48 | intro a |
| 49 | let : Algebra Q.unop.thickening.ring P.unop.thickening.ring := f.unop.ambientMap.toRingHom.toAlgebra |
| 50 | exact FreeRelative.BaseChange.FreeRelativeBaseChange.primitive_naturality Q.unop.thickening.ring P.unop.thickening.ring σ i a |
| 51 | |
| 52 | def coefficients : Site.functions p k X ⟶ functions p k X σ where |
| 53 | app Q := ModuleCat.ofHom |
| 54 | ((PolynomialThickening.CrystallinePolynomialThickening.inclusion p k Q.unop.residueRing σ Q.unop.thickening).hom.toLinearMap) |
| 55 | naturality {Q P} f := by |
| 56 | apply ModuleCat.hom_ext |
| 57 | apply LinearMap.ext |
| 58 | intro a |
| 59 | exact (PolynomialFunctor.CrystallinePolynomialFunctor.ambientMap_coefficient σ f.unop a).symm |
| 60 | |
| 61 | def augmentation : functions p k X σ ⟶ Site.functions p k X where |
| 62 | app Q := ModuleCat.ofHom |
| 63 | ((PolynomialThickening.CrystallinePolynomialThickening.augmentation p k Q.unop.residueRing σ Q.unop.thickening).hom.toLinearMap) |
| 64 | naturality {Q P} f := by |
| 65 | apply ModuleCat.hom_ext |
| 66 | apply LinearMap.ext |
| 67 | intro a |
| 68 | exact PolynomialFunctor.CrystallinePolynomialFunctor.augmentation_ambientMap σ f.unop a |
| 69 | |
| 70 | theorem coefficients_augmentation : coefficients p k X σ ≫ augmentation p k X σ = 𝟙 _ := by |
| 71 | apply NatTrans.ext |
| 72 | funext Q |
| 73 | apply ModuleCat.hom_ext |
| 74 | apply LinearMap.ext |
| 75 | intro a |
| 76 | exact (Multivariable.Reduction.MultivariableReduction.augmentation Q.unop.thickening.ring σ).commutes a |
| 77 | |
| 78 | theorem derivatives_commute (i j : σ) : derivative p k X σ i ≫ derivative p k X σ j = |
| 79 | derivative p k X σ j ≫ derivative p k X σ i := by |
| 80 | apply NatTrans.ext |
| 81 | funext Q |
| 82 | apply ModuleCat.hom_ext |
| 83 | apply LinearMap.ext |
| 84 | intro a |
| 85 | exact FreeDivided.Derivation.FreeDividedDerivation.derivations_commute Q.unop.thickening.ring σ j i a |
| 86 | |
| 87 | theorem primitive_derivative (i : σ) : primitive p k X σ i ≫ derivative p k X σ i = 𝟙 _ := by |
| 88 | apply NatTrans.ext |
| 89 | funext Q |
| 90 | apply ModuleCat.hom_ext |
| 91 | apply LinearMap.ext |
| 92 | intro a |
| 93 | exact FreeDivided.Primitive.FreeDividedPrimitive.derivation_primitive Q.unop.thickening.ring σ i a |
| 94 | |
| 95 | theorem primitive_derivative_commute (i j : σ) (hij : i ≠ j) : |
| 96 | primitive p k X σ i ≫ derivative p k X σ j = |
| 97 | derivative p k X σ j ≫ primitive p k X σ i := by |
| 98 | apply NatTrans.ext |
| 99 | funext Q |
| 100 | apply ModuleCat.hom_ext |
| 101 | apply LinearMap.ext |
| 102 | intro a |
| 103 | exact LinearMap.congr_fun |
| 104 | (FreeDivided.Primitive.FreeDividedPrimitive.derivation_primitive_commute Q.unop.thickening.ring σ i j hij) a |
| 105 | |
| 106 | theorem coefficients_derivative (i : σ) : coefficients p k X σ ≫ derivative p k X σ i = 0 := by |
| 107 | apply NatTrans.ext |
| 108 | funext Q |
| 109 | apply ModuleCat.hom_ext |
| 110 | apply LinearMap.ext |
| 111 | intro a |
| 112 | exact Derivation.map_algebraMap (FreeDivided.Derivation.FreeDividedDerivation.derivation Q.unop.thickening.ring σ i) a |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.PolynomialOperators.CrystallinePolynomialOperators |