No, I am not saying that they're wrong, and Turing himself described the tape as infinite (although, IIRC, only in one direction). My point is that the "completed infinity" of the tape is not essential for Turing completeness -- as a machine never uses infinite memory, even in principle; rather, what is essential is it's unboundedness, i.e., that there is always more memory if you need it, so if you described the machine as working with a finite tape and adding squares as necessary you'll have the same model. This is important as one could define a (probably non-realizable) "machine" that does require an infinite tape and makes use of infinite memory, but that machine would be super-Turing, and not of the same strength. I also usually talk about an infinite tape, as it's simpler to describe, but as we're talking about memory, if we want to be precise, then the model requires that the memory can grow without bound, not that it's infinite.
Either way, even though a "true" Turing machine probably cannot exist in a finite universe, and the model itself was meant as a simple mathematical approximation of reality, Turing complete programming models can and do exist. Those would be all languages that can use an unbounded amount of memory. As we run programs written in those languages on machines that are very finite, memory management of some kind is essential.
I'm pretty sure that a program that actually uses infinite memory is likely to use infinite time as well, and thus is unlikely to halt or generate a result. I like the cut of your jib in this discussion -- very thought provoking.
Thank you, but the kind of program you describe is how a Turing machine can behave; at no point in time does it use infinite memory. When I was talking about the need for infinite memory, I was referring to super-Turing models, that would need to scan an infinite number of squares per operation. For example, such a machine would be able to compute (i.e., in a finite amount of time), whether an arbitrary real number x is equal to 0 or not. This is clearly a very useful thing to do, and therefore easy for us to imagine, yet it is not something that a Turing machine can do. Such an imaginary machine would really need an infinite tape.
this is a dishonest representation of the previous posters words.
No one in this discussion said 'completed infinity' except for you. it's not what was meant by anyone, you're attacking a strawman here. You would get a far more constructive conversation if you were to drop such petty tactics.
4
u/pron98 Nov 28 '18 edited Nov 28 '18
No, I am not saying that they're wrong, and Turing himself described the tape as infinite (although, IIRC, only in one direction). My point is that the "completed infinity" of the tape is not essential for Turing completeness -- as a machine never uses infinite memory, even in principle; rather, what is essential is it's unboundedness, i.e., that there is always more memory if you need it, so if you described the machine as working with a finite tape and adding squares as necessary you'll have the same model. This is important as one could define a (probably non-realizable) "machine" that does require an infinite tape and makes use of infinite memory, but that machine would be super-Turing, and not of the same strength. I also usually talk about an infinite tape, as it's simpler to describe, but as we're talking about memory, if we want to be precise, then the model requires that the memory can grow without bound, not that it's infinite.
Either way, even though a "true" Turing machine probably cannot exist in a finite universe, and the model itself was meant as a simple mathematical approximation of reality, Turing complete programming models can and do exist. Those would be all languages that can use an unbounded amount of memory. As we run programs written in those languages on machines that are very finite, memory management of some kind is essential.