README.md
2.6 kB · markdown
fractal-array-fragility
- Builds the fractal sparse array
F_r = {sum_(i<r) g_i b^i : g_i in G}of a generatorGwith hole-free coarray[-a, a], at the baseM = 2a + 1of Cohen and Eldar and at every compressed basea < b <= 2a + 1. - Tests essentialness by the definition: remove the sensor, recompute the difference coarray, compare. A fast test by pair counts (a lag of weight 1 kills both ends, a lag of weight 2 kills the sensor its two pairs share) is checked equal to the definition on every array up to 250 sensors before it is used alone;
dialbuilds the weight level by level as the convolution ofw_Gstretched byb^(r-1), checked against the counted weight up to 250 sensors. exact: every hole-free generator withL <= 6and spana <= 13, one of each mirror pair, 119 generators, atr = 2, 3; checks the essential set ofF_ragainst the digit rule of Theorem A (every digit inU(G)), checks the tightness criterione_r = card E(G)^riffE(G) = U(G), asserts the coarray hole-free, and lists the loose generators withcard E(G),uand whetherGis maximally economic.dial: the generators{0, 1, 2},{0, 1, 4, 6},{0, 1, 2, 3, 7},{0, 1, 4, 7, 9},{0, 1, 2, 3, 7, 11}at every basea < b <= 2a + 1,e_rfor everyrwith at most 17000 sensors and 8 million lags, the hole-free coarray[-A, A],A = a(b^r - 1)/(b - 1), asserted on every row, and the affine lawe_(r+1) = lambda e_r + cthe row obeys fromr = 2or3, oru^r;lambda >= 1andcare fitted on two steps, takinglambda = 1on a flat tail, no upper bound, and the line prints how many further steps check the law.
RUN
uv run python research/lab/py/fractal-array-fragility/fragility.py exactfrommrlyprod/; about 21 seconds.uv run python research/lab/py/fractal-array-fragility/fragility.py dial; about 21 seconds.- Standard library and numpy; no argument runs both verbs.
WITNESSES
- arrays, Fragility is exact - Theorem A against the definition on 238 cases with 0 mismatches, and
{0, 1, 2}at 4 of 9 and 8 of 27: verbexact. - arrays, The two bounds - the tightness criterion with 0 failures (a consequence of the Theorem A check),
{0, 1, 2, 3}at 4 of 16, the 21 loose generators, 14 of them maximally economic, and the excesscard E(G) - u = 1: verbexact. - arrays, The compressed base - the hole-free coarray, the table of
e_r, the affine fits with their checks, and 6561 sensors with 87381 lags for{0, 1, 2}at base 4: verbdial.