r/ProgrammerHumor • • Oct 14 '26

Meme everythingIsO1ToGod

Post image
4.5k Upvotes

167 comments sorted by

View all comments

Show parent comment

535

u/bartekltg Oct 14 '26

Yep.
It doesn't contradict the halting problem results, bacause you can't run God on a Turing machine.
Someone already talked about oracles https://en.wikipedia.org/wiki/Halting_problem#Oracle_machines

128

u/samobellows Oct 14 '26

"God is not Turing Complete" is a t-shirt i'd wear.

74

u/Skallos Oct 14 '26 edited Oct 14 '26

I'm pretty sure it's supposed to be the other way around, but I don't think there is as catchy a way to say it properly. Turing complete means it can run any Turing machine. Being unable to be run on a Turing machine does not mean it isn't Turing complete. E.g. Turing machine with a halting oracle is Turing complete, but can't be simulated with a Turing machine.

Edit: "God is not Computable" should work.

50

u/bartekltg Oct 14 '26

> "God is not Computable" 

So, you may say "God works in mysterious ways"

8

u/thirdegree Violet security clearance Oct 15 '26

Which is also a pretty solid t-shirt actually

15

u/KitsuneFoxglove Oct 15 '26

If God is Turing complete, then God can run Doom.

8

u/bartekltg Oct 15 '26

God's community managers (prophets) promised God will run Doom as MMO. A server called Armagedon is already booked. 

4

u/Ardub23 Oct 15 '26

Yeah but his version takes 13.8 billion years to load

→ More replies (1)
→ More replies (1)

16

u/Kadabrium Oct 14 '26

Oracle machine is just the jvm

147

u/adamtheskill Oct 14 '26

I can simulate god without a single line of code cause that fucker isn't doing shit

119

u/AZMPlay Oct 14 '26

I can simulate him with a bash script!

sleep infinity;

24

u/Yharon314 Oct 14 '26

now we just need to rewrite it in rust

21

u/Traditional_Rabbit54 Oct 14 '26

loop { }

9

u/AZMPlay Oct 14 '26

That's a tight loop though. sleep infinity suspends the process.

12

u/Traditional_Rabbit54 Oct 14 '26

I’ve been uncovered as a fraud. I’ll have to go back to python as recompense. 

Fare well, I shall see you all after my 5 line program manages to execute without throwing 20 errors. 

3

u/Extension_Option_122 Oct 14 '26 edited Oct 19 '26

Sure that that wouldn't get optimized away?

Edit: idk I guess I left my brain outside

6

u/Traditional_Rabbit54 Oct 14 '26

Just tested, it doesn’t, even using the release flag

Godbolt shows that it just jumps to itself

→ More replies (6)
→ More replies (1)
→ More replies (1)

6

u/Jcsq6 Oct 14 '26

I mean we can undercut Turing and go straight to Gödel since it has fewer assumptions. If god exists in a logical system, then how can he prove the unprovable? How is he able to avoid the diagonalization argument? As far as the mythology goes, god seems to operate within normal rules of logic (although maybe not physical rules of logic). I guess Gödel still has some assumptions, but I’m pretty sure they’re prerequisites to any useful logical system.

20

u/NomaTyx Oct 14 '26

if you want to be real pedantic, God doesn't need to prove that his answer is correct, but he does know and is obviously right. He did also decide the answer so I mean

7

u/Jcsq6 Oct 14 '26

Assuming god invented logic brings its own joys of philosophical quandaries.

4

u/NomaTyx Oct 14 '26

if we take god as real is the assumption not that he wrote the rules? If not, then what is god in this case? Like obviously his existence brings up problems but i thought we were taking it for granted and not thinking about it too hard for the sake of this specific problem.

4

u/Jcsq6 Oct 14 '26

Well, I’m talking about the philosophical “god”, not the evangelical. An evangelical just says “god is all powerful, he created everything, including logic” and accepts it without much extra thought. But each of these assumptions brings several concrete logical issues— none of which with a clear resolution. I’ll ignore the other issues (e.g., all-powerful / all-good cannot coexist with evil). This is a huge topic in philosophy and has been for thousands of years: Descartes, Ockham, Lewis Carroll, etc. The idea that god created logic gives several issues: nothing can be said about anything that existed before logic— they can’t be said to do or decide anything. So if god created logic, the statement “god created logic” is meaningless. Nothing true can be said about logic. It also means that our notion of logic could very reasonably be nonsense, i.e. god could be lying to us about logic (Descartes’ evil demon). If god did not create logic, then everything works out as expected, but you have to give up a degree of what you would like to assume “all powerful” means.

If you want to look into this, pretty much all philosophy since writing has existed touches on these concepts.

4

u/NomaTyx Oct 14 '26

It also means that our notion of logic could very reasonably be nonsense, i.e. god could be lying to us about logic (Descartes’ evil demon).

Yeah that's kind of what I think "God created logic" entails, that the way things actually work is beyond our comprehension and a real actual capital G God would be by no means bound to the rules that we are, and that we live in a simulated or limited reality under his created rules.

I just assumed that if we say "god" (especially an omniscient one) we assume that this is the evangelical depiction, in which case saying "this god violates logic and can't exist" is a separate argument

→ More replies (1)

6

u/thaynem Oct 15 '26

Gödel says you can't prove some statements about a system within that system. But you may be able to prove it in a "higher" system that adds more rules. Presumably an infinite being would be able to use an infinite number of such systems.

3

u/Jcsq6 Oct 15 '26

Yes, but “proving it in a higher system” ultimately decomposes into effectively “take this unprovable result as an axiom”, sometimes in a more clever or agreeable way (see axiom of choice with well ordering theorem). But it can never be resolved. That’s what I was saying in another comment, is that god can trivially serve as this higher-order system, but that doesn’t mean he can actually compute the result or check that it’s true. And an “infinite being can resolve an infinite sequence” only applies if that infinite regress has a resolution possible in the first place. In this case, no matter how high you go, you can never prove the consistency of a system without the higher system. So it doesn’t matter if you can do it an “infinite number of times” (while pretending that infinity can exist in a concrete way like this in this system) if each time doesn’t change anything. The limit of 1 as n goes to infinity is 1.

→ More replies (9)
→ More replies (8)