Distributed theorem-generation engine · v0.4

Derive physics from pure logic.

Nasrudin starts from mathematical axioms and physics postulates, then evolves new theorems with a genetic algorithm — formally proving every survivor in Lean 4. Eventually, it rediscovers known physics. On its own.

"Once, looking for a lost key under a lamppost, Nasrudin was asked why he searched there. Because the light is better here."
— a Sufi parable. We point the lamp where Lean can prove.
350,124
Mathlib axioms
43
Physics postulates
1,247
Workers · live
3.2 M
Theorems / minute
Live · just verified
thm:0000 Verified · Lean 4
thm:0000000000000000
Inner product space · gen 0
LiveVERIFIED thm:9f3a2c ⟨x,y⟩² ≤ ⟨x,x⟩⟨y,y⟩ simp ∘ linarith
Every proof is reproducible — download the .lean file and re-run lake build on your own machine.
§ 01 / 06
The pipeline

Five stages, one rule: nothing enters the corpus that Lean 4 hasn't proved twice.

Workers run the full Rust GA + Lean 4 prover locally and only upload theorems they've already verified. The central server then re-verifies every submission with its own Lean instance before accepting it. Double-verification, no trust.

01Mathematical axioms350,124 from Mathlib · 43 physics postulates
Mathematical axiom seedsaxioms
02Rust GA enginecombine · mutate · crossover
GA mutation and crossovermutatecrossover
03Candidate theorems~14M/day across the network
Candidate theorem stream~14M/day
04Lean 4 verificationgrind · simp · omega · ring · linarith
Lean 4 verificationby simp; ring; linarithQEDaccept-rate ≈ 1.7%
05RocksDB · global corpusserver re-verifies before accepting
RocksDB corpusRocksDB · 247,118 verified
~98% of candidates are rejected. The wise fool is patient.
§ 02 / 06
Inside one cycle

Watch the GA arrive at Newton — without being told.

Mutate. Crossover. Compose. Verify. Five generations from the Lagrangian seed to F = ma, all of it formal.

Generation 4,218,107 · live trace
From the lagrangian axioms, two crossovers and three mutations later — Newton's second law.
worker · home-pc-aklint
axiom∂L/∂q̇ = pfrom postulate
axiomL = T − Vfrom postulate
mutatedp/dt = ∂L/∂qverified · 0.4s
crossoverdp/dt = −∂V/∂qverified · 1.1s
mutateF = dp/dtverified · 0.2s
composeF = maNewton II — verified
mutateF = m²atype mismatch
crossoverp² = 2mEverified · 0.6s
§ 03 / 06
Featured rediscoveries

Physics that found itself — and physics still in the dark.

Some of these were rediscovered without supervision. Others are search targets we're patiently waiting for. Each carries the GA cycle it emerged from and a re-runnable Lean proof.

✓ Rediscovered
Mass-energy equivalence
Special relativity

Emerged from Lorentz invariance + conservation of momentum.

Discovered at
GA-cycle 4,218,107
Wall time
31 d · 14 h
Proof lines
47
✓ Rediscovered
Newton's second law
Classical mechanics

First major rediscovery. The system was 'surprised' by simplicity.

Discovered at
GA-cycle 812,044
Wall time
6 d · 3 h
Proof lines
12
✓ Rediscovered
Boltzmann entropy
Statistical mechanics

Required first introducing combinatorial counting axioms.

Discovered at
GA-cycle 9,847,331
Wall time
78 d · 9 h
Proof lines
184
○ Searching
Schrödinger equation
Quantum mechanics

Closest match to date — missing complex-Hilbert structure axiom.

Discovered at
search active
Status
candidate #41,082
○ Searching
Einstein field equations
General relativity

Awaiting Mathlib differential-geometry expansion.

Discovered at
search not started
Status
tensor calculus pending
✓ Rediscovered
Gauss's law
Electromagnetism

Co-derived alongside three other Maxwell equations in same week.

Discovered at
GA-cycle 2,109,553
Wall time
16 d · 22 h
Proof lines
38
§ 04 / 06
The network

A distributed prover, built from home PCs and cloud nodes.

Anyone can run a worker. Each generates and verifies theorems locally, then POSTs discoveries to the central server, which re-verifies before accepting. The server is the gatekeeper, not the oracle.

Active workers · last 60s8 pins · 6 continents
Distributed worker mapTokyoBerlinAustinLagosOsloSão PauloBengaluruSydney
Active Idle Offline
0
Workers · live
§ 05 / 06
The corpus

Every theorem. Every proof. Trust the math, not the server.

Click any row to see its full Lean 4 proof. Download the .lean file and re-verify it on your own machine with lake build. The corpus is open, browsable, and reproducible by construction.

IDStatementNameDomainStatus
Loading…
§ 06 / 06
Contribute compute

Run a worker. Help physics rediscover itself.

Three commands — install, register, run. Your machine starts mutating axioms in seconds. Every theorem your node verifies and the server accepts gets your pseudonym attached, forever.

~/nasrudin · zsh
$ curl -L nasrudin.dev/install.sh | sh
Installing nasrudin v0.4.2 · linux-x86_64

What you'll need

A modest desktop or cloud VM is enough. The harder you push, the faster physics arrives.

  1. i.CPU4 cores minimum, 16+ recommended for serious throughput.x86_64 / arm64
  2. ii.MemoryLean 4 likes RAM. The Mathlib snapshot wants room.≥ 8 GB
  3. iii.DiskLocal theorem store grows ~50 MB per million candidates.≥ 20 GB
  4. iv.NetworkWorkers POST batches to the central server every 60s.~5 MB/h
  5. v.PatienceMost candidates are nonsense. The wise fool knew this.