On properties of $B$-terms

30 Jan 2019  ·  Mirai Ikebuchi, Keisuke Nakano ·

$B$-terms are built from the $B$ combinator alone defined by $B\equiv\lambda f.\lambda g.\lambda x. f~(g~x)$, which is well known as a function composition operator. This paper investigates an interesting property of $B$-terms, that is, whether repetitive right applications of a $B$-term cycles or not. We discuss conditions for $B$-terms to have and not to have the property through a sound and complete equational axiomatization. Specifically, we give examples of $B$-terms which have the property and show that there are infinitely many $B$-terms which do not have the property. Also, we introduce a canonical representation of $B$-terms that is useful to detect cycles, or equivalently, to prove the property, with an efficient algorithm.

PDF Abstract
No code implementations yet. Submit your code now

Categories


Logic in Computer Science 03B40 (Primary) 68Q42 (Secondary) F.4.1; F.4.2

Datasets


  Add Datasets introduced or used in this paper