RSA Questions: Shared Infrastructure (Stub) #
@cite{groenendijk-stokhof-1984} @cite{hawkins-etal-2025} @cite{van-rooy-2003}
Shared infrastructure for RSA models of question-answer pragmatics.
Status #
The ℚ-based RSA evaluation infrastructure (RSA.Eval, RSA.Eval.sumScores, RSA.Eval.normalize, RSA.Eval.getScore) has been removed. This file retains type definitions and structural properties that do not depend on the old API. RSA question-answer computations need to be re-implemented using the new RSAConfig framework.
Equations
- RSA.Questions.instReprParams = { reprPrec := RSA.Questions.instReprParams.repr }
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Equations
Instances For
Default parameters
Equations
Instances For
Equations
- RSA.Questions.pureInformativityParams = { αQ := RSA.Questions.defaultParams.αQ, αR := RSA.Questions.defaultParams.αR, β := 0, costWeight := RSA.Questions.defaultParams.costWeight }
Instances For
Equations
- RSA.Questions.pureActionRelevanceParams = { αQ := RSA.Questions.defaultParams.αQ, αR := RSA.Questions.defaultParams.αR, β := 1, costWeight := RSA.Questions.defaultParams.costWeight }
Instances For
Generic response type: taciturn, elaborated, or exhaustive.
- taciturn {Info : Type} : Bool → GenericResponse Info
- withInfo {Info : Type} : Bool → Info → GenericResponse Info
- exhaustive {Info : Type} : Bool → List Info → GenericResponse Info
Instances For
instance
RSA.Questions.instReprGenericResponse
{Info✝ : Type}
[Repr Info✝]
:
Repr (GenericResponse Info✝)
Equations
def
RSA.Questions.instReprGenericResponse.repr
{Info✝ : Type}
[Repr Info✝]
:
GenericResponse Info✝ → ℕ → Std.Format
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
- (RSA.Questions.GenericResponse.taciturn a).cost = 1
- (RSA.Questions.GenericResponse.withInfo a a_1).cost = 2
- (RSA.Questions.GenericResponse.exhaustive a a_1).cost = 1 + ↑a_1.length
Instances For
Van Rooy's UV(C) = V(D|C) - V(D).
Equations
- RSA.Questions.informationValue valueBefore valueAfter = valueAfter - valueBefore
Instances For
Equations
- RSA.Questions.instDecidableEqRSALevel.decEq (RSA.Questions.RSALevel.L a) (RSA.Questions.RSALevel.L b) = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
- RSA.Questions.instDecidableEqRSALevel.decEq (RSA.Questions.RSALevel.L a) (RSA.Questions.RSALevel.S a_1) = isFalse ⋯
- RSA.Questions.instDecidableEqRSALevel.decEq (RSA.Questions.RSALevel.S a) (RSA.Questions.RSALevel.L a_1) = isFalse ⋯
- RSA.Questions.instDecidableEqRSALevel.decEq (RSA.Questions.RSALevel.S a) (RSA.Questions.RSALevel.S b) = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
Instances For
Equations
Equations
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.