Documentation

Linglib.Phonology.OptimalityTheory.Ranking

Constraint rankings #

A constraint ranking is a permutation of Fin n ([Pri02]'s total domination order ): r i is the constraint at rank position i, position 0 most dominant. Ranking.Dominates is the induced dominance relation between constraints; the Tableau machinery evaluates under a ranking, and the elementary-ranking-condition layer (ElementaryRankingCondition.lean) infers rankings from winner–loser pairs.

@[reducible, inline]
abbrev OptimalityTheory.Ranking (n : ) :

A constraint ranking: a permutation of Fin n ([Pri02]'s total domination order ). r i is the constraint at rank position i (position 0 is most dominant); r.symm k is the rank position of k.

Equations
Instances For
    def OptimalityTheory.Ranking.Dominates {n : } (r : Ranking n) (i j : Fin n) :

    Constraint i dominates constraint j under r: it sits at a lower (more dominant) rank position.

    Equations
    • r.Dominates i j = ((Equiv.symm r) i < (Equiv.symm r) j)
    Instances For
      @[implicit_reducible]
      instance OptimalityTheory.Ranking.instDecidableDominates {n : } (r : Ranking n) (i j : Fin n) :
      Decidable (r.Dominates i j)
      Equations
      @[simp]
      theorem OptimalityTheory.Ranking.dominates_apply_iff {n : } (r : Ranking n) {p q : Fin n} :
      r.Dominates (r p) (r q) p < q

      Dominance between ranked positions is position order.

      The identity ranking: rank position equals constraint index.

      Equations
      Instances For
        @[simp]
        theorem OptimalityTheory.Ranking.id_dominates_iff {n : } {i j : Fin n} :
        (id n).Dominates i j i < j

        Under the identity ranking, dominance is index order.

        @[implicit_reducible]
        instance OptimalityTheory.Ranking.instSMulLexForallFin {n : } {α : Type u_1} :
        SMul (Ranking n) (Lex (Fin nα))

        The ranking's reading of a lex-ordered vector: coordinate p of r • v is the value of v at the constraint ranked p-th. Reordering is the one operation that breaks and reconstitutes the lex order — the Sₙ action whose orbit structure is constraint ranking. (With this convention the action is a right action: (r * s) • v = s • r • v.)

        Equations
        @[simp]
        theorem OptimalityTheory.Ranking.smul_apply {n : } {α : Type u_1} (r : Ranking n) (v : Lex (Fin nα)) (p : Fin n) :
        ofLex (r v) p = ofLex v (r p)
        @[simp]
        theorem OptimalityTheory.Ranking.id_smul {n : } {α : Type u_1} (v : Lex (Fin nα)) :
        id n v = v
        theorem OptimalityTheory.Ranking.exists_dominates {n : } {i j : Fin n} (hij : i j) :
        (r : Ranking n), r.Dominates i j

        Any two distinct constraints can be ranked either way: some ranking makes i dominate j.