Documentation

Linglib.Semantics.Quantification.Logicality

Logicality and Invariance Conditions #

[PW06] [Fef99] [vB84]

Invariance conditions that characterize "logical" quantifiers, ordered by strength: HOM → INJ → ISOM → EXT.

Key result: INJ ≡ ISOM + EXT ([PW06] Ch 9 Prop 3). Since EXT is trivial for GQ α, INJ ↔ ISOM in our setting.

Invariance Hierarchy #

def Quantification.Logicality.HomInvariant {α : Type u_1} {β : Type u_2} (q : GQ α) (q' : GQ β) :

Homomorphism invariance (HOM): Q is preserved under surjective maps. [Fef99]: HOM characterizes "absolutely logical" operations. Stronger than ISOM: surjections can collapse elements, so HOM-invariant quantifiers cannot distinguish elements that map to the same image.

For a family of quantifiers indexed by type, q on α and q' on β are HOM-related when any surjection preserves truth values.

Equations
Instances For
    def Quantification.Logicality.InjInvariant {α : Type u_1} {β : Type u_2} (q : GQ α) (q' : GQ β) :

    Injective homomorphism invariance (INJ): Q is preserved under injections. INJ sits between HOM and ISOM: HOM → INJ → ISOM. [PW06] Ch 9 §2.

    Equations
    Instances For

      HOM (same type) implies ISOM. Every bijection is a surjection.

      Convention alignment: QuantityInvariant uses A(f(x)) ↔ A'(x) (the bijection goes from the new domain to the old), while HomInvariant uses A ∘ f. Given hA : A(f(x)) ↔ A'(x), we have A ∘ f = A' (as functions, via funext). So HomInvariant with f gives q (A ∘ f) (B ∘ f) ↔ q A B, i.e., q A' B' ↔ q A B.

      [PW06] Ch 9.

      INJ ≡ ISOM + EXT #

      theorem Quantification.Logicality.isom_implies_inj_same_type {α : Type u_1} [Fintype α] (q : GQ α) (hIsom : QuantityInvariant q) :

      [PW06] Ch 9 Prop 3 (one direction): ISOM → INJ for same-type quantifiers on a finite domain.

      On a finite type, every injection is a bijection, so ISOM (bijection invariance) immediately gives INJ (injection invariance).

      theorem Quantification.Logicality.quantityInvariant_is_isom {α : Type u_1} (q : GQ α) :
      QuantityInvariant q ∀ (A B A' B' : αProp) (f : αα), Function.Bijective f(∀ (x : α), A (f x) A' x)(∀ (x : α), B (f x) B' x)(q A B q A' B')

      Bijection invariance is definitionally QuantityInvariant.