Documentation

Linglib.Studies.Cooper2023.Ch7

Cooper (2023) Ch. 7 β€” Witness-based quantification #

[Coo23] [BC81] [vB84]

Cooper's From Perception to Communication Ch. 7 replaces classical set-theoretic GQ denotations (cf. Quantification.GQ) with witness sets β€” finite sets of individuals satisfying cardinality conditions specific to each quantifier. The reusable substrate (witness-set types, particular/general witness conditions, induced GQ denotations, conservativity proofs, anaphora-availability tables) lives in Linglib/Semantics/TypeTheoretic/WitnessQuantification.lean; this file contains Cooper's chapter-specific deployment.

Main definitions #

Main statements #

Β§7.2.3 Pure properties, purification, and 𝔗(P) (eqs 11–19) #

A parametric property P : PPpty E has background P.Bg and foreground P.fg. P is pure when Bg is trivial (β‰… Unit): no extra background constraints.

Purification folds background conditions into the property body:

A parametric property is pure when its background is trivial. Β§7.2.3, eq (7a): P.bg has only the x-field.

Equations
Instances For

    The type of witnesses for property P. Β§7.2.3, eq (17): a : 𝔗(P) iff 𝔓(P){a} is witnessed. For a pure property, 𝔗(P) = {a : E // Nonempty (P a)}.

    Equations
    Instances For

      Existential purification of a parametric property. Β§7.2.3, eq (12): 𝔓(P) merges background conditions into the body via existential quantification. 𝔓(P)(a) = Ξ£ (c : Bg), fg c a.

      Equations
      Instances For

        Universal purification of a parametric property. Β§7.2.3, eq (13): 𝔓ʸ(P) universally quantifies over background contexts. Used for strong donkey readings.

        Equations
        Instances For
          def Cooper2023Ch7.term𝔓_ :
          Lean.ParserDescr

          Notation for purification operators.

          Equations
          • Cooper2023Ch7.term𝔓_ = Lean.ParserDescr.node `Cooper2023Ch7.term𝔓_ 1024 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "𝔓") (Lean.ParserDescr.cat `term 1024))
          Instances For
            Equations
            • Cooper2023Ch7.Β«term𝔓ʸ_Β» = Lean.ParserDescr.node `Cooper2023Ch7.Β«term𝔓ʸ_Β» 1024 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "𝔓ʸ") (Lean.ParserDescr.cat `term 1024))
            Instances For

              For a trivial parametric property, purification adds only a Unit factor.

              theorem Cooper2023Ch7.purify_nonempty_iff {E : Type} (P : Semantics.TypeTheoretic.PPpty E) (a : E) :
              Nonempty (purify P a) ↔ βˆƒ (c : P.Bg), Nonempty (P.fg c a)

              Purified property is witnessed iff the original is witnessable under some context.

              theorem Cooper2023Ch7.purifyUniv_nonempty_iff {E : Type} (P : Semantics.TypeTheoretic.PPpty E) (a : E) :
              Nonempty (purifyUniv P a) ↔ βˆ€ (c : P.Bg), Nonempty (P.fg c a)

              Universal purification: witnessed iff property holds under all contexts.

              WitnessType for parametric properties via purification.

              Equations
              Instances For

                Β§7.3 Austinian propositions and probabilistic quantification (eqs 36–58) #

                Probabilities for quantifiers are estimated from an agent's finite experience base 𝔉 β€” a set of Austinian propositions recording categorical judgments [sit=a, type=T].

                Frequentist conditional probability: p_𝔉(T₁‖Tβ‚‚) = |[Tβ‚βˆ§Tβ‚‚]_𝔉| / |[Tβ‚‚]_𝔉|

                structure Cooper2023Ch7.ExperienceBase (E P : Type) [DecidableEq E] [DecidableEq P] :

                An experience base: the agent's memory of categorical judgments. Β§7.3, eq (37): 𝔉 is a finite set of [sit=a, type=T] records. Parameterized over entity type E and predicate type P.

                • judgments : Finset (E Γ— P)

                  The observed entity-predicate judgments

                Instances For
                  def Cooper2023Ch7.ExperienceBase.ext {E P : Type} [DecidableEq E] [DecidableEq P] (𝔉 : ExperienceBase E P) (p : P) :
                  Finset E

                  Extension of predicate p relative to 𝔉. Β§7.3, eq (38): [T]_𝔉 = {a | a :_𝔉 T}.

                  Equations
                  • 𝔉.ext p = Finset.image Prod.fst ({x ∈ 𝔉.judgments | x.2 = p})
                  Instances For
                    def Cooper2023Ch7.ExperienceBase.jointExt {E P : Type} [DecidableEq E] [DecidableEq P] (𝔉 : ExperienceBase E P) (p q : P) :
                    Finset E

                    Joint extension: entities classified under both predicates.

                    Equations
                    Instances For
                      def Cooper2023Ch7.ExperienceBase.condProb {E P : Type} [DecidableEq E] [DecidableEq P] (𝔉 : ExperienceBase E P) (p q : P) :
                      β„• Γ— β„•

                      Frequentist conditional probability estimate (as numerator/denominator). Β§7.3, eq (36): p_𝔉(T₁‖Tβ‚‚) = |[Tβ‚βˆ§Tβ‚‚]_𝔉| / |[Tβ‚‚]_𝔉|.

                      Equations
                      Instances For
                        def Cooper2023Ch7.ExperienceBase.reliability {E P : Type} [DecidableEq E] [DecidableEq P] (𝔉 : ExperienceBase E P) (p q : P) :
                        β„•

                        Reliability of a probability estimate (count before log). Β§7.3, eq (40): reliability = ln min(|[T₁]_𝔉|, |[Tβ‚‚]_𝔉|).

                        Equations
                        Instances For

                          Β§7.5 Long distance dependencies (eqs 114–158) #

                          Cooper extends contexts with gap and wh-assignments to handle extraction, relative clauses, and wh-questions.

                          structure Cooper2023Ch7.CntxtWithGap (AssgnType CntxtType : Type) :

                          Context with gap assignment. Β§7.5: Cntxt = [𝔰, 𝔀, 𝔠] (the 3-field gap-aware context Cooper introduces around the slash-category discussion).

                          • 𝔰 : AssgnType
                          • 𝔀 : AssgnType
                          • 𝔠 : CntxtType
                          Instances For
                            structure Cooper2023Ch7.CntxtFull (AssgnType CntxtType : Type) :

                            Full context with wh- and gap assignments. Β§7.5: Cntxt = [𝔰, 𝔴, 𝔀, 𝔠] (the 4-field context for wh-extraction; Cooper's Ch. 8 eq (10) extends this to the 5-field {q, 𝔰, 𝔴, 𝔀, 𝔠}).

                            • 𝔰 : AssgnType
                            • 𝔴 : AssgnType
                            • 𝔀 : AssgnType
                            • 𝔠 : CntxtType
                            Instances For

                              Slash category: S/i is a sentence missing constituent at gap i. Β§7.5, eq (149): the TTR analogue of slash categories.

                              • mother : String
                              • gapIdx : β„•
                              Instances For
                                def Cooper2023Ch7.instDecidableEqSlashCat.decEq (x✝ x✝¹ : SlashCat) :
                                Decidable (x✝ = x✝¹)
                                Equations
                                Instances For
                                  def Cooper2023Ch7.instReprSlashCat.repr :
                                  SlashCat β†’ β„• β†’ Std.Format
                                  Equations
                                  • One or more equations did not get rendered due to their size.
                                  Instances For

                                    WhNP condition. Β§7.5, eq (149a): Οƒ : WhNP iff Οƒ : NP and Ξ©.bg βŠ‘ [𝔴:[xα΅’:Ind]] for some i.

                                    • whIdx : β„•
                                    Instances For

                                      Property conjunction. Β§7.5, eq (153): P₁ & Pβ‚‚ for relative clauses. "child who Sam hugged" = child ∧ hugged-by-Sam.

                                      Equations
                                      Instances For
                                        theorem Cooper2023Ch7.pptyConj_nonempty {E : Type} (P₁ Pβ‚‚ : Semantics.TypeTheoretic.Ppty E) (x : E) (h₁ : Nonempty (P₁ x)) (hβ‚‚ : Nonempty (Pβ‚‚ x)) :
                                        Nonempty (pptyConj P₁ Pβ‚‚ x)

                                        Property conjunction preserves witnesses.

                                        Type-indexed property: properties of objects of type T. Β§7.5, eq (152): P : α΅€Ppty iff P.bg βŠ‘ [x:T].

                                        Equations
                                        Instances For
                                          def Cooper2023Ch7.TypedPPpty (T : Type) :
                                          Type (u_1 + 1)

                                          Type-indexed parametric property.

                                          Equations
                                          Instances For

                                            Phenomena #

                                            Example: "a dog barks" (Β§7.4.1).

                                            Instances For
                                              @[implicit_reducible]
                                              Equations
                                              def Cooper2023Ch7.instReprDogWorld.repr :
                                              DogWorld β†’ β„• β†’ Std.Format
                                              Equations
                                              • One or more equations did not get rendered due to their size.
                                              Instances For
                                                @[implicit_reducible]
                                                Equations
                                                • One or more equations did not get rendered due to their size.
                                                @[implicit_reducible]
                                                Equations
                                                • One or more equations did not get rendered due to their size.
                                                @[implicit_reducible]
                                                Equations
                                                • One or more equations did not get rendered due to their size.

                                                The full extension of isDog is {fido, rex, spot}.

                                                Particular witness for "a dog barks": fido barks and is a dog.

                                                Equations
                                                Instances For
                                                  theorem Cooper2023Ch7.not_noDogBarks :
                                                  Β¬Semantics.TypeTheoretic.ParticularWC_No (fun (x : DogWorld) => PLift (isDog x)) fun (x : DogWorld) => PLift (doesBark x)

                                                  "No dog barks" fails: fido is a dog that barks.

                                                  Predicate type for the dog example.

                                                  Instances For
                                                    @[implicit_reducible]
                                                    Equations
                                                    def Cooper2023Ch7.instReprDogPred.repr :
                                                    DogPred β†’ β„• β†’ Std.Format
                                                    Equations
                                                    Instances For

                                                      Simple experience base: 3 dogs observed, 2 bark.

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

                                                        Two of three dogs bark: p(barkβ€–dog) = 2/3.

                                                        Structural theorems #

                                                        Key theoretical claims of Ch 7, connecting witness-based quantification to classical GQ properties and each other.

                                                        Purification and donkey anaphora #

                                                        Existential purification 𝔓 gives weak donkey readings; universal purification 𝔓ʸ gives strong donkey readings. For pure properties (trivial Bg), both collapse to identity.

                                                        theorem Cooper2023Ch7.purify_pure_equiv {E : Type} (P : Semantics.TypeTheoretic.PPpty E) (hPure : PPpty.isPure P) (a : E) :
                                                        Nonempty (purify P a) ↔ Nonempty (P.fg β‹―.some a)

                                                        Purification of a pure property is equivalent to the original. Β§7.2.3: if P.Bg β‰… Unit, then 𝔓(P) ≃ P.fg.

                                                        theorem Cooper2023Ch7.purifyUniv_pure_equiv {E : Type} (P : Semantics.TypeTheoretic.PPpty E) (hPure : PPpty.isPure P) (a : E) :
                                                        Nonempty (purifyUniv P a) ↔ Nonempty (P.fg β‹―.some a)

                                                        Universal purification of a pure property also collapses.

                                                        theorem Cooper2023Ch7.donkey_readings_agree_when_pure {E : Type} (P : Semantics.TypeTheoretic.PPpty E) (hPure : PPpty.isPure P) (a : E) :
                                                        Nonempty (purify P a) ↔ Nonempty (purifyUniv P a)

                                                        For pure properties, weak and strong donkey readings agree. Β§7.2.3: the distinction only matters when Bg is non-trivial.

                                                        Record path subtraction (βŠ–) for LDD #

                                                        Β§7.5, eq (118): T βŠ– Ο€ removes a field from a record type. This is the operation underlying gap-threading: a transitive verb type minus its object field yields the gap-containing type.

                                                        def Cooper2023Ch7.recSubtract (fields : List (String Γ— Type)) (path : String) :
                                                        List (String Γ— Type)

                                                        Record path subtraction: remove a named field from a record. Β§7.5, eq (118): T βŠ– Ο€ removes field Ο€ from T. Encoded as filtering on a list of (label, type) pairs.

                                                        Equations
                                                        Instances For
                                                          theorem Cooper2023Ch7.recSubtract_removes (fields : List (String Γ— Type)) (path : String) (p : String Γ— Type) :
                                                          p ∈ recSubtract fields path β†’ p.1 β‰  path

                                                          Subtraction removes exactly the targeted field.

                                                          theorem Cooper2023Ch7.recSubtract_preserves (fields : List (String Γ— Type)) (path label : String) (h : label β‰  path) (p : String Γ— Type) :
                                                          p ∈ fields β†’ p.1 = label β†’ p ∈ recSubtract fields path

                                                          Subtraction preserves other fields.

                                                          Dependency families and generalization (T^Ο€) #

                                                          Β§7.5, eq (133): T^Ο€ = Ξ»v.[T βŠ– Ο€ ∧ {Ο€ : v}]. A dependency family abstracts over the gap, yielding a function from entities to record types. This is the TTR analogue of lambda-abstraction over a trace in transformational grammar.

                                                          Dependency family: abstract over a gap to get a property. Β§7.5, eq (133): T^Ο€(v) fills gap Ο€ with v.

                                                          Equations
                                                          Instances For

                                                            Merging a dependency family with a quantifier yields a scope-taking constituent. Β§7.5, eq (137): "which child Sam hugged" = Quant derived from T^Ο€.

                                                            Equations
                                                            Instances For