Previous systems excluded \(\ulcorner \cdot \urcorner \) as a consequence of strong normalisation. System \(\mathsf {K}\) excludes it directly, by a resource condition, so that the encoding condition cannot be instantiated at all while computation on data remains unrestricted.
Every construction in the limitative results uses a name twice.
| Construction | Expression | Duplicated |
| Diagonal lemma | \(\psi \leftrightarrow \varphi (\ulcorner \psi \urcorner )\) | \(\psi \) on both sides |
| Gödel sentence | \(G \leftrightarrow \neg \operatorname {Prov}(\ulcorner G\urcorner )\) | \(G\) |
| Turing | \(\varphi _e(e)\) | \(e\) as function and argument |
| Kleene | \(\varphi _e \simeq \varphi _{f(e)}\) | \(e\) |
| Self-interpreter | \(d := \lambda x.\,\mathrm {eval}\,x\,x\) | \(x\) |
Proposition 268.1. Diagonalisation is an instance of contraction:
\(\mathsf {K}\) is linear, with the exponential \(!\) available on data types and withheld from the type of forms.
Numbers, pairs, lists and every inductive datum are duplicable, so computation proceeds as usual. A form — a syntactic object of \(\mathsf {K}\) itself — is a linear resource: it may be used once.
Proof. Suppose \(\ulcorner \cdot \urcorner : \mathsf {Form} \to \mathbb {N}\) existed, with decoding \(\mathrm {Dec} : \mathbb {N} \to \mathsf {Form}\) satisfying \(\mathrm {Dec}(\ulcorner F\urcorner ) = F\). Since \(\mathbb {N}\) is a data type, \(!\mathbb {N}\) is available and duplication \(\mathrm {dup} : \mathbb {N} \to \mathbb {N} \otimes \mathbb {N}\) is definable. Composing,
Encoding is not merely absent: it would smuggle a linear resource into a duplicable type, and the type discipline forbids the composite.
Hence
Equivalently, the theories of \(\mathsf {K}\) are exactly those admitting no such injection:
The restriction falls on forms, not on data.
| Capability | Status in \(\mathsf {K}\) | Reason |
| Arithmetic \(+,\times ,\hat {}\) | full | \(!\mathbb {N}\) available |
| Inductive data | full | \(!\mathbb {D}\) available |
| Duplication of numbers | yes | \(\mathrm {dup}\) on data |
| Higher-order functions | yes | linear function space |
| Duplication of forms | no | \(!\mathsf {Form}\) absent |
| Self-application | no | requires duplication |
| \(\ulcorner \cdot \urcorner \) | no | Theorem above |
A program may compute anything computable on its data. What it may not do is treat its own text as one of those data and use it twice.
| System | Mechanism | \(\ulcorner \cdot \urcorner \) excluded by |
| \(\mathcal {C}\) | level restriction | \(\mathrm {SN} \Rightarrow \nexists \,\mathrm {eval}\) |
| \(\mathcal {L}\) | judgements, no \(\models \) | no propositions to code |
| \(\mathsf {K}\) | linearity of forms | \(!\mathsf {Form}\) not a type |
The three are independent. \(\mathcal {C}\) blocks by termination, \(\mathcal {L}\) by removing the semantic layer, \(\mathsf {K}\) by resource accounting. Any one suffices; together they show that the classical bundling of computation with self-encoding can be undone in more than one way.
Remark 268.3. The exclusion in \(\mathsf {K}\) has a reading in the partition language. Contraction is \(\Pi ^2 = \Pi \): a resource used twice is the same resource. Linearity is \(dO = -dU\): what is used is consumed. Classical systems assume the first for every type, which is what permits a form to serve simultaneously as function and as argument. \(\mathsf {K}\) imposes the second on forms alone, and the diagonal — which requires a form to be in two places at once — is thereby unavailable while conservation of data is untouched.