General scope configuration for two operators
- surface : ScopeConfig
- inverse : ScopeConfig
Instances For
Equations
- Semantics.Scope.instBEqScopeConfig.beq x✝ y✝ = (x✝.ctorIdx == y✝.ctorIdx)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Specific quantifier-negation scope orderings
Instances For
Equations
- Semantics.Scope.instBEqQNScope.beq x✝ y✝ = (x✝.ctorIdx == y✝.ctorIdx)
Instances For
Equations
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Convert general config to QN-specific scope
Equations
Instances For
Convert ScopeConfig to abstract ScopeReading for binary scope
Equations
Instances For
Convert list of ScopeConfigs to AvailableScopes (defaults to binary if empty)
Equations
- One or more equations did not get rendered due to their size.
Instances For
A derivation that can be interpreted under multiple scope readings.
The same syntactic derivation can yield different semantic values depending on scope resolution.
- surface : String
Surface form (string representation)
- meaningAt : ScopeConfig → m.interpTy τ
Semantic value as function of scope config
- availableScopes : List ScopeConfig
Available scope readings
Instances For
Get all meanings for a scope derivation
Equations
- d.allMeanings = List.map (fun (s : Semantics.Scope.ScopeConfig) => (s, d.meaningAt s)) d.availableScopes
Instances For
A form (utterance) with scope ambiguity.
This is the Montague-side representation of scope:
- What scope readings are available
- Identifiers for the scope-takers
Note: World-parametric meaning (for RSA) is handled separately in RSA/.
- surface : String
Surface form (string representation)
- availableScopes : List ScopeConfig
Available scope readings
- scopeTaker1 : String
First scope-taker identifier
- scopeTaker2 : String
Second scope-taker identifier
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Get available scopes as abstract ScopeReadings
Equations
Instances For
All binary scope configurations
Equations
Instances For
All QN scope orderings
Equations
Instances For
Check if scope config yields true under given semantics
Equations
Instances For
Entailment structure between scope readings. Determines whether a quantifier-negation pair is diagnostic for scope preferences: independent readings allow contexts where exactly one reading is true; nested readings (one entails the other) do not.
- surfaceEntailsInverse : ScopeEntailment
- inverseEntailsSurface : ScopeEntailment
- independent : ScopeEntailment
- equivalent : ScopeEntailment
Instances For
Equations
- Semantics.Scope.instBEqScopeEntailment.beq x✝ y✝ = (x✝.ctorIdx == y✝.ctorIdx)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Diagnostic scope pairs allow contexts where exactly one reading is true. Only independent pairs are diagnostic; nested or equivalent pairs are not.
Instances For
Classify scope entailment from truth-value functions over a world list.
Equations
- One or more equations did not get rendered due to their size.