Binary combinatory logic
Binary combinatory logic (BCL) is a computer programming language that uses binary terms 0 and 1 to create a complete formulation of combinatory logic using only the symbols 0 and 1. Using the S and K combinators, complex Boolean algebra functions can be made. BCL has applications in the theory of program-size complexity (Kolmogorov complexity).
Binary combinatory logic (BCL) is a computer programming language that uses binary terms 0 and 1 to create a complete formulation of combinatory logic using only the symbols 0 and 1. Using the S and K combinators, complex Boolean algebra functions can be made. BCL has applications in the theory of program-size complexity (Kolmogorov complexity). ==Definition== ===Syntax=== Backus–Naur form: ::= 00 | 01 | 1 ===Semantics=== The denotational semantics of BCL may be specified as follows: [ 00 ] == K [ 01 ] == S [ 1 <term1> <term2> ] == ( [<term1>] [<term2>] ) where " [...] " abbreviates "the meaning of ... ". Here K and S are the KS-basis combinators, and ( ) is the application operation, of combinatory logic. (The prefix 1 corresponds to a left parenthesis, right parentheses being unnecessary for disambiguation.) Thus there are four equivalent formulations of BCL, depending on the manner of encoding the triplet (K, S, left parenthesis). These are (00, 01, 1) (as in the present version), (01, 00, 1) , (10, 11, 0) , and (11, 10, 0) . The operational semantics of BCL, apart from eta-reduction (which is not required for Turing completeness), may be very compactly specified by the following rewriting rules for subterms of a given term, parsing from the left: 1100xy → x 11101xyz → 11xz1yz where x , y , and z are arbitrary subterms. (Note, for example, that because parsing is from the left, 10000 is not a subterm of 11010000 .) ). ]] BCL can be used to replicate algorithms like Turing machines and Cellular automata, BCL is Turing complete. ==See also== Iota and Jot ==References== ==External links== John's Lambda Calculus and Combinatory Logic Playground A minimal implementation in C Lambda Calculus in 383 Bytes
References
- The insights of algorithmic entropy · retrieved 2026-11-19 · rev 1333817043
Cite this reference
MLA "The insights of algorithmic entropy." Devine, Sean (2009), "The insights of algorithmic entropy", Entropy , 11 (1): 85– 110, Bibcode : 2009Entrp. 2026-11-19. https://en.wikipedia.org/wiki/Bibcode_(identifier). Accessed 24 November 2026.
Chicago "The insights of algorithmic entropy." Devine, Sean (2009), "The insights of algorithmic entropy", Entropy , 11 (1): 85– 110, Bibcode : 2009Entrp. 2026-11-19. https://en.wikipedia.org/wiki/Bibcode_(identifier).
APA Devine, Sean (2009), "The insights of algorithmic entropy", Entropy , 11 (1): 85– 110, Bibcode : 2009Entrp. (2026). The insights of algorithmic entropy. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Bibcode_(identifier)
- Combinators: A Centennial View · retrieved 2021-02-16 · rev 1333817043
Cite this reference
MLA "Combinators: A Centennial View." a b c Wolfram, Stephen (2021-12-06). 2021-02-16. https://writings.stephenwolfram.com/2020/12/combinators-a-centennial-view/. Accessed 24 November 2026.
Chicago "Combinators: A Centennial View." a b c Wolfram, Stephen (2021-12-06). 2021-02-16. https://writings.stephenwolfram.com/2020/12/combinators-a-centennial-view/.
APA a b c Wolfram, Stephen (2021-12-06). (2021). Combinators: A Centennial View. Retrieved November 24, 2026, from https://writings.stephenwolfram.com/2020/12/combinators-a-centennial-view/
- Binary lambda calculus and combinatory logic · retrieved 2026-11-19 · rev 1333817043
Cite this reference
MLA "Binary lambda calculus and combinatory logic." a b Tromp, John (2007), "Binary lambda calculus and combinatory logic", Randomness and complexity (PDF) , World Sci. 2026-11-19. https://tromp.github.io/cl/LC.pdf. Accessed 24 November 2026.
Chicago "Binary lambda calculus and combinatory logic." a b Tromp, John (2007), "Binary lambda calculus and combinatory logic", Randomness and complexity (PDF) , World Sci. 2026-11-19. https://tromp.github.io/cl/LC.pdf.
APA a b Tromp, John (2007), "Binary lambda calculus and combinatory logic", Randomness and complexity (PDF) , World Sci. (2026). Binary lambda calculus and combinatory logic. Retrieved November 24, 2026, from https://tromp.github.io/cl/LC.pdf
- Randomness and complexity . · retrieved 2026-01-18 · rev 1333817043
Cite this reference
MLA "Randomness and complexity ." 2026-01-18. https://en.wikipedia.org/w/index.php?oldid=1333817043. Accessed 24 November 2026.
Chicago "Randomness and complexity ." 2026-01-18. https://en.wikipedia.org/w/index.php?oldid=1333817043.
APA encyclopegia.org. (2026). Randomness and complexity . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1333817043
- Combinators: A Centennial View . · retrieved 2026-01-18 · rev 1333817043
Cite this reference
MLA "Combinators: A Centennial View ." 2026-01-18. https://en.wikipedia.org/w/index.php?oldid=1333817043. Accessed 24 November 2026.
Chicago "Combinators: A Centennial View ." 2026-01-18. https://en.wikipedia.org/w/index.php?oldid=1333817043.
APA encyclopegia.org. (2026). Combinators: A Centennial View . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1333817043
Cite this article
MLA
"Binary combinatory logic." encyclopegia.org, 2026, https://encyclopegia.org/wiki/binary-combinatory-logic. Accessed 24 November 2026.
Chicago
"Binary combinatory logic." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/binary-combinatory-logic.
APA
encyclopegia.org. (2026). Binary combinatory logic. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/binary-combinatory-logic
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON