Encoding many-valued logic in $\lambda$-calculus
-
Published:2021-06-29
Issue:
Volume:Volume 17, Issue 2
Page:
-
ISSN:1860-5974
-
Container-title:Logical Methods in Computer Science
-
language:en
-
Short-container-title:
Abstract
We will extend the well-known Church encoding of Boolean logic into
$\lambda$-calculus to an encoding of McCarthy's $3$-valued logic into a
suitable infinitary extension of $\lambda$-calculus that identifies all
unsolvables by $\bot$, where $\bot$ is a fresh constant. This encoding refines
to $n$-valued logic for $n\in\{4,5\}$. Such encodings also exist for Church's
original $\lambda\mathbf{I}$-calculus. By way of motivation we consider
Russell's paradox, exploiting the fact that the same encoding allows us also to
calculate truth values of infinite closed propositions in this infinitary
setting.
Publisher
Centre pour la Communication Scientifique Directe (CCSD)
Subject
General Computer Science,Theoretical Computer Science