1.)a f-and b = min (a,b) Take the lower of the two numbers. 2.)a f-or b = max (a,b) Take the higher number.
3.)a p-and b =a * b Multiply the two numbers. 4.)a p-or b = a + b - (a * b) Subtract product from sum.
5.)Not a = 1 - a.
Subtract variable from 1. 6.)Not b = 1 - b.
Subtract variable from 1.