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.PeriodInvariants.ThetaKernel |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.Nontriviality |
| 3 | |
| 4 | /-! # Adic Separation -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.AdicSeparation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Separation for the theta generator |
| 12 | |
| 13 | The tilt is separated for the compatible roots of p. Reduction modulo p, |
| 14 | together with cancellation in A_inf, lifts separation to the theta generator |
| 15 | and preserves it after p is inverted. |
| 16 | -/ |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.PeriodInvariants.PeriodRing OAI.NumberTheory.PadicHodge.PeriodInvariants.PeriodRing.TiltDivisibility OAI.NumberTheory.PadicHodge.PeriodInvariants.ThetaKernel OAI.NumberTheory.PadicHodge.PeriodInvariants.Nontriviality |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] |
| 21 | |
| 22 | theorem untilt_eq_zero (x : PreTilt 𝓞_ℂ_[p] p) (hx : x.untilt = 0) : x = 0 := by |
| 23 | obtain ⟨y, rfl⟩ := (PeriodRing.tiltMonoidEquiv p).surjective x |
| 24 | rw [PeriodRing.untilt_tiltMonoidEquiv] at hx |
| 25 | have hy (n : ℕ) : y.val n = 0 := by |
| 26 | apply Subtype.val_injective |
| 27 | apply eq_zero_of_pow_eq_zero (n := p ^ n) |
| 28 | rw [PeriodRing.TiltDivisibility.coefficient_pow_complex] |
| 29 | exact congrArg (fun a : 𝓞_ℂ_[p] => (a : ℂ_[p])) hx |
| 30 | apply Perfection.ext |
| 31 | intro n |
| 32 | change Ideal.Quotient.mk (Ideal.span {(p : 𝓞_ℂ_[p])}) (y.val n) = 0 |
| 33 | rw [hy, map_zero] |
| 34 | |
| 35 | theorem tilt_eq_zero_of_all_pTilt_dvd (x : PreTilt 𝓞_ℂ_[p] p) |
| 36 | (hx : ∀ n : ℕ, PeriodRing.TiltDivisibility.pTilt p ^ n ∣ x) : x = 0 := by |
| 37 | apply untilt_eq_zero p x |
| 38 | apply IsHausdorff.haus' (I := Ideal.span {(p : 𝓞_ℂ_[p])}) |
| 39 | intro n |
| 40 | rw [SModEq.sub_mem, sub_zero, smul_eq_mul, Ideal.mul_top, |
| 41 | Ideal.span_singleton_pow, Ideal.mem_span_singleton] |
| 42 | obtain ⟨a, ha⟩ := hx n |
| 43 | refine ⟨a.untilt, ?_⟩ |
| 44 | rw [ha, map_mul, map_pow, PeriodRing.TiltDivisibility.pTilt_untilt] |
| 45 | |
| 46 | theorem xi_pow_dvd_of_p_mul (n : ℕ) (a : PeriodRing.Ainf p) |
| 47 | (h : ThetaKernel.xi p ^ n ∣ (p : PeriodRing.Ainf p) * a) : ThetaKernel.xi p ^ n ∣ a := by |
| 48 | obtain ⟨b, hb⟩ := h |
| 49 | have hc : b.coeff 0 = 0 := by |
| 50 | have he := congrArg (WittVector.constantCoeff (p := p)) hb |
| 51 | rw [map_mul, map_mul, map_pow] at he |
| 52 | change (p : PeriodRing.Ainf p).coeff 0 * a.coeff 0 = (ThetaKernel.xi p).coeff 0 ^ n * b.coeff 0 at he |
| 53 | rw [WittVector.coeff_p_zero, zero_mul, ThetaKernel.xi_coeff_zero] at he |
| 54 | exact (mul_eq_zero.mp he.symm).resolve_left (pow_ne_zero n (ThetaKernel.pTilt_ne_zero p)) |
| 55 | obtain ⟨c, hc⟩ := Ideal.mem_span_singleton.mp |
| 56 | ((WittVector.mem_span_p_iff_coeff_zero_eq_zero b).mpr hc) |
| 57 | refine ⟨c, ?_⟩ |
| 58 | apply mul_left_cancel₀ (show (p : PeriodRing.Ainf p) ≠ 0 from Nat.cast_ne_zero.mpr |
| 59 | (Fact.out : p.Prime).ne_zero) |
| 60 | rw [hb, hc] |
| 61 | ring |
| 62 | |
| 63 | theorem xi_pow_dvd_of_p_pow_mul (n m : ℕ) (a : PeriodRing.Ainf p) |
| 64 | (h : ThetaKernel.xi p ^ n ∣ (p : PeriodRing.Ainf p) ^ m * a) : ThetaKernel.xi p ^ n ∣ a := by |
| 65 | induction m with |
| 66 | | zero => simpa only [pow_zero, one_mul] using h |
| 67 | | succ m ih => |
| 68 | apply ih |
| 69 | apply xi_pow_dvd_of_p_mul p n |
| 70 | simpa only [pow_succ', mul_assoc] using h |
| 71 | |
| 72 | theorem coeff_zero_of_all_xi_dvd (x : PeriodRing.Ainf p) (hx : ∀ n : ℕ, ThetaKernel.xi p ^ n ∣ x) : |
| 73 | x.coeff 0 = 0 := by |
| 74 | apply tilt_eq_zero_of_all_pTilt_dvd p |
| 75 | intro n |
| 76 | obtain ⟨a, ha⟩ := hx n |
| 77 | refine ⟨a.coeff 0, ?_⟩ |
| 78 | have he := congrArg (WittVector.constantCoeff (p := p)) ha |
| 79 | rw [map_mul, map_pow] at he |
| 80 | change x.coeff 0 = (ThetaKernel.xi p).coeff 0 ^ n * a.coeff 0 at he |
| 81 | rwa [ThetaKernel.xi_coeff_zero] at he |
| 82 | |
| 83 | theorem ainf_eq_zero_of_all_xi_dvd (x : PeriodRing.Ainf p) (hx : ∀ n : ℕ, ThetaKernel.xi p ^ n ∣ x) : x = 0 := by |
| 84 | have hp : ∀ m : ℕ, (p : PeriodRing.Ainf p) ^ m ∣ x := by |
| 85 | intro m |
| 86 | induction m with |
| 87 | | zero => simp only [pow_zero, one_dvd] |
| 88 | | succ m ih => |
| 89 | obtain ⟨a, ha⟩ := ih |
| 90 | have hac : a.coeff 0 = 0 := coeff_zero_of_all_xi_dvd p a (fun n => |
| 91 | xi_pow_dvd_of_p_pow_mul p n m a (ha ▸ hx n)) |
| 92 | obtain ⟨b, hb⟩ := Ideal.mem_span_singleton.mp |
| 93 | ((WittVector.mem_span_p_iff_coeff_zero_eq_zero a).mpr hac) |
| 94 | exact ⟨b, by rw [ha, hb, pow_succ, mul_assoc]⟩ |
| 95 | apply IsHausdorff.haus' (I := Ideal.span {(p : PeriodRing.Ainf p)}) |
| 96 | intro n |
| 97 | simpa only [SModEq.sub_mem, sub_zero, smul_eq_mul, Ideal.mul_top, |
| 98 | Ideal.span_singleton_pow, Ideal.mem_span_singleton] using hp n |
| 99 | |
| 100 | instance ainf_xi_separated : IsHausdorff (Ideal.span {ThetaKernel.xi p}) (PeriodRing.Ainf p) := by |
| 101 | constructor |
| 102 | intro x hx |
| 103 | apply ainf_eq_zero_of_all_xi_dvd p x |
| 104 | intro n |
| 105 | simpa only [SModEq.sub_mem, sub_zero, smul_eq_mul, Ideal.mul_top, |
| 106 | Ideal.span_singleton_pow, Ideal.mem_span_singleton] using hx n |
| 107 | |
| 108 | theorem binf_eq_zero_of_all_xi_dvd (x : Nontriviality.Binf p) |
| 109 | (hx : ∀ n : ℕ, algebraMap (PeriodRing.Ainf p) (Nontriviality.Binf p) (ThetaKernel.xi p) ^ n ∣ x) : x = 0 := by |
| 110 | obtain ⟨⟨a, s⟩, rfl⟩ := IsLocalization.mk'_surjective (Submonoid.powers (p : PeriodRing.Ainf p)) x |
| 111 | have ha : a = 0 := by |
| 112 | apply ainf_eq_zero_of_all_xi_dvd p a |
| 113 | intro n |
| 114 | have hn : IsLocalization.mk' (Nontriviality.Binf p) a s ∈ |
| 115 | (Ideal.span {ThetaKernel.xi p ^ n}).map (algebraMap (PeriodRing.Ainf p) (Nontriviality.Binf p)) := by |
| 116 | simpa only [Ideal.map_span, Set.image_singleton, map_pow, |
| 117 | Ideal.mem_span_singleton] using hx n |
| 118 | obtain ⟨r, hr, har⟩ := |
| 119 | (IsLocalization.mk'_mem_map_algebraMap_iff (Submonoid.powers (p : PeriodRing.Ainf p)) |
| 120 | (Nontriviality.Binf p) (Ideal.span {ThetaKernel.xi p ^ n}) a s).mp hn |
| 121 | obtain ⟨m, rfl⟩ := (Submonoid.mem_powers_iff r (p : PeriodRing.Ainf p)).mp hr |
| 122 | exact xi_pow_dvd_of_p_pow_mul p n m a (Ideal.mem_span_singleton.mp har) |
| 123 | change IsLocalization.mk' (Nontriviality.Binf p) a s = 0 |
| 124 | rw [ha, IsLocalization.mk'_zero] |
| 125 | |
| 126 | instance binf_xi_separated : |
| 127 | IsHausdorff (Ideal.span {algebraMap (PeriodRing.Ainf p) (Nontriviality.Binf p) (ThetaKernel.xi p)}) (Nontriviality.Binf p) := by |
| 128 | constructor |
| 129 | intro x hx |
| 130 | apply binf_eq_zero_of_all_xi_dvd p x |
| 131 | intro n |
| 132 | simpa only [SModEq.sub_mem, sub_zero, smul_eq_mul, Ideal.mul_top, |
| 133 | Ideal.span_singleton_pow, Ideal.mem_span_singleton] using hx n |
| 134 | |
| 135 | end |
| 136 | |
| 137 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.AdicSeparation |