Unconditional exhaustive-search wrappers and M20 parity-test assembly #
Unconditional specifications and resource bounds layered on
CslibFrontier.Computability.PolyTime.BitString.InitialTestsSearch:
- Small-bias shift search at
d ≥ ⌈4 (r + 1) / ε²⌉:smallBiasCeil r p qgives the integer threshold⌈4 (r + 1) q² / p²⌉. CombiningCslib.BitString.exists_isSmallBias_map_of_ceil_lewithInitialTestsSearch.findSmallBiasShiftsyields an unconditionalIsSmallBias (p / q)certificate (isSmallBias_findSmallBiasShifts_of_le,isSmallBias_findSmallBiasShiftsCeil) and an explicitComputableInOsearch bound (findSmallBiasShiftsCeil_computableInO). - Local check matrix search under Gilbert–Varshamov bounds:
findLocalCheckMatrixsucceeds unconditionally whenever the Hamming ball of nonzero strings of weight at mosthhas size less than2 ^ c(weight_le_of_findLocalCheckMatrix_of_ball_lt), in particular wheneverballSize d h ≤ 2 ^ cor(d + 1) ^ h ≤ 2 ^ c(weight_le_of_findLocalCheckMatrix_of_ballSize_le,weight_le_of_findLocalCheckMatrix_of_pow_le), with the search cost fromInitialTestsSearch.findLocalCheckMatrix_computableInO. - End-to-end M20 parity-test composition:
tannerParityTestspairsfindSmallBiasShifts,findLocalCheckMatrix, andbuildShortenedTannerRows, unconditionally producing at most2 · 2 ^ r · crows of weight at mostdwith global relative-distance guaranteeδ * (δ - p / q) * (d * 2 ^ r) ≤ weight z(tannerParityTests_spec). The exponential-time, polynomial-space resource certificate applies exactly to the bounded wrappertannerParityTestsWithBound(tannerParityTests_computableInO), which clamps the dimension to a unary parameter to preserve the polynomial space bound.
Main definitions #
Cslib.Complexity.TannerSearch.smallBiasCeil: computable ceiling⌈4 (r + 1) q² / p²⌉.Cslib.Complexity.TannerSearch.SmallBiasCeilParams,Cslib.Complexity.TannerSearch.encSmallBiasCeilParams,Cslib.Complexity.TannerSearch.findSmallBiasShiftsCeil: shift search atsmallBiasCeil.Cslib.Complexity.TannerSearch.TannerParityParams,Cslib.Complexity.TannerSearch.encTannerParityParams,Cslib.Complexity.TannerSearch.tannerParityTests,Cslib.Complexity.TannerSearch.tannerParityTestsWithBound: end-to-end parity-test builders.
Main results #
Cslib.Complexity.TannerSearch.isSmallBias_findSmallBiasShifts_of_le,Cslib.Complexity.TannerSearch.isSmallBias_findSmallBiasShiftsCeil,Cslib.Complexity.TannerSearch.findSmallBiasShiftsCeil_computableInO: unconditional small-bias shift search and cost.Cslib.Complexity.TannerSearch.weight_le_of_findLocalCheckMatrix_of_ball_lt,Cslib.Complexity.TannerSearch.weight_le_of_findLocalCheckMatrix_of_ballSize_le,Cslib.Complexity.TannerSearch.weight_le_of_findLocalCheckMatrix_of_pow_le: unconditional Gilbert–Varshamov local-code search bounds.Cslib.Complexity.TannerSearch.tannerParityTests_spec,Cslib.Complexity.TannerSearch.tannerParityTests_computableInO: end-to-end correctness andExpTimePolySpaceresource bounds.
References #
Unconditional correctness of findSmallBiasShifts r d p q whenever d ≥ smallBiasCeil r p q
and p, q > 0.
Deterministic exhaustive search for (p / q)-biased shifts at size smallBiasCeil r p q.
Unconditional correctness of findSmallBiasShiftsCeil r p q for p > 0 and q > 0.
Unary encoding of SmallBiasCeilParams.
Native ComputableInO certificate for findSmallBiasShiftsCeil on unary
SmallBiasCeilParams, running in time 2 ^ (smallBiasCeil q.r q.p q.q * q.r + q.r) times a
polynomial and polynomial space.
Unconditional correctness of findLocalCheckMatrix c d (h + 1) whenever fewer than 2 ^ c
nonzero strings in Fin d → Bool have weight at most h.
Unconditional correctness of findLocalCheckMatrix c d (h + 1) under the Hamming-ball
Gilbert–Varshamov hypothesis ballSize d h ≤ 2 ^ c (strictly excluding 0).
Unconditional correctness of findLocalCheckMatrix c d (h + 1) under (d + 1) ^ h ≤ 2 ^ c
(strict variant (d + 1) ^ h < 2 ^ c holds a fortiori).
End-to-end unconditional specification of tannerParityTests m r d c h p q:
under d > 0, m ≤ 2 ^ r * d, p, q > 0, small-bias size smallBiasCeil r p q ≤ d, and
Gilbert–Varshamov (d + 1) ^ h ≤ 2 ^ c, every row has length m and weight at most d, and
every nonzero kernel word z : Fin m → Bool has weight at least δ * (δ - p / q) * (d * 2 ^ r)
with δ = (h + 1) / d.
Input parameters for bounded end-to-end parity-test construction: unary vertex-count upper
bound maxVerts, target block length m, cube dimension r, degree d, local check count c,
local weight parameter h (requiring minimum distance h + 1), and binary bias p / q.
- maxVerts : ℕ
Unary upper bound
Mclamping2 ^ r ≤ max M 1. - m : ℕ
Shortened target block length
m. - r : ℕ
- d : ℕ
Regularity / local code block length
d. - c : ℕ
Number of local parity checks
cper vertex. - h : ℕ
- p : ℕ
Small-bias numerator
p. - q : ℕ
Small-bias denominator
q.
Instances For
Mixed unary/binary encoding of TannerParityParams (maxVerts, m, r, d, c, h unary; p, q
binary).
End-to-end ComputableInO certificate for tannerParityTestsWithBound on TannerParityParams:
runs in time 2 ^ (d * r + r + c * d + d) times a polynomial and polynomial space (including the
O(maxVerts · c · m) output).