Docs / Phonology / Autosegmental / Factors

Factors and banned-subgraph grammars

import Linglib.Phonology.Autosegmental.Factors · namespace Autosegmental.AR

A factor occurs in a representation at per-tier offsets when its words are windows of the host's and its lines transport shifted, Jardine's subgraph embedding in position coordinates. Embedding is a preorder, the analogue of mathlib's SimpleGraph.IsContained with contiguous tier windows. A banned-subgraph grammar is a list of forbidden factors, and a string is a one-tier representation without lines.

Main definitions

Main results

Implementation notes

Jardine's grammars ban only connected subgraphs. IsFactorAt places the windows of a factor's tiers independently, so a factor with two nonempty tiers and no line embeds whenever its tier words occur anywhere; Free admits such factors, and its languages contain Jardine's.

References

Declarations

F occurs in X at per-tier offsets o.

structure IsFactorAtL57–62
{ι : Type u_1} {τ : ι → Type u_2} (F X : AR τ) (o : ι → ℕ) :
  • window (i : ι) (p : ℕ) : p < (F.word i).length → (X.word i)[p + o i]? = (F.word i)[p]?

    Each word of F is the window of X's at the tier's offset.

Used by FactorEmbeds, IsFactorAt.trans, IsFactorAt.refl, IsFactorAt.offset_le, IsFactorAt.clamp, factorEmbeds_iff_bounded

F subgraph-embeds in X when some offsets place it as a factor (Jardine 2017's connected-subgraph embedding).

def FactorEmbedsL64–66
{ι : Type u_1} {τ : ι → Type u_2} (F X : AR τ) :

Built from

Instances Autosegmental.AR.instDecidableFactorEmbedsBoolTwoTierOfWordsOfDecidableEq

Used by Free, free_cons, FactorEmbeds.trans, FactorEmbeds.refl, factorEmbeds_iff_bounded, factorEmbeds_iff_infix_of_link_free, factorEmbeds_ofList_iff

Used in Phonology/Autosegmental/TwoTier, Phonology/Subregular/AutosegmentalStrictlyLocal, Jardine2016b, Jardine2017, Jardine2019

X avoids every forbidden factor of a banned-subgraph grammar (Jardine 2016b Ch. 5's L^NL_G).

def FreeL68–70
{ι : Type u_1} {τ : ι → Type u_2} (X : AR τ) (B : List (AR τ)) :

Built from

Instances Jardine2016b.instDecidableFreeBoolTwoTierSegGenVoicingGrammar, Jardine2017.Hausa.instDecidableFreeBoolTwoTierTRNTBUKindArGrammar, Jardine2017.Mende.instDecidableFreeBoolTwoTierTRNTBUKindArGrammar

Used by free_nil, free_cons

Used in Phonology/Subregular/AutosegmentalStrictlyLocal, Jardine2016b, Jardine2017, Jardine2019

L74
L80–91
L100–103
L110–111
L113–118

Strings as one-tier representations

L168