Documentation

Linglib.Morphology.Exponence.Basic

Rules of exponence #

This file defines the Exponence.Rule typeclass, pairing an exponent exponent : R → E with an applicability condition Applies : R → Ctx → Prop ([Mat91]), and the specificity preorder it induces.

Main definitions #

class Morphology.Exponence.Rule (R : Type u_1) (Ctx : outParam (Type u_2)) (E : outParam (Type u_3)) :
Type (max (max u_1 u_2) u_3)

Rule R Ctx E says that R is a type of rules of exponence: each rule carries an exponent in E and applies in a class of contexts in Ctx.

  • exponent : RE

    The exponent a rule inserts.

  • Applies : RCtxProp

    The condition on contexts under which a rule applies.

Instances
    def Morphology.Exponence.applySet {Ctx : Type u_1} {E : Type u_2} {R : Type u_3} [Rule R Ctx E] (r : R) :
    Set Ctx

    The contexts in which a rule applies.

    Equations
    Instances For
      @[simp]
      theorem Morphology.Exponence.mem_applySet {Ctx : Type u_1} {E : Type u_2} {R : Type u_3} [Rule R Ctx E] {r : R} {c : Ctx} :
      c applySet r Applies r c
      @[reducible]
      def Morphology.Exponence.toPreorder {Ctx : Type u_1} {E : Type u_2} {R : Type u_3} [Rule R Ctx E] :
      Preorder R

      r ≤ s when r applies in a subset of the contexts s applies in.

      Equations
      Instances For