Documentation

CslibFrontier.Computability.Circuit.Frontier.TensorNetwork.KernelProduct

The local Cauchy kernel as a product of units #

Lemma D.4 of [OAI26k] (pp. 59–60) shows that the Cauchy kernel W_d on the grid S of L = 2 ^ a slots has 2-integral coefficients in the local coordinate z, T = t + α z, α = 2 ^ (a + 1). The source evaluates it by dividing each factor t - q + α z, q ≠ t, by the known power 2 ^ v₂(t - q) and inverting only odd integers (p. 60). This file proves the resulting product formula, so that a kernel value is computed with ring operations and inverses of odd integers.

Write t - q = 2 ^ v_q u_q with u_q odd. Since S is a complete residue system modulo 2 ^ (a + 1), the valuations v_q, q ≠ t, sum to those of the normalization C'(0) = ∏_{q ≠ 0} (0 - q) (sum_padicValInt_sub_eq). So the powers of two cancel, and

where c = ∏_{q ≠ 0} u'_q⁻¹ is the inverse of the odd part of C'(0) (kernelUnit). Every factor is integral, and c is a unit of ℤ_(2) (localKernel_eq_prod). Evaluating at ζ in a ring receiving ℤ_(2) gives kernelValue_eq_prod.

Main definitions #

Main results #

References #

An integer is 2 ^ v₂(n) times its odd part n / 2 ^ v₂(n).

The odd part of a nonzero integer is nonzero.

theorem Cslib.Circuits.Frontier.odd_ediv_two_pow {n : ℤ} (hn : n ≠ 0) :
Odd (n / 2 ^ padicValInt 2 n)

The odd part of a nonzero integer is odd.

theorem Cslib.Circuits.Frontier.sum_padicValInt_sub_eq {a : ℕ} {t : ℤ} (ht : t ∈ cauchyGrid (2 ^ a)) :
∑ q ∈ (cauchyGrid (2 ^ a)).erase t, padicValInt 2 (t - q) = ∑ q ∈ (cauchyGrid (2 ^ a)).erase 0, padicValInt 2 (0 - q)

The valuations of the differences sum to those of the normalization. For t on the grid of 2 ^ a slots, ∑_{q ≠ t} v₂(t - q) = ∑_{q ≠ 0} v₂(0 - q).

The inverse ∏_{q ≠ 0} u'_q⁻¹ of the odd part of C'(0) = ∏_{q ≠ 0} (0 - q), a unit of ℤ_(2), with u'_q the odd part of 0 - q.

theorem Cslib.Circuits.Frontier.coe_kernelUnit (a : ℕ) :
↑(kernelUnit a) = (∏ q ∈ (cauchyGrid (2 ^ a)).erase 0, ↑((0 - q) / 2 ^ padicValInt 2 (0 - q)))⁻¹

The value of kernelUnit.

theorem Cslib.Circuits.Frontier.localKernel_eq_prod {a : ℕ} {t d : ℤ} (ht : t ∈ cauchyGrid (2 ^ a)) (hd : d ∈ cauchyGrid (2 ^ a)) :
localKernel a t d = (Polynomial.C (kernelUnit a) * if d = t then 1 else Polynomial.C (2 ^ (a + 1 - padicValInt 2 (t - d))) * Polynomial.X) * ∏ q ∈ ((cauchyGrid (2 ^ a)).erase d).erase t, (Polynomial.C ↑((t - q) / 2 ^ padicValInt 2 (t - q)) + Polynomial.C (2 ^ (a + 1 - padicValInt 2 (t - q))) * Polynomial.X)

The local kernel as a product of units (Lemma D.4 and its evaluation, p. 60). For grid points t and d of 2 ^ a slots, with t - q = 2 ^ v_q u_q, u_q odd, the local kernel is kernelUnit a times ∏_{q ≠ d, t} (u_q + 2 ^ (a + 1 - v_q) z), times 2 ^ (a + 1 - v_d) z when d ≠ t.

theorem Cslib.Circuits.Frontier.kernelValue_eq_prod {R : Type u_1} [CommRing R] (κ : ↥(Rat.padicValuation 2).integer →+* R) (ζ : R) {a : ℕ} {t d : ℤ} (ht : t ∈ cauchyGrid (2 ^ a)) (hd : d ∈ cauchyGrid (2 ^ a)) :
kernelValue κ ζ a t d = (κ (kernelUnit a) * if d = t then 1 else 2 ^ (a + 1 - padicValInt 2 (t - d)) * ζ) * ∏ q ∈ ((cauchyGrid (2 ^ a)).erase d).erase t, (↑((t - q) / 2 ^ padicValInt 2 (t - q)) + 2 ^ (a + 1 - padicValInt 2 (t - q)) * ζ)

Kernel values as products of units. In a ring R receiving ℤ_(2) through κ, the kernel value W_d(t + α ζ) is κ(kernelUnit a) times ∏_{q ≠ d, t} (u_q + 2 ^ (a + 1 - v_q) ζ), times 2 ^ (a + 1 - v_d) ζ when d ≠ t.