Documentation

Studies.Cooper2023

Cooper (2023): From Perception to Communication: A Theory of Types for Action and Meaning #

Cooper's theory of types with records reads a type as true when something witnesses it. A modal type system assigns objects to types in each of a family of possibilities, and subtyping is inclusion of witnesses in every possibility, so an attitude, which matches its complement against a type of the agent's information state, depends on which postulates restrict the possibilities. A witness for a quantified sentence is a witness set with a function into or out of it, following Barwise and Cooper's two procedures for monotone quantifiers, and the sets a witness carries are the anaphora sets the noun phrase makes available. Scope ambiguity comes from storing a quantifier in the context and retrieving it over the sentence, and binding from marking pronouns as local or reflexive.

Main statements #

Implementation notes #

TODO #

References #

Properties, quantifiers and their contents (Chs. 3, 4) #

@[reducible, inline]
abbrev Cooper2023.Ppty (E : Type) :

A property (30) gives each individual its type of situations.

Equations
Instances For
    @[reducible, inline]
    abbrev Cooper2023.Quant (E : Type) :

    A quantifier maps properties to types, as Montague's ⟨⟨e,t⟩,t⟩ does.

    Equations
    Instances For
      @[reducible, inline]
      abbrev Cooper2023.Ppty.Witnessed {E : Type} (P : Ppty E) (a : E) :

      A property is witnessed at an individual of its property extension [↓P].

      Equations
      Instances For
        def Cooper2023.SemPropName {E : Type} (a : E) :

        SemPropName(a) (33) applies a property to the individual a.

        Equations
        Instances For
          structure Cooper2023.ParticularWCExist {E : Type} (P Q : Ppty E) :

          The particular witness condition for exist(P, Q) (Ch. 7, (63)) provides an individual with the first property and the second. Its x-field is what singular anaphora picks up in A dog is barking. It is right outside my window (Ch. 7, (64)).

          • x : E
          • pWit : P self.x
          • qWit : Q self.x
          Instances For
            structure Cooper2023.ParticularWCNo {E : Type} (P Q : Ppty E) :

            The particular witness condition for no(P, Q) (Ch. 7, (70)) shows that every witness of the first property precludes the second, by a function into the negated type (69).

            • f (a : E) : P a → Q a → Empty
            Instances For
              theorem Cooper2023.nonempty_particularWCExist_iff {E : Type} {P Q : Ppty E} :
              Nonempty (ParticularWCExist P Q) ↔ ∃ (a : E), Nonempty (P a) ∧ Nonempty (Q a)

              exist(P, Q) is witnessed iff the property extensions of P and Q overlap, (55).

              def Cooper2023.SemIndefArt {E : Type} (restr : Ppty E) :

              SemIndefArt (37) sends a restrictor property to the existential quantifier over it, whose witness under the particular condition of Ch. 7 (63) is an individual with the restrictor and the scope.

              Equations
              Instances For
                def Cooper2023.SemBe {E : Type} (Q : Quant E) :

                SemBe (78), Montague's copula, is the property of being the quantifier's witness.

                Equations
                Instances For
                  def Cooper2023.SemUniversal {E : Type} (restr scope : Ppty E) :

                  The universal quantifier is a function from the restrictor's witnesses to the scope's, the function witness of §7.2.4 after [Ran94], which, as Cooper notes at (27), yields no witness set for plural anaphora; the set-based condition (72) is GeneralWCIncr with CardRel.every.

                  Equations
                  Instances For
                    def Cooper2023.SemNo {E : Type} (restr scope : Ppty E) :

                    no(P, Q) under its particular witness condition (Ch. 7, (70)) holds when every witness of the restrictor precludes the scope.

                    Equations
                    Instances For
                      theorem Cooper2023.nonempty_semBe_semIndefArt_iff {E : Type} (P : Ppty E) (a : E) :
                      Nonempty (SemBe (SemIndefArt P) a) ↔ Nonempty (P a)

                      a is a P, the copula over the indefinite article, is witnessed iff P(a) is (92), so the compositional content and the construction-based content of (86)–(87) are distinct but equivalent types.

                      theorem Cooper2023.nonempty_semIndefArt_semBe_semPropName_iff {E : Type} (P : Ppty E) (a : E) :
                      Nonempty (SemIndefArt P (SemBe (SemPropName a))) ↔ Nonempty (P a)

                      a P is a, with the quantifiers in the other order, is witnessed iff P(a) is as well (94c); only the construction expresses P(a) itself, and (89) A conductor is Dudamel is odd.

                      A quantifier is monotone increasing when a witness for a property gives one for any larger property.

                      Equations
                      Instances For
                        structure Cooper2023.Parametric (C : Type u_1) :
                        Type (max 1 u_1)

                        A parametric content (§4.3, (14)) pairs a background type, the context it requires, with a foreground function from contexts of that type to contents.

                        Instances For

                          Dudamel is a conductor (82c) #

                          Instances For
                            @[instance_reducible]
                            Equations
                            def Cooper2023.Dudamel.instReprInd.repr :
                            Ind → ℕ → Std.Format
                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For

                              is a conductor (81c) is the copula over the indefinite article.

                              Equations
                              Instances For

                                Modality and intensionality without possible worlds (Ch. 6) #

                                A modal type system is a family of possibilities over shared types, and modality and the attitudes compare witnesses across its possibilities.

                                structure Cooper2023.Possibility (Ty Obj : Type) :

                                A possibility says which types occur in it and which objects witness them. Only a type of the possibility has witnesses in it.

                                • occurs : Ty → Prop
                                • witnesses : Ty → Obj → Prop
                                • occurs_of_witnesses ⦃T : Ty⦄ ⦃a : Obj⦄ : self.witnesses T a → self.occurs T
                                Instances For
                                  @[reducible, inline]
                                  abbrev Cooper2023.ModalSystem (M Ty Obj : Type) :

                                  A modal system of types (§1.4.3.5, (54)) is a family of possibilities over shared types.

                                  Equations
                                  Instances For
                                    def Cooper2023.ModalSystem.extension {M Ty Obj : Type} (ms : ModalSystem M Ty Obj) (T : Ty) (p : M) :
                                    Set Obj

                                    The extension of T (1a) gives its witnesses in each possibility.

                                    Equations
                                    Instances For
                                      def Cooper2023.ModalSystem.Occurs {M Ty Obj : Type} (ms : ModalSystem M Ty Obj) (p : M) (T : Ty) :

                                      T occurs in the type system of the possibility p.

                                      Equations
                                      Instances For
                                        def Cooper2023.ModalSystem.SubtypeR {M Ty Obj : Type} (ms : ModalSystem M Ty Obj) (T₁ T₂ : Ty) :

                                        T₁ is a restrictive subtype of T₂ (1b) when its extension is included in that of T₂ in every possibility.

                                        Equations
                                        Instances For
                                          def Cooper2023.ModalSystem.EquivR {M Ty Obj : Type} (ms : ModalSystem M Ty Obj) (T₁ T₂ : Ty) :

                                          T₁ and T₂ are restrictively equivalent (1a) when they have the same extension in every possibility.

                                          Equations
                                          Instances For
                                            def Cooper2023.ModalSystem.NecR {M Ty Obj : Type} (ms : ModalSystem M Ty Obj) (T : Ty) :

                                            T is restrictively necessary (1c) when it is witnessed in every possibility.

                                            Equations
                                            Instances For
                                              def Cooper2023.ModalSystem.PossR {M Ty Obj : Type} (ms : ModalSystem M Ty Obj) (T : Ty) :

                                              T is restrictively possible (1d) when it is witnessed in some possibility.

                                              Equations
                                              Instances For
                                                def Cooper2023.ModalSystem.SubtypeI {M Ty Obj : Type} (ms : ModalSystem M Ty Obj) (T₁ T₂ : Ty) :

                                                T₁ is an inclusive subtype of T₂ (2b; Ch. 1, (55)) when its extension is included in that of T₂ wherever both types occur.

                                                Equations
                                                Instances For
                                                  def Cooper2023.ModalSystem.EquivI {M Ty Obj : Type} (ms : ModalSystem M Ty Obj) (T₁ T₂ : Ty) :

                                                  T₁ and T₂ are inclusively equivalent (2a) when they have the same extension wherever both occur.

                                                  Equations
                                                  Instances For
                                                    def Cooper2023.ModalSystem.NecI {M Ty Obj : Type} (ms : ModalSystem M Ty Obj) (T : Ty) :

                                                    T is inclusively necessary, by the rule (4c), when it occurs in some possibility and is witnessed wherever it occurs.

                                                    Equations
                                                    Instances For
                                                      def Cooper2023.ModalSystem.PossI {M Ty Obj : Type} (ms : ModalSystem M Ty Obj) (T : Ty) :

                                                      T is inclusively possible, by the rule (4d), when it is witnessed in a possibility in which it occurs. The definition (2d) prints the conjunction as an implication.

                                                      Equations
                                                      Instances For
                                                        theorem Cooper2023.ModalSystem.equivR_iff {M Ty Obj : Type} {ms : ModalSystem M Ty Obj} {T₁ T₂ : Ty} :
                                                        ms.EquivR T₁ T₂ ↔ ms.SubtypeR T₁ T₂ ∧ ms.SubtypeR T₂ T₁

                                                        Restrictive equivalence is subtyping both ways (3b).

                                                        theorem Cooper2023.ModalSystem.equivI_iff {M Ty Obj : Type} {ms : ModalSystem M Ty Obj} {T₁ T₂ : Ty} :
                                                        ms.EquivI T₁ T₂ ↔ ms.SubtypeI T₁ T₂ ∧ ms.SubtypeI T₂ T₁

                                                        Inclusive equivalence is subtyping both ways (4b).

                                                        theorem Cooper2023.ModalSystem.SubtypeR.trans {M Ty Obj : Type} {ms : ModalSystem M Ty Obj} {T₁ T₂ T₃ : Ty} (h : ms.SubtypeR T₁ T₂) (h' : ms.SubtypeR T₂ T₃) :
                                                        ms.SubtypeR T₁ T₃
                                                        theorem Cooper2023.ModalSystem.SubtypeR.subtypeI {M Ty Obj : Type} {ms : ModalSystem M Ty Obj} {T₁ T₂ : Ty} (h : ms.SubtypeR T₁ T₂) :
                                                        ms.SubtypeI T₁ T₂
                                                        theorem Cooper2023.ModalSystem.EquivR.equivI {M Ty Obj : Type} {ms : ModalSystem M Ty Obj} {T₁ T₂ : Ty} (h : ms.EquivR T₁ T₂) :
                                                        ms.EquivI T₁ T₂
                                                        theorem Cooper2023.ModalSystem.NecR.necI {M Ty Obj : Type} {ms : ModalSystem M Ty Obj} {T : Ty} [Nonempty M] (h : ms.NecR T) :
                                                        ms.NecI T
                                                        theorem Cooper2023.ModalSystem.PossR.possI {M Ty Obj : Type} {ms : ModalSystem M Ty Obj} {T : Ty} (h : ms.PossR T) :
                                                        ms.PossI T
                                                        theorem Cooper2023.ModalSystem.SubtypeI.comp {M M' Ty Obj : Type} {ms : ModalSystem M Ty Obj} {T₁ T₂ : Ty} (h : ms.SubtypeI T₁ T₂) (ι : M' → M) :
                                                        SubtypeI (ms ∘ ι) T₁ T₂

                                                        Subtyping in a modal system holds in any restriction of it, and restricting attention to some of the possibilities is what a postulate does (p. 261).

                                                        Restrictive against inclusive necessity #

                                                        Snow is possible but not necessary, and once it does not occur in the second possibility it is inclusively but not restrictively necessary.

                                                        Instances For
                                                          @[instance_reducible]
                                                          Equations
                                                          Instances For
                                                            @[instance_reducible]
                                                            Equations

                                                            Both types occur in both possibilities; rain is witnessed in both, snow in the first.

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

                                                              As system, but snow does not occur in the second possibility.

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

                                                                Modality with topoi (§6.4) #

                                                                The last version of nec and poss, (23)–(24), takes a topos in place of Kratzer's ideal.

                                                                @[reducible, inline]

                                                                A topos (20) is a dependent type from situations of a background type to types.

                                                                Equations
                                                                Instances For
                                                                  def Cooper2023.Compatible (T₁ T₂ : Type) :

                                                                  Two types are compatible (17) when something is of both.

                                                                  Equations
                                                                  Instances For
                                                                    structure Cooper2023.Nec (T B : Type) (τ : Topos) :

                                                                    A witness of nec(T, B, τ) (23) is a situation of the background type B, with B a subtype of the topos's domain and the type the topos returns for the situation a subtype of T.

                                                                    • sit : B
                                                                    • sub : B → τ.bg
                                                                    • incl : τ.fg (self.sub self.sit) → T
                                                                    Instances For
                                                                      structure Cooper2023.Poss (T B : Type) (τ : Topos) :

                                                                      A witness of poss(T, B, τ) (24) is as for Nec, with the returned type compatible with T.

                                                                      Instances For
                                                                        def Cooper2023.Nec.toPoss {T B : Type} {τ : Topos} (h : Nec T B τ) (hne : Nonempty (τ.fg (h.sub h.sit))) :
                                                                        Poss T B τ

                                                                        Necessity yields possibility when the topos returns an inhabited type.

                                                                        Equations
                                                                        Instances For

                                                                          Mary should eat her broccoli (25)–(31) #

                                                                          Eating the broccoli is necessary under the deontic topos and under the bouletic one, (29).

                                                                          Instances For
                                                                            @[instance_reducible]
                                                                            Equations
                                                                            def Cooper2023.Dinner.instReprInd.repr :
                                                                            Ind → ℕ → Std.Format
                                                                            Equations
                                                                            • One or more equations did not get rendered due to their size.
                                                                            Instances For
                                                                              Instances For
                                                                                Instances For
                                                                                  inductive Cooper2023.Dinner.Have :
                                                                                  Ind → Ind → Type
                                                                                  Instances For
                                                                                    inductive Cooper2023.Dinner.On :
                                                                                    Ind → Ind → Type
                                                                                    Instances For
                                                                                      inductive Cooper2023.Dinner.Love :
                                                                                      Ind → Ind → Type
                                                                                      Instances For
                                                                                        inductive Cooper2023.Dinner.Eat :
                                                                                        Ind → Ind → Type
                                                                                        Instances For

                                                                                          Food, of which broccoli is a subtype (27), is witnessed by broccoli.

                                                                                          Instances For

                                                                                            The base situation type (26) has its manifest fields fixed here by the ptypes' witnesses.

                                                                                            Instances For

                                                                                              The background of the deontic topos (28a) is a child with food on her plate.

                                                                                              Instances For

                                                                                                The background of the bouletic topos (28b) is a child loving some food.

                                                                                                Instances For

                                                                                                  The deontic topos τ₁ (28a) sends a child with food on her plate to her eating it.

                                                                                                  Equations
                                                                                                  Instances For

                                                                                                    The bouletic topos τ₂ (28b) sends a child loving some food to her eating it.

                                                                                                    Equations
                                                                                                    Instances For

                                                                                                      The base situation has the broccoli on Mary's plate, and Mary loving it.

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

                                                                                                        Eating the broccoli is necessary under the deontic topos (29a), the base type being a subtype of the topos's domain by (27) and the topos returning the type itself (30).

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

                                                                                                          Eating the broccoli is necessary under the bouletic topos as well (29b).

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

                                                                                                            Intensionality (§6.5) #

                                                                                                            An attitude matches its complement against a type of the agent's information state up to relabelling, so whose postulates restrict the possibilities decides the report (pp. 261–262).

                                                                                                            def Cooper2023.ModalSystem.SubtypeRelabel {M Ty Obj : Type} (ms : ModalSystem M Ty Obj) (r : Setoid Ty) (T₁ T₂ : Ty) :

                                                                                                            T₁ ⊑⇝ T₂ (39) holds when T₁ is a subtype, in the sense of Ch. 1 (55), of some relabelling of T₂, the relabellings of a type being its class under r.

                                                                                                            Equations
                                                                                                            Instances For
                                                                                                              theorem Cooper2023.ModalSystem.subtypeRelabel_congr {M Ty Obj : Type} {ms : ModalSystem M Ty Obj} {r : Setoid Ty} {T₁ T₂ T₂' : Ty} (h : r T₂ T₂') :
                                                                                                              ms.SubtypeRelabel r T₁ T₂ ↔ ms.SubtypeRelabel r T₁ T₂'

                                                                                                              Matching is blind to the relabelling of the complement (41).

                                                                                                              theorem Cooper2023.ModalSystem.SubtypeRelabel.comp {M M' Ty Obj : Type} {ms : ModalSystem M Ty Obj} {r : Setoid Ty} {T₁ T₂ : Ty} (h : ms.SubtypeRelabel r T₁ T₂) (ι : M' → M) :
                                                                                                              SubtypeRelabel (ms ∘ ι) r T₁ T₂
                                                                                                              structure Cooper2023.InfoState (Agent Ty : Type) :

                                                                                                              An agent's total information state (91) gives the types of each agent's long-term memory, religious beliefs and desires, and records which types are merges of a type with a complete point of view on it (55).

                                                                                                              • ltm : Agent → Ty
                                                                                                              • rbel : Agent → Ty
                                                                                                              • des : Agent → Ty
                                                                                                              • pov : Ty → Ty → Prop

                                                                                                                pov M T says that M is the asymmetric merge T ∧̣ T' of T with a complete point of view T' on it.

                                                                                                              Instances For
                                                                                                                inductive Cooper2023.InfoState.Matches {M Agent Ty Obj : Type} (s : InfoState Agent Ty) (ms : ModalSystem M Ty Obj) (r : Setoid Ty) (I : Ty) :
                                                                                                                Ty → Prop

                                                                                                                s.Matches ms r I T is the least relation closed under the two conditionals of (58), by which the information type I matches T when I ⊑⇝ T, or when I matches some T₁ whose merge with a point of view on it is a subtype of T up to relabelling. Belief (58) matches the long-term memory, worship (81) the religious beliefs against the quantifier exported over worship†, and want† (92) the desires.

                                                                                                                Instances For
                                                                                                                  theorem Cooper2023.InfoState.Matches.congr {M Agent Ty Obj : Type} {s : InfoState Agent Ty} {ms : ModalSystem M Ty Obj} {r : Setoid Ty} {I T T' : Ty} (h : s.Matches ms r I T) (hT : r T T') :
                                                                                                                  s.Matches ms r I T'

                                                                                                                  An attitude toward a type is one toward any relabelling of it (41).

                                                                                                                  theorem Cooper2023.InfoState.Matches.comp {M M' Agent Ty Obj : Type} {s : InfoState Agent Ty} {ms : ModalSystem M Ty Obj} {r : Setoid Ty} {I T : Ty} (h : s.Matches ms r I T) (ι : M' → M) :
                                                                                                                  s.Matches (ms ∘ ι) r I T

                                                                                                                  An attitude computed with fewer postulates holds with more, the postulates restricting the possibilities.

                                                                                                                  Hesperus and Phosphorus, (52)–(53) #

                                                                                                                  The ancients cannot exclude a possibility in which Phosphorus is another body than Venus; the reporter can (p. 262).

                                                                                                                  Instances For

                                                                                                                    The types are (52), and (53b), which identifies the second body with the first.

                                                                                                                    • twoStars : Ty
                                                                                                                    • oneStar : Ty
                                                                                                                    Instances For

                                                                                                                      In the actual possibility Phosphorus is Venus; in the other, which the ancients cannot exclude, it is Mars.

                                                                                                                      Instances For

                                                                                                                        In the modal system Hesperus is Venus throughout, and the records are the pairs of their two bodies.

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

                                                                                                                          Before learning, the ancients' information state has (52) as its long-term memory.

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

                                                                                                                            (53b) is a structural subtype of (52), having its fields and one more.

                                                                                                                            Under their own postulates the ancients do not believe that Hesperus is Phosphorus.

                                                                                                                            Under the reporter's postulates, which exclude the alternative, they do.

                                                                                                                            theorem Cooper2023.Venus.learned_believe_twoStars :
                                                                                                                            (have __src := ancients; { ltm := fun (x : Unit) => Ty.oneStar, rbel := __src.rbel, des := __src.des, pov := __src.pov }).Matches system ⊥ Ty.oneStar Ty.twoStars

                                                                                                                            Learning (53) keeps the belief in (52).

                                                                                                                            Intensional transitive verbs, (63)–(68), (87) #

                                                                                                                            Following Montague a transitive verb's predicate takes a quantifier (64), and postulates make it extensional (65), a successful search a finding (66), and booking require existence (87).

                                                                                                                            structure Cooper2023.TransVerb (E : Type) :

                                                                                                                            A transitive verb has a predicate taking a quantifier (64) and a variant p† between individuals.

                                                                                                                            Instances For

                                                                                                                              A verb is extensional (65) when its ptype is equivalent to the quantifier exported over p†.

                                                                                                                              Equations
                                                                                                                              Instances For
                                                                                                                                theorem Cooper2023.TransVerb.IsExtensional.exists_of_semIndefArt {E : Type} {v : TransVerb E} (hv : v.IsExtensional) {a : E} {P : Ppty E} (h : Nonempty (v.pred a (SemIndefArt P))) :
                                                                                                                                ∃ (x : E), Nonempty (P x) ∧ Nonempty (v.dagger a x)

                                                                                                                                With (65), a finds a P is witnessed only by a P that is found.

                                                                                                                                structure Cooper2023.SuccessfulSeek (E : Type) (seek find : E → Quant E → Type) :

                                                                                                                                A successful search is a finding (66).

                                                                                                                                Instances For
                                                                                                                                  theorem Cooper2023.SuccessfulSeek.exists_of_successful {E : Type} {seek : E → Quant E → Type} {find : TransVerb E} (hs : SuccessfulSeek E seek find.pred) (hf : find.IsExtensional) {a : E} {P : Ppty E} (h : Nonempty (hs.successful (seek a (SemIndefArt P)))) :
                                                                                                                                  ∃ (x : E), Nonempty (P x) ∧ Nonempty (find.dagger a x)

                                                                                                                                  With (66), and (65) for find, a successful search for a unicorn finds one, so there is one (p. 268).

                                                                                                                                  def Cooper2023.BookRequiresBeing {E : Type} (book : E → Quant E → Type) (be : Ppty E) :

                                                                                                                                  Booking a monotone increasing quantifier's worth of tables requires tables to be, without requiring a specific one (87).

                                                                                                                                  Equations
                                                                                                                                  Instances For
                                                                                                                                    theorem Cooper2023.exists_of_book {E : Type} {book : E → Quant E → Type} {be : Ppty E} (h : BookRequiresBeing book be) {a : E} {Table : Ppty E} (hb : Nonempty (book a (SemIndefArt Table))) :
                                                                                                                                    ∃ (x : E), Nonempty (Table x)

                                                                                                                                    Under (87), Kim booked a table but there were no tables is inconsistent (68a).

                                                                                                                                    Witness-based quantification (Ch. 7) #

                                                                                                                                    Purification lowers a property's restriction into its body, and a quantified ptype is witnessed by a witness set with a function into or out of it.

                                                                                                                                    structure Cooper2023.Restricted (E : Type) :

                                                                                                                                    A restricted property (7b) places conditions on the individual in its domain and returns a body.

                                                                                                                                    Instances For

                                                                                                                                      A property is pure (7a) when its restriction is trivial.

                                                                                                                                      Equations
                                                                                                                                      Instances For
                                                                                                                                        def Cooper2023.Purify {E : Type} (P : Restricted E) :

                                                                                                                                        Purification 𝔓(P) (12) lowers the restriction into the body under the local context.

                                                                                                                                        Equations
                                                                                                                                        Instances For

                                                                                                                                          Universal purification 𝔓∀(P) (13) requires the body under every way of meeting the restriction.

                                                                                                                                          Equations
                                                                                                                                          Instances For
                                                                                                                                            def Cooper2023.Restricted.align {E : Type} (P : Restricted E) (R : E → Type) (f : (x : E) → R x → P.restr x) :

                                                                                                                                            Aligning two paths in the domain by a manifest field (Ch. 8, (51)–(52)) is a further restriction of the domain, through which the body is read.

                                                                                                                                            Equations
                                                                                                                                            • P.align R f = { restr := R, body := fun (x : E) (c : R x) => P.body x (f x c) }
                                                                                                                                            Instances For

                                                                                                                                              Property restriction P|ℱ (Ch. 5, (98)) narrows the domain by a property, aligning along the projection.

                                                                                                                                              Equations
                                                                                                                                              Instances For
                                                                                                                                                theorem Cooper2023.nonempty_purify_iff {E : Type} (P : Restricted E) (x : E) :
                                                                                                                                                Nonempty (Purify P x) ↔ ∃ (c : P.restr x), Nonempty (P.body x c)
                                                                                                                                                theorem Cooper2023.nonempty_purifyUniv_iff {E : Type} (P : Restricted E) (x : E) :
                                                                                                                                                Nonempty (PurifyUniv P x) ↔ ∀ (c : P.restr x), Nonempty (P.body x c)
                                                                                                                                                theorem Cooper2023.Restricted.IsPure.nonempty_purify_iff_nonempty_purifyUniv {E : Type} {P : Restricted E} (h : P.IsPure) (x : E) :
                                                                                                                                                Nonempty (Purify P x) ↔ Nonempty (PurifyUniv P x)

                                                                                                                                                For a pure property the two purifications agree, so 𝔓 and 𝔓∀ differ only under a non-trivial restriction.

                                                                                                                                                Types of witness sets (§7.2.4) #

                                                                                                                                                A witness set of qʷ(P) is a subset of [↓P] whose cardinality stands in a relation to |[↓P]|, read on van Benthem's tree of numbers as Cooper reads determiners (p. 298).

                                                                                                                                                @[reducible, inline]

                                                                                                                                                The cardinality clause of a type of witness sets is a relation between |X| and |[↓P]|.

                                                                                                                                                Equations
                                                                                                                                                Instances For

                                                                                                                                                  existʷ (21) requires a singleton. Cooper notes the departure from [BC81], whose witness sets for a have at least one member.

                                                                                                                                                  Equations
                                                                                                                                                  Instances For

                                                                                                                                                    exist_plʷ (22), plural some, requires at least two.

                                                                                                                                                    Equations
                                                                                                                                                    Instances For

                                                                                                                                                      noʷ (23)–(24) requires the empty set.

                                                                                                                                                      Equations
                                                                                                                                                      Instances For

                                                                                                                                                        everyʷ (25)–(26) requires the whole extension.

                                                                                                                                                        Equations
                                                                                                                                                        Instances For

                                                                                                                                                          many_aʷ (30) requires at least θ, as does a_few_aʷ (34) at the threshold of few_aʷ.

                                                                                                                                                          Equations
                                                                                                                                                          Instances For

                                                                                                                                                            few_aʷ (32) requires at most θ.

                                                                                                                                                            Equations
                                                                                                                                                            Instances For

                                                                                                                                                              mostʷ (29), many_pʷ (31) and, at the threshold of few_pʷ, a_few_pʷ (35) require at least the proportion n / d of a nonempty extension, cross-multiplied.

                                                                                                                                                              Equations
                                                                                                                                                              Instances For

                                                                                                                                                                few_pʷ (33) requires at most the proportion n / d of a nonempty extension.

                                                                                                                                                                Equations
                                                                                                                                                                Instances For

                                                                                                                                                                  The complement witness sets of few_a (81b) hold all but at most θ of the extension.

                                                                                                                                                                  Equations
                                                                                                                                                                  Instances For

                                                                                                                                                                    The complement witness sets of few_p (82b) hold at least the proportion 1 - n / d of a nonempty extension.

                                                                                                                                                                    Equations
                                                                                                                                                                    Instances For
                                                                                                                                                                      theorem Cooper2023.CardRel.monotone_existPl (p : ℕ) :
                                                                                                                                                                      Monotone fun (x : ℕ) => existPl x p
                                                                                                                                                                      theorem Cooper2023.CardRel.monotone_atLeast (θ p : ℕ) :
                                                                                                                                                                      Monotone fun (x : ℕ) => atLeast θ x p
                                                                                                                                                                      theorem Cooper2023.CardRel.antitone_atMost (θ p : ℕ) :
                                                                                                                                                                      Antitone fun (x : ℕ) => atMost θ x p
                                                                                                                                                                      theorem Cooper2023.CardRel.monotone_propAtLeast (n d p : ℕ) :
                                                                                                                                                                      Monotone fun (x : ℕ) => propAtLeast n d x p
                                                                                                                                                                      theorem Cooper2023.CardRel.antitone_propAtMost (n d p : ℕ) :
                                                                                                                                                                      Antitone fun (x : ℕ) => propAtMost n d x p
                                                                                                                                                                      theorem Cooper2023.CardRel.monotone_compAtMost (θ p : ℕ) :
                                                                                                                                                                      Monotone fun (x : ℕ) => compAtMost θ x p
                                                                                                                                                                      theorem Cooper2023.CardRel.monotone_compPropAtMost (n d p : ℕ) :
                                                                                                                                                                      Monotone fun (x : ℕ) => compPropAtMost n d x p

                                                                                                                                                                      The complement witness sets of few_a (81b), read on the tree of numbers, are the inner negation of few_aʷ.

                                                                                                                                                                      The complement witness sets of few_p (82b), read on the tree of numbers, are the inner negation of few_pʷ.

                                                                                                                                                                      def Cooper2023.WitnessType {E : Type} [Fintype E] (P : E → Prop) [DecidablePred P] (c : CardRel) (X : Finset E) :

                                                                                                                                                                      The type qʷ(P) of witness sets (20)–(35) holds the subsets of the extension [↓P] whose cardinality stands in the relation c to the extension's.

                                                                                                                                                                      Equations
                                                                                                                                                                      Instances For
                                                                                                                                                                        theorem Cooper2023.witnessType_iff_witness {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {c : CardRel} {X : Finset E} :
                                                                                                                                                                        WitnessType P c X ↔ Quantifier.NP.Witness ((Quantifier.NumberTree.ofSizes c).toGQ P) P fun (x : E) => x ∈ X

                                                                                                                                                                        A witness set of qʷ(P) is a witness set over P, in the sense of [BC81] (20a), of the tree quantifier of qʷ's relation.

                                                                                                                                                                        theorem Cooper2023.everyW_iff_witness {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {X : Finset E} :
                                                                                                                                                                        theorem Cooper2023.noW_iff_witness {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {X : Finset E} :
                                                                                                                                                                        WitnessType P CardRel.no X ↔ Quantifier.NP.Witness (Quantifier.GQ.no P) P fun (x : E) => x ∈ X
                                                                                                                                                                        theorem Cooper2023.existW_iff_minimal_witness {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {X : Finset E} [DecidableEq E] :
                                                                                                                                                                        WitnessType P CardRel.exist X ↔ Minimal (fun (Y : Finset E) => Quantifier.NP.Witness (Quantifier.GQ.some P) P fun (x : E) => x ∈ Y) X

                                                                                                                                                                        Cooper's singleton witness sets for exist (21) are the minimal B&C witness sets of some P.

                                                                                                                                                                        theorem Cooper2023.WitnessType.compAtMost_sdiff {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {X : Finset E} [DecidableEq E] {θ : ℕ} (h : WitnessType P (CardRel.atMost θ) X) :
                                                                                                                                                                        WitnessType P (CardRel.compAtMost θ) ({x : E | P x} \ X)

                                                                                                                                                                        The complement in [↓P] of a witness set of few_aʷ(P) is a complement witness set (81b).

                                                                                                                                                                        Witness sets and probabilities (§7.3) #

                                                                                                                                                                        The probability (36) of a witness set within [↓P] is |X| / |[↓P]|, (51)–(52), so each probabilistic witness condition (41)–(58) is its cardinal one.

                                                                                                                                                                        theorem Cooper2023.uniformOn_of_subset {E : Type} [MeasurableSpace E] [MeasurableSingletonClass E] {X P : Finset E} (h : X ⊆ P) :
                                                                                                                                                                        (ProbabilityTheory.uniformOn ↑P) ↑X = ↑X.card / ↑P.card

                                                                                                                                                                        The probability of a witness set given the property is the proportion of the extension it takes, (51)–(52).

                                                                                                                                                                        theorem Cooper2023.uniformOn_eq_zero_iff_of_subset {E : Type} [MeasurableSpace E] [MeasurableSingletonClass E] {X P : Finset E} (h : X ⊆ P) :
                                                                                                                                                                        (ProbabilityTheory.uniformOn ↑P) ↑X = 0 ↔ X = ∅

                                                                                                                                                                        The probability is 0 exactly for the empty witness set (43).

                                                                                                                                                                        theorem Cooper2023.uniformOn_eq_inv_iff_of_subset {E : Type} [MeasurableSpace E] [MeasurableSingletonClass E] {X P : Finset E} (h : X ⊆ P) (hP : P.Nonempty) :
                                                                                                                                                                        (ProbabilityTheory.uniformOn ↑P) ↑X = (↑P.card)⁻¹ ↔ X.card = 1

                                                                                                                                                                        The probability is 1 / |[↓P]| exactly for a singleton witness set (41).

                                                                                                                                                                        theorem Cooper2023.uniformOn_eq_one_iff_of_subset {E : Type} [MeasurableSpace E] [MeasurableSingletonClass E] {X P : Finset E} (h : X ⊆ P) (hP : P.Nonempty) :
                                                                                                                                                                        (ProbabilityTheory.uniformOn ↑P) ↑X = 1 ↔ X = P

                                                                                                                                                                        The probability is 1 exactly for the whole extension (44).

                                                                                                                                                                        theorem Cooper2023.witnessType_propAtLeast_iff {E : Type} [MeasurableSpace E] [MeasurableSingletonClass E] {X : Finset E} [Fintype E] {P : E → Prop} [DecidablePred P] {n d : ℕ} (hd : 0 < d) (hX : X ⊆ {x : E | P x}) (hP : 0 < {x : E | P x}.card) :
                                                                                                                                                                        WitnessType P (CardRel.propAtLeast n d) X ↔ ↑n / ↑d ≤ (ProbabilityTheory.uniformOn ↑{x : E | P x}) ↑X

                                                                                                                                                                        The probabilistic witness condition for most (50) is the cardinal one (29).

                                                                                                                                                                        @[reducible, inline]

                                                                                                                                                                        An experience base (37) holds the judgements [sit = a, type = T] an agent remembers.

                                                                                                                                                                        Equations
                                                                                                                                                                        Instances For
                                                                                                                                                                          def Cooper2023.ExperienceBase.extension {E Ty : Type} [DecidableEq E] [DecidableEq Ty] (𝔍 : ExperienceBase E Ty) (T : Ty) :
                                                                                                                                                                          Finset E

                                                                                                                                                                          The extension of a type with respect to the experience base (38) holds the situations judged of it. The estimate p_𝔍(T₁ ‖ T₂) (39) is the uniform measure on the extension of T₂ at that of T₁, the extension of T₁ ∧ T₂ being the intersection (37b).

                                                                                                                                                                          Equations
                                                                                                                                                                          • 𝔍.extension T = Finset.image Prod.fst ({x ∈ 𝔍 | x.2 = T})
                                                                                                                                                                          Instances For

                                                                                                                                                                            Witness conditions for quantificational ptypes (§7.4) #

                                                                                                                                                                            The general conditions (59) are Barwise and Cooper's two procedures for monotone quantifiers (p. 298), so by their C11 each holds when the tree quantifier of qʷ does.

                                                                                                                                                                            structure Cooper2023.GeneralWCIncr {E : Type} [Fintype E] (P : E → Prop) [DecidablePred P] (c : CardRel) (Q : Ppty E) :

                                                                                                                                                                            The general witness condition for monotone increasing quantifiers (59a) provides a witness set and a function from its members into the scope.

                                                                                                                                                                            • X : Finset E
                                                                                                                                                                            • witness : WitnessType P c self.X
                                                                                                                                                                            • f (a : E) : a ∈ self.X → Q a
                                                                                                                                                                            Instances For
                                                                                                                                                                              structure Cooper2023.GeneralWCDecr {E : Type} [Fintype E] (P : E → Prop) [DecidablePred P] (c : CardRel) (Q : Ppty E) :

                                                                                                                                                                              The general witness condition for monotone decreasing quantifiers (59b) provides a witness set and a function into it from the objects with both properties.

                                                                                                                                                                              Instances For
                                                                                                                                                                                @[reducible, inline]
                                                                                                                                                                                abbrev Cooper2023.ParticularWCNeg {E : Type} [Fintype E] (P : E → Prop) [DecidablePred P] (c : CardRel) (Q : Ppty E) :

                                                                                                                                                                                The particular witness conditions for no over everyʷ(P) (70) and for few over its complement witness sets (85)–(86) provide a witness set of qʷ(P) whose members each preclude the scope, the negated type (69) being a function into Empty.

                                                                                                                                                                                Equations
                                                                                                                                                                                Instances For
                                                                                                                                                                                  def Cooper2023.GeneralWCIncr.mapScope {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {c : CardRel} {Q Q' : Ppty E} (g : (a : E) → Q a → Q' a) (w : GeneralWCIncr P c Q) :

                                                                                                                                                                                  A witness for a scope is one for any larger scope, so (59a) is increasing in the scope.

                                                                                                                                                                                  Equations
                                                                                                                                                                                  Instances For
                                                                                                                                                                                    def Cooper2023.GeneralWCDecr.comapScope {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {c : CardRel} {Q Q' : Ppty E} (g : (a : E) → Q' a → Q a) (w : GeneralWCDecr P c Q) :

                                                                                                                                                                                    A witness for a scope is one for any smaller scope, so (59b) is decreasing in the scope.

                                                                                                                                                                                    Equations
                                                                                                                                                                                    Instances For
                                                                                                                                                                                      theorem Cooper2023.nonempty_generalWCIncr_iff_toGQ {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {c : CardRel} {Q : Ppty E} (hc : ∀ (p : ℕ), Monotone fun (x : ℕ) => c x p) :

                                                                                                                                                                                      For a relation closed upwards in |X|, (59a) is witnessed exactly when the tree quantifier holds of P and Q, by Barwise and Cooper's C11(i).

                                                                                                                                                                                      theorem Cooper2023.nonempty_generalWCDecr_iff_toGQ {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {c : CardRel} {Q : Ppty E} (hc : ∀ (p : ℕ), Antitone fun (x : ℕ) => c x p) :

                                                                                                                                                                                      For a relation closed downwards in |X|, (59b) is witnessed exactly when the tree quantifier holds of P and Q, by C11(ii).

                                                                                                                                                                                      theorem Cooper2023.GeneralWCIncr.X_subset {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {c : CardRel} {Q : Ppty E} (w : GeneralWCIncr P c Q) :
                                                                                                                                                                                      w.X ⊆ {x : E | P x ∧ Q.Witnessed x}
                                                                                                                                                                                      theorem Cooper2023.ParticularWCNeg.X_subset {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {c : CardRel} {Q : Ppty E} (w : ParticularWCNeg P c Q) :
                                                                                                                                                                                      w.X ⊆ {x : E | P x ∧ ¬Q.Witnessed x}
                                                                                                                                                                                      theorem Cooper2023.GeneralWCDecr.subset_X {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {c : CardRel} {Q : Ppty E} (w : GeneralWCDecr P c Q) :
                                                                                                                                                                                      {x : E | P x ∧ Q.Witnessed x} ⊆ w.X
                                                                                                                                                                                      theorem Cooper2023.GeneralWCDecr.exists_X_eq {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {c : CardRel} {Q : Ppty E} (hc : ∀ (p : ℕ), Antitone fun (x : ℕ) => c x p) (w : GeneralWCDecr P c Q) :
                                                                                                                                                                                      ∃ (w' : GeneralWCDecr P c Q), w'.X = {x : E | P x ∧ Q.Witnessed x}

                                                                                                                                                                                      Under (59b) with a relation closed downwards, a witness can be traded for one whose witness set is exactly the objects with both properties, which is the sense in which the general condition for few makes REFSET anaphora available (p. 315).

                                                                                                                                                                                      theorem Cooper2023.nonempty_generalWCIncr_every_iff {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {Q : Ppty E} :

                                                                                                                                                                                      everyʷ is not closed upwards, but a witness set within [↓P] of its cardinality is all of it, which gives the truth condition of (72).

                                                                                                                                                                                      theorem Cooper2023.nonempty_generalWCIncr_exist_iff {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {Q : Ppty E} [DecidableEq E] :

                                                                                                                                                                                      A singleton set of an object with P all of whose members have Q exists just in case an object has both (62), so the truth condition of (60) is some.

                                                                                                                                                                                      theorem Cooper2023.nonempty_generalWCIncr_atLeast_iff {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {Q : Ppty E} {θ : ℕ} :

                                                                                                                                                                                      many_a (77) and a_few_a (89) are the counting quantifier at least θ.

                                                                                                                                                                                      theorem Cooper2023.nonempty_generalWCDecr_atMost_iff {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {Q : Ppty E} {θ : ℕ} :

                                                                                                                                                                                      few_a (79) is at most θ.

                                                                                                                                                                                      theorem Cooper2023.nonempty_generalWCIncr_propAtLeast_iff {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {Q : Ppty E} {n d : ℕ} :
                                                                                                                                                                                      Nonempty (GeneralWCIncr P (CardRel.propAtLeast n d) Q) ↔ 0 < {x : E | P x}.ncard ∧ (Quantifier.NumberTree.threshold n d).toGQ P Q.Witnessed

                                                                                                                                                                                      most (74), many_p (78) and a_few_p (90) are the proportional threshold quantifier over a nonempty restrictor.

                                                                                                                                                                                      theorem Cooper2023.few_and_aFew_iff {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {Q : Ppty E} {θ : ℕ} :
                                                                                                                                                                                      Nonempty (GeneralWCDecr P (CardRel.atMost θ) Q) ∧ Nonempty (GeneralWCIncr P (CardRel.atLeast θ) Q) ↔ Quantifier.GQ.exactly θ P Q.Witnessed

                                                                                                                                                                                      With the threshold few and a few share (34), few_a and a_few_a together are exactly θ.

                                                                                                                                                                                      theorem Cooper2023.nonempty_particularWCNeg_iff_toGQ {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {c : CardRel} {Q : Ppty E} (hc : ∀ (p : ℕ), Monotone fun (x : ℕ) => c x p) :
                                                                                                                                                                                      theorem Cooper2023.nonempty_particularWCNeg_compAtMost_iff {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {Q : Ppty E} {θ : ℕ} :
                                                                                                                                                                                      Nonempty (ParticularWCNeg P (CardRel.compAtMost θ) Q) ↔ Nonempty (GeneralWCDecr P (CardRel.atMost θ) Q)

                                                                                                                                                                                      The particular condition for few_a (85) is witnessed iff the general one (79) is, its complement witness sets being the inner negation of few_aʷ.

                                                                                                                                                                                      theorem Cooper2023.nonempty_particularWCNeg_compPropAtMost_iff {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {Q : Ppty E} {n d : ℕ} :
                                                                                                                                                                                      Nonempty (ParticularWCNeg P (CardRel.compPropAtMost n d) Q) ↔ Nonempty (GeneralWCDecr P (CardRel.propAtMost n d) Q)

                                                                                                                                                                                      The particular condition for few_p (86) is witnessed iff the general one (80) is.

                                                                                                                                                                                      theorem Cooper2023.nonempty_particularWCNeg_every_iff {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {Q : Ppty E} :
                                                                                                                                                                                      Nonempty (ParticularWCNeg P CardRel.every Q) ↔ Nonempty (ParticularWCNo (fun (a : E) => PLift (P a)) Q)

                                                                                                                                                                                      The set-based no, the witness set of every object with P each precluding Q, is witnessed iff the particular condition (70) is.

                                                                                                                                                                                      def Cooper2023.ParticularWCExist.toGeneralWCIncr {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {Q : Ppty E} [DecidableEq E] {R : Ppty E} (w : ParticularWCExist R Q) (h : ∀ (a : E) (a_1 : R a), P a) :

                                                                                                                                                                                      The particular condition for exist (63) gives the general one (60), with the singleton of its individual.

                                                                                                                                                                                      Equations
                                                                                                                                                                                      Instances For
                                                                                                                                                                                        def Cooper2023.ParticularWCNo.toGeneralWCDecr {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {Q R : Ppty E} (w : ParticularWCNo R Q) (h : (a : E) → P a → R a) :

                                                                                                                                                                                        The particular condition for no (70) gives the general one (67), with the empty witness set.

                                                                                                                                                                                        Equations
                                                                                                                                                                                        Instances For

                                                                                                                                                                                          Anaphora sets (§7.4.1) #

                                                                                                                                                                                          REFSET, MAXSET and COMPSET ([MS87], p. 313) are read off the sets the witnesses carry, MAXSET being the content's restr path.

                                                                                                                                                                                          REFSET, MAXSET and COMPSET are the anaphora sets a quantified noun phrase can make available.

                                                                                                                                                                                          • refset : AnaphoraRef

                                                                                                                                                                                            REFSET is the witness individual or set, as in A dog barked. It heard an intruder. (103d).

                                                                                                                                                                                          • maxset : AnaphoraRef

                                                                                                                                                                                            MAXSET is the full extension, as in A dog barked. They do when they notice an intruder. (103a).

                                                                                                                                                                                          • compset : AnaphoraRef

                                                                                                                                                                                            COMPSET is the complement witness set, as in Few dogs barked. They did not hear the intruder. (113d).

                                                                                                                                                                                          Instances For
                                                                                                                                                                                            @[instance_reducible]
                                                                                                                                                                                            Equations
                                                                                                                                                                                            Equations
                                                                                                                                                                                            • One or more equations did not get rendered due to their size.
                                                                                                                                                                                            Instances For
                                                                                                                                                                                              noncomputable def Cooper2023.AnaphoraRef.set {E : Type} [Fintype E] (P : E → Prop) [DecidablePred P] (Q : Ppty E) :
                                                                                                                                                                                              AnaphoraRef → Finset E

                                                                                                                                                                                              ref.set P Q is the set each anaphora-set kind names over the properties P and Q.

                                                                                                                                                                                              Equations
                                                                                                                                                                                              Instances For
                                                                                                                                                                                                theorem Cooper2023.AnaphoraRef.disjoint_set_refset_compset {E : Type} [Fintype E] (P : E → Prop) [DecidablePred P] (Q : Ppty E) :
                                                                                                                                                                                                Disjoint (set P Q refset) (set P Q compset)

                                                                                                                                                                                                REFSET and COMPSET are disjoint, so a nonempty witness set within the one is not within the other, and no witness of (59a) supplies COMPSET, as (76) and (92) show for most and a few.

                                                                                                                                                                                                The witness conditions of §7.4 are told apart by the paths their witnesses provide.

                                                                                                                                                                                                • generalIncr : WitnessCondition

                                                                                                                                                                                                  The general condition (59a) provides a witness set and a function from it into the scope.

                                                                                                                                                                                                • generalDecr : WitnessCondition

                                                                                                                                                                                                  The general condition (59b) provides a witness set and a function into it from the objects with both properties.

                                                                                                                                                                                                • particularExist : WitnessCondition

                                                                                                                                                                                                  The particular condition for exist (63) provides an individual with both properties.

                                                                                                                                                                                                • particularNo : WitnessCondition

                                                                                                                                                                                                  The particular condition for no (70) provides the set of all objects with the first property, each precluding the scope.

                                                                                                                                                                                                • particularFewComp : WitnessCondition

                                                                                                                                                                                                  The particular conditions for few (85)–(86) provide a complement witness set, each member precluding the scope.

                                                                                                                                                                                                Instances For
                                                                                                                                                                                                  @[instance_reducible]
                                                                                                                                                                                                  Equations
                                                                                                                                                                                                  Equations
                                                                                                                                                                                                  • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                  Instances For
                                                                                                                                                                                                    def Cooper2023.WitnessCondition.set {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {c : CardRel} {Q : Ppty E} (wc : WitnessCondition) :
                                                                                                                                                                                                    Witness P c Q wc → Finset E

                                                                                                                                                                                                    A witness carries its witness set, or the singleton of its individual.

                                                                                                                                                                                                    Equations
                                                                                                                                                                                                    Instances For
                                                                                                                                                                                                      theorem Cooper2023.WitnessCondition.exists_set_subset {E : Type} [Fintype E] {P : E → Prop} [DecidablePred P] {c : CardRel} {Q : Ppty E} (wc : WitnessCondition) (hc : wc = generalDecr → ∀ (p : ℕ), Antitone fun (x : ℕ) => c x p) (w : Witness P c Q wc) :
                                                                                                                                                                                                      ∃ (w' : Witness P c Q wc), wc.set w' ⊆ AnaphoraRef.set P Q wc.anaphora

                                                                                                                                                                                                      Every witnessed condition has a witness whose set lies in the condition's anaphora set, for (59b) under a relation closed downwards, so the anaphora set is read off the witnesses.

                                                                                                                                                                                                      The English fragment names eight quantifier relations.

                                                                                                                                                                                                      Instances For
                                                                                                                                                                                                        @[instance_reducible]
                                                                                                                                                                                                        Equations
                                                                                                                                                                                                        def Cooper2023.instReprQuantName.repr :
                                                                                                                                                                                                        QuantName → ℕ → Std.Format
                                                                                                                                                                                                        Equations
                                                                                                                                                                                                        Instances For

                                                                                                                                                                                                          A quantified noun phrase makes available MAXSET, from the content's restr field, and the set of each of its witness conditions.

                                                                                                                                                                                                          Equations
                                                                                                                                                                                                          Instances For

                                                                                                                                                                                                            The dogs fragment #

                                                                                                                                                                                                            Three dogs, two of them barking, witness a dog barks (63), most dogs bark (74) and few dogs barked (87), and refute no dog barks.

                                                                                                                                                                                                            Instances For
                                                                                                                                                                                                              @[instance_reducible]
                                                                                                                                                                                                              Equations
                                                                                                                                                                                                              @[instance_reducible]
                                                                                                                                                                                                              Equations
                                                                                                                                                                                                              def Cooper2023.Dogs.instReprInd.repr :
                                                                                                                                                                                                              Ind → ℕ → Std.Format
                                                                                                                                                                                                              Equations
                                                                                                                                                                                                              Instances For
                                                                                                                                                                                                                @[instance_reducible]
                                                                                                                                                                                                                Equations
                                                                                                                                                                                                                @[instance_reducible]
                                                                                                                                                                                                                Equations
                                                                                                                                                                                                                @[instance_reducible]
                                                                                                                                                                                                                Equations

                                                                                                                                                                                                                The property dog' (61a) lifts being a dog to a type.

                                                                                                                                                                                                                Equations
                                                                                                                                                                                                                Instances For

                                                                                                                                                                                                                  The property bark' (61b) lifts barking to a type.

                                                                                                                                                                                                                  Equations
                                                                                                                                                                                                                  Instances For

                                                                                                                                                                                                                    A dog barks (63) is witnessed by Fido.

                                                                                                                                                                                                                    Equations
                                                                                                                                                                                                                    Instances For

                                                                                                                                                                                                                      No dog barks with the witness set of every dog, whose members they picks up in (71), is false as well.

                                                                                                                                                                                                                      Most dogs bark (74) is witnessed by the set of Fido and Spot, two of the three dogs, each barking, which they picks up in (75). The threshold 3 / 5 lies in the range .5 < θ_most(P) < 1 of the book's appendix type list.

                                                                                                                                                                                                                      Equations
                                                                                                                                                                                                                      • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                      Instances For
                                                                                                                                                                                                                        theorem Cooper2023.Dogs.mostDogsBark_uniformOn :
                                                                                                                                                                                                                        3 / 5 ≤ (ProbabilityTheory.uniformOn ↑{x : Ind | IsDog x}) ↑mostDogsBark.X

                                                                                                                                                                                                                        By its probability (50), the same witness set holds at least three fifths of the dogs.

                                                                                                                                                                                                                        Few dogs barked. They didn't hear the intruder (87) is witnessed under the particular condition for few_p (86), with θ_fewp = 2 / 3, by the complement witness set of Rex, who does not bark.

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

                                                                                                                                                                                                                          Under the general condition (80) the same content says that at most two thirds of the dogs bark.

                                                                                                                                                                                                                          Instances For
                                                                                                                                                                                                                            @[instance_reducible]
                                                                                                                                                                                                                            Equations
                                                                                                                                                                                                                            @[instance_reducible]
                                                                                                                                                                                                                            Equations
                                                                                                                                                                                                                            def Cooper2023.Dogs.instReprTy.repr :
                                                                                                                                                                                                                            Ty → ℕ → Std.Format
                                                                                                                                                                                                                            Equations
                                                                                                                                                                                                                            Instances For

                                                                                                                                                                                                                              An experience base of three dogs, two of which were judged to bark.

                                                                                                                                                                                                                              Equations
                                                                                                                                                                                                                              • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                              Instances For
                                                                                                                                                                                                                                theorem Cooper2023.Dogs.bark_given_dog :
                                                                                                                                                                                                                                (ProbabilityTheory.uniformOn ↑(experience.extension Ty.dog)) ↑(experience.extension Ty.bark) = 2 / 3

                                                                                                                                                                                                                                The estimate p_𝔍(bark ‖ dog) (39) is two thirds.

                                                                                                                                                                                                                                Type-based underspecification (Ch. 8) #

                                                                                                                                                                                                                                Storage and retrieval give scope ambiguity (17)–(19), locality marking constrains anaphoric combination (28)–(88), and localisation with purification gives the donkey readings (49)–(66).

                                                                                                                                                                                                                                Parametric contents and their context types (§8.2–8.3) #

                                                                                                                                                                                                                                structure Cooper2023.CntxtType (E : Type) :

                                                                                                                                                                                                                                A context type (§4.3, (16); §8.2, (10); §8.3, (82)) says what a content requires of the context, namely the quantifiers in the store 𝔮 (11) under their labels and the labels of pronouns, 𝔰, among them those marked local, 𝔩, and reflexive, 𝔯.

                                                                                                                                                                                                                                • store : ℕ → Option ((ℕ → E) → Quant E)
                                                                                                                                                                                                                                • pronouns : Finset ℕ
                                                                                                                                                                                                                                • locals : Finset ℕ
                                                                                                                                                                                                                                • reflexives : Finset ℕ
                                                                                                                                                                                                                                Instances For
                                                                                                                                                                                                                                  @[instance_reducible]
                                                                                                                                                                                                                                  instance Cooper2023.CntxtType.instEmptyCollection {E : Type} :
                                                                                                                                                                                                                                  EmptyCollection (CntxtType E)

                                                                                                                                                                                                                                  The empty context type requires nothing.

                                                                                                                                                                                                                                  Equations

                                                                                                                                                                                                                                  The merge ∧̣ of two context types joins their fields, the first's store taking precedence.

                                                                                                                                                                                                                                  Equations
                                                                                                                                                                                                                                  Instances For
                                                                                                                                                                                                                                    def Cooper2023.CntxtType.erase {E : Type} (T : CntxtType E) (i : ℕ) :

                                                                                                                                                                                                                                    T ⊖ xᵢ (18) removes the label from the store and the pronouns, with the markings that depend on it (19).

                                                                                                                                                                                                                                    Equations
                                                                                                                                                                                                                                    Instances For
                                                                                                                                                                                                                                      structure Cooper2023.Content (E : Type) (C : Type u_1) :
                                                                                                                                                                                                                                      Type (max 1 u_1)

                                                                                                                                                                                                                                      A parametric content (14) over the contexts of Ch. 8, which assign individuals to labels, pairs a background context type with a foreground giving a content for each assignment.

                                                                                                                                                                                                                                      Instances For
                                                                                                                                                                                                                                        def Cooper2023.Content.app {E : Type} {C : Type u_1} {D : Type u_2} (α : Content E (C → D)) (β : Content E C) :

                                                                                                                                                                                                                                        Application α @ β applies a functor content to an argument, merging the backgrounds.

                                                                                                                                                                                                                                        Equations
                                                                                                                                                                                                                                        Instances For
                                                                                                                                                                                                                                          def Cooper2023.Content.given {E : Type} {C : Type u_1} (α : Content E C) (i : ℕ) (a : E) :

                                                                                                                                                                                                                                          α.given i a is the content given the value a for the label i, the context specification c[𝔰.xᵢ = a] behind retrieval (19), reflexivisation (84) and the alignment of a pronoun with its antecedent (42)–(44).

                                                                                                                                                                                                                                          Equations
                                                                                                                                                                                                                                          • α.given i a = { bg := α.bg.erase i, fg := fun (g : ℕ → E) => α.fg (Function.update g i a) }
                                                                                                                                                                                                                                          Instances For
                                                                                                                                                                                                                                            def Cooper2023.Content.IsPlugged {E : Type} {C : Type u_1} (α : Content E C) :

                                                                                                                                                                                                                                            A content is plugged (16) when it requires nothing in the store.

                                                                                                                                                                                                                                            Equations
                                                                                                                                                                                                                                            Instances For
                                                                                                                                                                                                                                              def Cooper2023.Content.store {E : Type} (i : ℕ) (𝒬 : Content E (Quant E)) :

                                                                                                                                                                                                                                              Storage (17) puts the quantifier into the store under i, and the content of the label's value takes its place.

                                                                                                                                                                                                                                              Equations
                                                                                                                                                                                                                                              • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                                              Instances For
                                                                                                                                                                                                                                                def Cooper2023.Content.pronoun {E : Type} (i : ℕ) :

                                                                                                                                                                                                                                                A pronoun (75) has the content of its label's value, marked local.

                                                                                                                                                                                                                                                Equations
                                                                                                                                                                                                                                                Instances For
                                                                                                                                                                                                                                                  def Cooper2023.Content.reflexive {E : Type} (i : ℕ) :

                                                                                                                                                                                                                                                  A reflexive (83) has the content of its label's value, marked reflexive.

                                                                                                                                                                                                                                                  Equations
                                                                                                                                                                                                                                                  Instances For
                                                                                                                                                                                                                                                    def Cooper2023.Content.retrieve {E : Type} (i : ℕ) (α : Content E Type) :

                                                                                                                                                                                                                                                    Retrieval (19) gives the quantifier stored under i scope over the content as a property of the label's value, and removes it from the store; with nothing stored there the content is unchanged. The purification that (19) applies to the property is the identity here, the foreground being total in the assignment.

                                                                                                                                                                                                                                                    Equations
                                                                                                                                                                                                                                                    Instances For
                                                                                                                                                                                                                                                      def Cooper2023.Content.relabel {E : Type} {C : Type u_1} (α : Content E C) (j i : ℕ) :

                                                                                                                                                                                                                                                      The relabelling [α]𝔰.xⱼ ⇝ 𝔰.xᵢ reads the label j as i, and drops j from the background.

                                                                                                                                                                                                                                                      Equations
                                                                                                                                                                                                                                                      • α.relabel j i = { bg := α.bg.erase j, fg := fun (g : ℕ → E) => α.fg (Function.update g j (g i)) }
                                                                                                                                                                                                                                                      Instances For
                                                                                                                                                                                                                                                        def Cooper2023.Content.AnaphoricDefined {E : Type} {C : Type u_1} {D : Type u_2} (α : Content E (C → D)) (i j : ℕ) (β : Content E C) :

                                                                                                                                                                                                                                                        Anaphoric combination α @ᵢ,ⱼ β (28), (76) is defined when the functor requires the label i and the argument requires j as a pronoun that is neither a stored quantifier's nor marked local.

                                                                                                                                                                                                                                                        Equations
                                                                                                                                                                                                                                                        Instances For
                                                                                                                                                                                                                                                          @[instance_reducible]
                                                                                                                                                                                                                                                          instance Cooper2023.Content.instDecidableAnaphoricDefined {E : Type} {C : Type u_1} {D : Type u_2} (α : Content E (C → D)) (i j : ℕ) (β : Content E C) :
                                                                                                                                                                                                                                                          Decidable (α.AnaphoricDefined i j β)
                                                                                                                                                                                                                                                          Equations
                                                                                                                                                                                                                                                          def Cooper2023.Content.anaphoricApp {E : Type} {C : Type u_1} {D : Type u_2} (α : Content E (C → D)) (i j : ℕ) (β : Content E C) :

                                                                                                                                                                                                                                                          Anaphoric combination α @ᵢ,ⱼ β (28) is the application with j relabelled to i.

                                                                                                                                                                                                                                                          Equations
                                                                                                                                                                                                                                                          Instances For
                                                                                                                                                                                                                                                            def Cooper2023.Content.boundary {E : Type} {C : Type u_1} (α : Content E C) :

                                                                                                                                                                                                                                                            The boundary operation B (77) clears the local marking at the sentence.

                                                                                                                                                                                                                                                            Equations
                                                                                                                                                                                                                                                            Instances For
                                                                                                                                                                                                                                                              def Cooper2023.Content.reflexivize {E : Type} (P : Content E (Ppty E)) (i : ℕ) :

                                                                                                                                                                                                                                                              Reflexivisation ℜ (84) binds the reflexive i to the property's argument, discharging its label and clearing all reflexive marking.

                                                                                                                                                                                                                                                              Equations
                                                                                                                                                                                                                                                              • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                                                              Instances For
                                                                                                                                                                                                                                                                def Cooper2023.Content.IsAnaphorFree {E : Type} {C : Type u_1} (α : Content E C) :

                                                                                                                                                                                                                                                                Principle A (85) excludes at the verb phrase (88) a content with a reflexive still marked.

                                                                                                                                                                                                                                                                Equations
                                                                                                                                                                                                                                                                Instances For
                                                                                                                                                                                                                                                                  @[instance_reducible]
                                                                                                                                                                                                                                                                  instance Cooper2023.Content.instDecidableIsAnaphorFree {E : Type} {C : Type u_1} (α : Content E C) :
                                                                                                                                                                                                                                                                  Decidable α.IsAnaphorFree
                                                                                                                                                                                                                                                                  Equations

                                                                                                                                                                                                                                                                  Every boy hugged a dog (§8.1, (1)) #

                                                                                                                                                                                                                                                                  With each boy hugging a different dog, the surface reading (1a) is witnessed and the inverse reading (1b) is not.

                                                                                                                                                                                                                                                                  Instances For
                                                                                                                                                                                                                                                                    @[instance_reducible]
                                                                                                                                                                                                                                                                    Equations

                                                                                                                                                                                                                                                                    hugged is a transitive verb over its object quantifier (Ch. 6, (63)).

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

                                                                                                                                                                                                                                                                      Reading (1b) stores the object quantifier (17) and retrieves it (19) over the sentence.

                                                                                                                                                                                                                                                                      Equations
                                                                                                                                                                                                                                                                      Instances For
                                                                                                                                                                                                                                                                        theorem Cooper2023.Hugging.inverse_fg (g : ℕ → Ind) :
                                                                                                                                                                                                                                                                        inverse.fg g = SemIndefArt Dog fun (y : Ind) => SemUniversal Boy fun (x : Ind) => Hug x y

                                                                                                                                                                                                                                                                        (1b) is the indefinite over the universal.

                                                                                                                                                                                                                                                                        Reading (1a) is witnessed, every boy having hugged a dog.

                                                                                                                                                                                                                                                                        Equations
                                                                                                                                                                                                                                                                        Instances For
                                                                                                                                                                                                                                                                          theorem Cooper2023.Hugging.inverse_isEmpty (g : ℕ → Ind) :
                                                                                                                                                                                                                                                                          IsEmpty (inverse.fg g)

                                                                                                                                                                                                                                                                          Reading (1b) is not, no dog having been hugged by every boy.

                                                                                                                                                                                                                                                                          Localisation and donkey anaphora (§8.3) #

                                                                                                                                                                                                                                                                          Localisation ℒ (49) folds the assignment a content requires into the property's domain under the label 𝔠, giving a restricted property.

                                                                                                                                                                                                                                                                          Equations
                                                                                                                                                                                                                                                                          Instances For

                                                                                                                                                                                                                                                                            No dog which chases a cat catches it (46a) #

                                                                                                                                                                                                                                                                            Under the particular condition for no, (55) says that no dog which chases a cat catches the cat it chases.

                                                                                                                                                                                                                                                                            Instances For
                                                                                                                                                                                                                                                                              @[instance_reducible]
                                                                                                                                                                                                                                                                              Equations

                                                                                                                                                                                                                                                                              catches is a transitive verb over its object quantifier (Ch. 6, (63)).

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

                                                                                                                                                                                                                                                                                In catches it (47) the context supplies the referent of the pronoun's label.

                                                                                                                                                                                                                                                                                Equations
                                                                                                                                                                                                                                                                                Instances For

                                                                                                                                                                                                                                                                                  The restrictor dog which chases a cat, as the domain of (50), holds a dog with a cat it chases.

                                                                                                                                                                                                                                                                                  Equations
                                                                                                                                                                                                                                                                                  Instances For

                                                                                                                                                                                                                                                                                    The scope (51) is catches it localised, restricted by the restrictor and aligned so that the pronoun's label is the chased cat.

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

                                                                                                                                                                                                                                                                                      The sentence (55) is no(restr, scope) with the scope purified.

                                                                                                                                                                                                                                                                                      Equations
                                                                                                                                                                                                                                                                                      Instances For
                                                                                                                                                                                                                                                                                        def Cooper2023.Chasing.noCatching :
                                                                                                                                                                                                                                                                                        Sentence fun (x x_1 : Ind) => Empty

                                                                                                                                                                                                                                                                                        The sentence is true when no dog catches anything.

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

                                                                                                                                                                                                                                                                                          The sentence is false when every dog catches the cat it chases.

                                                                                                                                                                                                                                                                                          Every farmer who owns a donkey likes it (58)–(66) #

                                                                                                                                                                                                                                                                                          𝔓 gives the weak reading and 𝔓∀ the strong one of [Kan94], separated by a farmer who owns two donkeys and likes one.

                                                                                                                                                                                                                                                                                          • farmer₁ : Ind
                                                                                                                                                                                                                                                                                          • farmer₂ : Ind
                                                                                                                                                                                                                                                                                          • donkey₁ : Ind
                                                                                                                                                                                                                                                                                          • donkey₂ : Ind
                                                                                                                                                                                                                                                                                          Instances For
                                                                                                                                                                                                                                                                                            @[instance_reducible]
                                                                                                                                                                                                                                                                                            Equations

                                                                                                                                                                                                                                                                                            farmer who owns a donkey holds a farmer with a donkey she owns.

                                                                                                                                                                                                                                                                                            Equations
                                                                                                                                                                                                                                                                                            Instances For

                                                                                                                                                                                                                                                                                              likes is a transitive verb over its object quantifier (Ch. 6, (63)).

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

                                                                                                                                                                                                                                                                                                likes it (61) is localised (62)–(63), restricted (64) and aligned (65), the pronoun's label being the owned donkey.

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

                                                                                                                                                                                                                                                                                                  The weak reading (59) holds, every farmer who owns a donkey liking some donkey she owns.

                                                                                                                                                                                                                                                                                                  Equations
                                                                                                                                                                                                                                                                                                  Instances For

                                                                                                                                                                                                                                                                                                    The strong reading (60), (66) fails, since the first farmer does not like the second donkey.

                                                                                                                                                                                                                                                                                                    Pronouns, locality and reflexives (30)–(36), (67)–(88) #

                                                                                                                                                                                                                                                                                                    A stored no girl binds she past the embedded boundary, the local him of Sam likes him cannot combine with Sam (Principle B), and himself is bound by reflexivisation.

                                                                                                                                                                                                                                                                                                    Instances For
                                                                                                                                                                                                                                                                                                      @[instance_reducible]
                                                                                                                                                                                                                                                                                                      Equations
                                                                                                                                                                                                                                                                                                        Instances For
                                                                                                                                                                                                                                                                                                          inductive Cooper2023.Binding.Like :
                                                                                                                                                                                                                                                                                                          Ind → Ind → Type
                                                                                                                                                                                                                                                                                                          Instances For
                                                                                                                                                                                                                                                                                                            structure Cooper2023.Binding.Think (x : Ind) (T : Type) :

                                                                                                                                                                                                                                                                                                            A witness of think(x, T) is a thought with the type's witness.

                                                                                                                                                                                                                                                                                                            • thought : T
                                                                                                                                                                                                                                                                                                            Instances For

                                                                                                                                                                                                                                                                                                              thinks takes a ptype of thinking.

                                                                                                                                                                                                                                                                                                              Equations
                                                                                                                                                                                                                                                                                                              Instances For

                                                                                                                                                                                                                                                                                                                likes is a transitive verb over its object quantifier (Ch. 6, (63)).

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

                                                                                                                                                                                                                                                                                                                  In thinks she failed (31) the embedded she failed is a sentence, so its pronoun is no longer local past the boundary.

                                                                                                                                                                                                                                                                                                                  Equations
                                                                                                                                                                                                                                                                                                                  Instances For

                                                                                                                                                                                                                                                                                                                    The stored subject (34) combines anaphorically with the pronoun, (35).

                                                                                                                                                                                                                                                                                                                    No girl thinks she failed (36), the stored no girl retrieved over the anaphoric combination, is no(girl', λx. think(x, fail(x))).

                                                                                                                                                                                                                                                                                                                    In likes him (69) the pronoun is marked local.

                                                                                                                                                                                                                                                                                                                    Equations
                                                                                                                                                                                                                                                                                                                    Instances For

                                                                                                                                                                                                                                                                                                                      Within the clause him cannot be related to the stored Sam (71), which is Principle B, (72)–(73).

                                                                                                                                                                                                                                                                                                                      theorem Cooper2023.Binding.likesHimself_fg (g : ℕ → Ind) (x : Ind) :
                                                                                                                                                                                                                                                                                                                      likesHimself.fg g x = Like x x

                                                                                                                                                                                                                                                                                                                      The reflexivised property is like(x, x) (68c).

                                                                                                                                                                                                                                                                                                                      Reflexivisation clears the marking for the verb phrase's filter (88).

                                                                                                                                                                                                                                                                                                                      Sam likes himself (73), the stored Sam retrieved, is witnessed by Sam's liking himself.

                                                                                                                                                                                                                                                                                                                      Equations
                                                                                                                                                                                                                                                                                                                      Instances For

                                                                                                                                                                                                                                                                                                                        A man walked. He whistled. (37)–(44) #

                                                                                                                                                                                                                                                                                                                        The pronoun's label is given the man of the previous utterance's witness (42)–(44).

                                                                                                                                                                                                                                                                                                                        Instances For
                                                                                                                                                                                                                                                                                                                          @[instance_reducible]
                                                                                                                                                                                                                                                                                                                          Equations

                                                                                                                                                                                                                                                                                                                          The content of a man walked (38) is the particular condition for exist.

                                                                                                                                                                                                                                                                                                                          Equations
                                                                                                                                                                                                                                                                                                                          Instances For

                                                                                                                                                                                                                                                                                                                            John walked.

                                                                                                                                                                                                                                                                                                                            Equations
                                                                                                                                                                                                                                                                                                                            Instances For

                                                                                                                                                                                                                                                                                                                              he whistled (39) requires the pronoun's label of the context.

                                                                                                                                                                                                                                                                                                                              Equations
                                                                                                                                                                                                                                                                                                                              Instances For
                                                                                                                                                                                                                                                                                                                                theorem Cooper2023.Whistling.heWhistled_given (w : AManWalked) (g : ℕ → Ind) :
                                                                                                                                                                                                                                                                                                                                (heWhistled.given 0 w.x).bg.pronouns = ∅ ∧ (heWhistled.given 0 w.x).fg g = Whistle w.x

                                                                                                                                                                                                                                                                                                                                Given the previous utterance's witness, the pronoun's label is no longer required and the content is that the man whistled, (42)–(44).

                                                                                                                                                                                                                                                                                                                                The book's examples #

                                                                                                                                                                                                                                                                                                                                The rows of Data/Examples/Cooper2023.json with a quantifier feature are the anaphora examples of §7.4, §7.4.1 and §8.3, each reading named by the anaphora set its pronoun picks up.

                                                                                                                                                                                                                                                                                                                                def Cooper2023.quantNames :
                                                                                                                                                                                                                                                                                                                                List (String × QuantName)

                                                                                                                                                                                                                                                                                                                                quantNames pairs each row's determiner with the quantifier relation it names.

                                                                                                                                                                                                                                                                                                                                Equations
                                                                                                                                                                                                                                                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                                                                                                                                Instances For
                                                                                                                                                                                                                                                                                                                                  def Cooper2023.anaphoraRefs :
                                                                                                                                                                                                                                                                                                                                  List (String × AnaphoraRef)

                                                                                                                                                                                                                                                                                                                                  anaphoraRefs pairs each reading's name with the anaphora set it names.

                                                                                                                                                                                                                                                                                                                                  Equations
                                                                                                                                                                                                                                                                                                                                  Instances For
                                                                                                                                                                                                                                                                                                                                    theorem Cooper2023.anaphora_rows (row : Datum) :
                                                                                                                                                                                                                                                                                                                                    row ∈ Examples.all → ∀ v ∈ row.feature? "quantifier", ∃ q ∈ List.lookup v quantNames, ∀ r ∈ row.readings, ∃ ref ∈ List.lookup r.1 anaphoraRefs, r.2 = Judgment.acceptable ↔ ref ∈ anaphoraAvailable q

                                                                                                                                                                                                                                                                                                                                    A reading of a pronoun with a quantified antecedent is acceptable exactly when a witness for the content provides a path to its anaphora set.