Documentation

Linglib.Logic.Aristotelian.Square

The square of opposition #

The square of opposition, in the form Horn surveys, has four corners A, E, I, O in a Boolean algebra, related by contradiction (A–O, E–I), contrariety (A–E), subcontrariety (I–O) and subalternation (A→I, E→O). Its instances for generalized quantifiers, after Barwise and Cooper, and for modals live with those theories.

A square with these relations divides its algebra into three pairwise contrary parts, E, A, and between them the conjunction I ⊓ O of the two particulars: the vertices of Horn's triangle of opposition. Horn traces this trichotomy to De Morgan and to Jespersen's tripartition into all, some and none, whose middle term is neither the I nor the O corner but their conjunction; modally the vertices are the impossible, the contingent and the necessary. Ordered by the affirmative corners they lie in, the vertices form the scale none < some but not all < all.

Main definitions #

Main results #

References #

The square #

structure Aristotelian.Square (α : Type u_1) :
Type u_1

A square of opposition has four corners.

  • A : α

    A is the universal affirmative corner (every, □p, Bel p).

  • E : α

    E is the universal negative corner (no, □¬p, Bel ¬p).

  • I : α

    I is the particular affirmative corner (some, ◇p).

  • O : α

    O is the particular negative corner (not every, ¬□p, ¬Bel p).

Instances For

    The vertices of the triangle of opposition, in scale order, are the universal negative E, the conjunction IO of the two particulars, and the universal affirmative A.

    Instances For
      @[instance_reducible]
      Equations
      def Aristotelian.instReprTriangle.repr :
      Triangle → ℕ → Std.Format
      Equations
      Instances For
        def Aristotelian.Square.triangle {α : Type u_1} [BooleanAlgebra α] (sq : Square α) :
        Triangle → α

        The element of a square at a vertex of its triangle.

        Equations
        Instances For

          The corners of the square, each given as the set of vertices at which it holds.

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

            The element of corners at each vertex is that vertex's singleton.

            @[instance_reducible]

            A vertex lies below another when the other lies in every affirmative corner that it does.

            Equations
            • One or more equations did not get rendered due to their size.
            @[instance_reducible]
            Equations
            • One or more equations did not get rendered due to their size.
            @[instance_reducible]
            Equations
            • One or more equations did not get rendered due to their size.
            @[instance_reducible]
            Equations
            • One or more equations did not get rendered due to their size.
            theorem Aristotelian.Triangle.mem_corners_I {t : Triangle} :
            t ∈ corners.I ↔ ⊥ < t

            Some holds above the bottom vertex.

            theorem Aristotelian.Triangle.mem_corners_A {t : Triangle} :
            t ∈ corners.A ↔ t = ⊤

            All holds at the top vertex.

            theorem Aristotelian.Triangle.mem_corners_O {t : Triangle} :
            t ∈ corners.O ↔ t < ⊤

            Not all holds below the top vertex.

            theorem Aristotelian.Triangle.mem_corners_E {t : Triangle} :
            t ∈ corners.E ↔ t = ⊥

            None holds at the bottom vertex.

            Square relations #

            structure Aristotelian.SquareRelations {α : Type u_1} [BooleanAlgebra α] (sq : Square α) :

            A square over a Boolean algebra satisfies the relations of the square when both diagonals are contradictory and the universals cannot both hold. Subalternation and subcontrariety follow (subalternAI, subalternEO, subcontrIO).

            • contradAO : IsCompl sq.A sq.O

              A and O are contradictories.

            • contradEI : IsCompl sq.E sq.I

              E and I are contradictories.

            • contraryAE : Disjoint sq.A sq.E

              A and E cannot both hold.

            Instances For
              theorem Aristotelian.SquareRelations.subalternAI {α : Type u_1} [BooleanAlgebra α] {sq : Square α} (h : SquareRelations sq) :
              sq.A ≤ sq.I

              A entails I.

              theorem Aristotelian.SquareRelations.subalternEO {α : Type u_1} [BooleanAlgebra α] {sq : Square α} (h : SquareRelations sq) :
              sq.E ≤ sq.O

              E entails O.

              theorem Aristotelian.SquareRelations.subcontrIO {α : Type u_1} [BooleanAlgebra α] {sq : Square α} (h : SquareRelations sq) :
              Codisjoint sq.I sq.O

              I and O cannot both fail.

              theorem Aristotelian.SquareRelations.of_disjoint {α : Type u_1} [BooleanAlgebra α] {sq : Square α} (hI : sq.I = sq.Eᶜ) (hO : sq.O = sq.Aᶜ) (h : Disjoint sq.A sq.E) :

              When the particulars are the complements of the opposite universals (I = Eᶜ, O = Aᶜ), the diagonals are contradictory outright, so Disjoint A E gives the whole square. Under the Boolean reading contrariety is where existential import lives. It fails when the universals hold vacuously (an empty subject term, or modally a dead-end world), and the assumption ruling that out, a non-empty term or seriality, enters through this hypothesis.

              The cells #

              theorem Aristotelian.SquareRelations.inf_IO_eq {α : Type u_1} [BooleanAlgebra α] {sq : Square α} (h : SquareRelations sq) :
              sq.I ⊓ sq.O = (sq.A ⊔ sq.E)ᶜ

              The middle cell is the complement of the join of the contraries.

              theorem Aristotelian.SquareRelations.pairwise_disjoint_triangle {α : Type u_1} [BooleanAlgebra α] {sq : Square α} (h : SquareRelations sq) :
              Pairwise (Function.onFun Disjoint sq.triangle)

              The vertices of a square are pairwise disjoint.

              theorem Aristotelian.SquareRelations.sup_triangle {α : Type u_1} [BooleanAlgebra α] {sq : Square α} (h : SquareRelations sq) :

              The vertices of a square join to ⊤.

              The corners as sets of vertices satisfy the relations of the square.