Documentation

Linglib.Theories.Semantics.TypeTheoretic.Discourse

Type Theory with Records — Discourse State & Pragmatics #

@cite{cooper-2023} @cite{partee-1973}

Discourse-level infrastructure for TTR (@cite{cooper-2023}, Chapters 2, 4, 5):

Signs & Illocutionary Force: TTRSign, ForcedSign (§2.5–2.6) — the illocutionary force component reuses Core.Mood.IllocutionaryMood rather than @cite{cooper-2023}'s parallel four-way IllocForce enum (the surface distinction assertion | query | command | acknowledgement is the declarative/interrogative/imperative slice plus a backchannel constructor; true backchannels live in Theories/Pragmatics/Dialogue/KOS/).

Information States: InfoState (gameboard), agenda operations, bridge to Core.CommonGround (§2.6).

Parametric Content: Parametric bg/fg, PPpty, PQuant, PQuantDet, PRel2 (§4.2–4.3). Bridge to Core.Presupposition.PrProp.

Reference & Mental States: HasNamed, NameContext, semPropNameP, TotalInfoState, AccommodationKind, Paderewski puzzle, Assgnmnt/Cntxt, semPron, parametric verb semantics, Parametric.combine (§4.3–4.7).

Frames & Descriptions: AmbTempFrame, Scale, RiseEvent, IndPpty/FramePpty, Bot, unique, semDefArt, semUniversal, FixedPtType, FrameType, restrictPpty, TravelFrame/PassengerFrame, semBeID, semBeScalar (§5.2–5.8).

§ 2.6 Illocutionary force (Cooper ex 91) #

Signs may carry illocutionary force. @cite{cooper-2023}'s ex (91) introduces a four-way TTR-internal enum assertion | query | command | acknowledgement. We collapse assertion/query/command into Core.Mood.IllocutionaryMood's declarative/interrogative/imperative (the same Searlean cuts) and let backchannel acknowledgements be handled where dialogue moves live (Theories/Pragmatics/Dialogue/KOS/). The result: TTR signs share the rest of the library's mood vocabulary rather than re-stipulating it.

A sign with illocutionary force. @cite{cooper-2023} ex (91), with IllocForce replaced by Core.Mood.IllocutionaryMood.

Instances For
    @[implicit_reducible]

    ForcedSign ⊑ TTRSign (adding illoc = more fields = subtype).

    Equations

    Bridge: IllocutionaryMood → form-level ClauseForm. The two question form distinctions (matrix vs embedded) are not visible from illocutionary force alone, so we project to the matrix variant.

    Imperatives, promissives, and exclamatives have no ClauseForm form-counterpart in Features.ClauseForm (which only enumerates the declarative/question word-order distinctions); they map to none.

    Equations
    Instances For

      § 2.6 Information states and gameboards (Cooper ex 88–90) #

      An information state (gameboard) has two parts:

      structure Semantics.TypeTheoretic.InfoState (SignT CommT : Type) :

      An agent's information state (gameboard). §2.6, ex (88).

      • agenda : List SignT

        The agent's agenda: sign types planned for realization

      • latestUtterance : Option SignT

        The most recent utterance sign

      • commitments : CommT

        Shared commitments (accumulated accepted content)

      Instances For
        def Semantics.TypeTheoretic.InfoState.initial {SignT CommT : Type} (baseComm : CommT) :
        InfoState SignT CommT

        Initial information state: empty agenda, no utterance, base commitments.

        Equations
        Instances For
          def Semantics.TypeTheoretic.InfoState.execTopAgenda {SignT CommT : Type} (s : InfoState SignT CommT) :
          Option (SignT × InfoState SignT CommT)

          Pop the top agenda item (ExecTopAgenda). §2.6, ex (120).

          Equations
          Instances For
            def Semantics.TypeTheoretic.InfoState.downDateAgenda {SignT CommT : Type} (s : InfoState SignT CommT) :
            InfoState SignT CommT

            Remove top agenda item after observation (DownDateAgenda).

            Equations
            Instances For
              def Semantics.TypeTheoretic.InfoState.integrate {SignT CommT : Type} (s : InfoState SignT CommT) (utt : SignT) (newComm : CommT) :
              InfoState SignT CommT

              Record a new utterance and update commitments.

              Equations
              • s.integrate utt newComm = { agenda := s.agenda, latestUtterance := some utt, commitments := newComm }
              Instances For
                def Semantics.TypeTheoretic.InfoState.pushAgenda {SignT CommT : Type} (s : InfoState SignT CommT) (signType : SignT) :
                InfoState SignT CommT

                Push a new sign type onto the front of the agenda (PlanAckAss).

                Equations
                Instances For

                  Bridge to Core.CommonGround #

                  def Semantics.TypeTheoretic.InfoState.toCG {W SignT : Type} (s : InfoState SignT (List (Set W))) :

                  Bridge: a Set W-based information state's commitments form a CG.

                  Equations
                  Instances For
                    @[implicit_reducible]

                    InfoState with Set W commitments projects to a context set via CG.

                    Equations

                    Bridge theorem: initial state maps to empty common ground.

                    theorem Semantics.TypeTheoretic.integrate_comm_eq_cg_add {W SignT : Type} (s : InfoState SignT (List (Set W))) (utt : SignT) (p : Set W) :
                    (s.integrate utt (p :: s.commitments)).toCG = s.toCG.add p

                    Bridge: integrating a commitment = adding to common ground.

                    Bridge to Semantics.Dynamic.Core.InfoState #

                    def Semantics.TypeTheoretic.InfoState.toCoreInfoState {W E SignT : Type} (s : InfoState SignT (List (Set W))) :

                    TTR's InfoState tracks discourse state via agenda/commitments. Semantics.Dynamic.Core.InfoState tracks possibilities (world + assignment). Bridge: a TTR InfoState with Set W commitments induces a Core InfoState by filtering possibilities that satisfy all commitments.

                    Equations
                    Instances For

                      String type example: a fetch game decomposes into sub-events.

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

                            The three type acts map to the three Searlean basic illocutionary moods (declarative, interrogative, imperative).

                            theorem Semantics.TypeTheoretic.exec_empty_agenda {SignT CommT : Type} (c : CommT) :

                            ExecTopAgenda returns None on empty agenda.

                            theorem Semantics.TypeTheoretic.push_then_exec {SignT CommT : Type} (s : InfoState SignT CommT) (item : SignT) :
                            (s.pushAgenda item).execTopAgenda = some (item, s)

                            PushAgenda then ExecTopAgenda recovers the pushed item.

                            § 4.2–4.3 Parametric content #

                            §4.3 introduces parametric content: semantic content that depends on a context (a presupposition). A parametric content has:

                            structure Semantics.TypeTheoretic.Parametric (Content : Type u_1) :
                            Type (max u_1 (u_2 + 1))

                            Parametric content: a background type (presupposition) paired with a foreground function from satisfying contexts to content. §4.3, (14).

                            • Bg : Type u_2

                              Background type — what the context must provide (presupposition)

                            • fg : self.BgContent

                              Foreground — content given a context satisfying the background

                            Instances For
                              @[reducible, inline]
                              abbrev Semantics.TypeTheoretic.PPpty (E : Type) :
                              Type (u_1 + 1)

                              Parametric property: context-dependent property.

                              Equations
                              Instances For
                                @[reducible, inline]
                                abbrev Semantics.TypeTheoretic.PQuant (E : Type) :
                                Type (u_1 + 1)

                                Parametric quantifier: context-dependent quantifier.

                                Equations
                                Instances For
                                  @[reducible, inline]

                                  Parametric quantifier determiner: context-dependent Det meaning.

                                  Equations
                                  Instances For
                                    @[reducible, inline]
                                    abbrev Semantics.TypeTheoretic.PRel2 (E : Type) :
                                    Type (u_1 + 1)

                                    Parametric binary relation: context-dependent transitive verb meaning.

                                    Equations
                                    Instances For
                                      def Semantics.TypeTheoretic.Parametric.trivial {Content : Type u_1} (c : Content) :
                                      Parametric Content

                                      A trivial parametric content: no presupposition (bg = Unit).

                                      Equations
                                      Instances For
                                        theorem Semantics.TypeTheoretic.Parametric.trivial_fg {Content : Type u_1} (c : Content) (u : Unit) :
                                        (trivial c).fg u = c

                                        A trivial parametric content yields the same value for any context.

                                        Bridge: Parametric ↔ PrProp (presupposition/assertion) #

                                        noncomputable def Semantics.TypeTheoretic.Parametric.toPrProp {W : Type u_1} (p : Parametric (WProp)) (presupTest : WProp) [DecidablePred presupTest] (bgWitness : (w : W) → presupTest wp.Bg) :

                                        Convert a Parametric (W → Prop) to a PrProp.

                                        Equations
                                        • p.toPrProp presupTest bgWitness = { presup := presupTest, assertion := fun (w : W) => if h : presupTest w then p.fg (bgWitness w h) w else False }
                                        Instances For

                                          Convert a PrProp back to a Parametric.

                                          Equations
                                          Instances For
                                            theorem Semantics.TypeTheoretic.toParametric_toPrProp_assertion {W : Type u_1} (p : Core.Presupposition.PrProp W) (w : W) (hp : p.presup w) :
                                            p.toParametric.fg w, hp w p.assertion w

                                            Parametric ↔ PrProp roundtrip: the assertion component survives when the presupposition holds.

                                            noncomputable def Semantics.TypeTheoretic.Parametric.toPrPropSimple {W : Type u_1} (presup : WProp) [DecidablePred presup] (assertion : (w : W) → presup wProp) :

                                            When a Parametric has a Prop-valued background, it directly maps to PrProp.

                                            Equations
                                            Instances For

                                              § 4.3 Named predicate and parametric proper names #

                                              The named predicate: Named a n means individual a bears name n.

                                              • named : EStringProp
                                              Instances
                                                structure Semantics.TypeTheoretic.NameContext (E : Type) [HasNamed E] (name : String) :

                                                Context for a proper name: an individual bearing the right name.

                                                Instances For
                                                  def Semantics.TypeTheoretic.semPropNameP {E : Type} [HasNamed E] (name : String) :

                                                  Parametric proper name content (revised from Ch3).

                                                  Equations
                                                  • One or more equations did not get rendered due to their size.
                                                  Instances For
                                                    theorem Semantics.TypeTheoretic.semPropNameP_resolved {E : Type} [HasNamed E] (name : String) (ctx : NameContext E name) :

                                                    Bridge: parametric proper name reduces to Ch3 semPropName when the context is resolved to a specific individual.

                                                    § 4.4 Total information state and accommodation #

                                                    A total information state: long-term memory + dialogue gameboard.

                                                    • ltm : Memory

                                                      Long-term memory: persistent knowledge about individuals

                                                    • gb : Board

                                                      Dialogue gameboard: dependent on ltm for anchoring

                                                    Instances For

                                                      The three accommodation strategies for presupposition resolution. §4.4, (74).

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

                                                          § 4.5 Paderewski puzzle #

                                                          structure Semantics.TypeTheoretic.TwoConcept (E : Type) (pianist statesman : EProp) :

                                                          Two-concept state: an agent has two memory entries for "Paderewski".

                                                          Instances For
                                                            structure Semantics.TypeTheoretic.OneConcept (E : Type) (pianist statesman : EProp) :

                                                            One-concept state: after learning the identity.

                                                            • person : E
                                                            • isPianist : pianist self.person
                                                            • isStatesman : statesman self.person
                                                            Instances For
                                                              def Semantics.TypeTheoretic.TwoConcept.merge {E : Type} {pianist statesman : EProp} (tc : TwoConcept E pianist statesman) (identity : tc.asMusician = tc.asPolitician) :
                                                              OneConcept E pianist statesman

                                                              Merging two concepts when they turn out to be the same individual.

                                                              Equations
                                                              • tc.merge identity = { person := tc.asMusician, isPianist := , isStatesman := }
                                                              Instances For
                                                                theorem Semantics.TypeTheoretic.merge_person_eq {E : Type} {pianist statesman : EProp} (tc : TwoConcept E pianist statesman) (h : tc.asMusician = tc.asPolitician) :
                                                                (tc.merge h).person = tc.asMusician
                                                                theorem Semantics.TypeTheoretic.merge_preserves_both {E : Type} {pianist statesman : EProp} (tc : TwoConcept E pianist statesman) (h : tc.asMusician = tc.asPolitician) :
                                                                pianist (tc.merge h).person statesman (tc.merge h).person
                                                                theorem Semantics.TypeTheoretic.paderewski_nonrigid_identity {E : Type} (musician_concept politician_concept : Fin 2E) (w : Fin 2) (_hAgree : musician_concept w = politician_concept w) (hDisagree : ∃ (w' : Fin 2), musician_concept w' politician_concept w') :
                                                                ¬Core.Intension.CoExtensional musician_concept politician_concept

                                                                Bridge to Core.Intension: the Paderewski puzzle is an instance of non-rigid identity.

                                                                § 4.6 Unbound pronouns #

                                                                @[reducible, inline]

                                                                Variable assignment: maps natural-number indices to individuals. Equal to Core.PartialAssign E; the alias name is retained because Bekki/Asher's TYS prose uses 𝔰/𝔩/𝔯/𝔴/𝔤 as named "assignments" rather than as partial functions, and the inheritance carries the valued/valued_update_at simp set into this file's consumers.

                                                                Equations
                                                                Instances For

                                                                  An assignment with at least n bindings (all indices < n defined). Novel relative to Core.PartialAssign; not promoted (single consumer).

                                                                  Equations
                                                                  Instances For

                                                                    Merge two assignments (left-biased). Novel relative to Core.PartialAssign; Core.PartialAssign.empty, Core.PartialAssign.update, and the update-lookup lemmas are inherited via the Assgnmnt := PartialAssign abbrev and used directly by consumers.

                                                                    Equations
                                                                    • g₁.merge g₂ i = (g₁ i).orElse fun (x : Unit) => g₂ i
                                                                    Instances For

                                                                      Merge with empty on the left returns the right assignment.

                                                                      @[reducible, inline]

                                                                      Propositional context.

                                                                      Equations
                                                                      Instances For

                                                                        Full context: assignment + propositional context.

                                                                        Instances For

                                                                          Pronoun semantics as a parametric quantifier.

                                                                          Equations
                                                                          Instances For

                                                                            Bridge: pronoun semantics reduces to semPropName when resolved.

                                                                            Parametric verb semantics #

                                                                            Parametric intransitive verb content.

                                                                            Equations
                                                                            Instances For
                                                                              def Semantics.TypeTheoretic.semTransVerbP {E : Type} (Bg : Type) (p : EEType) :

                                                                              Parametric transitive verb content.

                                                                              Equations
                                                                              Instances For
                                                                                theorem Semantics.TypeTheoretic.semTransVerbP_trivial {E : Type} (p : EEType) (u : Unit) (Q : Quant E) (x : E) :
                                                                                (semTransVerbP Unit p).fg u Q x = Q fun (y : E) => p x y

                                                                                Bridge: transitive verb with trivial context reduces to Montague pattern.

                                                                                S-combinator for parametric content (α@β) #

                                                                                def Semantics.TypeTheoretic.Parametric.combine {A : Type u_1} {B : Type u_2} (f : Parametric (AB)) (x : Parametric A) :

                                                                                Combine two parametric contents via function application.

                                                                                Equations
                                                                                • f.combine x = { Bg := f.Bg × x.Bg, fg := fun (x_1 : f.Bg × x.Bg) => match x_1 with | (bf, bx) => f.fg bf (x.fg bx) }
                                                                                Instances For
                                                                                  theorem Semantics.TypeTheoretic.Parametric.combine_trivial {A : Type u_1} {B : Type u_2} (f : AB) (a : A) :
                                                                                  (trivial f).combine (trivial a) = { Bg := Unit × Unit, fg := fun (x : Unit × Unit) => match x with | (fst, snd) => f a }

                                                                                  Combining trivial parametric contents is trivial.

                                                                                  Extended individuals for Ch4.

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

                                                                                      Paderewski puzzle in the fragment #

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

                                                                                            Pronoun resolution #

                                                                                            §5.2–5.3 Common nouns, individual concepts, and the Partee puzzle #

                                                                                            §5.4 Frames as records #

                                                                                            structure Semantics.TypeTheoretic.AmbTempFrame (Loc : Type) (temp : LocProp) :

                                                                                            Ambient temperature frame. §5.4, (14).

                                                                                            • x :
                                                                                            • loc : Loc
                                                                                            • constraint : temp self.loc self.x
                                                                                            Instances For
                                                                                              @[reducible, inline]

                                                                                              A scale maps frames to natural numbers.

                                                                                              Equations
                                                                                              Instances For
                                                                                                def Semantics.TypeTheoretic.ζ_temp {Loc : Type} {temp : LocProp} :
                                                                                                Scale (AmbTempFrame Loc temp)

                                                                                                The canonical temperature scale.

                                                                                                Equations
                                                                                                Instances For

                                                                                                  Rise events #

                                                                                                  structure Semantics.TypeTheoretic.RiseEvent (Frame : Type) (scale : Scale Frame) :

                                                                                                  A rise event for a given frame type and scale.

                                                                                                  • before : Frame
                                                                                                  • after : Frame
                                                                                                  • rises : scale self.before < scale self.after
                                                                                                  Instances For

                                                                                                    §5.5 Individual-level vs frame-level properties #

                                                                                                    @[reducible, inline]

                                                                                                    Individual-level property.

                                                                                                    Equations
                                                                                                    Instances For
                                                                                                      @[reducible, inline]

                                                                                                      Frame-level property.

                                                                                                      Equations
                                                                                                      Instances For
                                                                                                        @[reducible, inline]

                                                                                                        The bottom type: no witnesses.

                                                                                                        Equations
                                                                                                        Instances For
                                                                                                          def Semantics.TypeTheoretic.framePptyOnInd {E Frame : Type} (_p : FramePpty Frame) (_x : E) :

                                                                                                          Applying a frame-level property to a non-frame yields ⊥.

                                                                                                          Equations
                                                                                                          Instances For
                                                                                                            theorem Semantics.TypeTheoretic.partee_blocked {Loc : Type} {temp : LocProp} (n : ) (rising : FramePpty (AmbTempFrame Loc temp)) :
                                                                                                            framePptyOnInd rising n = Bot

                                                                                                            Partee puzzle resolution: "ninety is rising" is type-inappropriate.

                                                                                                            §5.6 Definite descriptions as dynamic generalized quantifiers #

                                                                                                            Uniqueness predicate: exactly one witness of type P.

                                                                                                            Equations
                                                                                                            Instances For
                                                                                                              def Semantics.TypeTheoretic.semUniversal {E : Type} (restr scope : Ppty E) :

                                                                                                              Universal quantifier as a type.

                                                                                                              Equations
                                                                                                              Instances For
                                                                                                                def Semantics.TypeTheoretic.semDefArt {E : Type} (restr scope : Ppty E) :

                                                                                                                The definite article as a type.

                                                                                                                Equations
                                                                                                                Instances For

                                                                                                                  The definite article entails the universal.

                                                                                                                  Equations
                                                                                                                  Instances For

                                                                                                                    Uniqueness and universality together give the definite article.

                                                                                                                    Equations
                                                                                                                    Instances For

                                                                                                                      §5.6 Fixed-point types (ℱ) #

                                                                                                                      Fixed-point type of an individual-level property.

                                                                                                                      Equations
                                                                                                                      Instances For
                                                                                                                        theorem Semantics.TypeTheoretic.fixedPtType_sigma {E : Type} (P : Ppty E) :
                                                                                                                        FixedPtType P = ((x : E) × P x)

                                                                                                                        §5.7 Individual vs frame level nouns #

                                                                                                                        FrameType maps a predicate to its fixed-point type.

                                                                                                                        Equations
                                                                                                                        Instances For

                                                                                                                          A frame-level version of an individual-level predicate.

                                                                                                                          Equations
                                                                                                                          Instances For
                                                                                                                            theorem Semantics.TypeTheoretic.pFrame_reduces {E : Type} (p : Ppty E) (x : E) (e : p x) :
                                                                                                                            pFrame p x, e = p x
                                                                                                                            Equations
                                                                                                                            Instances For
                                                                                                                              def Semantics.TypeTheoretic.frame_implies_fixedPt {E : Type} (p : Ppty E) (r : FrameType p) (_e : pFrame p r) :
                                                                                                                              p r.fst
                                                                                                                              Equations
                                                                                                                              Instances For

                                                                                                                                RestrictCommonNoun #

                                                                                                                                Restrict a property to a subtype.

                                                                                                                                Equations
                                                                                                                                Instances For
                                                                                                                                  def Semantics.TypeTheoretic.restrictPpty_strengthens {E : Type} (P T : Ppty E) (x : E) (h : restrictPpty P T x) :
                                                                                                                                  P x
                                                                                                                                  Equations
                                                                                                                                  Instances For

                                                                                                                                    §5.8 Passengers and ships #

                                                                                                                                    A travel frame.

                                                                                                                                    • source : Loc
                                                                                                                                    • goal : Loc
                                                                                                                                    Instances For
                                                                                                                                      def Semantics.TypeTheoretic.instDecidableEqTravelFrame.decEq {Loc✝ : Type} [DecidableEq Loc✝] (x✝ x✝¹ : TravelFrame Loc✝) :
                                                                                                                                      Decidable (x✝ = x✝¹)
                                                                                                                                      Equations
                                                                                                                                      • One or more equations did not get rendered due to their size.
                                                                                                                                      Instances For
                                                                                                                                        structure Semantics.TypeTheoretic.PassengerFrame (E Loc : Type) (passenger : EProp) (take_journey : ETravelFrame LocProp) :

                                                                                                                                        A passenger frame.

                                                                                                                                        • x : E
                                                                                                                                        • isPassenger : passenger self.x
                                                                                                                                        • journey : TravelFrame Loc
                                                                                                                                        • takesJourney : take_journey self.x self.journey
                                                                                                                                        Instances For
                                                                                                                                          def Semantics.TypeTheoretic.intransVerbFrame {E Frame : Type} (getInd : FrameE) (p : EType) :
                                                                                                                                          FramePpty Frame

                                                                                                                                          IntransVerbIndToFrame.

                                                                                                                                          Equations
                                                                                                                                          Instances For

                                                                                                                                            Plural predicates #

                                                                                                                                            def Semantics.TypeTheoretic.pluralPred {E : Type} (p : EType) (A : EProp) :

                                                                                                                                            A plural (distributive) predicate.

                                                                                                                                            Equations
                                                                                                                                            Instances For
                                                                                                                                              def Semantics.TypeTheoretic.pluralPred_entails_each {E : Type} (p : EType) (A : EProp) (h : pluralPred p A) (a : E) (ha : A a) :
                                                                                                                                              p a
                                                                                                                                              Equations
                                                                                                                                              Instances For

                                                                                                                                                Proper parts of records (mereology) #

                                                                                                                                                A projection from record type R₂ to R₁ witnesses that R₁ is a "part" of R₂.

                                                                                                                                                • project : R₂R₁
                                                                                                                                                • notIso : ¬Function.Bijective self.project
                                                                                                                                                Instances For
                                                                                                                                                  def Semantics.TypeTheoretic.passengerToInd {E Loc : Type} {passenger : EProp} {take_journey : ETravelFrame LocProp} :
                                                                                                                                                  PassengerFrame E Loc passenger take_journeyE
                                                                                                                                                  Equations
                                                                                                                                                  Instances For
                                                                                                                                                    theorem Semantics.TypeTheoretic.same_person_different_journeys {E Loc : Type} {passenger : EProp} {take_journey : ETravelFrame LocProp} (pf₁ pf₂ : PassengerFrame E Loc passenger take_journey) (_hx : pf₁.x = pf₂.x) (hj : pf₁.journey pf₂.journey) :
                                                                                                                                                    pf₁ pf₂

                                                                                                                                                    Two different passenger frames can project to the same individual.

                                                                                                                                                    Copula variants #

                                                                                                                                                    SemBe_ID: identity for individuals.

                                                                                                                                                    Equations
                                                                                                                                                    Instances For
                                                                                                                                                      def Semantics.TypeTheoretic.semBeScalar {Frame : Type} (scale : Scale Frame) (frame : Frame) (n : ) :

                                                                                                                                                      SemBe_scalar: scalar identity via a scale function.

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

                                                                                                                                                              "The dog is Fido" vs "The temperature is ninety" #

                                                                                                                                                              Instances For

                                                                                                                                                                Definite article phenomena #

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

                                                                                                                                                                  Fixed-point type phenomena #

                                                                                                                                                                  Passenger individuation #

                                                                                                                                                                  Questions as Dependent Types #

                                                                                                                                                                  @cite{ginzburg-2012}

                                                                                                                                                                  In TTR, a question is a function from a record type to a type — essentially a dependent function (x : R) → T(x). A polar question is a proposition (0-ary: no open parameters). A wh-question has open parameters: "Who runs?" is λ (x : Ind) => Run(x).

                                                                                                                                                                  An answer to a question Q : R → Type is a witness ⟨r, Q r⟩ — a record r together with evidence that Q r is inhabited.

                                                                                                                                                                  This connects to KOS: the DGB's QUD can be typed as TTRQuestion E, and Answerhood can be instantiated so that a fact resolves a question when it provides a witness.

                                                                                                                                                                  A TTR question: a dependent type over a domain.

                                                                                                                                                                  @cite{ginzburg-2012} Ch. 4: "A question is a function from a (possibly empty) record type to a type." Polar questions have R = Unit; wh-questions have R = the domain of quantification.

                                                                                                                                                                  • body : RType

                                                                                                                                                                    The body of the question: maps each possible answer to its content type

                                                                                                                                                                  Instances For

                                                                                                                                                                    A complete answer to a TTR question: a witness.

                                                                                                                                                                    • witness : R

                                                                                                                                                                      The answer value

                                                                                                                                                                    • evidence : q.body self.witness

                                                                                                                                                                      Evidence that the answer satisfies the question body

                                                                                                                                                                    Instances For

                                                                                                                                                                      A polar question: no open parameters, just a proposition.

                                                                                                                                                                      Equations
                                                                                                                                                                      Instances For

                                                                                                                                                                        A wh-question: "Which x satisfies P?"

                                                                                                                                                                        Equations
                                                                                                                                                                        Instances For

                                                                                                                                                                          A question is resolved when a witness exists.

                                                                                                                                                                          Equations
                                                                                                                                                                          Instances For

                                                                                                                                                                            A polar question is resolved iff the proposition is inhabited.

                                                                                                                                                                            theorem Semantics.TypeTheoretic.TTRQuestion.wh_resolved_iff {E : Type} (P : EType) :
                                                                                                                                                                            (wh P).isResolved ∃ (e : E), Nonempty (P e)

                                                                                                                                                                            A wh-question is resolved iff some entity satisfies the predicate.

                                                                                                                                                                            Bridge: TTR parametric content (Parametric) as a question.

                                                                                                                                                                            A Parametric T has background type Bg and foreground Bg → T. When T = Type, this IS a TTR question: each background value determines a type (the question's content at that resolution).

                                                                                                                                                                            Equations
                                                                                                                                                                            Instances For

                                                                                                                                                                              Austinian Propositions for Discourse #

                                                                                                                                                                              @cite{ginzburg-2012} @cite{barwise-perry-1983}

                                                                                                                                                                              §6.5 defines TrueAustinianProp as a situation–type pair that carries its own witness (always true by construction). This suffices for truth-conditional semantics but not for discourse: when A asserts "Bo is here", the content enters FACTS as a checkable claim that can be true or false.

                                                                                                                                                                              @cite{ginzburg-2012} Ch. 4 uses Austinian propositions as the content type for DGB FACTS. The key difference: the situation and type are independent — the proposition is true iff the situation satisfies the type, but this need not hold.

                                                                                                                                                                              CheckableAustinian separates the situation from the classifying predicate, enabling:

                                                                                                                                                                              1. Propositions that can be false (sit doesn't satisfy the type)
                                                                                                                                                                              2. A bridge to (W → Bool) for HasContextSet integration
                                                                                                                                                                              3. DGB FACTS typed as checkable Austinian propositions

                                                                                                                                                                              A checkable Austinian proposition: situation + classifying predicate.

                                                                                                                                                                              Unlike TrueAustinianProp (which carries its own witness), a CheckableAustinian separates the situation from the predicate, so it can be false.

                                                                                                                                                                              @cite{ginzburg-2012} Ch. 4: [sit = s, sit-type = T] where truth requires s : T. @cite{barwise-perry-1983}: situation supports a type.

                                                                                                                                                                              • sit : S

                                                                                                                                                                                The situation being classified

                                                                                                                                                                              • sitType : SProp

                                                                                                                                                                                The classifying predicate (situation type)

                                                                                                                                                                              Instances For

                                                                                                                                                                                A checkable Austinian proposition is true iff the situation satisfies the type.

                                                                                                                                                                                Equations
                                                                                                                                                                                Instances For

                                                                                                                                                                                  A checkable Austinian proposition is false iff the situation doesn't satisfy the type.

                                                                                                                                                                                  Equations
                                                                                                                                                                                  Instances For

                                                                                                                                                                                    Decidable variant for computational use.

                                                                                                                                                                                    • sit : S
                                                                                                                                                                                    • sitType : SBool
                                                                                                                                                                                    Instances For

                                                                                                                                                                                      Decidable truth check.

                                                                                                                                                                                      Equations
                                                                                                                                                                                      Instances For

                                                                                                                                                                                        Convert a decidable Austinian to S → Bool: evaluate at each world/situation.

                                                                                                                                                                                        Equations
                                                                                                                                                                                        Instances For

                                                                                                                                                                                          A true Austinian proposition's toBProp holds at its situation.