Kuhlmann, Koller and Satta (2015): Lexicalization and Generative Power in CCG #
This file formalizes Example 2 of [KKS15], the grammar G₁ in the
formalism of [VSW94] and [WJ88] whose rules of application and
of composition of degree at most 2 are restricted to primary inputs with target S, and
proves that its language is aⁿbⁿcⁿ without the empty word (language_eq_anbncn_sub_one).
The completeness half follows the paper's derivation: the bs are composed into a cluster
S/C/…/C (cluster_derives), and each C argument is peeled off by crossed-composing a c
and backward-applying an a (peel_derives). The soundness half is an induction on
derivability showing that every derivable pair has one of the shapes that construction
produces (reachable_of_derives). The language is therefore not context-free
(not_isContextFree_language), the fact the proof of Theorem 3 invokes.
The paper's results turn on two properties of rule restrictions, which are stated here for
the substrate's rule systems: prefix-closedness (Definition 2) and the absence of target
restrictions (Definition 3). Every target-restricted rule system is prefix-closed, so the rule
system of G₁ is (Example 6), but it is not without target restrictions (Example 8). This is
the configuration the paper's Theorems 2 and 3 separate: prefix-closed grammars with target
restrictions are weakly equivalent to tree-adjoining grammar, and without them they cannot
generate aⁿbⁿcⁿ.
Implementation notes #
The atoms A, B, C, S and the letters a, b, c are the study's own types, since
CCG.Grammar is parameterized over both. The lexical entry for c is C\A, the direction the
paper's derivation of aⁿbⁿcⁿ requires. The language is stated against Language.anbncn, and
the empty word drops out because no CCG grammar derives it (CCG.Grammar.Derives.ne_nil).
TODO #
- Theorems 1–4 and the main lemma (a Parikh-equivalent context-free sublanguage for every prefix-closed grammar without target restrictions) are not formalized.
References #
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Equations
- KuhlmannKollerSatta2015.instDecidableEqAtom x✝ y✝ = if h : x✝.ctorIdx = y✝.ctorIdx then isTrue ⋯ else isFalse ⋯
Instances For
Instances For
Instances For
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- KuhlmannKollerSatta2015.instDecidableEqLetter x✝ y✝ = if h : x✝.ctorIdx = y✝.ctorIdx then isTrue ⋯ else isFalse ⋯
The cluster category always has target S.
The construction, as Derives inductions #
Composing b₁ = S/C/B with j copies of B/C/B at degree 2 derives bʲ⁺¹ at
S/Cʲ⁺¹/B.
G₁ derives the b-cluster bⁿ at category clusterCat n, for n ≥ 1.
From a derivation of w at clusterCat k, crossed-composing a c and backward-applying
an a k times derives aᵏ w cᵏ at S.
Soundness #
The converse induction: every pair the grammar derives has one of the shapes of the
completeness construction, so the language contains nothing beyond aⁿbⁿcⁿ.
The category/string pairs that G₁ derives, namely the six lexical shapes, the degree-2
chain categories, the clusters wrapped by i peels, and the peel intermediates.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Every pair G₁ derives is Reachable, by rule induction. The target gate admits only
primaries with target S, and a secondary Yβ over an atom Y has Y as its target and β as
its arguments, so each rule step is one of the four instances of the completeness
construction.
Rule restrictions (§3.1, §3.3) #
A rule system is prefix-closed (Definition 2) when every permitted instance X/Y Yβ ⇒ Xβ
of composition stays permitted for every prefix β' of the argument sequence β, that is, with
the outermost arguments of the secondary input already consumed, at the lowered degree.
Equations
- KuhlmannKollerSatta2015.PrefixClosed R = ∀ (x : CCG.Cat α) (a : CCG.Cat.Arg α) (β β' : List (CCG.Cat.Arg α)), β' <+: β → R x a β → R x a β'
Instances For
A rule system is without target restrictions (Definition 3) when every permitted instance
X/Y Yβ ⇒ Xβ stays permitted under any change of the primary input's result category X.
Equations
- KuhlmannKollerSatta2015.WithoutTargetRestrictions R = ∀ (x x' : CCG.Cat α) (a : CCG.Cat.Arg α) (β : List (CCG.Cat.Arg α)), R x a β → R x' a β
Instances For
A target-restricted rule system is prefix-closed: it looks only at the degree and the primary input's target.
G₁ is prefix-closed (Example 6).
G₁ is not without target restrictions (Example 8), since application of S/C to C
is permitted but application of B/C to C is not.
Generative-capacity result #
G₁ generates every nonempty word of aⁿbⁿcⁿ ([KKS15], Example 2),
the completeness half of the example.
G₁ derives nothing beyond aⁿbⁿcⁿ.
The language of G₁ is aⁿbⁿcⁿ without the empty word ([KKS15],
Example 2).