by acmiyaguchi · 3y ago · 0 comments
Sipser's "Introduction to the Theory of Computation" was the book I had to read, and it certainly makes this post more accessible.
I like this choice, and I would like to use it myself. But if ℕ starts with 1, what do I call {0} ∪ ℕ? I guess ℕ₀ is a reasonable choice.
It's not a great choice, purely for the reason that there's already a convenient name for the positive integers, ℤ⁺.
Oh, see how I numbered this 1) and 2), not 0) and 1)?
So what?
> 2) it's not really clear if ℤ⁺ denotes ℕ or ℕ₀.
On the contrary. ℕ is ambiguous between the positive integers and nonnegative integers, though in my experience it's usually the nonnegative integers.
But ℤ⁺ is absolutely unambiguous. It's the positive integers.
And since you frequently need to refer to the nonnegatives, it makes sense to have a symbol for them too. There's almost no benefit to having ℕ available as a synonym for ℤ⁺. There's a lot of benefit to having it available as a synonym for ℤ\ℤ⁻.