Questions/Partition.lean #
@cite{groenendijk-stokhof-1984}
@cite{groenendijk-stokhof-1984} Partition Semantics for Questions.
Core Ideas #
A question denotes an equivalence relation on worlds:
⟦?x.P(x)⟧ = λw.λv. [λx.P(w)(x) = λx.P(v)(x)]
Two worlds are equivalent iff the predicate has the same extension in both. This induces a partition of logical space.
Architecture #
GSQuestion is an abbreviation for QUD. All partition lattice operations
(refinement, coarsening, cells) are defined in Core/Partition.lean and apply
to any equivalence-relation partition, not just question denotations.
This module provides question-specific constructors and interpretation.
A G&S-style question is exactly a QUD: an equivalence relation on worlds.
Two worlds are equivalent iff they give the same answer to the question. This induces a partition of the world space.
Equations
Instances For
Compatibility accessor: equiv is the same as sameAnswer.
Equations
- q.equiv = q.sameAnswer
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
The finest possible partition (identity). Each world is its own equivalence class. This is the "maximally informative" question.
Instances For
The coarsest partition (all worlds equivalent). Conveys no information. This is the "tautological" question (always answered "yes").
Instances For
Build a question from a projection function. Two worlds are equivalent iff they have the same value under projection.
Example: ofProject (λ w => w.weather) asks "What's the weather?"
Equations
Instances For
Build a question from a Boolean predicate (polar question). Partitions into {yes-worlds} and {no-worlds}.
Equations
Instances For
Convert to the general Question type (list of characteristic functions).
Equations
- q.toQuestion worlds = QUD.toCells q worlds
Instances For
Convert to a Core.QUD (identity since GSQuestion = QUD).
Instances For
Convert from a QUD (identity since GSQuestion = QUD).
Equations
Instances For
A yes/no (polar) question: partitions into {yes-worlds} and {no-worlds}.
Example: "Is it raining?" partitions worlds into rainy and not-rainy.
Instances For
A polar question is equivalent to projecting onto Bool.
A wh-question asks for the value of some function.
Example: "Who came?" = ofProject (λ w => w.guests) Two worlds are equivalent iff they have the same set of guests.
Instances For
An alternative question: which of these propositions is true?
Example: "Did John or Mary come?"
Equations
- Semantics.Questions.alternativeQuestion alts = QUD.ofProject fun (w : W) => List.map (fun (p : W → Bool) => p w) alts
Instances For
A question demands exhaustive answers if its semantics requires knowing exactly which cell the actual world is.
This is the default for G&S semantics — all questions are exhaustive.
Equations
Instances For
The exhaustive interpretation of a polar question is complete: answering requires saying "yes" or "no", not "I don't know".
An information set J ⊆ I represents what the questioner knows. J is the set of indices compatible with the questioner's factual knowledge.
@cite{groenendijk-stokhof-1984}, p. 350: "One may argue that using an information set to represent the questioner's informational state involves idealizations. [...] We think these idealizations are harmless."
Equations
- Semantics.Questions.InfoSet W = (W → Bool)
Instances For
The total information set (no factual knowledge).
Equations
Instances For
The restricted cells as a list of characteristic functions.
These are the cells of the partition J/Q: each cell P' is some P ∩ J where P is a cell of I/Q and P ∩ J ≠ ∅.
Moved from PragmaticAnswerhood: this is a general partition operation useful beyond pragmatic answerhood (e.g., for computing pragmatic exhaustivity, or for the GSQuestion↔Issue bridge).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Elements of the foldl-built representative list come from the input list.
Every J-world is Q-equivalent to some representative in restrictedCells.
This is the covering property: the foldl in restrictedCells produces reps such that every input element is equivalent to some rep.
Every cell produced by restrictedCells has a witness in worlds.