Nondeterminism Effect: Plural/Choice Alternatives #
@cite{charlow-2019}
The nondeterminism effect models indefinites as introducing sets of alternatives rather than single values. This underlies:
- Indefinites as choice functions
- Plural/cumulative readings
- Set-valued update (pointwise lifting)
The key type is Set α (or List α for computational purposes) — meanings
are sets of possible values rather than single values.
Submodules #
PointwiseUpdate: Charlow's ↑/↓ bridge between pointwise and collectivized updateCharlow2019: StateCCP, distributivity for nondeterministic dynamic semantics
A nondeterministic meaning: produces a set of possible outputs.
This is the semantic type for indefinites — "a man" denotes the set of all men, and the nondeterminism effect handles choice.
Equations
- Semantics.Dynamic.Nondeterminism.NDMeaning α β = (α → Set β)
Instances For
def
Semantics.Dynamic.Nondeterminism.NDMeaning.bind
{α : Type u_1}
{β : Type u_2}
{γ : Type u_3}
(m : NDMeaning α β)
(f : β → Set γ)
:
NDMeaning α γ
Bind for the nondeterminism monad (Set).
Sequencing nondeterministic computations: for each possible value from the first computation, run the second and collect all results.
Instances For
def
Semantics.Dynamic.Nondeterminism.NDMeaning.pure
{α : Type u_1}
{β : Type u_2}
(b : β)
:
NDMeaning α β
Pure/return for nondeterminism: a single deterministic value.