Documentation

Linglib.Core.Order.Opposition

Comparison categories as an Aristotelian diagram #

The eight comparison categories (Core.Order.Relation) are the elements of the Boolean algebra 𝒫 {lt, eq, gt}; their logical oppositions are exactly the four Aristotelian relations [DS18a] (Core.Logic.Aristotelian). This file is where the two finite-Boolean-algebra developments meet: the comparison/point algebra (with holds its relation-algebra homomorphism) and the theory of opposition (over any [BooleanAlgebra α]).

Because Finset Ordering is a BooleanAlgebra, the Aristotelian relations apply to the named categories with no bridge construction — the classic square of opposition for </=/> is a decide-check over the eight-element carrier. Via Tense.past = before etc. (Semantics/Tense/Defs.lean) these specialise to grammatical tense: past and nonpast are contradictories, past and future contraries, and subcontraries.

The square of opposition for </=/> #

< and are contradictories: before and notBefore are complementary cells of 𝒫 {lt, eq, gt} — exactly one holds of any pair.

< and > are contraries: disjoint (never both) but not jointly exhaustive — both fail at =.

and are subcontraries: jointly exhaustive (one always holds) but not disjoint — both hold at =.

< is subaltern to : strict precedence implies weak precedence.

= and are contradictories: overlapping and distinct partition the carrier.