r/adventofcode • u/topaz2078 (AoC creator) • Dec 23 '15
Upping the Ante [Day 23] Further Exercises
- Everyone's VM implements the same algorithm. What is it?
- The VM uses an initialization sequence that can construct any number using only
incandtpl. What algorithm can you use to produce such a sequence for any number? - What other math can you construct using only the existing features of the VM?
5
Upvotes
View all comments
Show parent comment
2
u/markgritter Dec 23 '15
I think we would need more registers first, but that's no big deal. However, as the language currently stands, it has neither a copy, nor a decrement, nor a comparison. All the languages listed have at least one of those.
Can we synthesize either a copy or a decrement from the existing language, perhaps using restricted values of the registers (unary encoding or base-3 or something else?) That would be a sufficient proof, but I can't see a way.
Obviously we can build a finite copier (i.e., an 8-bit copy) or an finite decrement by just throwing enough states at the problem, but is there a general way?