Computations
Computations
Edwin Rosero (independent researcher) · Companion notebook to the Wolfram Community follow-up post · github.com/walkthroughwonder/discrete-jacobian · doi.org/10.5281/zenodo.21630926
This notebook reproduces every result in the post from scratch: the flagship splice collision, the loop-count termination property, and the exhaustive information-loss measurement. Evaluate the cells in order (Evaluation \[FilledSmallTriangle] Evaluate Notebook). Total runtime for E ≤ 5 is well under a minute.
1. Definitions
1. Definitions
2. The flagship collision
2. The flagship collision
Two non-isomorphic, mutually unreachable states evolve to the same state. Each has a single successor class.
s1 = spliceCanon[{{0, 0}, {1, 2}, {1, 3}}]; (* loop + out-star *)
s2 = spliceCanon[{{0, 0}, {1, 2}, {3, 2}}]; (* loop + in-star *)
<|"NonIsomorphic" -> (s1 =!= s2),
"Successors1" -> spliceSuccessors[s1],
"Successors2" -> spliceSuccessors[s2],
"SameImage" -> (spliceSuccessors[s1] === spliceSuccessors[s2])|>
s2 = spliceCanon[{{0, 0}, {1, 2}, {3, 2}}]; (* loop + in-star *)
<|"NonIsomorphic" -> (s1 =!= s2),
"Successors1" -> spliceSuccessors[s1],
"Successors2" -> spliceSuccessors[s2],
"SameImage" -> (spliceSuccessors[s1] === spliceSuccessors[s2])|>
g[st_, lbl_, opts___] := Graph[DirectedEdge @@@ st, opts, VertexStyle -> Black,
EdgeStyle -> Directive[Darker@Blue, Thick], PlotLabel -> Style[lbl, 13],
ImageSize -> {190, 150}, VertexSize -> 0.1];
arrow[s_] := Graphics[Text[Style[s, 26, Gray]], ImageSize -> {50, 150}];
GraphicsRow[{g[{{0, 0}, {1, 2}, {1, 3}}, "S1: loop + out-star"], arrow["\[LongRightArrow]"],
g[{{1, 2}, {2, 3}, {3, 0}}, "shared image: directed 4-path",
VertexCoordinates -> {1 -> {0, 0}, 2 -> {1, 0}, 3 -> {2, 0}, 0 -> {3, 0}}],
arrow["\[LongLeftArrow]"], g[{{0, 0}, {1, 2}, {3, 2}}, "S2: loop + in-star"]},
ImageSize -> 780, Spacings -> 0]
EdgeStyle -> Directive[Darker@Blue, Thick], PlotLabel -> Style[lbl, 13],
ImageSize -> {190, 150}, VertexSize -> 0.1];
arrow[s_] := Graphics[Text[Style[s, 26, Gray]], ImageSize -> {50, 150}];
GraphicsRow[{g[{{0, 0}, {1, 2}, {1, 3}}, "S1: loop + out-star"], arrow["\[LongRightArrow]"],
g[{{1, 2}, {2, 3}, {3, 0}}, "shared image: directed 4-path",
VertexCoordinates -> {1 -> {0, 0}, 2 -> {1, 0}, 3 -> {2, 0}, 0 -> {3, 0}}],
arrow["\[LongLeftArrow]"], g[{{0, 0}, {1, 2}, {3, 2}}, "S2: loop + in-star"]},
ImageSize -> 780, Spacings -> 0]
3. Termination: the loop count is a clock
3. Termination: the loop count is a clock
Every application consumes exactly one loop and creates none, so an evolution from a state with L loops halts within at most L steps. The first check confirms this over every state with up to 5 edges. The second counts how many evolutions run all the way to a loop-free state (expected: 15/28, 126/166, 914/1036).
layers = spliceStateLayers[5];
AllTrue[Flatten[layers, 1], Function[s,
AllTrue[spliceSuccessors[s], loopCount[#] == loopCount[s] - 1 &]]]
AllTrue[Flatten[layers, 1], Function[s,
AllTrue[spliceSuccessors[s], loopCount[#] == loopCount[s] - 1 &]]]
Table[With[{act = Select[layers[[e + 1]], loopCount[#] > 0 &]},
<|"E" -> e, "EndsLoopFree" -> Count[spliceEndpoint /@ act, s_ /; loopCount[s] == 0],
"StatesWithLoop" -> Length[act]|>], {e, 3, 5}] // Dataset
<|"E" -> e, "EndsLoopFree" -> Count[spliceEndpoint /@ act, s_ /; loopCount[s] == 0],
"StatesWithLoop" -> Length[act]|>], {e, 3, 5}] // Dataset
4. Information loss
4. Information loss
For each (E, V) sector: bits lost = log2(#states with a loop) − H(terminal state), using the min-successor policy. Change 5 to 6 to reproduce the E = 6 row (a few minutes).
data = spliceInformationLoss[5];
Dataset[data]
Dataset[data]
peak = MaximalBy[#, #BitsLost &][[1]] & /@ GroupBy[data, #E &];
Dataset[Values[peak]]
Dataset[Values[peak]]
ListLinePlot[KeyValueMap[{#1, #2["BitsLost"]} &, peak] // Select[#[[1]] >= 3 &],
Mesh -> All, MeshStyle -> PointSize[Large], Frame -> True,
FrameLabel -> {"edges E", "bits of initial state lost"},
PlotLabel -> "Information lost by the terminal state (peak sector)",
PlotRange -> {0, Automatic}, GridLines -> {None, Automatic}, ImageSize -> 520]
Mesh -> All, MeshStyle -> PointSize[Large], Frame -> True,
FrameLabel -> {"edges E", "bits of initial state lost"},
PlotLabel -> "Information lost by the terminal state (peak sector)",
PlotRange -> {0, Automatic}, GridLines -> {None, Automatic}, ImageSize -> 520]
5. Notes
5. Notes
Results agree exactly with an independent Python implementation in the repository (phase1/ccc_compression.py, phase1/ccc_policy_fmin.py), which extends the sweep to E = 6. This is a structural analogy with conformal cyclic cosmology, not a cosmological claim; see the post for limitations and open questions. Prepared with AI assistance (Claude, Anthropic), disclosed.