Positive a b c slice witnesses #
The witness languages used for the non-closure of deterministic context-free languages
under union and Kleene star. They restrict the standard {aⁿbⁿcᵐ} / {aⁿbᵐcᵐ} witnesses
to the regular slice a⁺b⁺c⁺ (abcPositive), which prevents a Kleene-star slice from
splitting one a⁺b⁺c⁺ payload into several witness blocks.
The positive {aⁿbⁿcⁿ} witness is the shared lang_eq_eq_pos of
Langlib.Examples.AnBnCnPos; the identity lang_eq_eq_pos = lang_eq_eq ⊓ abcPositive is
lang_eq_eq_pos_eq_inter in
Langlib.Classes.DeterministicContextFree.Examples.AbcPositive.
Class-membership facts live in
Langlib.Classes.DeterministicContextFree.Examples.AbcPositive.
The regular slice a⁺ b⁺ c⁺ over Fin 3.
Equations
- abcPositive w = ∃ (n : ℕ) (m : ℕ) (k : ℕ), w = List.replicate (n + 1) a_ ++ List.replicate (m + 1) b_ ++ List.replicate (k + 1) c_
Instances For
{aⁿbⁿcᵐ} restricted to the positive slice.
Equations
Instances For
{aⁿbᵐcᵐ} restricted to the positive slice.
Equations
Instances For
The positive-slice words that are not {aⁿbⁿcᵐ}.
Equations
Instances For
The positive-slice words that are not {aⁿbᵐcᵐ}.