Research proposal
The history space
The one-line claim
Formal definition
The history space is the tuple:
h = (Γadm, ∂in, ∂out, A, C)
| Component | Definition |
|---|---|
| Γadm | The set (or groupoid) of admissible histories: sequences of steps through a guarded bulk, consistent with dynamics U, R and every applicable Hoare-style corridor |
| ∂in : Γadm → Σ* | Incoming boundary projection |
| ∂out : Γadm → Σ* | Outgoing boundary projection |
| A : Γadm → Q≥0 | Action functional (local costs summed along the history) |
| C | Cochain / topological data: exact / harmonic / residual decomposition, charge, current, potential |
The Lean symbolic side is already in Scattering.lean: History X Sym U E, WellFormed D γ, Admissible D g γ, inboundary γ, outboundary γ, action L γ with action_nil, action_cons, action_append.
The generating function
The partition function over admissible histories with fixed boundary conditions:
Z(λ; bin, bout) = Σγ ∈ Γadm
exp(−λ · A(γ))
1[∂in γ = bin]
1[∂out γ = bout]
For a finite set of admissible paths with real costs, Z is a finite sum of exponentials and is entire in λ. For real λ with Z>0, −∂log Z/∂λ is the expected path cost under weights proportional to exp(−λA). A singularity requires a specified infinite sum or limiting procedure.
When Γadm collapses to a single admissible path (a deterministic codec with fixed boundaries), Z is a single exp(−A). When guards allow branching — nondeterministic routing, stochastic corrections, MCTS lookahead — the sum has real content.
Every artefact is a chart
| Artefact | Chart on h | What it exposes |
|---|---|---|
| tlc_compressor.py | Single deterministic γ | Boundary coding of one history |
| dual_compressor.py | Same γ in Q[ε]/(ε²) | Multiplicative action form |
| casimir_compressor.py | Families of γ with different guard structure | ΔL as comparison of two charts |
| atlas_spectrum.py | Ladder of FiniteFamily + advantage curves | Measured projection of h onto rungs |
| hyperbolic_compressor.py | Local chart where branching is geometrically cheap | Hyperbolic coordinates |
| open_kernel.py | EncoderKernel / DecoderKernel | Same γ with swapped ports |
| scattering.py | Enumerator + Σ exp(−A) over finite slice of Γadm | Sum-over-histories directly |
| swarm_model.py | Measure on a local chart of Γadm | Bayesian filter over charts |
| guarded_mcts.py | PUCT exploration of a subtree of Γadm | Search within the history space |
| thermal_swarm.py | Z(λ) at various λ | Finite-temperature slices |
| quantum_swarm.py | Replace Σ exp with |Σ eiΦ|² | Born rule version of Z |
| solomonoff_swarm.py | 2−L prior over generators of histories | Universal-prior sum |
Questions about the path sum
An Euler product requires independent factors or an appropriate unique decomposition. Local admissibility at each step still couples consecutive choices through their shared state. For a path model with this dependence, transfer matrices may be the relevant finite construction.
Swapping the names of input and output ports defines a relabeling. Equality of the two boundary partition functions needs a cost-preserving bijection on admissible paths. For a Dirichlet series one must also specify how zero-cost paths are handled and where the series converges.
The formal summary
| Concept | In the history space |
|---|---|
| Computation | Choice or sum over γ ∈ Γadm |
| Execution | Min-action γ ∈ Γadm |
| Generation | Sample from e−A / Z |
| Compression | Boundary coding of a selected γ |
| Physics-analogy | Interpretation of (Γadm, A) as open scattering |
| Training | Parameter tuning so data histories sit low in A |
| Search (MCTS, ...) | Partial enumeration of Γadm |
| Field dynamics | C evolving through the history, feeding back into A |
Interpretation
The framework suggests comparing costs among paths with the same boundaries. Its usefulness depends on identifying the appropriate histories and on whether a concrete computation or prediction improves.
Full paper (HTML) PDFCite this page
Richard Hoekstra. The history space. https://richardhoekstra.nl/papers/history-space.html