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.WeakAdmissibility.DeRham |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.AdicEstimates |
| 3 | |
| 4 | /-! # De Rham Envelope -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRhamEnvelope |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | The map from the concrete uncompleted crystalline envelope to B_dR^+. |
| 12 | Extension through p-adic completion is not assumed here. |
| 13 | -/ |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.WeakAdmissibility.Logarithm.PeriodRings OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRham |
| 16 | variable (p : ℕ) [Fact p.Prime] |
| 17 | |
| 18 | theorem uncompletedEnvelope_eq : Logarithm.PeriodRings.aCrisUncompleted p = PeriodInvariants.PeriodRing.acrisZeroSubalgebra p := by |
| 19 | calc |
| 20 | Logarithm.PeriodRings.aCrisUncompleted p = PeriodInvariants.AdicEstimates.Frobenius.modPEnvelope p := by |
| 21 | unfold Logarithm.PeriodRings.aCrisUncompleted PeriodInvariants.AdicEstimates.Frobenius.modPEnvelope |
| 22 | apply congrArg (Algebra.adjoin (Logarithm.PeriodRings.AInf p)) |
| 23 | rfl |
| 24 | _ = PeriodInvariants.PeriodRing.acrisZeroSubalgebra p := PeriodInvariants.AdicEstimates.Frobenius.modPEnvelope_eq_acrisZero p |
| 25 | |
| 26 | theorem uncompleted_le_bInf_range : |
| 27 | Logarithm.PeriodRings.aCrisUncompleted p ≤ (PeriodInvariants.Nontriviality.binfToFractionAlg p).range := by |
| 28 | rw [uncompletedEnvelope_eq] |
| 29 | exact PeriodInvariants.Nontriviality.acrisZero_le_binf_range p |
| 30 | |
| 31 | def uncompletedLift (x : Logarithm.PeriodRings.ACrisUncompleted p) : Logarithm.PeriodRings.BInf p := |
| 32 | (uncompleted_le_bInf_range p x.property).choose |
| 33 | |
| 34 | theorem uncompletedLift_spec (x : Logarithm.PeriodRings.ACrisUncompleted p) : |
| 35 | PeriodInvariants.Nontriviality.binfToFraction p (uncompletedLift p x) = |
| 36 | (x : Logarithm.PeriodRings.AInfFractionField p) := |
| 37 | (uncompleted_le_bInf_range p x.property).choose_spec |
| 38 | |
| 39 | /-- The uniquely determined inclusion into A_inf[1/p]. -/ |
| 40 | def uncompletedToBInf : Logarithm.PeriodRings.ACrisUncompleted p →+* Logarithm.PeriodRings.BInf p where |
| 41 | toFun := uncompletedLift p |
| 42 | map_zero' := (PeriodInvariants.Nontriviality.binfToFraction_injective p) (by |
| 43 | rw [uncompletedLift_spec, map_zero] |
| 44 | rfl) |
| 45 | map_one' := (PeriodInvariants.Nontriviality.binfToFraction_injective p) (by |
| 46 | rw [uncompletedLift_spec, map_one] |
| 47 | rfl) |
| 48 | map_add' x y := (PeriodInvariants.Nontriviality.binfToFraction_injective p) (by |
| 49 | rw [uncompletedLift_spec, map_add, uncompletedLift_spec, uncompletedLift_spec] |
| 50 | rfl) |
| 51 | map_mul' x y := (PeriodInvariants.Nontriviality.binfToFraction_injective p) (by |
| 52 | rw [uncompletedLift_spec, map_mul, uncompletedLift_spec, uncompletedLift_spec] |
| 53 | rfl) |
| 54 | |
| 55 | theorem uncompletedToBInf_fraction (x : Logarithm.PeriodRings.ACrisUncompleted p) : |
| 56 | PeriodInvariants.Nontriviality.binfToFraction p (uncompletedToBInf p x) = |
| 57 | (x : Logarithm.PeriodRings.AInfFractionField p) := uncompletedLift_spec p x |
| 58 | |
| 59 | theorem uncompletedToBInf_injective : Function.Injective (uncompletedToBInf p) := by |
| 60 | intro x y h |
| 61 | apply Subtype.ext |
| 62 | have he := congrArg (PeriodInvariants.Nontriviality.binfToFraction p) h |
| 63 | simpa only [uncompletedToBInf_fraction] using he |
| 64 | |
| 65 | theorem uncompletedToBInf_algebraMap (x : Logarithm.PeriodRings.AInf p) : |
| 66 | uncompletedToBInf p (algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.ACrisUncompleted p) x) = |
| 67 | algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p) x := by |
| 68 | apply PeriodInvariants.Nontriviality.binfToFraction_injective p |
| 69 | rw [uncompletedToBInf_fraction, PeriodInvariants.Nontriviality.binfToFraction_algebraMap] |
| 70 | rfl |
| 71 | |
| 72 | def uncompletedToBdRPlus : Logarithm.PeriodRings.ACrisUncompleted p →+* Logarithm.PeriodRings.BdRPlus p := |
| 73 | (DeRham.bInfToBdRPlus p).comp (uncompletedToBInf p) |
| 74 | |
| 75 | theorem uncompletedToBdRPlus_algebraMap (x : Logarithm.PeriodRings.AInf p) : |
| 76 | uncompletedToBdRPlus p (algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.ACrisUncompleted p) x) = |
| 77 | DeRham.bInfToBdRPlus p (algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p) x) := by |
| 78 | rw [uncompletedToBdRPlus, RingHom.comp_apply, uncompletedToBInf_algebraMap] |
| 79 | |
| 80 | theorem uncompleted_kernel_mem_filtration (x : Logarithm.PeriodRings.AInf p) (hx : Logarithm.PeriodRings.theta p x = 0) : |
| 81 | uncompletedToBdRPlus p (algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.ACrisUncompleted p) x) ∈ |
| 82 | DeRham.positiveFiltration p 1 := by |
| 83 | rw [DeRham.positiveFiltration, pow_one, RingHom.mem_ker, uncompletedToBdRPlus_algebraMap, |
| 84 | DeRham.thetaBdRPlus_aInf, hx, map_zero] |
| 85 | |
| 86 | theorem factorial_isUnit_bdRPlus (n : ℕ) : IsUnit (n.factorial : Logarithm.PeriodRings.BdRPlus p) := by |
| 87 | have hu : IsUnit (n.factorial : ℚ_[p]) := |
| 88 | isUnit_iff_ne_zero.mpr (by exact_mod_cast Nat.factorial_ne_zero n) |
| 89 | simpa only [map_natCast] using hu.map |
| 90 | ((DeRham.bInfToBdRPlus p).comp (PeriodInvariants.Nontriviality.padicToBinf p)) |
| 91 | |
| 92 | theorem factorial_mul_dividedPower (x : Logarithm.PeriodRings.AInf p) (hx : Logarithm.PeriodRings.thetaModP p x = 0) (n : ℕ) : |
| 93 | (n.factorial : Logarithm.PeriodRings.ACrisUncompleted p) * Logarithm.PeriodRings.dividedPower p x n hx = |
| 94 | algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.ACrisUncompleted p) x ^ n := by |
| 95 | apply Subtype.ext |
| 96 | change (n.factorial : Logarithm.PeriodRings.AInfFractionField p) * |
| 97 | (algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.AInfFractionField p) x ^ n / (n.factorial : Logarithm.PeriodRings.AInfFractionField p)) = |
| 98 | algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.AInfFractionField p) x ^ n |
| 99 | have hn : (n.factorial : Logarithm.PeriodRings.AInfFractionField p) ≠ 0 := by |
| 100 | exact_mod_cast Nat.factorial_ne_zero n |
| 101 | field_simp |
| 102 | |
| 103 | /-- Divided powers of the theta kernel have the expected de Rham filtration degree. -/ |
| 104 | theorem dividedPower_mem_filtration (x : Logarithm.PeriodRings.AInf p) (hx : Logarithm.PeriodRings.theta p x = 0) (n : ℕ) |
| 105 | (hxmod : Logarithm.PeriodRings.thetaModP p x = 0) : |
| 106 | uncompletedToBdRPlus p (Logarithm.PeriodRings.dividedPower p x n hxmod) ∈ DeRham.positiveFiltration p n := by |
| 107 | have hker : uncompletedToBdRPlus p (algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.ACrisUncompleted p) x) ∈ |
| 108 | RingHom.ker (DeRham.thetaBdRPlus p) := by |
| 109 | simpa only [DeRham.positiveFiltration, pow_one] using uncompleted_kernel_mem_filtration p x hx |
| 110 | have hpow := Ideal.pow_mem_pow hker n |
| 111 | rw [← map_pow, ← factorial_mul_dividedPower p x hxmod n, map_mul, map_natCast] at hpow |
| 112 | exact (Submodule.smul_mem_iff_of_isUnit _ (factorial_isUnit_bdRPlus p n)).mp hpow |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRhamEnvelope |