T1: One-Dimensional Cohesion Dynamics
This page presents an interactive demonstration of the first Cohesion Dynamics toy model: a one-dimensional finite chain with binary symbols and nearest-neighbour constraints.
Interactive Demo
About This Toy Model
This interactive demo implements the T1 One-Dimensional Cohesion Dynamics toy model, now extended with sections 8-10. It visualizes a finite chain of 8 sites, each carrying a binary symbol (+1 or -1).
Key Concepts:
- Domain Walls (⚡): Appear between sites with different values. Each wall contributes 1 unit to the mismatch M(X).
- Mismatch M(X): Total count of domain walls. Measures how far the configuration is from perfect agreement.
- Relaxation Moves: Site flips that don't increase mismatch (ΔM ≤ 0). Sites with available relaxation moves are highlighted.
- Closure: A configuration where no strictly mismatch-decreasing moves are available. The system is locally stable.
- Height H(V;X): For the full chain, equals M(X). Represents the minimum number of domain walls that must disappear during relaxation to closure.
§8 Divergent Configuration (Irreducible Mismatch):
- Fixed-Opposite Boundaries: When enabled, X₁=+1 and Xₙ=-1 are locked (🔒).
- Irreducible Mismatch: At least 1 domain wall must exist between opposite boundaries. This demonstrates a minimal divergent region - an irreducible inconsistency.
- Try it: Enable fixed-opposite mode and watch relaxation. The system reaches closure but cannot eliminate all domain walls. One remains as an obstruction.
§9 Tolerance Parameter ε (W-like Mechanism):
- Weighted Mismatch: Mε(X) = ε × D(X), where ε controls domain wall cost.
- Small ε: Domain walls are "cheap" → slow relaxation, extended smoothing times.
- Large ε: Domain walls are "expensive" → rapid relaxation toward uniformity.
- Threshold W: When ε < W, system remains cohesive. When ε > W, domain walls become effectively rigid, behavior resembles divergence surfaces.
- Try it: Vary ε and W to see how tolerance affects the system's evolution character.
§10 Continuum Limit (Shocks & Diffusion):
- Domain Walls → Shocks: As discretization spacing h→0, domain walls persist as finite discontinuities in the continuum field φ(x).
- Relaxation → Diffusion: Local flips reduce discrete curvature (Xi-1 - 2Xi + Xi+1 ≈ h²φxx), analogous to the diffusion equation ∂tφ = κ∂xxφ.
- Insight: This 1D toy model illustrates how discrete relaxation dynamics can emerge as continuous PDEs with second spatial derivatives in the continuum limit.
Interactions:
- Click a site to select it and see flip analysis
- Double-click a site to flip it immediately (except locked boundaries)
- Step Relax: Perform one relaxation move (greedy: picks first ΔM < 0, else first ΔM = 0)
- Auto-Relax: Automatically relaxes to closure
Try These Experiments:
- Start with "Alternating" pattern - maximum mismatch! Watch it relax to closure.
- Create "Two Walls" and observe how domain walls can be annihilated.
- Notice: uniform configurations (all +1 or all -1) are closures with M = 0.
- Observe that Height H = M for the full chain in this 1D model.
- §8: Enable fixed-opposite boundaries and see the irreducible domain wall that cannot be eliminated.
- §9: Try ε = 0.5 (small) vs ε = 3.0 (large) and observe relaxation speed differences.
- §9: Set ε > W and watch the tolerance indicator change to "Divergent-like".
Toy Model Overview
This toy model implements the T1 One-Dimensional Substrate as specified in “Cohesion Dynamics Toy Models I: A One-Dimensional Substrate”. The model demonstrates:
The Substrate
- Vertices: A finite chain
- Edges: Nearest-neighbor connections
- Alphabet: Binary symbols
- Configuration: A map
Key Primitives
1. Edge Constraints
For each edge :
C_e(X) = \\begin{cases} 0 & \\text{if } X_i = X_{i+1} \\text{ (cohesive)},\\\\[4pt] 1 & \\text{if } X_i \\ne X_{i+1} \\text{ (frustrated/domain wall)}. \\end{cases}2. Global Mismatch
The mismatch functional counts domain walls:
Properties:
- if and only if is uniform (all sites agree)
3. Relaxation Moves
A single-site flip at changes . The local mismatch change is:
where is the configuration after flipping site .
A flip is a relaxation move if and only if:
That is, relaxation moves are exactly those that do not increase global mismatch.
4. Closure
A configuration is a closure if:
- No site admits a strictly mismatch-decreasing flip ( for all )
In this 1D model:
- Closure exists for every configuration
- Uniform configurations (all +1 or all -1) are closures with
5. Height
For the full chain , the height is:
The height equals the number of domain walls in the initial configuration. It represents the minimum mismatch reduction achievable through relaxation to closure.
Mathematical Properties
Acyclicity
Since is integer-valued and bounded below by 0, and each relaxation move satisfies :
- Any relaxation sequence must terminate in finitely many steps
- No relaxation cycles with net mismatch decrease can exist
- The relaxation graph is acyclic
Closure Uniqueness
- If only moves are allowed: closure is unique (up to global sign)
- If moves are allowed: multiple closures may exist with the same value
- Domain walls can “slide” without changing total mismatch
- This nonuniqueness motivates the concept of provenance in the full theory
Height Properties
In this 1D toy model, height has a particularly simple form:
- For the full chain: (number of domain walls)
- For any interval : (internal domain walls)
- Height is not an independent degree of freedom - it’s fully determined by mismatch
Explicit Example: 4-Site Chain
Consider with configuration :
Mismatch Calculation
- Edge : vs → domain wall →
- Edge : vs → cohesive →
- Edge : vs → domain wall →
Total mismatch:
Relaxation Analysis
Checking each site:
| Site | After Flip | New | Allowed? | |
|---|---|---|---|---|
| 1 | 1 | -1 | ✓ Yes | |
| 2 | 2 | 0 | ✓ Yes | |
| 3 | 2 | 0 | ✓ Yes | |
| 4 | 1 | -1 | ✓ Yes |
All sites admit relaxation moves. Sites 1 and 4 decrease mismatch.
Relaxation to Closure
One possible sequence:
- Flip site 1: with
- Flip site 4: with
The final configuration is uniform and thus a closure.
Height: (the two domain walls that were eliminated).
8. Divergent Configurations (Irreducible Mismatch)
Boundary-Constrained Chain
When we impose fixed boundary conditions with and (locked endpoints), an interesting phenomenon emerges:
Every configuration must contain at least one domain wall.
No matter how the interior sites are configured, the chain begins with and ends with , guaranteeing at least one transition point where and .
Irreducible Mismatch
This creates an irreducible mismatch:
Relaxation can shift the domain wall left or right, but cannot eliminate it.
The height of the entire chain becomes:
Minimal Divergent Region
The single edge containing the unavoidable domain wall is a minimal divergent region in the obstruction sense:
- Its height is
- Any strict subregion has height
- No relaxation can eliminate its mismatch
This demonstrates how irreducible inconsistency manifests in the substrate.
Try it in the demo: Enable “Fixed Opposite” boundary mode and observe that relaxation cannot reach .
9. Tolerance Parameter (W-like Mechanism)
To model tolerance - a key concept in CD - we introduce a parameter that controls mismatch weighting.
Weighted Mismatch
Define:
The total weighted mismatch is:
Relaxation moves must remain -nonincreasing.
Behavior as Varies
Small (domain walls cheap):
- Mismatch decreases have little effect on total cost
- Relaxation evolves slowly
- Many configurations remain rough for extended times
- Interpretation: Low tolerance → long coherent updates → extended smoothing
Large (domain walls expensive):
- Disagreements are heavily penalized
- Relaxation rapidly removes mismatches
- Closure reached quickly
- Interpretation: High tolerance → strong pressure for uniformity
Tolerance Threshold
When the system has a tolerance ceiling :
- If : mismatch is “within tolerance” → cohesion maintained
- If : mismatch becomes unacceptable → behavior resembles divergence
In this 1D model:
- : domain walls move but don’t cause partition
- : domain walls become effectively rigid, like divergence surfaces
Tolerance controls whether evolution remains cohesive or fragments.
Try it in the demo: Adjust and to see how tolerance affects system behavior.
10. Continuum Limit (Shocks & Diffusion)
We provide a minimal continuum interpretation of the discrete dynamics.
Domain Walls → Shock Discontinuities
Let discretization spacing be . Define the piecewise-constant interpolant:
A domain wall is a jump in . As :
- Its width shrinks to
- Its effect persists as a finite discontinuity
Domain walls converge to shocks in the continuum field .
Relaxation → Diffusion Equation
For small , relaxation depends on . Taylor expansion gives:
Relaxation reduces this discrete curvature:
- If , tends to decrease
- If , tends to increase
In the scaling limit:
for some depending on flip rules.
Interpretation: Relaxation → continuous diffusion.
Relevance for Paper B
Although diffusion is parabolic, this toy model illustrates:
- Mismatch → gradient energy
- Relaxation → curvature reduction
- Discrete dynamics → second spatial derivatives in continuum
- Closure cycles → emergent continuous time
This provides intuition for why more complex CD systems can produce:
- Second-order PDEs
- Continuum fields
- Geometric propagation
- And ultimately, Lorentzian causal structure in higher-dimensional, multi-channel models
Significance for CD Theory
This toy model serves as a concrete laboratory for testing CD primitives:
- Substrate Structure: Demonstrates how graph topology + alphabet + constraints define a CD substrate
- Mismatch Functional: Shows a simple, computable measure of incompatibility
- Relaxation Dynamics: Illustrates local evolution that preserves or improves cohesion
- Closure: Provides explicit examples of stable configurations
- Height: Demonstrates a well-defined measure of “distance from compatibility”
- Divergence (§8): Shows irreducible mismatch and minimal divergent regions
- Tolerance (§9): Illustrates how weighted mismatch controls system evolution character
- Continuum Limit (§10): Connects discrete relaxation to continuous PDEs
While 1D is deliberately simple, it establishes patterns that extend to higher dimensions where:
- Frustration can prevent full relaxation
- Height captures nontrivial topological information
- Multiple closure branches and provenance become essential
Experiments to Try
Use the interactive demo above to explore:
- Maximum Mismatch: Try the “Alternating” pattern - creates maximum domain walls
- Relaxation Paths: Use “Step Relax” to see individual moves or “Auto-Relax” to reach closure
- Closure Detection: Notice when the system reports “At Closure ✓”
- Domain Wall Dynamics: Watch how domain walls move and annihilate
- ΔM Analysis: Click sites to see whether their flip would increase, decrease, or preserve mismatch
- Different Chain Sizes: Try (minimal) up to (more complex)
- §8 Irreducible Mismatch: Enable “Fixed Opposite” boundaries and observe the domain wall that cannot be eliminated
- §9 Small Tolerance: Set and watch slow, gradual relaxation
- §9 Large Tolerance: Set and observe rapid mismatch reduction
- §9 Threshold Effects: Try (cohesive) vs (divergent-like)
- §10 Continuum Hints: Look for the continuum interpretation panel when domain walls are present
References
This implementation is based on:
“Cohesion Dynamics Toy Models I: A One-Dimensional Substrate” (v0.1, Series T1)
- Section 2: One-Dimensional CD Substrate
- Section 3: Local Constraints and Mismatch
- Section 4: Local Relaxation Moves
- Section 5: Acyclicity and Closure
- Section 6: Height in the 1D Toy Model
- Section 7: Explicit Examples
- Section 8: A Simple Divergent Configuration (Irreducible Mismatch)
- Section 9: Introducing a Tolerance Parameter (A 1D “W-like” Mechanism)
- Section 10: Baby Continuum-Limit Analysis (Domain Walls → Shocks; Relaxation → Diffusion)
Later papers in this series (T2, T3) will extend to 2D and 3D lattices where richer phenomena emerge.