Documentation

Linglib.Theories.Dialogue.KOS.Austinian

KOS over Austinian Propositions #

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

The TTR-typed instantiation of KOS substrate. LocProp ⊐ TTRSign is already structural in KOS/Defs.lean (via LocProp.toTTRSign and the SubtypeOf instance) — this file is not a "bridge" but a worked instantiation pattern: how do we exercise the KOS conversational rules when facts are TTR Austinian propositions and questions are TTR question-bodies?

Contents #

The Cooper-2023 ↔ Ginzburg-2012 genealogical bridge (tisToInfoState) lives in the sibling KOS/CooperInfoState.lean.

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 Prop' W is to W → Prop — the decidable/computable variant of the same concept.

  • body : RBool

    The decidable question body

  • name : String

    Name for display

Instances For
    def Dialogue.KOS.Austinian.TTRQuestionB.polar (p : Bool) (name : String := "") :

    A polar Bool-question: is P true?

    Equations
    Instances For
      def Dialogue.KOS.Austinian.TTRQuestionB.wh {R : Type} (body : RBool) (name : String := "") :

      A wh-question: which x satisfies P?

      Equations
      Instances For
        def Dialogue.KOS.Austinian.TTRQuestionB.isResolved {R : Type} (q : TTRQuestionB R) (domain : List R) :
        Bool

        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. The Cont parameter governs the LocProp content type for pending and qud (use Unit if Pending is unused; use BCheckableAustinian S for full TTR-typed CRification).

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

          Equations
          Instances For
            @[reducible, inline]

            A TIS with Austinian content types.

            Equations
            Instances For
              @[implicit_reducible]

              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.

              A simple situation type for the example.

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

                  "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.

                        An empty Austinian DGB. We use Unit for the LocProp content type since this worked example exercises only QUD and FACTS, not the Pending/CRification pipeline.

                        Equations
                        Instances For

                          After asking "Is it raining?", QUD has the question (wrapped in InfoStruc).

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

                            The fact is in FACTS after assertion.