Full computations
by Rooke Alan Poole
PM0 = B5-7/S5-9, synchronous binary update on a finite periodic three-dimensional cubic lattice with 26 Moore neighbors. This notebook is self-contained: choose Evaluation > Evaluate Notebook, or evaluate cells in order. The original mathematical framework is attributed to Rooke Alan Poole; ChatGPT assisted in Wolfram Language translation, verification scripts and notebook assembly. Every result in this notebook is classical, finite, and based on the base unsharpened PM0 rule.

Research question and claim boundaries

Question: how can local birth/survival thresholds in 3D select stable one-cell sheets, and how accurately can first-step defects be computed from a 2D mask? The mathematical claims are the sheet fixed point, the q_D/r_D planar selector, and rectangular birth/channel formulas. Computational checks support implementation fidelity but are not a substitute for the combinatorial proof. No claim about a continuum manifold, physical reality, quantum dynamics, non-Markovianity, universal computation or topologically protected memory follows from this notebook.

1. Native Wolfram rule and a reference implementation

A dead cell with 5-7 neighbors is born; a live cell with 5-9 neighbors survives. The compact law is x(t+1,i) = 1{5 <= N_i(x(t)) <= 7+2*x(t,i)}. Wolfram CellularAutomaton specifies this as GrowthSurvivalCases with a 3D Moore neighborhood. RotateLeft implements independent periodic Moore sums.
In[]:=
(*::Package::*)​​(*PooleManifold|PM0basecellularautomaton|WolframCommunityresearchcompanion*)​​(*RookeAlanPoole:originatingresearch.ChatGPT-assistedtranslationandtestharness.*)​​(*18October2026|WolframLanguage|Exactfiniteintegerdynamics*)​​(*Allcalculationsusefiniteperiodiccubicarrays;statex(t)isMarkovian.*)​​(*ThiscodeDOESNOTimplementprime-sharpening,quantumdynamics,orphysicalmodels.*)​​​​ClearAll[​​pmRule,pmAblatedRule,pmOffsets3,pmOffsets2,pmCount3,​​pmNativeStep,pmReferenceStep,pmRectMask,pmSheet,pmRectState,​​pm2DCounts,pmPlanarPredict,pmRectangleTrial,pmRandomMaskChecks,​​pmRandomFull3DChecks,pmRunChecks,pmFigure3D,pmFigure2D,​​pmExample,pmNext,pmBorn,pmZ,pmSweep,pmEvolution​​];​​​​(*Section1|NativeWolframruleandindependentcyclicreference*)​​pmRule=<|​​"Dimension"->3,​​"Neighborhood"->"Moore",​​"GrowthSurvivalCases"->{{5,6,7},{5,6,7,8,9}}​​|>;​​​​pmAblatedRule=<|​​"Dimension"->3,​​"Neighborhood"->"Moore",​​"GrowthSurvivalCases"->{{5,6,7},{5,6,7}}​​|>;​​​​pmOffsets3=DeleteCases[Tuples[{-1,0,1},3],{0,0,0}];​​pmOffsets2=DeleteCases[Tuples[{-1,0,1},2],{0,0}];​​​​(*RotateLeftwitha3-componentshiftwrapsperiodicallyalongallaxes.*)​​pmCount3[x_]:=Total[RotateLeft[x,#]&/@pmOffsets3];​​pmNativeStep[x_]:=Last[CellularAutomaton[pmRule,x,1]];​​pmReferenceStep[x_]:=Module[{n=pmCount3[x]},​​UnitStep[n-5]UnitStep[7+2x-n]​​];

2. Sheet and planar-mask construction

A mask d is a binary square 2D array; d=1 means a missing voxel. pmSheet[d] constructs the complete active plane minus this mask. The exact first-step theorem uses q_D (eight-neighbor missing count) and r_D=q_D+d (closed nine-site count). An active sheet site survives iff q_D<=3; a missing in-plane site is born iff 1<=q_D<=3; either adjacent normal layer is born iff 2<=r_D<=4.
In[]:=
(*Section2|Sheet,defectgeometry,exactq/rpredictor*)​​(*Inputsdaresquare0/1masks;1marksamissingsiteinthesheet.*)​​pmSheet[d_]:=Module[{l=Length[d],z,x},​​z=Quotient[l+1,2];​​x=ConstantArray[0,{l,l,l}];​​x[[z]]=1-d;​​x​​];​​​​(*Placearectangleinsidealatticewithatwo-voxelnonwrappingmargin.*)​​pmRectMask[l_Integer,a_Integer,b_Integer]:=Module[{d},​​If[!(l>=7&&2<=a<=l-7&&2<=b<=l-8),​​Return[$Failed]​​];​​d=ConstantArray[0,{l,l}];​​d[[5;;4+a,6;;5+b]]=1;​​d​​];​​​​pmRectState[a_Integer,b_Integer,l_Integer:25]:=Module[{d=pmRectMask[l,a,b]},​​If[d===$Failed,$Failed,pmSheet[d]]​​];​​​​pm2DCounts[d_]:=Module[{q},​​q=Total[RotateLeft[d,#]&/@pmOffsets2];​​{q,q+d}​​];​​​​(*Exactone-stepprediction,expressedpurelyintheplanardefectcounts.*)​​pmPlanarPredict[d_]:=Module[{l=Length[d],z,q,r,core,halo,y},​​z=Quotient[l+1,2];​​{q,r}=pm2DCounts[d];​​core=(1-d)UnitStep[3-q]+dUnitStep[q-1]UnitStep[3-q];​​halo=UnitStep[r-2]UnitStep[4-r];​​y=ConstantArray[0,{l,l,l}];​​y[[z]]=core;​​y[[z-1]]=halo;​​y[[z+1]]=halo;​​y​​];

3. Rectangle birth-channel decomposition

For a,b>=2 with no periodic self-overlap, the first update of an a x b hole has zero deaths, B=4a+4b+12 births, and (N5,N6,N7)=(12,4a+4b-16,16). Four birth sites are in the original plane; 2a+2b+4 births occur in each adjacent plane. pmRectangleTrial compares all these expressions with the native and independent implementations.
In[]:=
(*Section3|First-steprectangular-holecountsandtypedbirthchannels*)​​pmRectangleTrial[a_Integer,b_Integer,l_Integer:25]:=​​Module[{d,x,y,n,born,neighborsAtBirth,actualChannels},​​d=pmRectMask[l,a,b];​​If[d===$Failed,Return[$Failed]];​​x=pmSheet[d];​​y=pmNativeStep[x];​​n=pmCount3[x];​​born=(1-x)y;​​neighborsAtBirth=Pick[Flatten[n],Flatten[born],1];​​actualChannels=Table[Count[neighborsAtBirth,k],{k,5,7}];​​<|​​"a"->a,"b"->b,​​"MeasuredBirths"->Length[neighborsAtBirth],​​"FormulaBirths"->4a+4b+12,​​"MeasuredDeaths"->Total[Flatten[x(1-y)]],​​"MeasuredN5N6N7"->actualChannels,​​"FormulaN5N6N7"->{12,4a+4b-16,16},​​"FullPlanarPredictionMatches"->(y===pmPlanarPredict[d]),​​"NativeVsShiftReferenceMatches"->(y===pmReferenceStep[x])​​|>​​];

4. Reproducible verification tests

pmRunChecks checks intact sheets, isolated pores, survival-band ablation, four representative rectangles, random full-3D state parity, and random planar masks. Test counts are intentionally finite. The archive also contains a Python verifier with 841 rectangle rows and 720 independently generated random mask rows.
In[]:=
(*Section4|Deterministicchecksforlocalmethodsandruleablation*)​​pmRandomMaskChecks[count_Integer:12,l_Integer:17,seed_Integer:20261018]:=​​BlockRandom[​​SeedRandom[seed];​​Table[​​Module[{d=RandomInteger[1,{l,l}]},​​pmNativeStep[pmSheet[d]]===pmPlanarPredict[d]​​],​​{count}​​]​​];​​​​pmRandomFull3DChecks[count_Integer:5,l_Integer:9,seed_Integer:20261018]:=​​BlockRandom[​​SeedRandom[seed];​​Table[​​Module[{x=RandomInteger[1,{l,l,l}]},​​pmNativeStep[x]===pmReferenceStep[x]​​],​​{count}​​]​​];​​​​pmRunChecks[]:=Module[​​{l=25,z=13,plane,pore,ablated,reports,rectPass},​​plane=pmSheet[ConstantArray[0,{l,l}]];​​pore=ConstantArray[0,{l,l}];pore[[10,10]]=1;​​ablated=Last[CellularAutomaton[pmAblatedRule,plane,1]];​​reports=pmRectangleTrial@@@{{2,2},{3,4},{10,10},{12,12}};​​rectPass=And@@(Function[rec,​​rec["MeasuredBirths"]===rec["FormulaBirths"]&&​​rec["MeasuredDeaths"]===0&&​​rec["MeasuredN5N6N7"]===rec["FormulaN5N6N7"]&&​​TrueQ[rec["FullPlanarPredictionMatches"]]&&​​TrueQ[rec["NativeVsShiftReferenceMatches"]]​​]/@reports);​​<|​​"Moore26"->(Length[pmOffsets3]===26),​​"StableFullPlane"->(pmNativeStep[plane]===plane),​​"StableSinglePore"->(pmNativeStep[pmSheet[pore]]===pmSheet[pore]),​​"AblationErasesSheet"->(Total[Flatten[ablated]]===0),​​"SampleRectanglesPass"->rectPass,​​"Full3DRandomStateParity"->And@@pmRandomFull3DChecks[],​​"RandomPlanarMaskSelectorParity"->And@@pmRandomMaskChecks[],​​"RectangularReports"->reports​​|>​​];

Execute the Wolfram validation suite

Inspect individual rectangle channels

5. Native 3D and planar visualizations

The figures focus on the local slab around a 3 x 4 hole to avoid an unreadable full 25^3 visualization. The notebook generates native Wolfram Graphics3D and ArrayPlot outputs. The accompanying PNG figures were produced separately from the same PM0 equations in Python, and are marked as such in the post.

3D input / births / output

2D central and adjacent layer event patterns

6. Optional larger sweeps and dynamics

These extra steps are optional exploratory diagnostics, not closed multi-step theorems. The PM0 recurrence may exhibit complicated longer-time responses and should not be generalized from a first-step perimeter law.

Optional 3D 2..8 rectangle sweep (49 cases)

Optional interactive evolution of the 3 x 4 puncture

7. Provenance, limitations, and further work

Originating author research: The Poole Local-Geometry Program (June 2026), Poole Defect Calculus, and the Poole Manifold repository at github.com/rookepoole/Poole-Manifold. This notebook encodes only base PM0 and the first response of planar defects. Formula validations alone do not establish uniqueness or novelty of the rule in the existing literature. Review related 3D Life-like rules, mathematical morphology, and Wolfram Community discussions of cellular automata defects. Optional future work: theoremize nonrectangular families, classify longer-time trajectories, and compare rule windows with controlled ablations.
AI assistance: ChatGPT assembled this executable Wolfram companion, generated secondary NumPy verification scripts and visualizations, and tested central rules and sample invariants in a Wolfram Language kernel. The originating research is by Rooke Alan Poole. See the README and forum draft for reference links and full verification scope.

CITE THIS NOTEBOOK

Poole manifold: stable surfaces and exact defect laws in a 3D cellular automaton​
by Rooke Alan Poole​
Wolfram Community, STAFF PICKS, October 18, 2026
​https://community.wolfram.com/t/28364