Documentation

Linglib.Features.ContainmentPair

Containment Feature Pairs #

A pair of bivalent features whose inner member entails the outer ([+inner] → [+outer]): the two-feature dependency skeleton of the feature-geometric tradition ([HR02]), stated over bivalent values with the dependency carried as a cooccurrence filter — what [AH08] call a "filter system … designating some semantically possible [combinations] as geometrically illicit" (their Structure theme).

The pattern recurs across φ-feature domains:

with honorific-level and animacy instances joining the same skeleton. The filter cuts the four bivalent cells to three, linearly ordered by specification (the "size of structure" markedness metric of [AH08]):

outerinnerStatusPersonNumber
++most specified1st personsingular
+intermediate2nd persondual
least specified3rd personplural
+filtered

Main declarations #

Implementation notes #

Well-formedness is order theory, not stipulation: writing the valuation as a map from the two-element dependency chain {outer < inner} to Bool, WellFormed says the valuation is antitone in dependency — equivalently, the positively-valued features form a lower set of the chain. Lower sets of an n-chain form an (n+1)-chain, whence three cells from two features, the LinearOrder, and the impossibility of a fourth cell; longer dependency chains (e.g. [±proximate] above person, Phi/Geometry.lean) yield n+1 cells the same way.

This skeleton is not [Har16a]'s system (which this file's docstring previously claimed). Impossible Persons argues against both ingredients: against cooccurrence filters (ch. 9.4 — "missing feature combinations are not to be reified as universal principles"; feature cooccurrence is free, constrained only by the logic of the semantics) and for semantically active bivalence with order-of-composition effects (ch. 9.2, 9.5). In Harbour's calculus the filtered cell is used: +author(−participant(π)) is the exclusive in the quadripartition and an available representation of Germanic third person in the tripartition (ch. 8.3.1, 9.2). The Harbour calculus proper lives at Syntax/Minimalist/Phi/ (lattice operations /) and Studies/Harbour2016.lean (signOf); this file is the descriptive containment skeleton that calculus refines and in part rejects.

A pair of bivalent features with a containment (dependency) relation: bearing the inner feature entails bearing the outer one. The carrier holds all four bivalent cells; the filter is WellFormed.

Instances present their carriers via ContainmentPairLike: person (outer = participant, inner = author), number (outer = minimal, inner = atomic), gender, animacy, honorific level.

  • outer : Bool

    The entailed (outer, dominating) feature.

  • inner : Bool

    The entailing (inner, dependent) feature — implies outer.

Instances For
    def Features.instDecidableEqContainmentPair.decEq (x✝ x✝¹ : ContainmentPair) :
    Decidable (x✝ = x✝¹)
    Equations
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        Equations
        Instances For
          @[implicit_reducible]
          Equations

          The containment filter #

          Containment: the inner feature entails the outer — equivalently innerouter in Bool's order, so the valuation is antitone in dependency and the positive features form a lower set of the dependency chain.

          Equations
          Instances For

            Canonical cells #

            Most specified cell: [+outer, +inner]. Person: 1st (speaker). Number: singular (atom).

            Equations
            Instances For

              Intermediate cell: [+outer, −inner]. Person: 2nd (non-speaker participant). Number: dual (minimal non-atom).

              Equations
              Instances For

                Least specified cell: [−outer, −inner]. Person: 3rd (non-participant). Number: plural (non-minimal non-atom).

                Equations
                Instances For
                  theorem Features.ContainmentPair.illFormed_only :
                  ¬{ outer := false, inner := true }.WellFormed

                  The unique filtered combination: [−outer, +inner].

                  Every well-formed pair is one of the three canonical cells.

                  Inner entails outer on well-formed pairs.

                  The specification chain #

                  The well-formed cells form a three-element linear order — the "size of structure" markedness chain ([AH08]): minimal < intermediate < maximal.

                  Specification level: the number of positive features. maximal ↦ 2, intermediate ↦ 1, minimal ↦ 0. On well-formed pairs this is injective and realizes the markedness chain.

                  Equations
                  Instances For
                    @[implicit_reducible]

                    The markedness chain: well-formed pairs are linearly ordered by specification level.

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

                    Two dependent bivalent features yield exactly three cells — lower sets of a 2-chain form a 3-chain.

                    theorem Features.ContainmentPair.no_four_way (a b c d : ContainmentPair) :
                    a.WellFormedb.WellFormedc.WellFormedd.WellFormeda ba ca db cb dc dFalse

                    No four-way distinction. Four distinct well-formed pairs are impossible — a corollary of card_wellFormed, checked directly.

                    For person: no language draws a 4-way distinction from one containment pair; for number: likewise for base number. (The filter, not the arithmetic, is the theoretical commitment — [Har16a] ch. 9.4 rejects it and generates a 4th person as the quadripartition exclusive; see the module docstring.)

                    Carrier presentation #

                    class Features.ContainmentPairLike (α : Type u_1) :
                    Type u_1

                    An injective presentation of α as containment pairs (the SetLike pattern: a coercion-like map plus injectivity, not a bijection — a three-valued carrier such as an honorific scale embeds onto the well-formed cells only). WellFormed, specLevel, and no_four_way are inherited through the embedding.

                    • toPair : αContainmentPair

                      Present an element as a containment pair.

                    • toPair_injective : Function.Injective toPair

                      The presentation is faithful.

                    Instances
                      @[reducible]

                      Build an instance from an outright equivalence (person, number, and gender features are bivalent pair records, hence equivalent carriers).

                      Equations
                      Instances For

                        Well-formedness through the presentation.

                        Equations
                        Instances For

                          Specification level through the presentation.

                          Equations
                          Instances For
                            theorem Features.ContainmentPairLike.no_four_way {α : Type u_1} [ContainmentPairLike α] [DecidableEq α] (a b c d : α) (ha : WellFormed a) (hb : WellFormed b) (hc : WellFormed c) (hd : WellFormed d) (hab : a b) (hac : a c) (had : a d) (hbc : b c) (hbd : b d) (hcd : c d) :
                            False

                            No four-way distinction for any presented carrier.

                            The specification ordering transports to any presented triple landing on the three cells. Person (1 > 2 > 3), number (sg > du > pl), and gender inherit their hierarchy from this single chain fact rather than re-checking it per domain.