Abstract
In the world of expressions, undefined values arise quite naturally. Simple examples are: the result of division by zero, or the integer square root of a negative number. When manipulating specifications in the form of mathematical expressions, possibly undefined expressions cannot be ignored. Rather, we choose to address the problem. This paper describes how the Coq theorem prover was used to implement a three-valued logic, where the three values are True, False and the undefined logical value ?. The threevalued logic is based on an extended propositional logic, which uses non-strict versions of the familiar operators, disjunction, conjunction and implication. The resulting implementation allowed us to prove some 60 theorems, and provides a solid basis for the implementation of a complete language of expressions with undefinedness.
| Original language | English |
|---|---|
| Type | Technical Report |
| Publication status | Published - 2002 |
Fingerprint
Dive into the research topics of 'Implementing a 3-Valued Logic in Coq'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver