Documentation

Linglib.Theories.Pragmatics.RSA.Questions.PolarQuestions

Decision Problems for Polar Questions (Stub) #

@cite{hawkins-etal-2025} @cite{van-rooy-2003}

Building on @cite{van-rooy-2003}, this module defines decision problems for polar questions.

Status #

The ℚ-based RSA evaluation infrastructure (RSA.Eval.sumScores) has been removed. Type definitions and structural properties (Item, World, PolarQuestion, PQDecisionProblem, decision problem constructors) are preserved. The dpExpectedValue computation that depended on RSA.Eval.sumScores has been re-implemented with a local helper.

An item mentionable in a polar question response.

Instances For
    def RSA.Questions.instDecidableEqItem.decEq (x✝ x✝¹ : Item) :
    Decidable (x✝ = x✝¹)
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        Equations
        Instances For

          World state: target availability and alternatives.

          Instances For
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              Instances For
                Equations
                Instances For
                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For

                    Actions available after hearing a response.

                    Instances For
                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        Equations
                        • One or more equations did not get rendered due to their size.

                        Decision problem for polar questions. Specializes Van Rooy's D = <W, A, U, pi> with binary utility (goal satisfied or not).

                        Instances For

                          Convert to Van Rooy's general DecisionProblem.

                          Equations
                          Instances For

                            V(D) = max_a EU(a) in the given world.

                            Equations
                            Instances For

                              Expected value of a decision problem across worlds.

                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For

                                V(D|C) = max_a EU(a|C) after learning response.

                                Equations
                                Instances For
                                  def RSA.Questions.responseUtilityValue (d : PQDecisionProblem) (w : World) (_valueBefore : ) (actions : List Action) :

                                  UV(C) = V(D|C) - V(D): utility value of information (Van Rooy).

                                  Equations
                                  Instances For
                                    theorem RSA.Questions.utilityValue_nonneg (d : PQDecisionProblem) (w : World) (valueBefore : ) (actions : List Action) (hValid : valueBefore dpValue d w actions) :
                                    responseUtilityValue d w valueBefore actions 0

                                    Information is never harmful.

                                    def RSA.Questions.questionUtility (params : Params) (d : PQDecisionProblem) (_q : PolarQuestion) (worlds : List World) (responseValues : List (World)) (responseProbabilities : WorldList ) :

                                    EUV(Q) = Sigma_{q in Q} P(q) x UV(q) (@cite{van-rooy-2003} section 4.1).

                                    Equations
                                    • One or more equations did not get rendered due to their size.
                                    Instances For
                                      def RSA.Questions.questionUtilityBinary (d : PQDecisionProblem) (worlds : List World) (actions : List Action) (pYes : World) :

                                      Simplified question utility for binary yes/no responses.

                                      Equations
                                      • One or more equations did not get rendered due to their size.
                                      Instances For

                                        Uniform prior over decision problems.

                                        Equations
                                        Instances For
                                          Equations
                                          Instances For

                                            PRIOR-PQ uses binary utilities, specializing Van Rooy's continuous U.

                                            theorem RSA.Questions.questions_informative_about_goals (params : Params) (q : PolarQuestion) (d1 d2 : PQDecisionProblem) (worlds : List World) (responseValues : List (World)) (responseProbabilities : WorldList ) :
                                            questionUtility params d1 q worlds responseValues responseProbabilities questionUtility params d2 q worlds responseValues responseProbabilitiesTrue

                                            Different DPs yield different question utilities, enabling ToM inference.

                                            DP: find any satisfactory item (generates mention-some).

                                            Equations
                                            • One or more equations did not get rendered due to their size.
                                            Instances For

                                              DP: find the best item (discriminating response preferences).

                                              Equations
                                              • One or more equations did not get rendered due to their size.
                                              Instances For

                                                DP: find item in specific category (e.g., "I want a cold drink").

                                                Equations
                                                • One or more equations did not get rendered due to their size.
                                                Instances For