Documentation

Linglib.Morphology.Exponence.Elsewhere

The Elsewhere Condition #

This file defines Elsewhere winners — -minimal applicable rules of exponence under the specificity preorder ([kiparsky-1973]) — and the prediction relation they induce.

Main definitions #

Elsewhere winners #

theorem Minimal.antisymmRel {α : Type u_4} [Preorder α] {P : αProp} {x y : α} (hx : Minimal P x) (hy : Minimal P y) (h : y x x y) :
AntisymmRel (fun (x1 x2 : α) => x1 x2) x y

Two comparable minimal elements of the same predicate are equivalent. [UPSTREAM] candidate for Mathlib/Order/Minimal.lean.

@[reducible, inline]
abbrev Morphology.Exponence.IsElsewhereWinner {Ctx : Type u_1} {E : Type u_2} {R : Type u_3} [Rule R Ctx E] [Preorder R] (v : List R) (c : Ctx) (r : R) :

A -minimal applicable rule of v at c.

Equations
Instances For
    def Morphology.Exponence.Coherent {Ctx : Type u_1} {E : Type u_2} {R : Type u_3} [Rule R Ctx E] [Preorder R] (v : List R) :

    A vocabulary is coherent if equivalent rules carry the same exponent.

    Equations
    Instances For
      theorem Morphology.Exponence.IsElsewhereWinner.exponent_eq {Ctx : Type u_1} {E : Type u_2} {R : Type u_3} [Rule R Ctx E] [Preorder R] {v : List R} {c : Ctx} {r s : R} (hv : Coherent v) (hr : IsElsewhereWinner v c r) (hs : IsElsewhereWinner v c s) (h : s r r s) :

      Comparable winners of a coherent vocabulary carry the same exponent.

      theorem Morphology.Exponence.exists_isElsewhereWinner {Ctx : Type u_1} {E : Type u_2} {R : Type u_3} [Rule R Ctx E] [Preorder R] {v : List R} {c : Ctx} (h : rv, Applies r c) :
      ∃ (r : R), IsElsewhereWinner v c r

      A vocabulary with an applicable rule has an Elsewhere winner.

      The prediction relation #

      def Morphology.Exponence.Realizes {Ctx : Type u_1} {E : Type u_2} {R : Type u_3} [Rule R Ctx E] [Preorder R] (v : List R) (c : Ctx) (φ : E) :

      φ is realized at c when some Elsewhere winner carries it.

      Equations
      Instances For
        theorem Morphology.Exponence.Realizes.eq {Ctx : Type u_1} {E : Type u_2} {R : Type u_3} [Rule R Ctx E] [Preorder R] {v : List R} {c : Ctx} {φ ψ : E} (hv : Coherent v) (hcmp : ∀ ⦃r s : R⦄, IsElsewhereWinner v c rIsElsewhereWinner v c ss r r s) ( : Realizes v c φ) ( : Realizes v c ψ) :
        φ = ψ

        Over a coherent vocabulary with comparable winners, the prediction is unique.

        Containment #

        theorem Morphology.Exponence.IsElsewhereWinner.of_applies {Ctx : Type u_1} {E : Type u_2} {R : Type u_3} [Rule R Ctx E] [Preorder R] {v : List R} {c : Ctx} {r : R} {c' : Ctx} (h : ∀ (s : R), Applies s c'Applies s c) (hr : IsElsewhereWinner v c r) (hc' : Applies r c') :

        A winner at a context that applies at a smaller context, in the sense that everything applicable there is applicable at the larger, is a winner at the smaller.

        theorem Morphology.Exponence.Realizes.of_realizes {Ctx : Type u_1} {E : Type u_2} {R : Type u_3} [Rule R Ctx E] [Preorder R] {v : List R} {c : Ctx} {φ : E} {c₁ c₂ : Ctx} (hinj : (List.map exponent v).Nodup) (h₁ : ∀ (s : R), Applies s c₁Applies s c₂) (h₂ : ∀ (s : R), Applies s c₂Applies s c) (hr₁ : Realizes v c₁ φ) (hr : Realizes v c φ) :
        Realizes v c₂ φ

        No ABA across nested contexts: with one item per exponent, an exponent realized at the smallest and the largest of three nested contexts is realized at the middle one.