research/lab/rs/design-windows
1 directory and 2 files in research/lab/rs/design-windows.
Design Windows
- Counts the
k x kwindows of the subshift of every plane code at bases 2 and 3, decides which subshifts are of finite type, and checks both against brute force, for windows. - A code at base
bis a bitmask over theb x bcells of level 1 in row-major order; the substitution sends a 1 to that tile and a 0 to the empty tile. L_2, the2 x 2render windows, is the closure of the level-1 windows under one substitution step, stopped at the first repeat.- The census: for
k <= b^n + 1thek x kwindows are the blocks ofsigma^n(B),BinL_2; each block is named by the quadruple of the names of its two(k-1)-blocks on the diagonal and its two other corners, so equal names are equal blocks and the table size isp(k). - One code per orbit of the eight symmetries of the square; the census asserts every image of every orbit's code gives the same count for
k <= 12. - A boundary code, all filled cells in one boundary line of the box, has the subshift
{0}and printsp = 1, with the render-window count after the wordedge.
VERBS
count <base> <top> [code]: one line per orbit,fill, the size ofL_2, the level it settles at,periodic@kat the firstkwithp(k) <= k^2/2orabove, the countsp 1..top, the exact quadratic when one holds fromk <= 3totop; the carpet's and the gasket's formula checks; the class tallies and the number of distinct sequences.scan <base> <level> <top> [code]: renders each orbit's code withmrlyrs::math::bang::factory::create, asserts it equals the study's ownsigma^level(1)and that code7at base 2 drawn at side 3 is base-3 code495, counts distinctk x kblocks of the render by their rows, and prints the gaps againstcount.kind <base>:sft empty,sft full,sft boundary, ornot-sftwith a witness of fast growth ofL_j(X_2):blocks(two blocks of side at most 2 freely arranged),lines(a branching window rule on pictures constant along an axis or a diagonal),xor(L_2is the eight blocks with one corner the sum of its neighbours); thenrecognised mfor the leastm <= 3at which every occurrence ofR_min a picturesigma^m(B),BinL_2, is at one of the four aligned offsets, elseunrecognised; it is run only off the empty, full and boundary codes.pairs <base> <code>:L_2as rowsab/cd.
RUN
bash scripts/cargo.sh cargo run --release -p design-windows -- count 3 82: under 7 seconds.count 3 244 495: the carpet tok = 244, about 2 seconds;count 2 129: under a second.scan 3 6 12: about 46 seconds;scan 2 7 17under a second;scan 3 7 16 495: about 8 seconds.kind 2andkind 3: under a second each. Prints only, writes nothing.
WITNESSES
- windows, "The objects": the symmetry check, the
102and6orbits, the carpet as code495. - "Counting through the substitution": the settle levels
1, 2, 3on6, 75, 21orbits at base 3; the scan agreement,0gaps in108orbits and on the carpet at level 7. - "The carpet":
p(k)to244,L_2of size10,formula holds for 2 <= k <= 244. - "Growth": the
recognised 1certificate on91orbits at base 3 and the gasket,unrecognisedon the line orbits; the exact quadratics;formula holds for 1 <= k <= 129for the gasket. - "Products and lines": the counts of codes
27,45,325,63,365. - "Not of finite type": every verdict and witness; the counts
p(6) = 242,p(24) = 4570,p(72) = 42970. - "The census": the base-2 table,
83distinct sequences, the tallies26,10,476.
- src/1 item
- Cargo.toml99 B
- README.md3.6 kB