frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Python Simulator of David Deutsch’s "Constructor Theory of Time"

https://github.com/gvelesandro/constructor-theory-simulator
40•SandroG•3h ago
Hi HN,

I turned the freshly published paper “The Constructor Theory of Time” by David Deutsch and Chiara Marletto (arXiv, 13 May 2025) into an executable Python library.

What you’ll find • One-to-one translation of the paper’s formalism: Substrates, Attributes, Tasks, Constructors, and task-algebra operators • Possibility / impossibility predicates and counterfactuals encoded exactly as defined • Test suite that mirrors every lemma and example (>95 % coverage, mypy-typed) • Reproductions of key results: time-keeping substrates, irreversibility proofs, quantum branching tasks, and a self-replicating constructor

Why share? Reading the paper is tough going; expressing each definition in code clarified the ideas and surfaced a couple of questions for discussion. Hoping it helps others and sparks extensions.

Looking for feedback: • Did I miss any subtleties in the formalism? • Which additional theorems or examples would you like implemented next?

Repo: https://github.com/gvelesandro/constructor-theory-simulator

Thanks for taking a look—issues and PRs welcome!

Comments

revskill•2h ago
What is it for ?
monocasa•2h ago
https://en.wikipedia.org/wiki/Constructor_theory
amelius•1h ago
Can it simulate a hydrogen atom? How about two hydrogen atoms coming into contact with various energies?
SandroG•44m ago
Here you go:

https://github.com/gvelesandro/constructor-theory-simulator/...

canvascritic•1h ago
Clearly a labor of love. Props to you

I suppose if one is teaching or evangelizing constructor theory, this could be sort of like an interactive textbook

Needless to say, constructor theory hasn't really earned a stable foothold in mainstream physics, and there's a lot of hype in this space, but that's not a criticism of this particular project, just good to know for anyone not familiar

The quantum gravity + graviton tasks stuff especially. without a falsifiable physical model backing it, this can feel like mathematized cosplay. But that has more to do with constructor theory vs this project

Would love to see someone do a pluggable backend so you could test different "task ontologies" against each other.

Mainly I came here to say that categories can likely be used to great effect here a la Geroch

For instance you can start by modeling tasks as morphisms between substrate states (objects), and then enforce composition explicitly. define constructors as functors that map tasks and substrates while preserving structure.

for quantum or irreversible effects, use monads to encapsulate branching and decoherence. Then one could represent task sequences as categorical diagrams and check for commutativity. Or embed substrates via Yoneda to expose behavior in terms of available tasks

SandroG•18m ago
This is very helpful and insightful. Thank you!

Obviously, OpenAI will monetize with ads

https://mobiledevmemo.com/obviously-openai-will-monetize-with-ads/
1•mfiguiere•19s ago•0 comments

Solving Stumper

https://www.csun.io/solving-stumper
1•igpay•4m ago•0 comments

Sketch: Autonomous Software Apprentice

https://github.com/boldsoftware/sketch
1•vortex_ape•7m ago•0 comments

The future of the internet is in the past

https://old.reddit.com/r/webdev/comments/1kp5ria/the_future_of_the_internet_is_in_the_past/
1•redbell•7m ago•0 comments

Who first described the "fence-post error?"

https://web.archive.org/web/20160305221341/http://www.dsm.fordham.edu/~moniot/Opinions/fencepost-error-history.shtml
1•scrlk•9m ago•0 comments

Ancient reptile footprints are rewriting the history of when animals evolved

https://apnews.com/article/oldest-reptile-footprints-australia-963e3c38c8d5782e7ac20f5405f15f89
2•gmays•17m ago•0 comments

California vanity license plate applications with reasons for rejection

https://github.com/veltman/ca-license-plates
5•networked•20m ago•0 comments

Rust success story that killed Rust within a company

https://www.reddit.com/r/rust/s/507ZhSXJZ9
2•dabinat•21m ago•0 comments

Can You Trust Code Copilots? Evaluating LLMs from a Code Security Perspec

https://arxiv.org/abs/2505.10494
3•badmonster•26m ago•0 comments

Evaluate Any Model from the HuggingFace Hub on the ImageNet on Free Colab GPUs

https://github.com/SauravMaheshkar/notebooks/blob/main/src/hf_imagenet_val.ipynb
1•sauravmaheshkar•31m ago•0 comments

Ancient trick to calculate any square root

https://www.youtube.com/watch?v=MXveVqBxFow
1•gavide•32m ago•0 comments

RemNote: Anki and Obsidian/Roam in One Tool (Supports FSRS)

https://www.remnote.com/
2•mfranzs•33m ago•0 comments

Uncle Patrick's Secessionist Breakfast

https://www.sfchronicle.com/projects/2025/dave-eggers-short-story/
2•mrtomservo•37m ago•1 comments

InventWood is about to mass-produce wood that's stronger than steel

https://techcrunch.com/2025/05/12/inventwood-is-about-to-mass-produce-wood-thats-stronger-than-steel/
1•mmooss•39m ago•1 comments

Severed Fingers and 'Wrench Attacks' Rattle the Crypto Elite

https://www.wsj.com/finance/currencies/crypto-industry-robberies-attacks-32c2867a
19•spenvo•40m ago•11 comments

The Rotten Ritual of Parliament

https://nationfirst.substack.com/p/the-rotten-ritual-of-parliament
1•bigbadozdave•44m ago•0 comments

Waist-to-height ratio predicts heart failure incidence

https://www.escardio.org/The-ESC/Press-Office/Press-releases/Waist-to-height-ratio-predicts-heart-failure-incidence
3•geox•45m ago•1 comments

FCC approves Verizon's $20B merger after it commits to 'ending' DEI

https://www.theverge.com/news/668614/verizon-frontier-acquisition-fcc-approval
4•bundie•45m ago•0 comments

Show HN: Commander – AI-Powered Browser Automation

https://www.commander-ai.com/
3•kadarla•46m ago•0 comments

Template engine with hyperscript and observable models (2020)

https://aliceo2group.github.io/WebUi/Framework/docs/guide/template-engine.html
1•kugurerdem•47m ago•0 comments

An EPA Without Science

https://www.nybooks.com/online/2025/05/16/an-epa-without-science/
2•mitchbob•48m ago•1 comments

An Efilist Just Bombed a Fertility Clinic. Was This Bound to Happen?

https://default.blog/p/an-efilist-just-bombed-a-fertility
26•starkparker•48m ago•15 comments

Who Did This (Etymonline)?

https://www.etymonline.com/columns/post/bio
1•mmooss•49m ago•0 comments

The effect of physical fitness on mortality is overestimated

https://www.uu.se/en/press/press-releases/2025/2025-05-15-the-effect-of-physical-fitness-on-mortality-is-overestimated
3•gnabgib•53m ago•0 comments

The Economist's global rip off

https://halcrawford.substack.com/p/the-economists-global-rip-off
8•austinallegro•53m ago•2 comments

Show HN: AI web scraper (no selectors, $2/1k pages, built by 1 dev)

https://web.instantapi.ai/
1•zeeb0t•53m ago•0 comments

Crypto-Related Abudctions Are on the Rise Globally

https://gizmodo.com/crypto-related-abudctions-are-on-the-rise-globally-2000603864
1•Bender•54m ago•1 comments

Using unwrap() in Rust is Okay (2022)

https://burntsushi.net/unwrap/
2•pierremenard•54m ago•0 comments

Circular Reasoning in Unit Tests – It works because it does what it does

https://laser-coder.net/articles/circular-reasoning/index.html
1•birdculture•55m ago•0 comments

Linux 6.16 to Support the Realtek RTL8127A 10GbE Ethernet Controller

https://www.phoronix.com/news/Linux-6.16-Realtek-RTL8127A
2•Bender•56m ago•0 comments