Documentation

Linglib.Semantics.Quantification.Basic

Concrete propositional generalized quantifiers #

[BC81] [KS86] [PW06]

The three propositional GQs every_sem, some_sem, no_sem and the property proofs that don't need Fintype. Counting GQs (most_sem, few_sem, etc.) and their proofs live in Quantification.Counting.

Main declarations #

Denotations #

def Quantification.every_sem {α : Type u_1} :
GQ α

⟦every⟧ = λR.λS. ∀x. R(x) → S(x).

Equations
Instances For
    def Quantification.some_sem {α : Type u_1} :
    GQ α

    ⟦some⟧ = λR.λS. ∃x. R(x) ∧ S(x).

    Equations
    Instances For
      def Quantification.no_sem {α : Type u_1} :
      GQ α

      ⟦no⟧ = λR.λS. ∀x. R(x) → ¬S(x).

      Equations
      Instances For

        B&C semantic universals ([BC81]): conservativity plus monotonicity in scope. Convenience conjunction of three Core predicates.

        Equations
        Instances For

          Bijection invariance #

          theorem Quantification.forall_bij_inv {α : Type u_1} (f : αα) (hBij : Function.Bijective f) (P : αProp) :
          (∀ (x : α), P x) ∀ (x : α), P (f x)

          ∀ x, P x is invariant under bijective substitution.

          theorem Quantification.exists_bij_inv {α : Type u_1} (f : αα) (hBij : Function.Bijective f) (P : αProp) :
          (∃ (x : α), P x) ∃ (x : α), P (f x)

          ∃ x, P x is invariant under bijective substitution.

          Conservativity #

          Scope monotonicity #

          Symmetry (P&W Ch.6) #

          Intersectivity (CONSERV + SYMM bridge) #

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

          [PW06] Prop 13: the only non-trivial CONSERV, EXT, and ISOM quantifiers satisfying LAA are every and no (and A = ∅).

          Duality square (B&C §4.11) #

          Inner negation maps every to no: every...not = no. ∀x. R(x) → ¬S(x) = ¬∃x. R(x) ∧ S(x).

          The dual of every is some: Q̌(every) = some.

          outerNeg ⟦some⟧ = ⟦no⟧: negating existence gives universal negation.

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

          theorem Quantification.no_negative_strong_nonempty {α : Type u_1} (R : αProp) (hR : ∃ (x : α), R x) :
          ¬no_sem R R

          ⟦no⟧ is negative strong on non-empty restrictors: no(A,A) = false for all non-empty A.

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

          Relational properties ([vB84]) #

          Double monotonicity classification ([vB84] §4.2) #

          ⟦every⟧ is restrictor-↓ (anti-persistent). Follows from Zwarts bridge: reflexive + transitive + CONSERV → ↓MON.

          Aristotelian square of opposition #

          The four Aristotelian relations among GQ denotations (every_sem, some_sem, no_sem, outerNeg every_sem) at a fixed restrictor R, where the corners are elements of the Pi-instance Boolean algebra (α → Prop) → Prop.

          The contradictory diagonals are placed on the Aristotelian hub by construction: since outerNeg = ᶜ (Defs.outerNeg), every quantifier is Aristotelian.IsContradictory to its outer negation — isContradictory_outerNeg, which is just isCompl_compl — and the A–O and E–I diagonals are instances. The pointwise -form theorems (every_contradicts_notEvery, no_contradicts_some) are the unfolded readings.

          Contrariety and subalternation are not hub relations: they hold only under existential import (non-empty restrictor) and are |R|-sensitive — at a singleton R, every/no are contradictory, not contrary — so the unconditional IsContrary/IsSubaltern do not apply. They stay as the conditional theorems (a_e_contrary, subalternation_a_i, …), the faithful Aristotelian-vs-Boolean existential-import treatment.

          theorem Quantification.every_contradicts_notEvery {α : Type u_1} (R S : αProp) :

          Contradiction (A vs O): the A-form and O-form are contradictories.

          theorem Quantification.no_contradicts_some {α : Type u_1} (R S : αProp) :
          no_sem R S ¬some_sem R S

          Contradiction (E vs I): the E-form and I-form are contradictories.

          theorem Quantification.a_e_contrary {α : Type u_1} (R S : αProp) :
          every_sem R Sno_sem R S∀ (x : α), ¬R x

          Contrariety (A ∧ E): the A-form and E-form can't both hold unless the restrictor is empty.

          theorem Quantification.subalternation_a_i {α : Type u_1} (R S : αProp) (hR : ∃ (x : α), R x) :
          every_sem R Ssome_sem R S

          Subalternation (A → I): the A-form entails the I-form when the restrictor is non-empty.

          theorem Quantification.subalternation_e_o {α : Type u_1} (R S : αProp) (hR : ∃ (x : α), R x) :

          Subalternation (E → O): the E-form entails the O-form when the restrictor is non-empty.

          theorem Quantification.subcontrariety_i_o {α : Type u_1} (R S : αProp) (hR : ∃ (x : α), R x) :

          Subcontrariety (I ∨ O): the I-form and O-form can't both fail when the restrictor is non-empty.

          theorem Quantification.isContradictory_outerNeg {α : Type u_1} (q : GQ α) (R : αProp) :

          Every quantifier is Aristotelian.IsContradictory to its outer negation: the Boolean complement law isCompl_compl on the Pi-instance Boolean algebra (α → Prop) → Prop (where outerNeg = ᶜ). The square's contradictory diagonals are instances — this is the "single home" for the diagonals, by construction rather than re-derivation.

          A–O diagonal: every and not-every are contradictory.

          E–I diagonal: no and some are contradictory, since some = ~no.

          Basic left monotonicities ([PW06] §5.5) #

          Smooth quantifiers ([PW06] §5.6) #

          ⟦some⟧ is ↓_NE Mon (direct proof).

          ⟦every⟧ is ↑_SE Mon (direct proof).

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

          learnability/complexity target by [vdPLvM+23])