Successive bracket abstractions are processed from the inside out: . Retain only as a temporary abbreviation for the I combinator. Since is absent from , the first bracket abstraction is
For the outer bracket abstraction, is absent from and the S combinator, while it occurs in . Hence
Substituting upward and then expanding gives the following fully bracketed string, consisting solely of the S combinator, the K combinator and parentheses:
For readability, the same result with the usual left association convention and the temporary abbreviation is
The syntactic result comes from the specified bracket abstraction algorithm. Replacing it by the shorter K combinator, despite agreement after two arguments, would not answer the requested computation. As a check using the result of part (b), applying the computed combinatory logic term to gives .

Articles by others on the same topic (0)

There are currently no matching articles.