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.Finite.PolynomialPresentation |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.Generators |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation |
| 4 | |
| 5 | /-! # Crystalline Frame -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.CrystallineFrame |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: finite polynomial envelopes as original crystalline objects |
| 13 | |
| 14 | The verified envelopes have exactly the prescribed closed fibre and |
| 15 | define objects of the original Witt crystalline site. Their actual |
| 16 | divided-power Frobenius reduces to the q-power map on that fibre. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.DividedPower.PowerEnvelope OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.PolynomialPresentation |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 26 | (C σ : Type u) [CommRing C] [Algebra k C] (x : σ → C) (n : ℕ) |
| 27 | (hx : Function.Surjective (MvPolynomial.aeval x : MvPolynomial σ k →ₐ[k] C)) |
| 28 | |
| 29 | local notation "W" => WittVector p k |
| 30 | local notation "B" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.Ring p k n |
| 31 | local notation "J" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.ideal p k n |
| 32 | local notation "δ" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.dividedPowers p k n |
| 33 | local notation "P" => MvPolynomial σ B |
| 34 | local notation "I" => OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.PolynomialPresentation.kernel p k C σ x n |
| 35 | local notation "E" => OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.PolynomialPresentation.Ring p k C σ x n |
| 36 | local notation "IE" => OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.PolynomialPresentation.ideal p k C σ x n |
| 37 | local notation "ε" => OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.PolynomialPresentation.dividedPowers p k C σ x n |
| 38 | local notation "e" => OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.PolynomialPresentation.quotientEquiv p k C σ x n hx |
| 39 | |
| 40 | theorem quotientEquiv_polynomial (a : P) : |
| 41 | e (Ideal.Quotient.mk IE (DividedPower.PowerEnvelope.toEnvelope B P J δ (algebraMap B P) I a)) = |
| 42 | PolynomialPresentation.reduction p k C σ x n a := by |
| 43 | let d := EnvelopeResidue.quotientEquiv B P J δ (algebraMap B P) I |
| 44 | (Ideal.map_le_iff_le_comap.mp (PolynomialPresentation.base_le p k C σ x n)) |
| 45 | have hd : d (Ideal.Quotient.mk I a) = |
| 46 | Ideal.Quotient.mk IE (DividedPower.PowerEnvelope.toEnvelope B P J δ (algebraMap B P) I a) := rfl |
| 47 | change RingHom.quotientKerEquivOfSurjective (PolynomialPresentation.reduction_surjective p k C σ x n hx) (d.symm _) = _ |
| 48 | rw [← hd, d.symm_apply_apply] |
| 49 | rfl |
| 50 | |
| 51 | theorem quotientEquiv_base (w : W) : |
| 52 | e (Ideal.Quotient.mk IE (PolynomialPresentation.base p k C σ x n w)) = |
| 53 | algebraMap k C (WittVector.constantCoeff w) := by |
| 54 | change e (Ideal.Quotient.mk IE (DividedPower.PowerEnvelope.toEnvelope B P J δ (algebraMap B P) I |
| 55 | (MvPolynomial.C (Truncated.Witt.quotient p k n w)))) = _ |
| 56 | rw [quotientEquiv_polynomial, PolynomialPresentation.reduction, MvPolynomial.eval₂Hom_C] |
| 57 | rfl |
| 58 | |
| 59 | def residueSchemeIso : Spec (CommRingCat.of (E ⧸ IE)) ≅ Spec (CommRingCat.of C) := |
| 60 | (Scheme.Spec.mapIso (e).toCommRingCatIso.op).symm |
| 61 | |
| 62 | /-- The finite polynomial envelope is an object of the original crystalline site. -/ |
| 63 | def object : Witt.Crystalline.CrystallineObject p k (Crystalline.Presentation.affineScheme k C) where |
| 64 | ring := CommRingCat.of E |
| 65 | base := PolynomialPresentation.base p k C σ x n |
| 66 | ideal := IE |
| 67 | dividedPowers := ε |
| 68 | baseCompatible := PolynomialPresentation.base_isDPMorphism p k C σ x n |
| 69 | primeNilpotent := PolynomialPresentation.prime_nilpotent p k C σ x n |
| 70 | nilIdeal := fun _a ha => PolynomialPresentation.nilIdeal p k C σ x n ha |
| 71 | openMap := (residueSchemeIso p k C σ x n hx).hom |
| 72 | isOpenImmersion := IsOpenImmersion.of_isIso (residueSchemeIso p k C σ x n hx).hom |
| 73 | overBase := by |
| 74 | rw [Crystalline.Presentation.affine_wittStructureMap] |
| 75 | change Spec.map (CommRingCat.ofHom (e).symm.toRingHom) ≫ |
| 76 | Spec.map (CommRingCat.ofHom ((algebraMap k C).comp WittVector.constantCoeff)) = |
| 77 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk IE)) ≫ |
| 78 | Spec.map (CommRingCat.ofHom (PolynomialPresentation.base p k C σ x n)) |
| 79 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 80 | congr 1 |
| 81 | apply CommRingCat.hom_ext |
| 82 | apply RingHom.ext |
| 83 | intro w |
| 84 | apply (e).injective |
| 85 | change e ((e).symm (algebraMap k C (WittVector.constantCoeff w))) = |
| 86 | e (Ideal.Quotient.mk IE (PolynomialPresentation.base p k C σ x n w)) |
| 87 | rw [RingEquiv.apply_symm_apply, quotientEquiv_base] |
| 88 | |
| 89 | def residueTarget : DividedPower.PowerEnvelope.Target B P J δ (algebraMap B P) I where |
| 90 | ring := C |
| 91 | ideal := ⊥ |
| 92 | dividedPowers := dividedPowersBot C |
| 93 | fromBase := PolynomialPresentation.reduction p k C σ x n |
| 94 | mapsIdeal := fun _a ha => ha |
| 95 | baseCompatible := (DividedPower.Transfer.mapToBot δ |
| 96 | ((PolynomialPresentation.reduction p k C σ x n).comp (algebraMap B P)) |
| 97 | (fun _b hb => Ideal.map_le_iff_le_comap.mp (PolynomialPresentation.base_le p k C σ x n) hb)).isDPMorphism |
| 98 | |
| 99 | def reductionDP : DividedPowers.DPMorphism ε (dividedPowersBot C) := |
| 100 | DividedPower.PowerEnvelope.lift B P J δ (algebraMap B P) I (residueTarget p k C σ x n) |
| 101 | |
| 102 | theorem reduction_polynomial : |
| 103 | (reductionDP p k C σ x n).toRingHom.comp (DividedPower.PowerEnvelope.toEnvelope B P J δ (algebraMap B P) I) = |
| 104 | PolynomialPresentation.reduction p k C σ x n := |
| 105 | DividedPower.PowerEnvelope.lift_fromBase B P J δ (algebraMap B P) I (residueTarget p k C σ x n) |
| 106 | |
| 107 | /-- The actual envelope Frobenius induces the q-power map of the prescribed closed fibre. -/ |
| 108 | theorem frobenius_reduction : |
| 109 | (reductionDP p k C σ x n).toRingHom.comp (PolynomialPresentation.frobenius p k C σ x n).toRingHom = |
| 110 | (FiniteField.frobeniusAlgHom k C).toRingHom.comp (reductionDP p k C σ x n).toRingHom := by |
| 111 | have he := EnvelopeFunctor.endomorphism_natural B P J δ (algebraMap B P) I |
| 112 | (Ideal.map_le_iff_le_comap.mp (PolynomialPresentation.base_le p k C σ x n)) (DividedPowers.DPMorphism.id δ) |
| 113 | (PolynomialPresentation.polynomialFrobenius p k σ n).toRingHom (PolynomialPresentation.polynomialFrobenius_base p k σ n) |
| 114 | (PolynomialPresentation.polynomialFrobenius_preserves_kernel p k C σ x n) (residueTarget p k C σ x n) |
| 115 | (DividedPower.Transfer.botMap (FiniteField.frobeniusAlgHom k C).toRingHom) |
| 116 | (PolynomialPresentation.polynomialFrobenius_reduction p k C σ x n).symm |
| 117 | exact congrArg (fun g : DividedPowers.DPMorphism ε (dividedPowersBot C) => g.toRingHom) he |
| 118 | |
| 119 | def quotientReductionDP : DividedPowers.DPMorphism ε (dividedPowersBot C) := |
| 120 | DividedPower.Transfer.mapToBot ε ((e).toRingHom.comp (Ideal.Quotient.mk IE)) (by |
| 121 | intro a ha |
| 122 | change e (Ideal.Quotient.mk IE a) = 0 |
| 123 | rw [Ideal.Quotient.eq_zero_iff_mem.mpr ha, map_zero]) |
| 124 | |
| 125 | theorem reduction_eq_quotient : |
| 126 | (reductionDP p k C σ x n).toRingHom = (e).toRingHom.comp (Ideal.Quotient.mk IE) := by |
| 127 | have he : quotientReductionDP p k C σ x n hx = reductionDP p k C σ x n := by |
| 128 | apply DividedPower.PowerEnvelope.lift_unique B P J δ (algebraMap B P) I (residueTarget p k C σ x n) |
| 129 | apply RingHom.ext |
| 130 | exact quotientEquiv_polynomial p k C σ x n hx |
| 131 | exact (congrArg (fun g : DividedPowers.DPMorphism ε (dividedPowersBot C) => g.toRingHom) he).symm |
| 132 | |
| 133 | end |
| 134 | |
| 135 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.CrystallineFrame |