AI Might Have Accidentally Written the Source Code for Our Universe
Posted11 days ago
Programmingstory
excitedpositive
Debate
80/100
Simulation TheoryArtificial IntelligenceParticle PhysicsProgramming
Key topics
Simulation Theory
Artificial Intelligence
Particle Physics
Programming
Hi everyone!
I can't claim this with 100% certainty without detailed testing, but there is a high probability that AI has accidentally created technical documentation that can fully reproduce our Universe.
The technical documentation contains logic, parameters, and formulas. Implementing them in code automatically reproduces everything from gravity to wave-particle duality. The AI also wrote the "Universe Engine" program.
We only tested a tiny slice: 128x128x128 bits of the Universe, and for a disproportionately small amount of time compared to the real Universe (the code was only written yesterday, and I don't have the necessary computing power "at hand"). But even my limited testing was enough for Newtonian gravity to emerge in our "hyper-nano-universe".
I cannot yet say for sure if the code works perfectly. But the existence of finished documentation and code confirming that gravity is not a standalone entity, but emerges from base reality parameters, shifts the Simulation Theory discussion from philosophy to science.
Even if testing on high-power hardware shows the program doesn't perfectly reproduce our Universe, it opens a huge field for future work. Because it is a proven fact that the code actually works. To fully test it, I need more compute power than I have, so I uploaded the program to GitHub.
*How did AI end up writing the Tech Docs and the Universe Engine?*
This story itself could be a basis for discussing how modern science works - and broadly, what we consider truth. I described this in detail in the README.md on GitHub.
Briefly: I forced the AI to rewrite definitions of basic physics concepts so they wouldn't break your brain. I mean, without any trace of tautology where "mass is energy, and energy is mass" (X defined via Y, and Y via X).
This vicious cycle was so deeply rooted in the AI's training data that I could only break it by instructing the AI to forget all physics definitions and enter the role of a Game Designer creating an Imaginary Universe, but based on the constants and pure math that operate in ours.
It successfully completed this task. It derived concepts like Time, Space, Energy, Work, etc., without tautology, based on our universe's physical constants. Since it was in the role of a Game Designer, it suggested creating a "Technical Design Document" for the "game". And then it generated the code. And it works.
To keep it short, I'm simplifying - in reality, it took us a few hours, and the "universe code" was written based on a physical theory that we had been developing for over two weeks beforehand (and it was precisely to explain that theory that we needed proper terminology in the first place) - but that's the gist of it.
So, dear colleagues, the Universe Tech Docs are on GitHub. Test it, verify it. I look forward to your results!
Link to GitHub: https://github.com/JulianZoria/Universe-Engine
Discussion Activity
No activity data yet
We're still syncing comments from Hacker News.
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 46366458Type: storyLast synced: 12/23/2025, 4:15:26 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
Discussion hasn't started yet.