Documentation

Linglib.Semantics.Quantification.Basic

Concrete propositional generalized quantifiers #

This file defines the generalized quantifiers every, some, no and the Russellian the, whose truth conditions need no counting, and proves their conservativity, monotonicity, symmetry, duality and square-of-opposition properties. The properties checked are Barwise and Cooper's universals of conservativity and scope monotonicity, Keenan and Stavi's Boolean structure, and Peters and Westerståhl's left monotonicity and smoothness. The counting quantifiers such as most and few are in Quantification/Counting.lean.

Main definitions #

Main results #

References #

Denotations #

def Quantifier.GQ.every {α : Type u_1} :
GQ α

The universal determiner is λR λS. ∀x. R(x) → S(x).

Equations
Instances For
    def Quantifier.GQ.some {α : Type u_1} :
    GQ α

    The existential determiner is λR λS. ∃x. R(x) ∧ S(x).

    Equations
    Instances For
      def Quantifier.GQ.no {α : Type u_1} :
      GQ α

      The negative determiner is λR λS. ∀x. R(x) → ¬S(x).

      Equations
      Instances For
        def Quantifier.GQ.the {α : Type u_1} :
        GQ α

        The singular definite of [Rus05] in Montagovian form, λR λS. ∃x. ∀y. (R(y) ↔ y = x) ∧ S(x).

        Equations
        Instances For
          theorem Quantifier.GQ.the_iff {α : Type u_1} (R S : α → Prop) :
          the R S ↔ (∃! x : α, R x) ∧ ∀ (x : α), R x → S x

          The definite asserts a unique restrictor element and applies the scope to it.

          The order on predicates #

          theorem Quantifier.GQ.every_iff_le {α : Type u_1} {R S : α → Prop} :
          every R S ↔ R ≤ S

          Every is the pointwise order on predicates, the standard formulation R ⊆ S.

          theorem Quantifier.GQ.no_iff_le_compl {α : Type u_1} {R S : α → Prop} :
          no R S ↔ R ≤ Sᶜ

          No is inclusion in the complement.

          theorem Quantifier.GQ.no_iff_disjoint {α : Type u_1} {R S : α → Prop} :
          no R S ↔ Disjoint R S

          No is disjointness of restrictor and scope.

          @[instance_reducible]
          instance Quantifier.GQ.instDecidableEvery {α : Type u_1} [Fintype α] {R S : α → Prop} [DecidablePred R] [DecidablePred S] :
          Decidable (every R S)
          Equations
          @[instance_reducible]
          instance Quantifier.GQ.instDecidableSome {α : Type u_1} [Fintype α] {R S : α → Prop} [DecidablePred R] [DecidablePred S] :
          Decidable (GQ.some R S)
          Equations
          @[instance_reducible]
          instance Quantifier.GQ.instDecidableNo {α : Type u_1} [Fintype α] {R S : α → Prop} [DecidablePred R] [DecidablePred S] :
          Decidable (no R S)
          Equations

          A quantifier satisfies Barwise and Cooper's semantic universals when it is conservative and either monotone or antitone in its scope.

          Equations
          Instances For

            Infima and suprema #

            At a restrictor R, every R S is the infimum of the values the scope takes on R, GQ.some R S their supremum, and no R S the complement of their supremum, so the three determiners are conjunction, disjunction and negative coordination over the restrictor.

            theorem Quantifier.GQ.every_eq_sInf_image {α : Type u_1} (R S : α → Prop) :
            every R S = sInf (S '' {x : α | R x})
            theorem Quantifier.GQ.some_eq_sSup_image {α : Type u_1} (R S : α → Prop) :
            GQ.some R S = sSup (S '' {x : α | R x})
            theorem Quantifier.GQ.no_eq_compl_sSup_image {α : Type u_1} (R S : α → Prop) :
            no R S = (sSup (S '' {x : α | R x}))ᶜ

            Conservativity #

            Quantity invariance #

            every is quantity invariant, since a bijection preserves ∀.

            Scope monotonicity #

            On a nonempty domain some is not scope antitone, since some ⊤ ⊤ holds and some ⊤ ⊥ fails.

            On a nonempty domain every is not scope antitone, since every ⊤ ⊤ holds and every ⊤ ⊥ fails.

            theorem Quantifier.GQ.monotone_every {α : Type u_1} (R : α → Prop) :
            Monotone (every R)

            every R is a monotone quantifier.

            theorem Quantifier.GQ.monotone_some {α : Type u_1} (R : α → Prop) :
            Monotone (GQ.some R)

            some R is a monotone quantifier.

            theorem Quantifier.GQ.antitone_no {α : Type u_1} (R : α → Prop) :
            Antitone (no R)

            no R is an antitone quantifier.

            Symmetry (P&W Ch.6) #

            instance Quantifier.GQ.symm_some {α : Type u_1} :
            Std.Symm GQ.some
            instance Quantifier.GQ.symm_no {α : Type u_1} :
            Std.Symm no

            Intersectivity (CONSERV + SYMM bridge) #

            Left/right anti-additivity (P&W §5.8) #

            Duality square (B&C §4.11) #

            Inner negation maps every to no, since every ... not is no.

            The dual of every is some.

            The outer negation of some is no, since negating existence gives universal negation.

            Positive/negative strong (P&W Ch.6) #

            theorem Quantifier.GQ.no_negative_strong_nonempty {α : Type u_1} (R : α → Prop) (hR : ∃ (x : α), R x) :
            ¬no R R

            (no : GQ α) is negative strong on non-empty restrictors, no(A,A) being false for every non-empty A.

            K&S existential det classification (§3.3, G3) #

            Relational properties ([vB84]) #

            instance Quantifier.GQ.isTrans_every {α : Type u_1} :
            IsTrans (α → Prop) every
            instance Quantifier.GQ.antisymm_every {α : Type u_1} :
            Std.Antisymm every

            Double monotonicity classification ([vB84] §4.2) #

            (every : GQ α) is restrictor-↓ (anti-persistent), by Zwarts's bridge from reflexivity, transitivity and conservativity to ↓MON.

            Every is scope-intersective, and so filtrating.

            Aristotelian square of opposition #

            At a restrictor R, the denotations every R, no R, GQ.some R and everyᶜ R are the corners of a square in the Boolean algebra (α → Prop) → Prop. Outer negation is the Boolean complement, so the diagonals are contradictory at every restrictor. Contrariety, and with it the subalternations and subcontrariety, needs existential import: at an empty restrictor every and no both hold vacuously (a_e_contrary), and square_relations assumes a non-empty one.

            def Quantifier.GQ.square {α : Type u_1} (R : α → Prop) :

            At a restrictor R the four determiners form a square of opposition.

            Equations
            Instances For
              theorem Quantifier.GQ.every_contradicts_notEvery {α : Type u_1} (R S : α → Prop) :
              every R S ↔ ¬everyᶜ R S

              The A-form and the O-form are contradictories.

              theorem Quantifier.GQ.no_contradicts_some {α : Type u_1} (R S : α → Prop) :
              no R S ↔ ¬GQ.some R S

              The E-form and the I-form are contradictories.

              theorem Quantifier.GQ.a_e_contrary {α : Type u_1} (R S : α → Prop) :
              every R S → no R S → ∀ (x : α), ¬R x

              The A-form and the E-form both hold only when the restrictor is empty.

              theorem Quantifier.GQ.square_relations {α : Type u_1} {R : α → Prop} (hR : ∃ (x : α), R x) :

              With a non-empty restrictor the four determiners stand in all six relations of the square.

              theorem Quantifier.GQ.subalternation_a_i {α : Type u_1} (R S : α → Prop) (hR : ∃ (x : α), R x) :
              every R S → GQ.some R S

              The A-form entails the I-form when the restrictor is nonempty.

              Basic left monotonicities ([PW06] §5.5) #

              Smooth quantifiers ([PW06] §5.6) #

              (GQ.some : GQ α) is ↓_NE Mon (direct proof).

              (every : GQ α) is ↑_SE Mon (direct proof).

              Satisfies universals: B&C's CONS + MON ([BC81]; used as a #

              learnability/complexity target by [vdPLvM+23])