README.md
10.1 kB · markdown
mobius-region
- The three exponents a digit design hands the pair route, and the region of
(alpha, alpha_1, beta)in which that route's inequalities all hold. - The object is
F_x(t) = x^(-alpha) abs(Sum_(n in D_level) e(n t))atx = base^level, the transform of the length-levelstrings over a digit setFnormalised by its own mass;alpha = log_base fillwithfill = abs(F),alpha_1is the exponent ofsup_(shift) Sum_(a < x) F_x(shift + a/x),m_tthe exponent ofSum_(a < x) F_x(a/x)^t, andbeta = inf_(1 <= t < 2) m_t/(2 - t)the exceptional-set threshold. - The eight inequalities are
beta <= 2/5together with the seven the verbs carry by name:L1is2 alpha_1 < alpha,C1isbeta <= 1/4,C2isalpha_1 + (5/2) beta <= 1,L2is(2 - alpha) 2 beta < 1 - alpha_1,L3is2 beta (alpha_1 (3 - u) + u - 1) < u alpha/2for someuin(0, min(1, 2 alpha_1/alpha)],L4is5 beta < 1 + alpha/2, andL5is2 beta < (1 - alpha_1)(1 - alpha_1 + alpha/2); the first is implied byC1, so only the seven are ever checked. params base digits [nd] [m]: the three exponents of one design,digitswritten in base 36.criterion: every design of the census against the seven inequalities, with the verdict decided at the pessimistic corner for a pass and at the optimistic one for a fail.region: the boundary in the(alpha_1, beta)plane at fixedalpha, with the cap that binds at every station.boundary: which of the seven can bind at all, the two corner identities, the sweep that finds no counterexample, and the single-window branch read with the stepbeta <= m_1 <= alpha_1.threshold [target]: the exceptional-set threshold from BELOW, by a chain of cells intclosed above by the Parseval value, refined against a target that defaults to1/4.check: the Parseval anchor, the two floors, both window bounds against an exact grid sum, and the recompute at base 21.
WHAT IT COMPUTES
alphaby integer comparison offill^bagainstbase^aat fixed denominatorb = 10^5, never by a float logarithm, printed as a bracket of width10^(-5).- The one-digit factor from the difference multiset,
fill^2 abs(hat F(t))^2 = Sum_(d in F - F) mult(d) cos(2 pi d t), one cosine per distinct difference and no complex exponential. - The window transfer matrix. A window is
n_ddigits in basebase, its cell is[w/base^(n_d), (w + 1)/base^(n_d)), and the matrix carries a window to itsbasesuccessors with weight the supremum of the one-digit factor over the cell, bounded above by a sub-scan ofmpoints plusLip h/2withLip = 2 pi (Sum_(f in F) f)/fillandh = 1/(m base^(n_d)). Its Perron rootlambdagivesalpha_1 <= log_base lambda, and the same scan taking the infimum over the cell givesalpha_1 >= log_base lambda_inf. - The root is bracketed by Collatz-Wielandt on both sides: any
y > 0givesmin_v (M y)(v)/y(v) <= rho(M) <= max_v (M y)(v)/y(v), the test vector being the float power iterate. A cell whose infimum falls to zero can empty a row, and such a design prints no lower bound rather than a false one. - The moments run the same matrix with the weight raised to
t, so one scan serves every order;betafrom above ismin_t m_t/(2 - t)over a finite grid oft, which is an upper bound because each sampledtis admissible. betafrom below needs everyt, and is the direction the base-10 verdict rests on; it gets it from two monotonicities:F_x <= 1pointwise makesm_tnon-increasing int, so on a cell[t_0, t_1]everythasm_t/(2 - t) >= m_(t_1)/(2 - t_0), andm_2 = 1 - alphaexactly by Parseval on the grid, so above a cut the Parseval value alone decides. An adaptive bisection refines only the cells that do not clear the bar.- The two floors, both from the same Parseval identity
Sum_(a mod base^level) abs(hat F_level(a/base^level))^2 = base^level fill^level:alpha_1 >= 1 - alphaandbeta >= 1 - alphaat every design. - The caps on
betaare exact rational functions of(alpha, alpha_1)evaluated inFraction, so the region and its corner identities carry no float at all.
THE ROUNDING
alpha_1is a supremum over shifts: an upper bound needs the whole supremum and comes from the supremum window at a printed depth, a lower bound needs one shift and comes from the infimum window or from the floor.betais an infimum over orders: an upper bound needs one order, a lower bound needs every order and comes from the cell chain. The two directions are exchanged.- Lower bounds truncate down, upper bounds round up, and no digit prints past what the bound establishes. Every cap falls in
alpha_1and rises inalpha, so a design clears the region as soon as it clears at the corner withalphalow andalpha_1,betahigh, and fails as soon as it fails at the opposite corner; neither corner deciding printsopen.
RUN
uv run python research/lab/py/mobius-region/mobius_region.py checkin 27 seconds.uv run python research/lab/py/mobius-region/mobius_region.py boundaryandregionin under a second each.uv run python research/lab/py/mobius-region/mobius_region.py thresholdin 41 seconds for the ten base-10 columns andthreshold 0.2626in 80 seconds,threshold base digits [target]for one design.uv run python research/lab/py/mobius-region/mobius_region.py criterionin 155 seconds for the 49 designs of the census.uv run python research/lab/py/mobius-region/mobius_region.py params 21 123456789abcdefghijkin 12 seconds.- Depths:
n_d = 9atbase 3,7atbase 4,6atbase 5,5atbase 10and atbase 21, sub-scanm = 8throughout; the base-21 matrix carries21^4states and21^5weights, under 100 MB. - Prints only, writes nothing;
checkandboundaryraise if any row is off.
WITNESSES
- The region: for
alphain(1/2, 1)the eight inequalities collapse toalpha_1 < alpha/2andbeta <= min(1/4, (2/5)(1 - alpha_1)). The four caps that never bind reach exactly1/4at the wallalpha_1 = alpha/2in the case ofL2andL3,(2 - alpha)/4in the case ofL5and(1 + alpha/2)/5in the case ofL4; the sweep ofalphain[67/100, 999/1000]by1/1000andalpha_1in(0, alpha/2]byalpha/400finds0of66000cells, so0of264000cap tests, where any of the four falls below1/4, and the wall equalities hold at each of330rationalalphafor both caps, corroboration of an identity rather than proof of it. - The two floors force
alpha >= 3/4, that isfill >= base^(3/4): the thresholdbetaobeys the same Parseval floor1 - alphaas thel^1exponent, andbeta <= 1/4then asks1 - alpha <= 1/4. Atalpha = 3/4the threshold is pinned tobeta = 1/4and the gridl^1exponent to1 - alpha, the floor's own equality case. Dropping the1/4for the single-window branchalpha_1 <= 1 - (13/4) betanarrows the route rather than widening it, and the step that does it isbeta <= m_1 <= alpha_1,t = 1in the infimum and one shift of the supremum;boundaryprintsalpha_1 <= 1 - (13/4) beta against beta <= alpha_1 asks beta <= 4/17 = 0.2352942, under the 1/4 it replacesandwith the Parseval floor beta >= 1 - alpha that asks alpha >= 13/17 = 0.764705, over the 3/4 the window cap asks: the branch narrows the route, and without that stepalpha = 0.9,alpha_1 = 0.154,beta = 0.26 > 1/4passes both floors, all five lattice conditions with2 alpha_1 < alphaamong them, the greedy cap and the branch, each with slack. The weaker readingfill > sqrt(base), which comes fromalpha_1 < 1/2alone, stays true throughout. - The census over the 38 proper digit sets of
base 3, 4, 5, the ten base-10 one-missing-digit columns and base 21 missing0:1design clears,47are refuted,1is open, the open cell beingbase 5,F = {0,1,3,4}, where the transform vanishes inside a window cell and the infimum matrix loses a row. - Base 21 missing
0:alpha in [0.9839700, 0.9839800],alpha_1 in [0.2499715, 0.2499822]at five window digits and sub-scan8, clearing1/4by1.78 x 10^(-5), andbeta <= alpha_1att = 1. This is an independent implementation of the same window method against the five-digit[0.2499715, 0.2499821]oflab/py/digit-transform-norms, agreeing on the lower bound to all seven printed digits and differing by one unit in the last on the upper; two machines at one depth and one sub-scan witness transcription, and the upper-bound gap is the only independent information in the comparison. - Base 10 missing
5:alpha_1 in [0.3505101, 0.3506471], containing the certified[0.3505775, 0.3505797]oflab/py/digit-transform-normsand below27/77 = 0.3506494;m_t <= 0.1362891att = 235/154against the published59/433 = 0.1362587;beta <= 0.2875140against23/80 = 0.2875and the sharp9086/31609 = 0.2874498. - The base-10 threshold from below, by chains of
25to53cells:beta > 1/4at all ten excluded digits, so no admissible threshold clears the window condition at base 10 at any digit. - The two extreme digits are strictly the cheapest columns of base 10, and the refuting certificates do not show it:
beta in [0.2510933, 0.2625620]at the digit9and[0.2515026, 0.2875159]at the digit4OVERLAP. At the target0.2626the same chain certifiesbeta >= 0.2632014at each of the eight non-extreme digits, up to0.2645208at the digit7, above both extreme upper bounds, while the digits0and9come back undecided as they must; that is the ordering. The miss is then at most0.0125620at the cheapest column and at least0.0139557at the digit4, and the factor2.99between the two printed excesses over1/4,0.0375159against0.0125620, is a ratio of upper bounds and not of misses. Thel^1exponents readalpha_1 <= 0.3099237andalpha_1 <= 0.3506480at the same two digits. - The checks: the Parseval anchor
Sum_a F_x^2 = (base/fill)^levelreproduced exactly at six cells; the exact grid sum between the two window path sums atbase 3, 5, 10, the infimum path under it at ratios0.999524,0.998522,0.999353and the supremum path over it at0.999524,0.998523,0.999353; both floors met at four designs.