Docs / Morphology / Morphotactics / TemplateMatch

Template matches

import Linglib.Morphology.Morphotactics.TemplateMatch · namespace Morphology

In McCarthy's prosodic theory of nonconcatenative morphology, a word is built by associating melodies on separate morphemic tiers, a consonantal root, a vocalism, and affixal material, with the slots of a prosodic template, a CV skeleton. A TemplateMatch records the three melodies, the template, and the association lines, and spellout reads off the surface segments. Gemination is one melody element associated to several slots, and a slot with no association line receives no phonetic realization. The association conventions that draw the lines are in Morphology/Morphotactics/Association.lean.

Main definitions

Main results

References

Declarations

The morphemic tier that the melody element at one end of an association line belongs to, which is the consonantal root, the vocalism, or affixal material (McCarthy 1981).

inductive AssocSourceL53–63

Derives DecidableEq, Repr.

Used by Association, TemplateMatch.melody, TemplateMatch.OrderedOn, TemplateMatch.instDecidableOrderedOn, TemplateMatch.melody_map, TemplateMatch.links, TemplateMatch.linkCount, TemplateMatch.linkCount_map, TemplateMatch.mem_links, TemplateMatch.orderedOn_iff

Used in Morphology/Morphotactics/Association, McCarthy1981

An association line from element melodyIndex of the melody of source to slot slotIndex of the template (McCarthy 1981). The source defaults to .root.

structure AssociationL65–74
  • source : AssocSource

    The tier the associated melody element lives on.

  • melodyIndex : ℕ

    The index of the melody element on its tier.

  • slotIndex : ℕ

    The index of the template slot.

Derives DecidableEq, Repr.

Built from

Used by TemplateMatch, TemplateMatch.segmentAt, TemplateMatch.spellout, TemplateMatch.unfilledCSlots, TemplateMatch.segmentAt_map, TemplateMatch.links, TemplateMatch.linkCount

Used in Morphology/Morphotactics/Association, Arad2005, Faust2026

A consonantal root, a vocalism, and affixal material associated with a template. Candidate realizations of the same morphemes differ only in their association lines.

structure TemplateMatchL76–89
(α : Type u_1) :
Type u_1

Derives Repr, DecidableEq.

Built from

Used by TemplateMatch.melody, TemplateMatch.segmentAt, TemplateMatch.spellout, TemplateMatch.unfilledCSlots, TemplateMatch.allCSlotsFilled, TemplateMatch.OrderedOn, TemplateMatch.instDecidableAllCSlotsFilled, TemplateMatch.instDecidableOrderedOn, TemplateMatch.map, TemplateMatch.associations_map, TemplateMatch.template_map, TemplateMatch.melody_map, TemplateMatch.segmentAt_map, TemplateMatch.spellout_map, TemplateMatch.links, TemplateMatch.linkCount, TemplateMatch.linkCount_map, TemplateMatch.mem_links, TemplateMatch.orderedOn_iff

Used in Morphology/Morphotactics/Association, AfkirZellou2025, Arad2005, Faust2026, McCarthy1981

The surface segments of the match. Each slot contributes the segment of its first association line, and a slot with no association receives no phonetic realization (McCarthy 1981).

def TemplateMatch.spelloutL104–109
{α : Type u_1} (m : TemplateMatch α) :
List α

Built from , ,

Used by TemplateMatch.spellout_map

Used in AfkirZellou2025, Arad2005, McCarthy1981

m.OrderedOn s asserts that distinct melody elements of tier s associate to slots in melody order, so that the association lines from s do not cross (Goldsmith 1976's no-crossing condition, within one tier).

def TemplateMatch.OrderedOnL119–125
{α : Type u_1} (m : TemplateMatch α) (s : AssocSource) :

Built from ,

Used by TemplateMatch.instDecidableOrderedOn, TemplateMatch.orderedOn_iff

Used in McCarthy1981

L129–139

The match with each melodic element relabeled.

def TemplateMatch.mapL141–144
{α : Type u_1} (m : TemplateMatch α) {β : Type u_2} (f : α → β) :

Built from

Used by TemplateMatch.associations_map, TemplateMatch.template_map, TemplateMatch.melody_map, TemplateMatch.segmentAt_map, TemplateMatch.spellout_map, TemplateMatch.linkCount_map

Used in Morphology/Morphotactics/Association, AfkirZellou2025, Arad2005, McCarthy1981

Interpretation into the autosegmental substrate

A tier is OrderedOn iff its lines are non-crossing and each slot hosts at most one element of the tier, which is Goldsmith 1976's No-Crossing Constraint plus McCarthy 1981's prohibition against many-to-one associations.

theorem TemplateMatch.orderedOn_iffL186–206
{α : Type u_1} (m : TemplateMatch α) (s : AssocSource) :
m.OrderedOn s ↔ Autosegmental.IsNonCrossing ↑(m.links s) ∧ Set.InjOn Prod.snd ↑(m.links s)

Built from , , ,