Math 2.0

Mathematical logic and foundations Definition

SKI combinator calculus

Builds on Lambda calculusRewriting system

Definition

Fix a countable set of variables. The SKI terms are defined by these rules.

  1. Every variable and each of the constants 𝐒\mathbf{S}, 𝐊\mathbf{K}, 𝐈\mathbf{I} is a term.
  2. If MM and NN are terms, then (M N)(M\, N) is a term.

Application associates to the left, so M N PM\, N\, P means ((M N) P)((M\, N)\, P). Weak reduction β†’w\to_w is the least relation on terms with two properties. First, it contains the rules πˆβ€‰Mβ†’wM,πŠβ€‰M Nβ†’wM,𝐒 M N Pβ†’wM P (N P)\mathbf{I}\, M \to_w M, \qquad \mathbf{K}\, M\, N \to_w M, \qquad \mathbf{S}\, M\, N\, P \to_w M\, P\, (N\, P) for all terms M,N,PM, N, P. Second, if Mβ†’wMβ€²M \to_w M' then M Nβ†’wM′ NM\, N \to_w M'\, N and N Mβ†’wN Mβ€²N\, M \to_w N\, M'. The SKI combinator calculus is the set of SKI terms with weak reduction, a rewriting system.

Remarks

Example: π’β€‰πŠβ€‰πŠ\mathbf{S}\, \mathbf{K}\, \mathbf{K} behaves like 𝐈\mathbf{I}. For every term MM, π’β€‰πŠβ€‰πŠβ€‰Mβ†’wπŠβ€‰M (πŠβ€‰M)β†’wM\mathbf{S}\, \mathbf{K}\, \mathbf{K}\, M \to_w \mathbf{K}\, M\, (\mathbf{K}\, M) \to_w M.

Non-example: πŠβ€‰M\mathbf{K}\, M alone is not a redex. The rule for 𝐊\mathbf{K} needs two arguments, so πŠβ€‰M\mathbf{K}\, M is in normal form whenever MM is.

Combinatory completeness: for each term MM and variable xx there is a term [x]M[x]M without xx such that ([x]M) Nβ† wM[x:=N]([x]M)\, N \twoheadrightarrow_w M[x := N] for all NN. One can take [x]x=𝐈[x]x = \mathbf{I}, [x]M=πŠβ€‰M[x]M = \mathbf{K}\, M if xx does not occur in MM, and [x](M N)=𝐒 ([x]M) ([x]N)[x](M\, N) = \mathbf{S}\, ([x]M)\, ([x]N) otherwise. This translates every term of the lambda calculus into an SKI term with the same behavior on arguments.

Reading path

To understand this page from the ground up, read these 3 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Lambda calculus concept
  2. Rewriting system concept
  3. SKI combinator calculus definition

Further reading

  1. Web https://en.wikipedia.org/wiki/SKI_combinator_calculus
About this page
Tag115KGD940W
URIm2://115KGD940W
Kinddefinition
WritingW0 stub
MSC03B40, 68N18
DefinesSKI combinator calculus
UsesLambda calculus, Rewriting system
Changed3 November 2026

Markdown Β· JSON Β· Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.