Poole manifold: stable surfaces and exact defect laws in a 3D cellular automaton

Hello, this is my first post. I’m completely self-taught, open to feedback, and was recommended to post here. I am unable to upload referenced code/links here (probably because I’m new) but I will put it in my GitHub @rookepoole in the wolfram file. Thank you for reading.

I have been developing a three-dimensional cellular automaton called the Poole Manifold. Its base binary rule, B5-7/S5-9, produces an interesting relationship between local neighbor support and geometric structure: a complete one-cell-thick sheet is a fixed point, while holes cut into that sheet produce precisely calculable first-step responses.

The question motivating this part of the research is: Can the initial response of a 3D cellular automaton to a geometric defect be predicted entirely from the 2D shape of that defect?

For defects in a complete coordinate sheet, the answer is yes. Below I derive the local selector, give an exact perimeter law for rectangular holes, separate the response into birth channels, and include runnable Wolfram Language code.

Figure 1. A one-cell sheet with a 3 by 4 rectangular puncture, its first-step births, and the resulting configuration.

1. The base automaton

Let the lattice be a periodic cubic grid:

\Lambda_L=(\mathbb{Z}/L\mathbb{Z})^3.

Each site i has a state x_t(i)\in\{0,1\}. Write N_i(x_t) for the number of active sites among its 26 radius-one Moore neighbors, excluding the center. All sites update synchronously by

\boxed{x_{t+1}(i)=\mathbf{1}\!\left\{5\leq N_i(x_t)\leq 7+2x_t(i)\right\}.}

This is the outer-totalistic rule B5-7/S5-9:

  • An inactive cell is born if it has 5, 6, or 7 active neighbors.
  • An active cell survives if it has 5, 6, 7, 8, or 9 active neighbors.

The term 2x_t(i) enlarges the upper acceptance threshold for an already-active cell. It is a state-dependent persistence allowance; no additional state variable is introduced.

The corresponding Wolfram Language rule can be written directly using CellularAutomaton:

    pmRule = <|
      "Dimension" -> 3,
      "Neighborhood" -> "Moore",
      "GrowthSurvivalCases" -> {{5, 6, 7}, {5, 6, 7, 8, 9}}
    |>;

    pmStep[x_] := Last[CellularAutomaton[pmRule, x, 1]];

2. Why one-cell sheets are stable

An ideal coordinate-aligned r-dimensional local structure contains 3^r-1 active Moore neighbors around an active site. Thus an ideal point has 0 active neighbors, a line has 2, a sheet has 8, and filled bulk has 26. Of these four counts, only 8 is in the survival window 5\leq N\leq9.

This local count gives an exact global result: a complete coordinate sheet is a fixed point for L\geq3.

Every active site within the sheet has eight active in-plane neighbors, so it survives. A vacant site immediately above or below the sheet sees nine active neighbors, which exceeds the birth ceiling of seven. Other vacant sites have no active neighbors. Therefore the next configuration equals the original sheet.

The persistence allowance is essential to this example. Replacing S5-9 by S5-7 causes the same complete sheet to disappear after one update, because its active sites have eight neighbors.

3. Exact first-step response to planar defects

Remove a set D of sites from an otherwise intact coordinate sheet. We treat D as a binary mask on a periodic 2D lattice. For each planar coordinate u, define the following counts of missing sites:

q_D(u)=\sum_{\eta\in\{-1,0,1\}^2\setminus\{(0,0)\}}\mathbf{1}_D(u+\eta),
r_D(u)=q_D(u)+\mathbf{1}_D(u).

Here q_D(u) counts missing cells among the eight other sites in the planar Moore neighborhood, while r_D(u) counts missing cells in the full centered 3\times3 planar footprint.

They determine the complete first update as follows:

  • Occupied sheet site, u\notin D: it has 8-q_D(u) active neighbors and survives exactly when q_D(u)\leq3.
  • Missing in-plane site, u\in D: it also has 8-q_D(u) active neighbors, and is born exactly when 1\leq q_D(u)\leq3.
  • Vacant site one layer above or below the sheet: it has 9-r_D(u) active neighbors, and is born exactly when 2\leq r_D(u)\leq4.
  • Vacant site farther from the sheet: it remains inactive on the first update.

These are exact neighbor-count consequences of the base rule. The first-step evolution of this family of 3D configurations is determined by two 2D neighborhood counts, not by an approximation to the 3D dynamics.

One consequence is a stable pinhole: removing a single site leaves a fixed configuration. The missing site has eight active neighbors, too many for birth; the surviving sheet has sufficient support; and neither adjacent layer meets its birth criterion. The same argument applies to separated pores whenever every centered 3\times3 footprint contains at most one missing site.

4. Rectangular holes and an exact perimeter law

Let D be a contiguous, axis-aligned a\times b rectangular hole in the periodic L\times L sheet, with

2\leq a\leq L-2,\qquad 2\leq b\leq L-2.

Equivalently, at least two intact coordinate positions remain outside the rectangle along each axis. This explicit separation condition prevents the hole from interacting with its periodic copies through the radius-one neighborhood.

Theorem (first-step rectangular response). The update produces zero deaths and exactly

\boxed{B(a,b)=4a+4b+12=2P+12},

where P=2(a+b) is the lattice perimeter of the rectangle.

Counting argument. In one dimension, a length-a missing interval has a 3-site-window overlap count of 2 at its two endpoint sites, 3 at its a-2 interior sites, 1 at each of the two immediately adjacent exterior sites, and 0 elsewhere. The analogous counts hold for the length-b interval. Because the defect is rectangular, the closed 3\times3 defect count factorizes as r_D(u,v)=\alpha_a(u)\alpha_b(v).

A site in either adjacent normal layer is born when 2\leq r_D\leq4. The allowed overlap pairs (1,2), (2,1), (1,3), (3,1), and (2,2) respectively contribute 4, 4, 2(b-2), 2(a-2), and 4 sites per normal layer. Thus each normal layer contains exactly 2a+2b+4 births. In the original sheet, precisely the four missing corner sites are reborn. Summing yields

B(a,b)=4+2(2a+2b+4)=4a+4b+12.

No previously active sheet cell has more than three missing Moore neighbors outside this rectangular hole, so none dies in the first update. The separation condition matters: on an L=5 torus a 4\times4 hole violates it, and a full 3D update gives 22 births and 9 deaths instead of the naive formula’s 44 births and zero deaths.

The births can also be classified by the pre-update active-neighbor count. If N_k denotes the number of births whose original neighbor count was k, then

\boxed{(N_5,N_6,N_7)=(12,\;4a+4b-16,\;16).}

The channel spectrum follows from the same overlap pairs: (2,2) contributes four sites per normal layer with original neighbor count 5, together with the four in-plane corners giving N_5=12; pairs (1,3) and (3,1) contribute N_6=4a+4b-16 after both normal layers; and pairs (1,2) and (2,1) contribute N_7=16 after both normal layers. Only N_6 varies with perimeter.

This preserves more geometric information than the undifferentiated total birth count.

Figure 2. A 3 by 4 puncture creates four in-plane births and 18 births on each adjacent layer, for a total of 40.

Some explicit cases:

  • 2 by 2 hole: 28 births, 0 deaths, channel counts (12,0,16).
  • 3 by 4 hole: 40 births, 0 deaths, channel counts (12,12,16).
  • 10 by 10 hole: 92 births, 0 deaths, channel counts (12,64,16).
  • 12 by 12 hole: 108 births, 0 deaths, channel counts (12,80,16).

Figure 3. First-step birth counts for rectangular holes agree with the exact perimeter law.

Figure 4. The N_6 birth channel grows with rectangle perimeter while N_5 and N_7 stay constant.

Overcompensation after one update

An intact sheet contains L^2 active sites. Removing an a\times b hole leaves L^2-ab. After one update, the rectangle family has no deaths, and the active-cell count relative to the original complete sheet is

\lvert A_1\rvert-L^2=-ab+4a+4b+12=28-(a-4)(b-4).

Therefore the first updated configuration has more active cells than the original intact sheet precisely when

(a-4)(b-4)<28.

This is a finite, one-step geometric overcompensation criterion. It does not assert that the increased active count persists for later times.

5. Reproduce the 3 by 4 case in Wolfram Language

The following example is self-contained. It constructs a 25 by 25 by 25 periodic grid, removes a 3 by 4 block from the central sheet, performs one update, counts births and deaths, and measures the original neighbor counts of the newborn sites.

    ClearAll[pmRule, sheet, next, offsets, neighborCounts, born, birthNeighbors];

    pmRule = <|
      "Dimension" -> 3,
      "Neighborhood" -> "Moore",
      "GrowthSurvivalCases" -> {{5, 6, 7}, {5, 6, 7, 8, 9}}
    |>;

    sheet = ConstantArray[0, {25, 25, 25}];
    sheet[[13, All, All]] = 1;
    sheet[[13, 5 ;; 7, 6 ;; 9]] = 0;

    next = Last[CellularAutomaton[pmRule, sheet, 1]];

    offsets = DeleteCases[Tuples[{-1, 0, 1}, 3], {0, 0, 0}];
    neighborCounts = Total[RotateLeft[sheet, #] & /@ offsets];
    born = (1 - sheet) next;
    birthNeighbors = Pick[Flatten[neighborCounts], Flatten[born], 1];

    {
      Total[Flatten[born]],
      Total[Flatten[sheet (1 - next)]],
      Table[Count[birthNeighbors, k], {k, 5, 7}]
    }

The result from a Wolfram Language kernel is

    {40, 0, {12, 12, 16}}

The included companion Wolfram Language source provides the broader model and additional checks, while the free Python reference verifier performs independent full 3D Moore-neighbor updates without third-party dependencies.

6. Verification

The derived local rules are combinatorial results; the tests below separately check finite implementations. Results in the accompanying data and scripts include:

  • 841 rectangular cases: Python 2D q_D/r_D selector enumeration for 2\leq a,b\leq30, matching birth and channel formulas (not 841 separate full 3D runs).
  • 720 random planar masks: Python full 3D one-step updates compared voxel-for-voxel with predictions from the two 2D defect counts.
  • 49 rectangular cases: Wolfram full 3D checks over 2\leq a,b\leq8, matching predicted births, deaths, channels, and the planar selector.
  • 12 random planar masks: Wolfram full 3D update compared with the planar selector.
  • 5 random 3D fields: Wolfram’s native automaton checked against a separately implemented sum over all 26 neighbors.

The tests agree within those finite suites. The full Python generator, code/independent_verify.py, regenerates all 841 and 720 rows plus the figures using free NumPy and Matplotlib; the smaller VERIFY_FREE.py uses only the Python standard library. The exact sheet and first-step defect formulas are also supported by the neighbor-count derivations above.

7. Open questions

The next directions are to classify more general fixed defects, obtain exact response laws for further non-planar shapes, determine multi-step behavior beyond the first update, and study how much geometric information can be recovered from channel-resolved measurements.

This post analyzes the deterministic base rule (PM0). The broader Poole Manifold project contains additional experimental variants, including prime-sharpened rules, which should be examined separately rather than mixed into the base-rule derivation.

Project and research: The Poole Local-Geometry Program (Rooke Alan Poole, June 2026).

Acknowledgment: ChatGPT assisted with the Wolfram translation, cross-checking scripts, figures, and editing; the reported computational checks were run using Wolfram Language and independently implemented Python calculations.

DOWNLOAD-DESKTOP-NOTEBOOK.nb (410.8 KB)

4 Likes

Congratulations. The Editorial Board has selected this contribution for inclusion in Staff Picks. You are now recognized among our Featured Authors, and your profile bears the Staff-Pick badge. Thank you for contributing your work to the broader exchange of knowledge.

1 Like