Rewrite experiment
Following expression length through a rewrite
When does rewriting make a representation shorter?
For expressions over ℤ[η]/(η²−rη), the experiment follows a concrete length difference between an expression and its selected normal representation. The algebra gives an exact rewrite η²=rη. Its two sides represent the same element but may have different lengths and evaluation costs.
Terms containing η can expose cancellations hidden in their syntax. Equality in this quotient holds throughout the ring. The defining relation itself does not locate a singular locus. Here “arrow” refers to the direction seen in a rewrite trace. No energy dissipation or Landauer bound was measured.
Empirical foundation
Each claim maps to a measurement:
| Claim | Evidence |
|---|---|
| Change in the length proxy | Four nontrivial workloads descended; the control had zero change |
| Selected strategy attained the least enumerated action | 6/6 cases: SβK = Smin |
| Distributivity is conservative on smooth locus | Round-trip ΔL = 0 on generic tests |
| Behavior on the special test input | η-case: expansion direction breaks locally |
| Observer-relative L | Proposed observer ordering held in 80% of sampled comparisons |
The second-order law, tested and not confirmed
The initial prediction: time-sharpness should scale with ‖∇L‖. On flat-gradient workloads βK should not be globally optimal.
For stable terminating paths in the six enumerated cases, the selected strategy tied the least observed action across sharpness values of 21.9–218. Three paths in one case had cumulative action 749. Confluence concerns terminal results; it does not imply equal action or globally minimal cost.
The first run would have supported the prediction; the fair run does not. Both are reported here. The thesis stands on the first-order claim (100% L-monotone rewrites) but the quantitative second-order refinement does not hold.
Open question
Can independent schedules reach the same normal result with different cumulative length costs? Recording both quantities on a larger trace set would distinguish a property of rewriting from a property of the tested workloads.
Related
Related work describes the algebra, a byte-level compression experiment, and the proposed defect framework. ε² = 0 axiom · irreversibility depth of natural language · residual structuralism
Cite this page
Richard Hoekstra. Following expression length through a rewrite. https://richardhoekstra.nl/papers/arrow-of-time.html