Binomial expansion of (u+p^rv)^{p^n} modulo p^{n+r+1}
Provedadd_pow_prime_pow_eq_add_mul_add_mul_of_ne_two_or_two_leLet be a commutative ring, let be a prime, and let be natural numbers with and such that either or . Then for all there exists with
where denotes the image of the natural number under the canonical map and is truncated subtraction in (harmless, since ). In other words, the binomial expansion of agrees with its first two terms modulo the ideal generated by . No hypothesis of torsion-freeness, flatness or characteristic is imposed on ; the assertion is the existence of a witness , not a formula for it. The case , is genuinely excluded: there the term of index contributes , which need not lie in .
This is the elementary Kummer-type estimate packaged as a congruence: the -th binomial term of is divisible by , and for every precisely under the stated hypothesis on and . It is used in the deformation-theoretic part of the development, in the analysis of the partial sums of the -series attached to a -adic evaluation (Deformation.PLoc.wPartialSum_adicEval_add_sub_sub_algebraMap_mul_sum_mem_powSub), where it supplies the approximate additivity of under .
import Mathlib set_option maxHeartbeats 4000000 set_option synthInstance.maxHeartbeats 400000 set_option backward.isDefEq.respectTransparency.types false universe u
theorem add_pow_prime_pow_eq_add_mul_add_mul_of_ne_two_or_two_le
{A : Type u} [CommRing A] (p : ℕ) [Fact p.Prime] (n r : ℕ) (hr : 1 ≤ r) (h2 : p ≠ 2 ∨ 2 ≤ r)
(u v : A) :
∃ w : A, (u + (p : A) ^ r * v) ^ (p ^ n) =
u ^ (p ^ n) + (p : A) ^ (n + r) * u ^ (p ^ n - 1) * v + (p : A) ^ (n + r + 1) * w := by sorry