I was reading a book entitled Godel, Escher, Bach and one of its problems asks how a person can write that B is a power of 2 in its TNT language.
One solution I found online reads:
∀c:(∃d:(c⋅d=b)→(c=S0∨∃a:(c=SS0⋅a)))
So as I read this, it means:
For all numbers c,
if there exists D such that B/C=D
then C = 1
OR there exists A such that C=2a
I'm having trouble understanding why B always must be a power of 2. First, I don't understand why B and D cannot be equal, where B and D are any number, and C is equal to 1. Second, I don't understand why B cannot be a number with a factor of 2 but which is not a power of 2, where C=2a and A=some number other than a power of 2.
I'm quite confused. I think I must be missing a contradiction or I must not understand how the quantifiers work.