### Related

##### and

hydrogen: (a) and (a)...

helium: (a) and (a) a...

lithium: (a) and (not...

Calculate

##### and-apply-cardinality-every-integer_partitions-integerp-lambda-map-subset

integer_partitions (3);

s: integer_partition...

cardinality (s);

Calculate

##### and-cardinality-every-integer_partitions-integerp-lambda-subset

s: integer_partitions...

cardinality (s);

xprimep(x) := integer...

Calculate

##### or

f:(h and not c) or (p...

f,h=false,c=false,p=f...

f,h=false,c=false,p=T...

Calculate

##### and-true

t1: (not a3) and (not...

t2: (not a3) and (a2...

t3: (not a2) and (a1...

Calculate

##### and

t1: a0;

t2: a1 and (a2 and a3);

t3: (a2 and (not a3) ...

Calculate

##### or

f: not a and b and no...

g: a and not b and c ...

h: a and not b and no...

Calculate

##### or

f:(A and C) or (A and...

f,A=True,B=False,C=Fa...

Calculate

##### or

f:((not I0) and I1 an...

Calculate

##### and-or-true

f:((not a) and (not c...

f,a=false,b=false,c=f...

f,a=false,b=false,c=f...

Calculate

### [and,not,or]

Run Example
```(%i1)bp_and(x,y) := x * y;
(%o1)                         bp_and(x, y) := x y
(%i2) 			bp_not(x) := 1 - x;
(%o2)                         bp_not(x) := 1 - x
(%i3) 			bp_or(x,y) := (1 - x)*y+x;
(%o3)                    bp_or(x, y) := (1 - x) y + x
(%i4) 									bp_xor(x,y) := bp_or(bp_and(bp_not(x),y),bp_and(x,bp_not(y)));
(%o4)  bp_xor(x, y) := bp_or(bp_and(bp_not(x), y), bp_and(x, bp_not(y)))
(%i5) 						bp_xor(1,0);
(%o5)                                  1
(%i6) ```
Run Example
```bp_and(x,y) := x * y;
(%o1)                         bp_and(x, y) := x y
(%i2) 			bp_not(x) := 1 - x;
(%o2)                         bp_not(x) := 1 - x
(%i3) 			bp_or(x,y) := (1 - x)*y+x;
(%o3)                    bp_or(x, y) := (1 - x) y + x
(%i4) 									bp_xor(x,y) := bp_or(bp_and(bp_not(x),y),bp_and(x,bp_not(y)));
(%o4)  bp_xor(x, y) := bp_or(bp_and(bp_not(x), y), bp_and(x, bp_not(y)))
(%i5) 						bp_xor(0,0);
(%o5)                                  0
(%i6) 			bp_xor(0,1);
(%o6)                                  1
(%i7) 			bp_xor(1,0);
(%o7)                                  1
(%i8) 			bp_xor(1,1);
(%o8)                                  0
(%i9) 									bp_xor(operande1, operande2);
(%o9) operande1 (1 - operande2) (1 - (1 - operande1) operande2)
+ (1 - operande1) operande2
(%i10) ```
Run Example
```bp_and(x,y) := x * y;
(%o1)                         bp_and(x, y) := x y
(%i2) 			bp_not(x) := 1 - x;
(%o2)                         bp_not(x) := 1 - x
(%i3) 			bp_or(x,y) := (1 - x)*y+x;
(%o3)                    bp_or(x, y) := (1 - x) y + x
(%i4) 									bp_xor(x,y) := bp_or(bp_and(bp_not(x),y),bp_and(x,bp_not(y)));
(%o4)  bp_xor(x, y) := bp_or(bp_and(bp_not(x), y), bp_and(x, bp_not(y)))
(%i5) 						bp_xor(0,0);
(%o5)                                  0
(%i6) 			bp_xor(0,1);
(%o6)                                  1
(%i7) 			bp_xor(1,0);
(%o7)                                  1
(%i8) 			bp_xor(1,1);
(%o8)                                  0
(%i9) 									symplify(bp_xor(operande1, operande2));
(%o9) symplify(operande1 (1 - operande2) (1 - (1 - operande1) operande2)
+ (1 - operande1) operande2)
(%i10) ```

Help for And

Help for Not

Help for Or