Excel is Turing-complete :P
Can you prove it? (Not using scripting, of course.)
Ask HN: What can't you do in Excel?
181–190 of 201 posts
Re: Ask HN: What can't you do in Excel?
#182Earlier quoted context omitted.
Can you prove it? (Not using scripting, of course.)
I do not want to prove it, because I'm lazy, but I know it's trivially provable that it's possible to create a Turing machine in Excel in many ways. You could take any row or column to be the tape and store state and table in other cells. Then add a bunch of conditionals and LOOKUPs you get your Turing machine. It would probably be easier using VBA, but it's an interesting idea. (Not that it would get you anywhere, t…
Re: Ask HN: What can't you do in Excel?
#183Earlier quoted context omitted.
I do not want to prove it, because I'm lazy, but I know it's trivially provable that it's possible to create a Turing machine in Excel in many ways. You could take any row or column to be the tape and store state and table in other cells. Then add a bunch of conditionals and LOOKUPs you get your Turing machine. It would probably be easier using VBA, but it's an interesting idea. (Not that it would get you anywhere, t…
OK, might work.
Re: Ask HN: What can't you do in Excel?
#184Earlier quoted context omitted.
Can you prove it? (Not using scripting, of course.)
I do not want to prove it, because I'm lazy, but I know it's trivially provable that it's possible to create a Turing machine in Excel in many ways. You could take any row or column to be the tape and store state and table in other cells. Then add a bunch of conditionals and LOOKUPs you get your Turing machine. It would probably be easier using VBA, but it's an interesting idea. (Not that it would get you anywhere, t…
This paper claims to prove that the authors' spreadsheet is Turing-complete in contrast to Excel:
http://web.engr.oregonstate.edu/~burnett/Turing/TuringMachin...
Actually, it would be more interesting if spreadsheets were not Turing-complete, given how much people are able to do with them.
Re: Ask HN: What can't you do in Excel?
#185Earlier quoted context omitted.
I do not want to prove it, because I'm lazy, but I know it's trivially provable that it's possible to create a Turing machine in Excel in many ways. You could take any row or column to be the tape and store state and table in other cells. Then add a bunch of conditionals and LOOKUPs you get your Turing machine. It would probably be easier using VBA, but it's an interesting idea. (Not that it would get you anywhere, t…
I'm not so sure. Googling around on this brings up a lot of statements to the effect that Excel is not Turing-complete. (I mean, of course, excluding VBA.) I haven't found a proof either way, though surely one is out there. This paper claims to prove that the authors' spreadsheet is Turing-complete in contrast to Excel: http://web.engr.oregonstate.edu/~burnett/Turing/TuringMachin... Actually, it would be more interes…
Edit: Spreadsheets have no state. This is hard. If only I could delay evaluation :P
Re: Ask HN: What can't you do in Excel?
#186Earlier quoted context omitted.
I'm not so sure. Googling around on this brings up a lot of statements to the effect that Excel is not Turing-complete. (I mean, of course, excluding VBA.) I haven't found a proof either way, though surely one is out there. This paper claims to prove that the authors' spreadsheet is Turing-complete in contrast to Excel: http://web.engr.oregonstate.edu/~burnett/Turing/TuringMachin... Actually, it would be more interes…
Really? I'd find it hard to believe that it isn't Turing complete. The only reason I can think of would be limits on nested functions or otherwise, but I dunno, I've been googling around myself and some say it isn't. Well, next thing to do: implement a Turing machine in Excel. Or Google Docs. I think I'm going for the latter. Edit: Spreadsheets have no state. This is hard. If only I could delay evaluation :P
Re: Ask HN: What can't you do in Excel?
#187Earlier quoted context omitted.
Really? I'd find it hard to believe that it isn't Turing complete. The only reason I can think of would be limits on nested functions or otherwise, but I dunno, I've been googling around myself and some say it isn't. Well, next thing to do: implement a Turing machine in Excel. Or Google Docs. I think I'm going for the latter. Edit: Spreadsheets have no state. This is hard. If only I could delay evaluation :P
Can you email me about this? Address in profile.
Re: Ask HN: What can't you do in Excel?
#188Earlier quoted context omitted.
I'm not so sure. Googling around on this brings up a lot of statements to the effect that Excel is not Turing-complete. (I mean, of course, excluding VBA.) I haven't found a proof either way, though surely one is out there. This paper claims to prove that the authors' spreadsheet is Turing-complete in contrast to Excel: http://web.engr.oregonstate.edu/~burnett/Turing/TuringMachin... Actually, it would be more interes…
Really? I'd find it hard to believe that it isn't Turing complete. The only reason I can think of would be limits on nested functions or otherwise, but I dunno, I've been googling around myself and some say it isn't. Well, next thing to do: implement a Turing machine in Excel. Or Google Docs. I think I'm going for the latter. Edit: Spreadsheets have no state. This is hard. If only I could delay evaluation :P
Re: Ask HN: What can't you do in Excel?
#189Earlier quoted context omitted.
Really? I'd find it hard to believe that it isn't Turing complete. The only reason I can think of would be limits on nested functions or otherwise, but I dunno, I've been googling around myself and some say it isn't. Well, next thing to do: implement a Turing machine in Excel. Or Google Docs. I think I'm going for the latter. Edit: Spreadsheets have no state. This is hard. If only I could delay evaluation :P
Another idea: Implement one-dimensional cellular automata in Excel. There are fairly simple Turing-complete ones.