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.Truncated.SmoothDividedPowers |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.WittBase |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.ChartDeRham |
| 5 | |
| 6 | /-! # Smooth Frame -/ |
| 7 | |
| 8 | namespace OAI |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrame |
| 13 | |
| 14 | /-! The actual ring of a smooth finite-Witt-level lift is a bounded |
| 15 | crystalline frame for its actual special fiber. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 20 | |
| 21 | variable (p : ℕ) (A C : Type) [CommRing A] [CommRing C] |
| 22 | (ρ : A →+* C) (hρ : Function.Surjective ρ) (hker : RingHom.ker ρ = Ideal.span {(p : A)}) |
| 23 | |
| 24 | def quotientEquiv : (A ⧸ Ideal.span {(p : A)}) ≃+* C := |
| 25 | (Ideal.quotEquivOfEq hker.symm).trans (RingHom.quotientKerEquivOfSurjective hρ) |
| 26 | |
| 27 | theorem quotientEquiv_mk (a : A) : |
| 28 | quotientEquiv p A C ρ hρ hker (Ideal.Quotient.mk (Ideal.span {(p : A)}) a) = ρ a := by |
| 29 | change RingHom.quotientKerEquivOfSurjective hρ |
| 30 | ((Ideal.quotEquivOfEq hker.symm) (Ideal.Quotient.mk _ a)) = _ |
| 31 | rw [Ideal.quotEquivOfEq_mk] |
| 32 | rfl |
| 33 | |
| 34 | variable [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 35 | [Algebra (Witt.Ring p k n) A] |
| 36 | |
| 37 | local notation "W" => WittVector p k |
| 38 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.Ring p k n |
| 39 | |
| 40 | def base : W →+* A := (algebraMap S A).comp (Witt.quotient p k n) |
| 41 | |
| 42 | omit [Fintype k] [CharP k p] in |
| 43 | include k in |
| 44 | theorem prime_power_zero : (p : A) ^ (n + 1) = 0 := by |
| 45 | have h := congrArg (algebraMap S A) (Witt.prime_power_zero p k n) |
| 46 | simpa only [map_pow, map_natCast, map_zero] using h |
| 47 | |
| 48 | variable [Algebra.Smooth (Witt.Ring p k n) A] [Algebra k C] |
| 49 | (hbase : ∀ w : WittVector p k, |
| 50 | ρ ((algebraMap (Witt.Ring p k n) A) (Witt.quotient p k n w)) = |
| 51 | algebraMap k C (WittVector.constantCoeff w)) |
| 52 | |
| 53 | local notation "e" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrame.quotientEquiv p A C ρ hρ hker |
| 54 | |
| 55 | def object : BigCrystallineSite.Object p W (Ideal.span {(p : W)}) |
| 56 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 57 | (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C)) where |
| 58 | ring := CommRingCat.of A |
| 59 | base := SmoothFrame.base p A k n |
| 60 | ideal := Ideal.span {(p : A)} |
| 61 | dividedPowers := SmoothDividedPowers.dividedPowers p k n A |
| 62 | baseCompatible := SmoothDividedPowers.wittBase_isDPMorphism p k n A |
| 63 | primeNilpotent := ⟨n + 1, prime_power_zero p A k n⟩ |
| 64 | nilIdeal := by |
| 65 | intro x hx |
| 66 | obtain ⟨a, rfl⟩ := Ideal.mem_span_singleton.mp hx |
| 67 | exact ⟨n + 1, by rw [mul_pow, prime_power_zero p A k n, zero_mul]⟩ |
| 68 | mapToX := Spec.map (CommRingCat.ofHom (e).symm.toRingHom) |
| 69 | overBase := by |
| 70 | rw [Crystalline.Presentation.affine_wittStructureMap] |
| 71 | change Spec.map (CommRingCat.ofHom (e).symm.toRingHom) ≫ |
| 72 | Spec.map (CommRingCat.ofHom ((algebraMap k C).comp WittVector.constantCoeff)) = |
| 73 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (Ideal.span {(p : A)}))) ≫ |
| 74 | Spec.map (CommRingCat.ofHom (SmoothFrame.base p A k n)) |
| 75 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 76 | congr 1 |
| 77 | apply CommRingCat.hom_ext |
| 78 | apply RingHom.ext |
| 79 | intro w |
| 80 | apply (e).injective |
| 81 | change (e) ((e).symm (algebraMap k C (WittVector.constantCoeff w))) = |
| 82 | (e) (Ideal.Quotient.mk _ (SmoothFrame.base p A k n w)) |
| 83 | rw [RingEquiv.apply_symm_apply, quotientEquiv_mk] |
| 84 | exact (hbase w).symm |
| 85 | |
| 86 | def boundedFrame : BoundedCrystalline.Site.Objects (p := p) |
| 87 | (J := Ideal.span {(p : W)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 88 | (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C)) n := |
| 89 | ⟨object p A C ρ hρ hker k n hbase, prime_power_zero p A k n⟩ |
| 90 | |
| 91 | end NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrame |
| 92 | |
| 93 | namespace NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrame.Complex |
| 94 | |
| 95 | /-! The actual finite-level frame complex is the ordinary de Rham |
| 96 | complex of the same smooth algebra over the truncated Witt ring. -/ |
| 97 | |
| 98 | open _root_.CategoryTheory |
| 99 | |
| 100 | open _root_.Complex |
| 101 | |
| 102 | set_option backward.isDefEq.respectTransparency false |
| 103 | set_option backward.isDefEq.respectTransparency.types false |
| 104 | |
| 105 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 106 | (n : ℕ) (A : Type) [CommRing A] |
| 107 | [Algebra (Witt.Ring p k n) A] |
| 108 | [Algebra.Smooth (Witt.Ring p k n) A] |
| 109 | |
| 110 | local notation "W" => WittVector p k |
| 111 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.Ring p k n |
| 112 | local notation "I" => Ideal.span {(p : A)} |
| 113 | local notation "δ" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothDividedPowers.dividedPowers p k n A |
| 114 | |
| 115 | @[instance_reducible] def wittAlgebra : Algebra W A := |
| 116 | (SmoothFrame.base p A k n).toAlgebra |
| 117 | |
| 118 | omit [Fintype k] [CharP k p] [Algebra.Smooth S A] in |
| 119 | theorem ideal_eq : letI := wittAlgebra p k n A; |
| 120 | I = Ideal.span {algebraMap W A (p : W)} := by |
| 121 | let := wittAlgebra p k n A |
| 122 | rw [map_natCast] |
| 123 | |
| 124 | def iso : letI := wittAlgebra p k n A; AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.complex W A I δ ≅ |
| 125 | ((ModuleCat.restrictScalars (algebraMap W S)).mapHomologicalComplex (.up ℕ)).obj |
| 126 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex S A) := by |
| 127 | letI := wittAlgebra p k n A |
| 128 | letI : IsScalarTower W S A := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 129 | exact Principal.BaseComplex.ofIdealEq W A (p : W) |
| 130 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) I δ (ideal_eq p k n A) |
| 131 | (SmoothDividedPowers.wittBase_isDPMorphism p k n A) ≪≫ |
| 132 | GeometricComparison.SurjectiveBase.SurjectiveBaseDeRham.iso W S A Ideal.Quotient.mk_surjective |
| 133 | |
| 134 | omit [Fintype k] in |
| 135 | theorem iso_symbol (m : ℕ) (a : A) (v : Fin m → A) : |
| 136 | letI := wittAlgebra p k n A; |
| 137 | ((iso p k n A).hom.f m) (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol W A I δ a v) = |
| 138 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol S A a v := by |
| 139 | let := wittAlgebra p k n A |
| 140 | let : IsScalarTower W S A := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 141 | change OrdinaryBaseQuotient.Ordinary.formsEquiv W S A Ideal.Quotient.mk_surjective m |
| 142 | (((Principal.BaseComplex.ofIdealEq W A (p : W) |
| 143 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) I δ (ideal_eq p k n A) |
| 144 | (SmoothDividedPowers.wittBase_isDPMorphism p k n A)).hom.f m) |
| 145 | (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol W A I δ a v)) = _ |
| 146 | rw [ChartDeRham.PrincipalBaseComplex.ofIdealEq_symbol] |
| 147 | exact OrdinaryBaseQuotient.Ordinary.formsEquiv_symbol W S A Ideal.Quotient.mk_surjective m a v |
| 148 | |
| 149 | end NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrame.Complex |
| 150 | |
| 151 | end |
| 152 | |
| 153 | end OAI |