Documentation

Linglib.Phonology.Constraints.Lift

List-lift constraint constructors #

A constraint whose candidate is a list of forms — a paradigm, a candidate set, a tier — typically scores by summing a per-element or per-ordered-pair cost over the list. The two combinators here package that lift; the cost callback carries all the theory-specific content, so the same lift serves markedness and faithfulness alike.

liftPairwise is the symmetric all-ordered-pairs lift: it sums a comparison over every pair of members. This is the generic operation behind paradigm-uniformity / Base-Identity faithfulness — output-output identity summed over related wordforms — but the combinator itself is theory-neutral; the paper-specific anchoring disciplines live in their study files (Studies/).

Main definitions #

def Constraints.liftPerMember {α : Type u_1} (viol : α) :
Constraint (List α)

Lift a per-element cost viol to a constraint over List α by summing it across the members.

Equations
Instances For
    def Constraints.liftPairwise {α : Type u_1} (compare : αα) :
    Constraint (List α)

    Lift a per-ordered-pair cost compare to a constraint over List α by summing it over every ordered pair — the symmetric all-pairs lift behind paradigm-uniformity faithfulness.

    Equations
    • Constraints.liftPairwise compare xs = (List.map (fun (x : α × α) => match x with | (a, b) => compare a b) (xs.product xs)).sum
    Instances For