Embedded Scalar Implicature Types #
Shared types and definitions for modeling embedded scalar implicatures
(the "Every student read some book" scenario). Used by both
RSAExhExpressivity (comparing RSA vs EXH expressivity) and
CompositionalRSA (extending RSA to local readings).
The Scenario #
We model 2 students (Alice, Bob), each of whom either read "some but not all" (S) or "all" (A) books.
Definitions #
EmbeddedSIWorld: 4 world states (SS, SA, AS, AA)EmbeddedSIMessage: 2 messages (everySome, everyAll)embeddedMeaning: literal meaning functionExhScope: global vs local EXH scopeglobalExhMeaning,localExhMeaning: truth conditions under each scopeexhScopedMeaning: scope-parameterized meaning
World states for the embedded SI scenario. Each student either read "some but not all" (S) or "all" (A).
- SS : EmbeddedSIWorld
- SA : EmbeddedSIWorld
- AS : EmbeddedSIWorld
- AA : EmbeddedSIWorld
Instances For
Equations
- RSA.EmbeddedSI.instDecidableEqEmbeddedSIWorld x✝ y✝ = if h : x✝.ctorIdx = y✝.ctorIdx then isTrue ⋯ else isFalse ⋯
Equations
- One or more equations did not get rendered due to their size.
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Messages in the embedded SI scenario
- everySome : EmbeddedSIMessage
- everyAll : EmbeddedSIMessage
Instances For
Equations
- RSA.EmbeddedSI.instDecidableEqEmbeddedSIMessage x✝ y✝ = if h : x✝.ctorIdx = y✝.ctorIdx then isTrue ⋯ else isFalse ⋯
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Literal meaning: when is each message true?
- "every some" is true in all worlds (some ⊆ all)
- "every all" is true only in AA
Equations
Instances For
Scope position for EXH
Instances For
Equations
- RSA.EmbeddedSI.instDecidableEqExhScope x✝ y✝ = if h : x✝.ctorIdx = y✝.ctorIdx then isTrue ⋯ else isFalse ⋯
Equations
- RSA.EmbeddedSI.instReprExhScope = { reprPrec := RSA.EmbeddedSI.instReprExhScope.repr }
Equations
- One or more equations did not get rendered due to their size.
Instances For
Truth conditions under global EXH: "every student read some" ∧ ¬"every student read all"
True at: SS, SA, AS (not AA)
Equations
Instances For
Truth conditions under local EXH: "every student [read some but not all]"
True at: SS only
Equations
Instances For
EXH-with-scope: meaning depends on scope position