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.Cyclotomic |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.AdicEstimates |
| 3 | |
| 4 | /-! # Logarithm -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.Logarithm |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Additivity of the actual crystalline logarithm |
| 12 | |
| 13 | Raising units to p-power exponents makes their differences from one arbitrarily |
| 14 | p-divisible in the integral envelope. The proved power identity and first-order |
| 15 | estimates then give the product identity by cancellation in adic quotients. |
| 16 | -/ |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.PeriodInvariants.PeriodRing OAI.NumberTheory.PadicHodge.PeriodInvariants.Cyclotomic OAI.NumberTheory.PadicHodge.PeriodInvariants.AdicEstimates |
| 19 | |
| 20 | theorem mapped_mul_difference_eq_zero {R S T : Type*} |
| 21 | [CommRing R] [CommRing S] [CommRing T] |
| 22 | (f : R →+* T) (q : S →+* T) (c a b d : R) (a' b' d' : S) |
| 23 | (ha : f (c * a) = q a') (hb : f (c * b) = q b') (hd : f (c * d) = q d') |
| 24 | (h : q (a' - (b' + d')) = 0) : f (c * (a - (b + d))) = 0 := by |
| 25 | rw [mul_sub, mul_add, map_sub, map_add, ha, hb, hd, ← map_add, ← map_sub, h] |
| 26 | |
| 27 | variable (p : ℕ) [Fact p.Prime] |
| 28 | |
| 29 | def productKernelElement (x y : RingHom.ker (PeriodRing.theta p)) : RingHom.ker (PeriodRing.theta p) := |
| 30 | ⟨(x : PeriodRing.Ainf p) + y + x * y, by |
| 31 | rw [RingHom.mem_ker, map_add, map_add, map_mul, |
| 32 | RingHom.mem_ker.mp x.property, RingHom.mem_ker.mp y.property] |
| 33 | simp⟩ |
| 34 | |
| 35 | theorem one_add_productKernelElement (x y : RingHom.ker (PeriodRing.theta p)) : |
| 36 | (1 + (productKernelElement p x y : PeriodRing.Ainf p)) = (1 + (x : PeriodRing.Ainf p)) * (1 + y) := by |
| 37 | change 1 + ((x : PeriodRing.Ainf p) + y + x * y) = _ |
| 38 | ring |
| 39 | |
| 40 | theorem power_productKernelElement (x y : RingHom.ker (PeriodRing.theta p)) (N : ℕ) : |
| 41 | Cyclotomic.powerKernelElement p (productKernelElement p x y) N = |
| 42 | productKernelElement p (Cyclotomic.powerKernelElement p x N) (Cyclotomic.powerKernelElement p y N) := by |
| 43 | apply Subtype.val_injective |
| 44 | change (1 + (productKernelElement p x y : PeriodRing.Ainf p)) ^ N - 1 = |
| 45 | ((1 + (x : PeriodRing.Ainf p)) ^ N - 1) + ((1 + (y : PeriodRing.Ainf p)) ^ N - 1) + |
| 46 | ((1 + (x : PeriodRing.Ainf p)) ^ N - 1) * ((1 + (y : PeriodRing.Ainf p)) ^ N - 1) |
| 47 | rw [one_add_productKernelElement, mul_pow] |
| 48 | ring |
| 49 | |
| 50 | theorem pdLog_power_linear_eval (x : RingHom.ker (PeriodRing.theta p)) (n : ℕ) : |
| 51 | AdicCompletion.evalₐ (Ideal.span {(p : PeriodRing.AcrisZero p)}) ((n + 2) + n) |
| 52 | ((p : PeriodRing.Acris p) ^ (n + 2) * PeriodRing.pdLog p x) = |
| 53 | Ideal.Quotient.mk ((Ideal.span {(p : PeriodRing.AcrisZero p)}) ^ ((n + 2) + n)) |
| 54 | (algebraMap (PeriodRing.Ainf p) (PeriodRing.AcrisZero p) |
| 55 | (Cyclotomic.powerKernelElement p x (p ^ (n + 2)))) := by |
| 56 | have hpower : (p : PeriodRing.Acris p) ^ (n + 2) * PeriodRing.pdLog p x = |
| 57 | PeriodRing.pdLog p (Cyclotomic.powerKernelElement p x (p ^ (n + 2))) := by |
| 58 | simpa only [Nat.cast_pow] using (Cyclotomic.pdLog_power p x (p ^ (n + 2))).symm |
| 59 | rw [hpower] |
| 60 | apply AdicEstimates.pdLog_firstOrder_eval p (Cyclotomic.powerKernelElement p x (p ^ (n + 2))) (n + 1) |
| 61 | ((n + 2) + n) (by omega) |
| 62 | change (p : PeriodRing.AcrisZero p) ^ (n + 2) ∣ |
| 63 | algebraMap (PeriodRing.Ainf p) (PeriodRing.AcrisZero p) ((1 + (x : PeriodRing.Ainf p)) ^ (p ^ (n + 2)) - 1) |
| 64 | simpa only [Nat.cast_pow] using AdicEstimates.power_difference_dvd p x (p ^ (n + 2)) |
| 65 | |
| 66 | theorem power_differences_mul_mem (x y : RingHom.ker (PeriodRing.theta p)) (n : ℕ) : |
| 67 | algebraMap (PeriodRing.Ainf p) (PeriodRing.AcrisZero p) (Cyclotomic.powerKernelElement p x (p ^ (n + 2))) * |
| 68 | algebraMap (PeriodRing.Ainf p) (PeriodRing.AcrisZero p) (Cyclotomic.powerKernelElement p y (p ^ (n + 2))) ∈ |
| 69 | (Ideal.span {(p : PeriodRing.AcrisZero p)}) ^ ((n + 2) + n) := by |
| 70 | have hm := Ideal.mul_mem_mul (AdicEstimates.power_difference_mem_pow p x (n + 2)) |
| 71 | (AdicEstimates.power_difference_mem_pow p y (n + 2)) |
| 72 | rw [← pow_add] at hm |
| 73 | exact Ideal.pow_le_pow_right (show (n + 2) + n ≤ (n + 2) + (n + 2) by omega) hm |
| 74 | |
| 75 | theorem power_product_difference (x y : RingHom.ker (PeriodRing.theta p)) (N : ℕ) : |
| 76 | algebraMap (PeriodRing.Ainf p) (PeriodRing.AcrisZero p) (Cyclotomic.powerKernelElement p (productKernelElement p x y) N) - |
| 77 | (algebraMap (PeriodRing.Ainf p) (PeriodRing.AcrisZero p) (Cyclotomic.powerKernelElement p x N) + |
| 78 | algebraMap (PeriodRing.Ainf p) (PeriodRing.AcrisZero p) (Cyclotomic.powerKernelElement p y N)) = |
| 79 | algebraMap (PeriodRing.Ainf p) (PeriodRing.AcrisZero p) (Cyclotomic.powerKernelElement p x N) * |
| 80 | algebraMap (PeriodRing.Ainf p) (PeriodRing.AcrisZero p) (Cyclotomic.powerKernelElement p y N) := by |
| 81 | rw [power_productKernelElement] |
| 82 | change algebraMap (PeriodRing.Ainf p) (PeriodRing.AcrisZero p) |
| 83 | ((Cyclotomic.powerKernelElement p x N : PeriodRing.Ainf p) + Cyclotomic.powerKernelElement p y N + |
| 84 | (Cyclotomic.powerKernelElement p x N : PeriodRing.Ainf p) * Cyclotomic.powerKernelElement p y N) - _ = _ |
| 85 | rw [map_add, map_add, map_mul] |
| 86 | ring |
| 87 | |
| 88 | /-- The convergent divided-power logarithm sends products of units in |
| 89 | `1 + ker theta` to sums in the actual completed envelope. -/ |
| 90 | theorem pdLog_product (x y : RingHom.ker (PeriodRing.theta p)) : |
| 91 | PeriodRing.pdLog p (productKernelElement p x y) = PeriodRing.pdLog p x + PeriodRing.pdLog p y := by |
| 92 | apply sub_eq_zero.mp |
| 93 | apply AdicCompletion.ext_evalₐ |
| 94 | intro n |
| 95 | rw [map_zero] |
| 96 | apply AdicEstimates.completion_eval_pow_cancel p |
| 97 | (by exact_mod_cast (Fact.out : p.Prime).ne_zero) (n + 2) n |
| 98 | apply mapped_mul_difference_eq_zero |
| 99 | (AdicCompletion.evalₐ (Ideal.span {(p : PeriodRing.AcrisZero p)}) ((n + 2) + n)).toRingHom |
| 100 | (Ideal.Quotient.mk ((Ideal.span {(p : PeriodRing.AcrisZero p)}) ^ ((n + 2) + n))) |
| 101 | ((p : PeriodRing.Acris p) ^ (n + 2)) |
| 102 | (PeriodRing.pdLog p (productKernelElement p x y)) (PeriodRing.pdLog p x) (PeriodRing.pdLog p y) |
| 103 | (algebraMap (PeriodRing.Ainf p) (PeriodRing.AcrisZero p) |
| 104 | (Cyclotomic.powerKernelElement p (productKernelElement p x y) (p ^ (n + 2)))) |
| 105 | (algebraMap (PeriodRing.Ainf p) (PeriodRing.AcrisZero p) (Cyclotomic.powerKernelElement p x (p ^ (n + 2)))) |
| 106 | (algebraMap (PeriodRing.Ainf p) (PeriodRing.AcrisZero p) (Cyclotomic.powerKernelElement p y (p ^ (n + 2)))) |
| 107 | (pdLog_power_linear_eval p (productKernelElement p x y) n) |
| 108 | (pdLog_power_linear_eval p x n) (pdLog_power_linear_eval p y n) |
| 109 | apply Ideal.Quotient.eq_zero_iff_mem.mpr |
| 110 | rw [power_product_difference] |
| 111 | exact power_differences_mul_mem p x y n |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.Logarithm |