|
|
|
|
|
by keenerd
3647 days ago
|
|
> Two of them are special: NOR and NAND. No, IMP does this as well. It has mostly been useful for memristor logic. A B IMP
0 0 1
0 1 1
1 0 0
1 1 1
I have a suspicion there is a more general mathematical law that says any boolean rule with a 1-of-4 split (either exactly one true or exactly one false) can be used for general computation, if you can make a NOT gate out of it. (Since AND/OR obviously is not workable.) So there should be six possible universal logic gates. |
|
A → B |- ~(A & ~B)
1) A → B [by assumption] 1
2) A & ~B [by assumption] 2
3) A [conj. elim. 2] 2
4) B [imp by 1,2] 1,2
5) ~B [conj. elim 2] 2
6) B & ~B [conj 4,5] 1,2
7) ~(A & ~B) [reductio ad absurdum 2,6] 1
{Thus by assuming only A → B we prove that we can derive ~(A & ~B).}
From there you can also trivially prove that ~(A & ~B) |- A → B; thus, they are tautologous and so given the primitives ~ and &, implication is not quite as "special" for a Universal Turing machine. This is merely to show, independent of any construction using only IMP, one can trivially reduce it to more primitive components, thus undermining any claim to a "special" status in the context of universal computation.