Documentation

CslibFrontier.Foundations.Data.Polynomial.TaperedHermite

Two-adic size of tapered Hermite basis values #

The tapered Hermite recovery of [OpenAI2026ETH, Lemma D.5, §D.4.4, pp. 60–61] interpolates on the dyadic grid S = [-2 ^ a, 2 ^ a), a complete residue system modulo 2 ^ (a + 1). The nodes are the points q ≠ 0 of S, and the multiplicity of q depends only on its 2-adic valuation, q_q = m (v₂ q). Its precision analysis needs a lower bound on the 2-adic valuation of the Hermite basis values E_t(0) = ∏_{q ∈ S \ {0, t}} (-q / (t - q)) ^ m (v₂ q) of the Chinese-remainder form (D.9) (Polynomial.eval_eq_sum_hermiteBasis_mul_hermiteQuotient).

For a node t of valuation i, v₂ (E_t(0)) = ∑_{i < j ≤ a} 2 ^ (a - j) (j - i) (m j - m i) (Polynomial.padicValRat_eval_zero_hermiteBasis_dyadic), the middle expression of (D.10). The proof pairs q with the reflection of t - q into the grid: points of valuation below i contribute 0, and the points of valuation i cancel the i-part of those above i. Counting the points of each valuation on the grid (sum_Ico_erase_zero_padicValInt_two) gives the closed form. If m drops by at most h per level, as the taper m i = h * max(0, u - i) does, then v₂ (E_t(0)) ≥ -6 h 2 ^ (a - i), since ∑_{j ≥ 1} j ^ 2 / 2 ^ j = 6 (Polynomial.neg_le_padicValRat_eval_zero_hermiteBasis_dyadic, Polynomial.neg_le_padicValRat_eval_zero_hermiteBasis_taper). This is (D.10), with D = 2 ^ (a - i) = L / 2 ^ i for L = 2 ^ a.

E_t(0) is rational, so this uses padicValRat and needs no valuation on the coefficient ring of Lemma D.5.

Main results #

References #

theorem padicValRat.prod {p : ℕ} [Fact (Nat.Prime p)] {ι : Type u_1} (s : Finset ι) {f : ι → ℚ} (hf : ∀ i ∈ s, f i ≠ 0) :
padicValRat p (∏ i ∈ s, f i) = ∑ i ∈ s, padicValRat p (f i)

The p-adic valuation of a finite product of nonzero rationals is the sum of the valuations.

Two-adic valuations of integers #

The dyadic grid #

theorem sum_Ico_erase_zero_padicValInt_two (a : ℕ) (f : ℕ → ℤ) :
∑ q ∈ (Finset.Ico (-2 ^ a) (2 ^ a)).erase 0, f (padicValInt 2 q) = ∑ j ∈ Finset.range (a + 1), 2 ^ (a - j) * f j

The distribution of 2-adic valuations on the dyadic grid. On the nonzero points of [-2 ^ a, 2 ^ a), the valuation j ≤ a occurs 2 ^ (a - j) times.

theorem Polynomial.padicValRat_eval_zero_hermiteBasis_dyadic {a : ℕ} {t : ℤ} (m : ℕ → ℕ) (ht : t ∈ Finset.Ico (-2 ^ a) (2 ^ a)) (ht0 : t ≠ 0) :
padicValRat 2 (eval 0 (hermiteBasis ((Finset.Ico (-2 ^ a) (2 ^ a)).erase 0) (fun (q : ℤ) => ↑q) (fun (q : ℤ) => m (padicValInt 2 q)) t)) = ∑ j ∈ Finset.Ioc (padicValInt 2 t) a, 2 ^ (a - j) * ((↑j - ↑(padicValInt 2 t)) * (↑(m j) - ↑(m (padicValInt 2 t))))

The two-adic valuation of a tapered Hermite basis value, exactly (D.10). On the grid S = [-2 ^ a, 2 ^ a), take the nodes S \ {0}, a node q having multiplicity m (v₂ q). For a node t of valuation i, the value at 0 of its Hermite basis polynomial E_t(T) = ∏_{q ∈ S \ {0, t}} ((T - q) / (t - q)) ^ m (v₂ q) has valuation ∑_{i < j ≤ a} 2 ^ (a - j) (j - i) (m j - m i). This is the middle expression of (D.10) in [OpenAI2026ETH, §D.4.4, p. 61] with j = i + j' and D = 2 ^ (a - i).

theorem Polynomial.neg_le_padicValRat_eval_zero_hermiteBasis_dyadic {a : ℕ} {t : ℤ} {h : ℕ} {m : ℕ → ℕ} (hm : ∀ (k : ℕ), m k ≤ m (k + 1) + h) (ht : t ∈ Finset.Ico (-2 ^ a) (2 ^ a)) (ht0 : t ≠ 0) :
-(6 * ↑h * 2 ^ (a - padicValInt 2 t)) ≤ padicValRat 2 (eval 0 (hermiteBasis ((Finset.Ico (-2 ^ a) (2 ^ a)).erase 0) (fun (q : ℤ) => ↑q) (fun (q : ℤ) => m (padicValInt 2 q)) t))

The valuation bound (D.10). If the multiplicity by valuation m drops by at most h per level, m k ≤ m (k + 1) + h, then the Hermite basis value at 0 of a nonzero grid node t satisfies v₂ (E_t(0)) ≥ -6 h D with D = 2 ^ (a - v₂ t) ([OpenAI2026ETH, Lemma D.5, (D.10), p. 61]).

theorem Polynomial.neg_le_padicValRat_eval_zero_hermiteBasis_taper {a : ℕ} {t : ℤ} (u h : ℕ) (ht : t ∈ Finset.Ico (-2 ^ a) (2 ^ a)) (ht0 : t ≠ 0) :
-(6 * ↑h * 2 ^ (a - padicValInt 2 t)) ≤ padicValRat 2 (eval 0 (hermiteBasis ((Finset.Ico (-2 ^ a) (2 ^ a)).erase 0) (fun (q : ℤ) => ↑q) (fun (q : ℤ) => h * (u - padicValInt 2 q)) t))

The tapered multiplicities of Lemma D.5. With q(i) = h * max(0, u - i) (natural subtraction), the Hermite basis value at 0 of a nonzero grid node t satisfies v₂ (E_t(0)) ≥ -6 h D with D = 2 ^ (a - v₂ t): (D.10) of [OpenAI2026ETH, Lemma D.5, p. 61].