README.md
4.8 kB · markdown
Sponge Tube
- The Menger sponge through Kombrink, Pearse and Winter 2016, Corollary 3.2, with the open unit cube as the feasible open set:
p(eps) = eps^(D-3) (20/27 + sum_(l >= 0) (27/20)^l T(eps/3^l))foreps in (sqrt(2)/18, 1/6], whereT(delta)is the volume of the sponge'sdelta-neighbourhood inside the plus of seven removed cubes andD = log 20 / log 3. T(delta)on(0, 1/6]in closed form: the centre cube's edge tubepi delta^2 - 8 sqrt(2) delta^3, and per arm four wall carpets,T = pi delta^2 - 8 sqrt(2) delta^3 + 8 delta^2 + 48 (V1 - A1) - 24 Deep, withV1half the wall's integral ofsqrt(delta^2 - d^2)over the carpet's holes,A1the same integral over the strip withindeltaof the wall's edge, both hole sums of arcsine closed forms with a proved geometric tail, andDeepthe volume of the set deep in holes of two perpendicular walls at once, bounded above by an enumeration of hole pairs to level 7 and a counting bound beyond.- Every printed interval is an enclosure: the closed forms run in mpmath interval arithmetic at 133 bits (
sqrt,pi,atan2for the arcsine,expandlogfor the power), the truncation tails of the level sums, theDeepbound and the tail of the criterion's series over levels above 40 are exact rationals added to the endpoints, and the script asserts the hard boundsV1 <= delta/18andA1 <= delta^2/3at every radius; the raster is a float check only. mpmath's interval+ - * / sqrtand integer powers are exactly directed, whilepi,atan2,expandlogare guard-bit approximations rounded outward, a drift below1e-30absorbed by the printed rounding of at least5.6e-9. - A raster check: distances from the wall carpets and the centre edges on
120^3cells per cube, bracketed by the half diagonal, contain the closed form atdelta = 1/8and1/12. checks.pyis the second verb: four independent checks of the lemmas and the certificate, none part of it, each printing its own numbers:oracle(exact distances to the level-4 prefractal through a KD-tree with a completeness test, against the 24 level-4 wall carpets and against the own-walls or centre-edges reduction),montecarlo(seeded Monte Carlo ofTat three radii through the reduced distance, a lemma-free bracket ofTfrom the prefractal, andV2at1/12),seeded(Monte Carlo ofDeepon its confinement box and ofV2at1/6and1/8, seed 20260921),recompute(the tube, theDeepbound and the three bands from the closed forms of the paper at 60 digits with their own column recursion, hole integrals checked against quadrature, plusV1andA1at1/12at 200 digits with the naivea1and on a3000^2midpoint grid).
RUN
uv run python mrlyprod/research/lab/py/sponge-tube/sponge_tube.py- About 46 to 50 seconds; prints only, writes nothing, asserts the raster brackets and the positive gap.
uv run python mrlyprod/research/lab/py/sponge-tube/checks.pyruns the four checks, about 125 seconds in all:oracle4 s,montecarlo82 s,seeded29 s,recompute9 s; append one name for one check. Needs numpy, scipy and mpmath; prints only, writes nothing.
WITNESSES
- dimensions.md, section "The sponge, through the criterion without pluriphase":
T(1/8)in[0.234186414, 0.234701259]andT(1/12)in[0.180947086, 0.180947093], raster bands[0.23229, 0.23708]and[0.17665, 0.18531];T(1/6) = (pi + 8)/36 - sqrt(2)/27 - 24 Deepin[0.256188319, 0.257110405]. - The same section:
p(1/12)in[2.122718, 2.122723],p(1/8)in[2.134668, 2.135742],p(1/6)in[2.135019, 2.136794],p(1/6) - p(1/12) >= 0.012296, relative swing at least0.5792 %, theDeepbound3.84e-5atdelta = 1/6,2.15e-5atdelta = 1/8and2.42e-10atdelta = 1/12. - The paper
papers/sponge-measurability.md, Fact 4.4 and Fact 5.3: the same bands; its Section 6, every number:checks.py oracleprints160000cubes,12288wall faces,22844points with2844near a face, the differences0.0and2.8e-17, and the centre distance to8.3e-17;checks.py montecarloprints the brackets[0.23190, 0.23467]and[0.17601, 0.18090]at1e6points,T(1/12) = 0.180952 +- 0.000056,T(1/8) = 0.234691 +- 0.000036,T(1/6) = 0.257060 +- 0.000011at4e7points, andV2(1/12) = 0.00231180 +- 5.6e-8against0.00231178;checks.py seededprintsDeep = 1.8882e-6 +- 1.4e-8against the bound3.8420e-5at1/6and4.7432e-8 +- 2.9e-9against2.1452e-5at1/8, withV2at both radii against2 A1 - delta^2/3 + Deep;checks.py recomputeprints the column counts validated to level 6, the hole integrals against quadrature to1e-24or better,V1,A1, theDeepbound andTat the three radii, the three bands to twelve digits, the series tails, andV1(1/12),A1(1/12)at 200 digits with the naivea1and on the grid.