Bridge: Forbidden-Pair Markedness ↔ TSL_2 #
The single generic bridge connecting Optimality-theoretic forbidden-pair
markedness constraints (mkForbidPairsOnTier, defined in
OptimalityTheory/Constraints.lean) to tier-based strictly 2-local
languages (TSLGrammar.ofForbiddenPairs, defined in
Core/Computability/Subregular/Language/ForbiddenPairs.lean).
A candidate's mkForbidPairsOnTier score is zero iff its raw string
belongs to the corresponding TSL_2 language — for any choice of
forbidden-pair relation R. The OCP-specific specialization (with
R := (· = ·)) lives in Subregular/OCP.lean and is now a one-line
corollary.
Main definitions #
Constraints.Constraint.zeroSet— the zero-violation language of a constraint, theConstraint → Languageprimitive these bridges characterize. It lives here, not inConstraints/Defs.lean, so the framework-neutral constraint vocabulary stays free ofComputability.
The language of list candidates that satisfy c (zero violations), as a
Language α. Lets the eval = 0 predicate compose with Language.IsRegular
and the project's subregular classifiers (IsTierStrictlyLocal, IsBTC).
Equations
- c.zeroSet = {w : List α | c w = 0}
Instances For
Bridge (relational form): a candidate's forbidden-pair score is zero
iff its raw string projects (under TierProjection.byClass p) to a list with no
two adjacent elements related by R. The chain-side payoff of the
generic forbidden-pair design.
Bridge (TSL_2 language form): a candidate's forbidden-pair score is
zero iff its raw string is in the language of
TSLGrammar.ofForbiddenPairs R p. The single generic bridge that every
adjacency-based markedness constraint inherits. Composes the relational
bridge mkForbidPairsOnTier_zero_iff_isChain with the carrier-level
language characterization mem_ofForbiddenPairs_lang_iff_filter_isChain.