Hacker News new | ask | show | jobs
Show HN: Axiom – A math-native OS where x² is valid syntax (built from scratch) (fawazishola.ca)
20 points by fawazishola 128 days ago
Hi HN, I'm a 19-year-old aerospace student. I spent the last 13 months building a custom Linux distro from scratch because I wanted to see if we could treat the OS kernel as a mathematical engine rather than a deterministic administrator.

The Stack: Flux (The Shell): A custom math-native shell where x² and ∑ are valid syntax. It parses mathematical notation directly into optimized SIMD instructions (no Python wrapper).

Tenet (The Scheduler): Written in Tenet (my custom DSL for game theory). The scheduler is a Nash Equilibrium solver compiled to native code. In my benchmarks (Ryzen 7 5800HS), it reduces max jitter from 290µs (Linux Mint) to 6µs (48x lower).

Alexitha (The Safety Layer): I replaced systemd with a Neurosymbolic agent that formally verifies kernel modules before execution.

Current Status: Pre-alpha research kernel. The source is currently closed as I finalize the security architecture (and potentially commercialize parts of the safety layer), but I have released the whitepapers detailing the math and compiler architecture on the landing page.

I'm here to answer questions about the LFS build process, the scheduler math, or how Flux handles symbol parsing!

The Manifesto: If you want the full story of why I nuked my hard drive to build this (and the "Apollo 11 Paradox"), I wrote about the philosophy here: https://fawazishola.medium.com/why-i-nuked-my-hard-drive-to-...

5 comments

This is an admirably ambitious project. I'm not sure why it needs to be an OS, when the three components don't seem to have much to do with each other. You might get more traction pitching this as 3 separate projects.
That's fair feedback. They actually did start as separate experiments. The reason I bundled them into one OS is that the real value comes from the integration.

But you raise a good point; I should probably document the integration story better. Thanks.

Quick question. Does it use LaTeX or TeX for math input? Or does it use a DSL at the shell to interact with the LLM? Can you swap out LLMs if needed?
Not LaTeX. Flux has its own grammar. It tokenizes Unicode math symbols like ² directly into AST nodes.

The shell doesn't talk to the LLM directly. They're separate processes. Alexitha monitors system state via cgroup events and adjusts scheduler weights. Flux is just the user-facing shell. They're connected through Tenet (the scheduler), not through a direct pipe.

Yes, the LLM is swappable. Alexitha is currently a fine-tuned 7B model, but the interface is not model specific. Any model that can read a cgroup event stream and output a scheduling decision can be slot in. I'm planning to test with smaller models (1-3B) to reduce boot overhead.

How easy do you find Unicode input? Isn't "x^2" or "x**2" (Python) much easier to type than "x²" ? In the latter case, I have to lookup the char code for ², which happens to be U+0082 ("Superscript two")
I don’t want to be rude. This is a very nice project. But it looks like this could be replaced by going to therapy.
Haha, fair. The therapist said "find a healthy outlet." I don't think she meant "replace systemd with an LLM," but here we are.
Fun! Good luck.