Two-Dimensional Alternative Meanings #
The O-value / A-value pair from Rooth-style alternative semantics.
Every expression has an ordinary denotation (oValue) and an
alternatives set (aValue); focus features and operators manipulate
the latter while typically preserving the former.
This file isolates the bare data structure. Symmetry-based refinements
([FK11]) live in Symmetric.lean; structural
alternatives ([Kat07]) live in Structural.lean;
[FoC]/[G] feature semantics live in Semantics/Focus/.
The O-value of a non-featured expression equals its ordinary denotation. The A-value of a non-featured expression is a singleton containing its O-value (no alternatives evoked).
Equations
- Alternatives.AltMeaning.unfeatured x = { oValue := x, aValue := [x] }
Instances For
The alternative set as a Set — the theory-side carrier; aValue
is its list presentation.
Instances For
The composition engine #
Alternative semantics composes pointwise ([Roo85]): the O-value
applies ordinarily while the A-value collects applications of
alternative functions to alternative arguments (Hamblin functional
application). AltMeaning is the product of the identity and list
monads, so the engine is a lawful Monad: pure is unfeatured,
<$>/<*> are the recursive clauses of the two-dimensional semantics,
and oValue is a monad morphism onto the ordinary dimension.
Equations
- One or more equations did not get rendered due to their size.
The O-projection is a monad morphism: composition preserves the ordinary dimension.
Membership in a mapped A-set: the image law of the engine.
Membership in an applied A-set: Hamblin functional application.
aSet as a morphism into the Set applicative #
Together with the oValue monad-morphism laws above, these exhibit
the alternatives monad as a span Id ⟵ AltMeaning ⟶ Set: ordinary
meaning and focal-target set are its two structure-preserving
projections. Hamblin application is the image of <*> under aSet.
Rooth's containment constraint: the A-value contains the O-value.
Equations
- m.WellFormed = (m.oValue ∈ m.aValue)
Instances For
Composition preserves well-formedness.
Givenness #
Given with respect to a: the alternatives have collapsed to the
singleton {a} ([KS20] (46)).
Instances For
Unfeatured meanings are Given with respect to their value.
A Given function collapses Hamblin composition to application on the argument's alternatives — deaccented material contributes exactly its ordinary value.