README.md
3.4 kB · markdown
design-multilayer
- Light at normal incidence through a digit-design multilayer: layer A (
nA) on the level-kdesign cells (baseb, digitsD), host B (nB = 1.45) elsewhere and on both sides, every cell of equal optical thicknessdelta. - Builds the level-
kcharacteristic matrix by the level recursionM_(k+1) = W_D(M_k, M_B(b^k delta)),b - 1multiplications a level; a stack is dark once an entry passes1e100, and a dark stack's matrix is rescaled by a positive number each level so the phase oft_kstays exact. - Mahler measures:
m(P_D)by Jensen on the roots,m(Q_D)by Jensen inxon2^15midpoints iny; the Boyd class ofQ_D(monomial times cyclotomic polynomials in monomials) by exact factoring in sympy. - One generator for every number in
notes/multilayers.md.
RUN
uv run python research/lab/py/design-multilayer/multilayer.py
uv run python research/lab/py/design-multilayer/multilayer.py check born
- No argument runs every verb; about 46 seconds on one core. Needs numpy, sympy, mpmath and PARI (
gp). check(2.4 s): the recursion against a 40-digit layer-by-layer product on five designs atnA = 1.6, 2.3, 3.5, asserting a relative gap under1e-12; the zero-contrast derivative againstprod P_D(e^(2i b^j delta))atnA = nB(1 + 1e-8)inabs(gap)/max(1, abs(prod)), asserting1e-5.born(2.1 s): per-level mean drift ofln abs(r/t)atnA = 1.455againstm(P_D)on six designs, with its standard error andabs(mean - m(P_D)), and the largest gap over the six.smyth(0.3 s):m(Q_(0,1,3))against3 sqrt(3) L(chi_(-3), 2)/(4 pi)from PARI, asserting1e-8.deep(27 s): on nine designs atnA = 1.6, 2.3, 3.5, the deep drift (mean step whereabs(r_k/t_k) < 0.02) with per-level standard errors, the tail mean of the last four levels withsethe mean of their standard errors (an upper bound for the tail mean's standard error) and its distance fromm(Q_D)inse, the deep lift and its largest tail gap from the drift, the step-law median gap whereabs(r_k/t_k) < 1e-3on 50 or more frequencies (n/aotherwise), the couplingabs(mean e^(2i(alpha - beta)))of block and spacer phases, the torus mean ofln abs(Q_D(u^2, v^2))over every frequency, dark or open, and the dark fraction; then the step-law cell count and the zero-set band over the seven table designs.refute(3.8 s): the three designs with cyclotomicP_Dand non-BoydQ_D, asserting both, withf_k sqrt(k)to level 12 atnA = 2.3, beside two Boyd-cyclotomic controls.census(10.9 s): every design at bases 3 to 6 with0inDand2 <= abs(D) < b, up to shift and mirror (39), its Boyd class and the flatnessf_12 sqrt(12)/(f_6 sqrt(6))atnA = 2.3, verdict critical above0.9, and the flatness band of each class.
WITNESSES
notes/multilayers.md"The level recursion": the1e-12agreement (check).- "The Born drift": the derivative identity (
check) and the weak-contrast drifts0.3832,0.4425,0.2818, within0.001ofm(P_D)(born). - "The block-spacer lift": the step law below
3e-6on 25 of 27 cells (deep). - "Cyclotomic is not enough": the three counterexamples and the controls
1.097,0.901(refute). - "The deep drift": the table, the refutation at
nA = 1.6, the zero-set band and the{0,1,3}rows (deep,smyth). - "Two regimes": the 39-design census, 26 critical and 13 decaying, matching the Boyd class on all (
census).