powered by
Logical implication: x => y. Returns 1 unless x = 1 and y = 0. Equivalent to Or(Not(x), y).
Or(Not(x), y)
implies(x, y)
An Or expression representing !x | y.
!x | y
Boolean Variables or logic expressions.
iff(), Not(), And(), Or(), Xor()
iff()
Not()
And()
Or()
Xor()
if (FALSE) { x <- Variable(boolean = TRUE) y <- Variable(boolean = TRUE) expr <- implies(x, y) }
Run the code above in your browser using DataLab