User:Tommyaweosme/Wolfram logic gates
This is a project to represent every Wolfram rule in logic gates.
a = left cell
b = center cell
c = right cell
0
2 not(and(a,b))
4 not(and(a,c))
6 and(xor(b,c),not(a))
8 and(not(a),and(b,c))
10 and(c,not(a))
12 and(b,not(c))
14 and(xor(a,b),not(c))
16 not(and(b,c))
18 and(xor(a,c),not(b))
20 and(xor(b,c),not(a))
22 and(not(and(a,b))),and(not(and(a,c))),not(and(b,c)))))
24 and(a,not(c))
26 or(and(not(b),xor(a,c)),not(c))
28 and(or(and(and(a,b)),and(xor(a,b))),not(c))
30 xor(a,or(b,c))
32 and(not(b),and(a,c))
34 and(a,not(c))
36 or(and(b,not(a,c)),and(a,and(b,not(c))))
38 or(and(not(c),xor(a,b),and(a,and(c,not(b))))
40 and(c,xor(a,b))
42 and(c,not(and(a,b)))
44 and(and(xor(a,b),c),and(b,not(a,c)))
46 xor(a,b)
48 and(c,not(b))
50 not(b)
54 not(a,and(b,c))
60 or(xor(b,c),and(xor(a,b),c))
64 and(not(c),and(a,b))
80 and(a,not(c))
90 xor(a,c)
92 or(a,b),not(c)
100 or(and(xor(a,b),and(c)),b)
108 and(b,not(and(a,c)))
110 and(c,not(and(a,b)))
112 and(a,not(and(b,c)))
122 or(not(b),and(b,xor(a,c)))
124 and(b,not(and(a,c)))
128 and(and(a,b),c)
150 and(a,and(b,c)),or(and(a,not(and(b,c))),or(and(b,not(and(a,c))),and(c,not(and(a,b)))))
170 c
200 and(b,or(a,c))
202 or(c,and(b,or(a,c)))
254 b