...
- a boolean constant
true
andfalse
; - a symbol
S
representing a boolean variable; (make-Not X)
whereX
is aboolExp
;(make-And X Y) where X
andY
are {{boolExp}}sboolExps
;(make-Or X Y) where X
andY
areboolExp
sboolExps
;(make-Implies X Y)
whereX
andY
areboolExp
sboolExps
; or(make-If X Y Z)
whereX
,Y
, andZ
areboolExp
sboolExps
.
A bool-SchemeExp is either:
...