Appendix A

Appendix A — Notation

A lookup table for every piece of notation in the book, in the order you meet it. "Read as" is what to say in your head; "Primer §" points at the explanation in chapter 3.

Arrows and binders

SymbolRead asMeaningPrimer §
X → Yfunction from X to YTotal pure function.2
X ⇝ Yimpure functionMay touch the world. Used only to motivate making the world explicit.2
X ⇀ Ypartial functionDefined on some inputs; dom(·) is where.2, 5
x ↦ ex maps to eAnonymous function x => e.2
λx. elambda xSame as x ↦ e.2
f ∘ gf after gComposition; g runs first.1
id, id_ΓidentityReturns its argument.1
(a : A) → B(a)for all a of type ADependent function; in proofs, "for every a, …".9
(a : A) × B(a)an a together with a B(a)Dependent pair; used for "value plus proof about it".9
μX. F(X)the recursive type X = F(X)Generators, lists, nested contexts.7
let (a, b) = e in …destructureconst [a, b] = e.3
is defined asDefinition, not an equation to solve.

Sets, pairs, options

SymbolRead asMeaningPrimer §
X × Ypairs of X and YProduct type.3
pr₁, pr₂first, secondProjections. pr₂,₃ = second and third components.3
Maybe(X); Nothing; Just(x)optional XAbsent or present.7
Either(E, X)error or valueUsed for failure (§4.4).7
Set(K)sets of keysThe type of an inject list.
dom(σ)domain of σKeys the dictionary has.5
σ(k), σ[k ↦ v], σ ∖ klookup, insert, removeDictionary operations (functional: they return new dictionaries).5
σ|_Sσ restricted to SKeep only keys in S.
⋃, ∩, ∖, ⊆, ∅union, intersection, difference, subset, emptyOrdinary set notation.
∀, ∃, ∧, ∨, ¬, ⇒for all, exists, and, or, not, impliesOrdinary logic.

Greek and decorated letters

SymbolNameMeaning in the paperChapter
Γ, γGammaThe context (world) type; a particular world. γ₀: the initial world.4
∂Γ"del Gamma"Effect context: Γ × (Γ → Γ), world + accumulator. ∂²Γ = ∂(∂Γ).4
φphiThe accumulator: composite of all undos so far.4
δ, εdelta, epsilonIntermediate worlds in a computation. (Not the calculus of limits.)4
ηetaThe unit effect γ ↦ (γ, id).4
Σ, σSigmaThe coeffect context (service table) type; a particular table. σ_γ: the table derived from world γ.5
𝒱ₖV sub kThe value type at key k.5
ρ, RrhoRealm table; realm identifiers (isolation).5
ι, ℳₖ, ⊕ₖ, εₖiota; M sub kContext-carried metadata; the metadata type at k, its merge, its empty value (interception).5
𝒜ₖA sub kThe operations a holder of key k may perform.6
Γ∞Gamma infinityThe unified recursive context.6
≃, ≃ₖ, ≃_SequivalentObservational equivalence: on values at key k; on tables at keys S; on whole states.6
π, σ, τ, θ, ωpi, sigma, tau, theta, omegaFiber fields: parent, own table, retired flag, lifecycle state, committed view.8
ΨᵗPsiThe state-changing half of step t.9
χchiA renaming of fiber names.9
DecoratedRead asMeaningChapter
𝔗ΓT GammaPairs (f, g) under twisted composition.4
𝔈Γ, 𝔈Γ*E Gamma (starred)Effect functions; witnessed ones.4
ℑΓ, ℑΓ*, ℑΓ^SI GammaEffect iterators; witnessed; witnessed up to ≃_S.4, 6
𝔇Σ, 𝔓ΓD, PSpecifications (inject sets); provisions (provide sets).5, 8
𝔐(i)M of iTransformation monoid of iterator i.7
ℭΓ, 𝔉Γ, 𝔑C, F, NComponents; fibers; fiber names.8
ℑ^𝒜_Σ(S, P)context-mediated iteratorsIterators built only from operations at keys S, provisions at keys P, instantiations.6

Operations and predicates

SymbolMeaningChapter
track(f, g), recoverPush an undo onto the accumulator; run the accumulator.4
f ⋄ gEffect composition (world threaded, undos twisted).4
effectΓ, effect^iter_ΓLift an effect function / iterator to act on the effect context.4
get, set, isolate, interceptRead; provide-with-undo; redirect a key's realm; add access metadata.5
σ ⊧ dTable satisfies specification (all keys present). : does not.5
notify_d(σ, σ′)activating / deactivating / neutral.5
reach(i), len(i)Iterators reachable from i; longest step chain.7
installed_n, target_n, relied_n, quietθ ≠ Inactive; target view; "some installed fiber committed a key to n"; every fiber at its target.8
provider_k(γ)The one Active fiber binding k.8
n ≺ mpₙ ∩ dₘ ≠ ∅: n may provide for m.9
m ⊲ nm ≺ n or m is n's parent (support relation).9
AThe support set.9
γ ⇒ δ, γ ⟶ δAn orchestration step; a lifecycle step.8
γᵗ, θₙᵗ, stepᵗState after t steps; a field of it; the rule applied there.9

Words used as terms of art

WordHere it means
monoidA set with an associative operation and a unit. Only used for "effects can be sequenced".
homomorphismA map that respects sequencing: h(a ∘ b) = h(a) ∘ h(b).
witness / witnessedA promise, bundled with the value, that a property holds (an inverse reverts; a key's operations commute). Not checked by the runtime.
liftTurn a function on X into one on a richer structure containing X (world → world+accumulator; value → whole table).
inverseAlways a left inverse: g ∘ f = id. Nothing is said about f ∘ g.
local / globalA guarantee about one component by itself / about every component in an arbitrary interleaving.
denotation / realizationWhat an operation means (new state, undo) / how the host actually does it (mutate, or derive a child).
episodeOne maximal interval during which a fiber is installed (θ ≠ Inactive).
quiescentNo fiber has anything left to do: every one sits at its target.
entangledTwo fibers where one provides a key the other declares or provides.
inertialA host that cannot abort an in-flight step; it lets the step land and then reacts.
total on provisionA component that, when it finishes activating, has installed every key it said it would.