Sparse query bounds #
Main definitions #
saving: the factorD^(-1/18)forD = 4^m.
Main results #
card_leaves_le_sum_min: sum the two order-wise bounds.card_leaves_le_saving: explicit sparse leaf bound, with no assumed sparse solver.
References #
Adapted selectively from [AlmanWilliams2026, Section 2] and
Anthropic's pinned formal source.
Source pin: 16a5ce41304fcdaea4e0be7c132e1c361dc26da5. These are finite mathematical
counts and identities; they give no native program or instruction-cost certificate.
Specialization to L = 19 * m #
The positive real factor 2 ^ (-m / 9), used in the finite leaf and encoding count
bounds.
Instances For
2^{-m/9} is positive.
2^{-m/9} ≤ 1.
The first inequality #
If every string in U has m inner positions, its contributing leaves of natural order
d are bounded both by U.card * alpha m d and by beta L m d. The minimum combines
these bounds without counting a shared leaf more than once.
Bound the cardinality of leaves U by summing the smaller of the per-output bound and the
full leaf count over natural orders 0 through m. Every string in U must have exactly
m inner positions; the empty set is permitted (cf. [AlmanWilliams2026, Lemma 11]).
The second inequality #
At L = 19 * m, the sum of beta L m d over 0 ≤ d ≤ m with m < 9 * d is strictly
below 2 * saving m * M L m. This includes m = 0, when the sum is empty.
For m ≥ 1, the sum of alpha m d over 0 ≤ d ≤ m with 9 * d ≤ m is strictly below 2 ^ m * saving m. For m = 0, the two quantities are equal, so the strict inequality needs
the stated positivity hypothesis.
For strings of length 19 * m, each with m inner positions, the contributing leaf set
has cardinality at most saving m * (2 ^ m * U.card + 2 * M (19 * m) m). This real bound
permits m = 0 and U = ∅; it makes no execution-cost claim (cf. [AlmanWilliams2026,
Lemma 11]).
Combine the order-wise minimum bound on leaves U with the explicit real bound available
when L = 19 * m. Both conclusions assume only that each requested string has m inner
positions; the specialization is conditional on the displayed equality of parameters.