Outcome cardinality #
The cardinality tier of a verb root's outcome set ([Bha24], eq. 62): the
light invariant of what a root encodes along the outcome axis — empty (no
change specified), singleton (a single lexically-specified result — change-of-
state and impingement roots), or multi (potential-for-change roots). Only the
tier, not an exact count, is grammatically load-bearing, so this is a
three-element linear order rather than ℕ∞.
Factored out from Semantics/Verb/Root/Outcomes.lean (which carries the heavy
event-relative machinery — res/pre, VerbOutcomes) so that Root itself
can carry the outcome axis without depending on Event/EventRel.
Main definitions #
OutcomeCardinality— theempty < singleton < multitierOutcomeCardinality.ofSet— the tier of a concrete outcome set
References #
- [Bha24] (roots encode outcome sets; the eq. 62 hierarchy)
The cardinality tier of an outcome set ([Bha24], eq. 62).
- empty : OutcomeCardinality
- singleton : OutcomeCardinality
- multi : OutcomeCardinality
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Verb.instReprOutcomeCardinality = { reprPrec := Verb.instReprOutcomeCardinality.repr }
Equations
Equations
- Verb.instBEqOutcomeCardinality.beq x✝ y✝ = (x✝.ctorIdx == y✝.ctorIdx)
Instances For
Equations
The tier of a concrete outcome set: multi-membered iff Nontrivial,
empty iff there is no outcome, singleton otherwise.
Equations
- Verb.OutcomeCardinality.ofSet O = if O.Nontrivial then Verb.OutcomeCardinality.multi else if O.Nonempty then Verb.OutcomeCardinality.singleton else Verb.OutcomeCardinality.empty