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.Principal.DividedPowerDescent |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.ChartDividedPowers |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.StandardEtaleCoordinates |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.DividedPower.IdealTransport |
| 5 | |
| 6 | /-! # Smooth Divided Powers -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothDividedPowers |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The canonical divided powers on the special-fiber ideal of any |
| 13 | smooth algebra over a finite Witt level, obtained from actual standard |
| 14 | étale charts and equality detection on a principal affine cover. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 21 | (n : ℕ) (A : Type) [CommRing A] [Algebra (Witt.Ring p k n) A] |
| 22 | [Algebra.Smooth (Witt.Ring p k n) A] |
| 23 | |
| 24 | local notation "W" => WittVector p k |
| 25 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.Ring p k n |
| 26 | |
| 27 | def localizers : Finset A := |
| 28 | (IntegralComparison.Smooth.StandardEtaleCoordinates.exists_finite_cover S A).choose |
| 29 | |
| 30 | omit [Fintype k] [CharP k p] in |
| 31 | theorem localizers_span : Ideal.span (localizers p k n A : Set A) = ⊤ := |
| 32 | (IntegralComparison.Smooth.StandardEtaleCoordinates.exists_finite_cover S A).choose_spec.2 |
| 33 | |
| 34 | abbrev Index := {a : A // a ∈ localizers p k n A} |
| 35 | |
| 36 | omit [Fintype k] [CharP k p] in |
| 37 | private theorem coordinates (i : Index p k n A) : |
| 38 | IntegralComparison.Smooth.StandardEtaleCoordinates.HasCoordinates S A i.val := |
| 39 | (IntegralComparison.Smooth.StandardEtaleCoordinates.exists_finite_cover S A).choose_spec.1 i.val i.property |
| 40 | |
| 41 | def coordinateCount (i : Index p k n A) : ℕ := (coordinates p k n A i).choose |
| 42 | |
| 43 | instance coordinateAlgebra (i : Index p k n A) : |
| 44 | Algebra (MvPolynomial (Fin (coordinateCount p k n A i)) S) (Localization.Away i.val) := |
| 45 | (coordinates p k n A i).choose_spec.choose |
| 46 | |
| 47 | instance coordinateTower (i : Index p k n A) : |
| 48 | IsScalarTower S (MvPolynomial (Fin (coordinateCount p k n A i)) S) |
| 49 | (Localization.Away i.val) := |
| 50 | (coordinates p k n A i).choose_spec.choose_spec.1 |
| 51 | |
| 52 | instance coordinateStandardEtale (i : Index p k n A) : |
| 53 | Algebra.IsStandardEtale (MvPolynomial (Fin (coordinateCount p k n A i)) S) |
| 54 | (Localization.Away i.val) := |
| 55 | (coordinates p k n A i).choose_spec.choose_spec.2 |
| 56 | |
| 57 | def presentation (i : Index p k n A) : |
| 58 | StandardEtalePresentation (MvPolynomial (Fin (coordinateCount p k n A i)) S) |
| 59 | (Localization.Away i.val) := Classical.choice inferInstance |
| 60 | |
| 61 | def chartDividedPowers (i : Index p k n A) : DividedPowers (Ideal.span {(p : Localization.Away i.val)}) := |
| 62 | ChartDividedPowers.dividedPowers p k n (Fin (coordinateCount p k n A i)) |
| 63 | (Localization.Away i.val) (presentation p k n A i) |
| 64 | |
| 65 | omit [Fintype k] in |
| 66 | theorem chart_base (i : Index p k n A) : |
| 67 | DividedPowers.IsDPMorphism (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 68 | (chartDividedPowers p k n A i) |
| 69 | ((algebraMap S (Localization.Away i.val)).comp (Witt.quotient p k n)) := |
| 70 | ChartDividedPowers.wittBase_isDPMorphism p k n (Fin (coordinateCount p k n A i)) |
| 71 | (Localization.Away i.val) (presentation p k n A i) |
| 72 | |
| 73 | omit [Fintype k] in |
| 74 | private theorem exists_dividedPowers : |
| 75 | ∃ δ : DividedPowers (Ideal.span {(p : A)}), |
| 76 | DividedPowers.IsDPMorphism (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) δ |
| 77 | ((algebraMap S A).comp (Witt.quotient p k n)) := by |
| 78 | let := ChartDeRham.sourceWittAlgebra p k n A |
| 79 | let : IsScalarTower W S A := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 80 | let B : Index p k n A → Type := fun i => Localization.Away i.val |
| 81 | have heB (i : Index p k n A) : Ideal.span {algebraMap W (B i) (p : W)} = |
| 82 | Ideal.span {(p : B i)} := congrArg (fun a : B i => Ideal.span {a}) |
| 83 | (map_natCast (algebraMap W (B i)) p) |
| 84 | let δ : ∀ i, DividedPowers (Ideal.span {algebraMap W (B i) (p : W)}) := |
| 85 | fun i => (heB i).symm ▸ chartDividedPowers p k n A i |
| 86 | let f : ∀ i, A →ₐ[W] B i := fun i => IsScalarTower.toAlgHom W A (B i) |
| 87 | have hb (i : Index p k n A) : |
| 88 | DividedPowers.IsDPMorphism (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 89 | (δ i) (algebraMap W (B i)) := by |
| 90 | have he : algebraMap W (B i) = |
| 91 | (algebraMap S (Localization.Away i.val)).comp (Witt.quotient p k n) := by |
| 92 | ext w |
| 93 | rfl |
| 94 | exact DividedPower.IdealTransport.isDPMorphism (heB i).symm _ _ _ |
| 95 | (he ▸ chart_base p k n A i) |
| 96 | have hi : ∀ x y : A, (∀ i, f i x = f i y) → x = y := by |
| 97 | intro x y h |
| 98 | apply Localization.algebraMap_injective_of_span_eq_top (localizers p k n A : Set A) |
| 99 | (localizers_span p k n A) |
| 100 | funext i |
| 101 | exact h i |
| 102 | have hd : ∃ δA : DividedPowers (Ideal.span {algebraMap W A (p : W)}), |
| 103 | DividedPowers.IsDPMorphism (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 104 | δA (algebraMap W A) := |
| 105 | ⟨Principal.DividedPowerDescent.dividedPowers W (p : W) |
| 106 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) A B δ f hb hi, |
| 107 | Principal.DividedPowerDescent.base_isDPMorphism W (p : W) |
| 108 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) A B δ f hb hi⟩ |
| 109 | obtain ⟨δA, hδA⟩ := hd |
| 110 | have heA : Ideal.span {algebraMap W A (p : W)} = Ideal.span {(p : A)} := |
| 111 | congrArg (fun a : A => Ideal.span {a}) (map_natCast (algebraMap W A) p) |
| 112 | exact ⟨heA ▸ δA, DividedPower.IdealTransport.isDPMorphism heA _ _ _ hδA⟩ |
| 113 | |
| 114 | def dividedPowers : DividedPowers (Ideal.span {(p : A)}) := |
| 115 | (exists_dividedPowers p k n A).choose |
| 116 | |
| 117 | omit [Fintype k] in |
| 118 | theorem wittBase_isDPMorphism : |
| 119 | DividedPowers.IsDPMorphism (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 120 | (dividedPowers p k n A) ((algebraMap S A).comp (Witt.quotient p k n)) := |
| 121 | (exists_dividedPowers p k n A).choose_spec |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothDividedPowers |