This sounds very cool. I wish I understood both Jot and that sentence.
This sounds very cool. I wish I understood both Jot and that sentence.
empty 0 1 00 01 10 11 000 001 ...
0 1 2 3 4 5 6 7 8 ..."easily" is arguable. Sure, I could multiply/factor an enormous number and count how many copies of each prime it has, but I'd much rather concatenate/split some digits.
If you have a quantity in mind but you're not sure what its digits are, it can be a lot of work to learn.
If you mean what base to represent the number in, that's no more arbitrary than knowing the exact way Gödel numbers use primes.
And factoring the number of people on earth would be just as hard.
If you're clever about the way you write your syntax tree you can limit the primes to below 13 or so. Don't think there are many useful language constructs that consist of more than 5 or so terms (I think you can limit it to 3 if you encode lists as (list a (list b (list c nil))).
Otherwise, wouldn't any language assigning a valid meaning to any sequence of 0 and 1 be a Gödel numbering, even if only by saying that "an unrecognised sequence is a noop"?
> To encode an entire formula, which is a sequence of symbols, Gödel used the following system. Given a sequence (x_1, x_2, x_3, ..., x_n) of positive integers, the Gödel encoding of the sequence is the product of the first n primes raised to their corresponding values in the sequence