Documentation

Linglib.Theories.Pragmatics.Dialogue.KOS.TTRBridge

KOS ↔ TTR Bridge #

@cite{ginzburg-2012} @cite{cooper-2023}

Connects the KOS dialogue framework (DGB, TIS, conversational rules) to TTR's type-theoretic content representations (CheckableAustinian propositions, TTRQuestions). This closes the loop between:

Key Instantiations #

  1. DGB with Austinian facts: DGB String (BCheckableAustinian S) (TTRQuestion R)
  2. Answerhood: a BCheckableAustinian S resolves a TTRQuestion R when the situation witnesses the question body
  3. TIS ↔ InfoState genealogy: TIS (Ginzburg 2012) is a refinement of InfoState (Cooper 2023) — the public/private split is a record extension

A Bool-valued TTR question: stays in Type 0 for DGB compatibility.

TTRQuestion R (from TypeTheoretic/Discourse.lean) has body : R → Type, placing it in Type 1. Since DGB requires QContent : Type, we provide a decidable variant where the question body is Bool-valued.

The correspondence: TTRQuestionB R is to TTRQuestion R as BProp W is to Prop' W — the decidable/computable variant of the same concept.

  • body : RBool

    The decidable question body

  • name : String

    Name for display

Instances For

    A polar Bool-question: is P true?

    Equations
    Instances For

      A wh-question: which x satisfies P?

      Equations
      Instances For

        A Bool-question is resolved when some element satisfies the body.

        Equations
        Instances For
          @[reducible, inline]

          A DGB whose facts are checkable Austinian propositions and whose QUD entries are Bool-valued TTR questions.

          @cite{ginzburg-2012} Ch. 4: FACTS is a set of Austinian propositions [sit = s, sit-type = T]. QUD is a poset of questions.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            @[reducible, inline]

            A TIS with Austinian content types.

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

              A BCheckableAustinian S resolves a TTRQuestionB S when the Austinian proposition is true at a situation that satisfies the question body.

              @cite{ginzburg-2012} Ch. 4: "q is resolved relative to a DGB dgb iff the FACTS in dgb contextually entail an answer to q."

              For a fact ⟨s, T⟩ and question Q: the fact resolves Q when T(s) is true AND Q.body(s) is true — the situation that makes the fact true also answers the question.

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

              The TIS → InfoState Projection #

              @cite{cooper-2023}'s InfoState (§2.6) is a simplified version of @cite{ginzburg-2012}'s TIS. The correspondence:

              TIS (Ginzburg 2012)InfoState (Cooper 2023)
              private_.agendaagenda
              dgb.moves.getLast?latestUtterance
              dgb.factscommitments
              dgb.qud(not represented)
              dgb.pending(not represented)
              private_.genre(not represented)

              TIS is a record extension of InfoState: it adds QUD, Pending, genre, and separates public from private.

              def Theories.Pragmatics.Dialogue.KOS.TTRBridge.tisToInfoState {P Fact QContent SignT : Type} (tis : TIS P Fact QContent) (moveToSign : IllocMove Fact QContentSignT) :

              Project a TIS to a Cooper-style InfoState.

              The projection loses QUD, Pending, and genre information — these are the components that @cite{ginzburg-2012} adds beyond @cite{cooper-2023}.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem Theories.Pragmatics.Dialogue.KOS.TTRBridge.tisToInfoState_commitments {P Fact QContent SignT : Type} (tis : TIS P Fact QContent) (f : IllocMove Fact QContentSignT) :

                The projection preserves commitments (= FACTS).

                A simple situation type for the example.

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

                    "It is raining" as an Austinian proposition: situation = rainy, type = isRainy.

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

                      The Austinian proposition "it is raining" is true (rainy satisfies isRainy).

                      "Is it raining?" as a Bool-valued TTR question.

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

                        The fact "it is raining" resolves the question "is it raining?": the situation (rainy) makes both the fact true and the question body true.

                        "It is sunny" — an Austinian proposition that does NOT resolve "is it raining?".

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

                          A true fact about a different situation does not resolve the raining question.