Duplicator combinator W = λκ λx. κ x x.
Equations
- Semantics.Reference.Binding.W κ x = κ x x
Instances For
H&K interpretation of binding.
Equations
- Semantics.Reference.Binding.hkBinding n body binder g = body (Function.update g n binder n)
Instances For
B&S interpretation of binding (continuation-based).
Equations
- Semantics.Reference.Binding.bsBinding body binder = Semantics.Reference.Binding.W body binder
Instances For
H&K and B&S agree for reflexive binding: both produce body(binder, binder).
The Reader monad (H&K assignments are Reader computations).
Equations
- Semantics.Reference.Binding.Reader E A = (E → A)
Instances For
Reader is a monad.
Equations
- One or more equations did not get rendered due to their size.
CPS transform: Reader → Continuation-expecting function.
Equations
- Semantics.Reference.Binding.cpsTransform f k e = k (f e)
Instances For
CPS transform preserves binding semantics.
W is the semantic content of binding in both frameworks.
Binding as cylindric algebra substitution #
The connection between Heim & Kratzer's binding mechanism and cylindric algebra ([HMT71]):
- Binder at index n creates
fun x => body(g[n↦x]), the function whose existential closure is cylindrificationcₙ - Bound pronoun at index n reads
g(n), a register projection - Binding resolution (pronoun κ bound by binder l) = cylindric
substitution
σ^κ_l(φ) = fun g => φ(g[κ↦g(l)])
These are not mere analogies: H&K's assignment update g[n↦x] IS
the cylindric set algebra's coordinate update, and their quantifier
scope ∃x.φ(g[n↦x]) IS cylindrification cₙ(φ).
Binding links pronoun κ to binder l by substituting g(l) for g(κ).
After binding, g(κ) = g(l), which is the diagonal element Dκl.
The semantic effect on a predicate φ is φ(g[κ↦g(l)]), which is
cylindric substitution σ^κ_l(φ).
After binding, the bound pronoun and its binder agree:
(g[κ↦g(l)])(κ) = (g[κ↦g(l)])(l). This is the diagonal condition
Dκl that cylindric substitution enforces.