Ok. I’m not sure what you mean by implement. Maybe write as equivalent arithmetic expressions?:
and(x, y) = x * y
1 * 1 = 1
1 * 0 = 0
0 * 0 = 0
0 * 1 = 0
or(x, y) = x + y
1 + 1 = 1
1 + 0 = 1
0 + 1 = 1
0 + 0 = 0
not(x) = -1?
Hmm… if x is 1 then not(x) is 0, if x is 0 then not(x) is 1…
Stuck on not(x) longer than 10 mins.