Definitions from Lesson 01
| Symbol | Meaning |
|---|---|
Γ | Space or type of runtime contexts |
γ : Γ | One concrete context state |
δ : Γ | Returned context state for one effect application |
f : Γ → Γ | Context transformation |
g : Γ → Γ | Returned recovery-function candidate; for the application below, g(δ) = γ |
EΓ | Γ → (Γ × (Γ → Γ)), the raw shape of a revertible-effect candidate |
Σ | (k : K) ⇀ V(k), the type of finite typed partial dependency environments |
V(k) | Type of the value stored at dependency key k |
⇀ | Typed partial function; a binding may be absent |
σ : Σ | One concrete dependency environment |
K | Set of dependency keys |
k ∈ K | One dependency key |
× | Product/pair type constructor |
dom(σ) | Keys that have values in σ |
σ′ | Environment snapshot after an update |
d ⊆ K | Declared dependency-key specification |
σ ⊧ d | Every key in d is present in σ |
∂Γ | Γ × (Γ → Γ), context plus recovery accumulator |
φ : Γ → Γ | Accumulated recovery function |
idΓ : Γ → Γ is the identity function, so idΓ(γ) = γ. In the effect application, e(γ) = (δ, g) and the additional local witness is g(δ) = γ. The symbols ∀, ∧, and ̸⊧ mean "for every," "and," and "does not satisfy," respectively. The effect equations use context states in Γ. The dependency classifier separately compares environment snapshots σ, σ′ : Σ; conceptually an update u : Σ → Σ produces u(σ) = σ′. Do not assume Γ = Σ unless a model explicitly says so.
The recovery guarantee applies to the tracked sequence under its local witness laws. Unrelated interleaving or out-of-order removal requires separate independence assumptions.
Γ.f.g and test g(δ) = γ for the particular application e(γ) = (δ, g).f ∘ g runs g first, then f. If execution is f₁ then f₂, write f₂ ∘ f₁.d and evaluate σ ⊧ d.A Programming Paradigm for Spatiotemporal Composability, especially Sections 3.1 and 3.2.