An asymptotic argument for compositionality [001H]
- 27 April 2026
An asymptotic argument for compositionality [001H]
- 27 April 2026
Reference 1. Compositionality, computability, and complexity [pagin2021]
Reference 1. Compositionality, computability, and complexity [pagin2021]
Definition 1.1. Grammatical term algebra (§ 2.1) [pagin2021-gta]
- September 2021
- Peter Pagin
Definition 1.1. Grammatical term algebra (§ 2.1) [pagin2021-gta]
- September 2021
- Peter Pagin
A grammatical term algebra of a language is a partial algebra , where—
- is the set of grammatical terms for ,
- is a finite set of atomic (grammatical) terms for , and
- is a finite set of syntactic operations for . is the closure of under .
Definition 1.2. Meaning operations (§ 2.2) [pagin2021-meaning-operation]
- September 2021
- Peter Pagin
Definition 1.2. Meaning operations (§ 2.2) [pagin2021-meaning-operation]
- September 2021
- Peter Pagin
A meaning operation over a domain of meanings is some function .
Definition 1.3. Semantic functions (§ 2.2) [pagin2021-semantic-function]
- September 2021
- Peter Pagin
Definition 1.3. Semantic functions (§ 2.2) [pagin2021-semantic-function]
- September 2021
- Peter Pagin
Where is a grammatical term algebra and is a domain of meanings, any is a semantic function.
Definition 1.4. Standard compositionality (§ 2.2) [pagin2021-standard-compositionality]
- September 2021
- Peter Pagin
Definition 1.4. Standard compositionality (§ 2.2) [pagin2021-standard-compositionality]
- September 2021
- Peter Pagin
Given a grammatical term algebra and domain of meanings, a semantic function is standard compositional iff for every -ary operation there is a meaning operation such that for any ,
Definition 1.5. General compositionality (§ 2.3) [pagin2021-general-compositionality]
- September 2021
- Peter Pagin
Definition 1.5. General compositionality (§ 2.3) [pagin2021-general-compositionality]
- September 2021
- Peter Pagin
A semantic system is general compositional iff for every -ary operation and every member there is a meaning operation such that for any grammatical terms where for
Definition 1.6. Meaning algebras (§ 3) [pagin2021-meaning-algebra]
- September 2021
- Peter Pagin
Definition 1.6. Meaning algebras (§ 3) [pagin2021-meaning-algebra]
- September 2021
- Peter Pagin
A meaning algebra over a set of meanings is a triple , where—
- is a finite set of basic meanings,
- is a finite set of elementary meaning operations,
- closes under , and
- for all and , and, if then , , and for .
Definition 1.7. Semantic systems (§ 3) [pagin2021-semantic-system]
- September 2021
- Peter Pagin
Definition 1.7. Semantic systems (§ 3) [pagin2021-semantic-system]
- September 2021
- Peter Pagin
Given a grammatical term algebra and domain of meanings, a semantic system is a triple where—
- is a finite set of semantic functions , , and
- is a partial selection function.
Given some semantic function and a syntactic operation , then gives another semantic function for each th-position term.
Finally, .
Definition 1.8. Semantic algebras (§ 3) [pagin2021-semantic-algebra]
- September 2021
- Peter Pagin
Definition 1.8. Semantic algebras (§ 3) [pagin2021-semantic-algebra]
- September 2021
- Peter Pagin
A semantic algebra over a language and domain of meanings is a triple where—
- is a grammatical term algebra for , and
- is a meaning algebra for .
Definition 1.9. Size (§ 5) [pagin2021-size]
- September 2021
- Peter Pagin
Definition 1.9. Size (§ 5) [pagin2021-size]
- September 2021
- Peter Pagin
The size of a term is the number of atoms and operators contained within it.
Definition 1.10. Input terms (§ 5) [pagin2021-input-terms]
- September 2021
- Peter Pagin
Definition 1.10. Input terms (§ 5) [pagin2021-input-terms]
- September 2021
- Peter Pagin
The input terms of a rewriting system are of the form ‘’ where is a syntactic term.
Definition 1.11. Input complexity (§ 5) [pagin2021-input-complexity]
- September 2021
- Peter Pagin
Definition 1.11. Input complexity (§ 5) [pagin2021-input-complexity]
- September 2021
- Peter Pagin
Let be a normal term.
The term complexity of relative to is the length of the shortest derivation from some input term to .
The input complexity is the maximal where has size .
Definition 1.12. Term rewrite systems (§ 6.1) [pagin2021-trs]
- September 2021
- Peter Pagin
Definition 1.12. Term rewrite systems (§ 6.1) [pagin2021-trs]
- September 2021
- Peter Pagin
A term rewrite system (TRS) is a pair where—
- is a signature comprising a finite set of -ary operators (including nullary constants), and
- is a set of reductions over the set of terms over .
We will write (omitting the subscript where context makes it obvious) when the application of some rule yields the contractum .
A sequence of applications is a derivation. We write where is the transitive closure of .
Definition 1.12.1. Conditional term rewrite systems (§ 6.1) [pagin2021-ctrs]
- September 2021
- Peter Pagin
Definition 1.12.1. Conditional term rewrite systems (§ 6.1) [pagin2021-ctrs]
- September 2021
- Peter Pagin
In a conditional term rewrite system , the reductions are conditioned over some conditions .
Definition 1.12.2. Many-sorted term rewrite systems (§ 6.1) [pagin2021-many-sorted-trs]
- September 2021
- Peter Pagin
Definition 1.12.2. Many-sorted term rewrite systems (§ 6.1) [pagin2021-many-sorted-trs]
- September 2021
- Peter Pagin
In a many-sorted term rewrite system, is partitioned into subsets corresponding to sorts, and argument places for operators have sort restrictions; complex terms whose subterms satisfy the sort restrictions are well-sorted (corresponding to grammaticality).
Definition 1.12.3. Normal form (§ 6.1) [pagin2021-normal-form]
- September 2021
- Peter Pagin
Definition 1.12.3. Normal form (§ 6.1) [pagin2021-normal-form]
- September 2021
- Peter Pagin
A term that cannot be reduced further is in normal form.
Definition 1.12.4. Termination (§ 6.1) [pagin2021-terminate]
- September 2021
- Peter Pagin
Definition 1.12.4. Termination (§ 6.1) [pagin2021-terminate]
- September 2021
- Peter Pagin
If every derivation leads to a term in normal form, a system terminates.
Definition 1.12.5. Confluence (§ 6.1) [pagin2021-confluence]
- September 2021
- Peter Pagin
Definition 1.12.5. Confluence (§ 6.1) [pagin2021-confluence]
- September 2021
- Peter Pagin
is confluent iff, for all terms , whenever and , there is some such that and .
Definition 1.12.6. Convergence (§ 6.1) [pagin2021-convergence]
- September 2021
- Peter Pagin
Definition 1.12.6. Convergence (§ 6.1) [pagin2021-convergence]
- September 2021
- Peter Pagin
A confluent system that terminates is convergent.
Definition 1.13. -systems (§ 6.1) [pagin2021-mu-system]
- September 2021
- Peter Pagin
Definition 1.13. -systems (§ 6.1) [pagin2021-mu-system]
- September 2021
- Peter Pagin
A -system is a pair where—
- (an object- and meta-language signature),
- where is a set of atomic terms and is a set of -ary syntactic operators, so that the closure of under yields the grammatical term algebra of OL,
- where—
- is a nonempty set of atomic meta-language expressions,
- is a nonempty set of meta-language syntactic operators,
- is a nonempty set of elementary meta-language function symbols,
- is a possibly empty set of meta-language recursive function symbols over object language terms, and
- is a possibly empty set of meta-language recursive function symbols over meta-language terms.
Remark 1.13.1.
- September 2021
- Peter Pagin
Remark 1.13.1.
- September 2021
- Peter Pagin
The canonical expressions of ML, , close under , canonically express meanings, do not contain any operators or / functors, and rewrite derivations terminate with them.
Remark 1.13.2.
- September 2021
- Peter Pagin
Remark 1.13.2.
- September 2021
- Peter Pagin
The set of the semantic vocabulary of contains at least the semantic function symbol and is finite.
Remark 1.13.3.
- September 2021
- Peter Pagin
Remark 1.13.3.
- September 2021
- Peter Pagin
The set of -terms is the set of input terms to derivations, given by applying a semantic function symbol to an OL term.
Remark 1.13.4.
- September 2021
- Peter Pagin
Remark 1.13.4.
- September 2021
- Peter Pagin
and contain additional function symbols do not represent semantic functions, are not inputs to any rules in , but can take arguments from , , and .
Remark 1.13.5.
- September 2021
- Peter Pagin
Remark 1.13.5.
- September 2021
- Peter Pagin
The set of meta-linguistic terms of is the closure of under .
Definition 1.14. Complex indirect constant -systems (§ 8.3.4) [pagin2021-CIC]
- September 2021
- Peter Pagin
Definition 1.14. Complex indirect constant -systems (§ 8.3.4) [pagin2021-CIC]
- September 2021
- Peter Pagin
A complex indirect constant -system must satisfy the following.
- is finite.
- For any rule, the rewrite variables on the rhs must be a subset of those on the left.
- Rewrite variables take all and only object language grammatical terms as instances.
- Rewrite variables take all and only expressions in as instances.
- Every atomic rule is of the form where , and is a simple or complex expression in .
- For every pair there is an atomic rule.
- Every direct complex rule has the form where Gr corresponds to grammaticality.
- Every indirect complex rule has the form where are optional and .
- For every pair , there is a unique complex (indirect or direct) rule.
- Every indirect ground rule is of the -form or the -form where , , are operators over , and , and at most one of the primed operators is null.
- Every indirect recurisve rule in has an -form or -form where , , are operators over , , and at most one of the primed operators is null.
Proposition 1.15. [pagin2021-cic-terminate]
- September 2021
- Peter Pagin
Proposition 1.15. [pagin2021-cic-terminate]
- September 2021
- Peter Pagin
Complex indirect constant systems are convergent (§ 8.3.4).
Corollary 1.16. [pagin2021-mdl]
- September 2021
- Peter Pagin
Corollary 1.16. [pagin2021-mdl]
- September 2021
- Peter Pagin
Given a complex indirect constant -system, for any term , there is some minimum derivation length to a unique normal form.
Proposition 1.17. [pagin2021-general]
- September 2021
- Peter Pagin
Proposition 1.17. [pagin2021-general]
- September 2021
- Peter Pagin
Let be any complex indirect constant -system satisfying the following.
- For every , there are object-language atoms such that for every , where and , for some canonical expression , , and .
- The complex rule for is
- There are rules and for each .
Then is intractable.
Lemma 1.17.1.
- September 2021
- Peter Pagin
Lemma 1.17.1.
- September 2021
- Peter Pagin
Fix some and . Define
Moreover, define as the number of atomic leaves of .
For every object-language subterm of ,
Proof.
- September 2021
- Peter Pagin
Proof.
- September 2021
- Peter Pagin
By structural induction on .
If , has subterm , which must be reduced to eliminate to obtain a canonical form. Moreover, there is only one atomic leaf. So
Suppose . Normalisation requires elimination of the root of . Since the third argument has head , only will do so. Every derivation (minimum-length or otherwise) will have to apply that rule at some point. Without loss of generality, apply it at the beginning. Then Note is terminal by definition of complex indirect constant -systems. So
Proof. 1.17.2.
- September 2021
- Peter Pagin
Proof. 1.17.2.
- September 2021
- Peter Pagin
Now consider a minimum-length derivation of . There is some minimum-length derivation that begins whence whence .