The Zeq machine
Equations as executable logic, in one Python file. Zeq is a computational machine you own. It treats typed equations as executable constraints. Each one is:
- dimensionally checked,
- solved by the method its own form calls for,
- verified in exact arithmetic against a stated gate, and
- recorded with cryptographic provenance.
It runs on Python 3.9 or later with the standard library alone, on a laptop, a server or a lab computer. It never contacts its publisher.
What makes it different
- It proves itself. Running
python3 zeq.pycomputes every claim the file makes about its own methods (560 in 56 sections) and refuses to serve unless they hold. - It refuses rather than guesses. A mass bound in metres, the cosine of a length, an input left unbound: each is refused by name. The refusals are the substance.
- Every answer is checkable. Each answer carries:
- its value in SI with its unit and grade;
- a verdict;
- the residual in floating point and in exact arithmetic, the condition number and the error bound;
- the steps taken and the recipe;
- a
repro_digest.
Anyone holding it recomputes it and gets the same digest.
- It states its boundary. It certifies that its computation satisfies the equations as typed under the values as bound, and nothing about whether those equations are laws of nature.
- It is yours.
- Its identity comes from an equation made for you and shown once.
- Everything it computes is signed into its own hash-linked log on your device.
- You issue a key to each person, agent or device you let in.
This node: zeqstate.com
zeqstate.com runs one Zeq machine in public, titled by its foundation. Use it to see how a machine behaves before you run your own.
| Use | Route | Key |
|---|---|---|
| Is it up? | GET https://zeqstate.com/health | none |
| Who is it? | GET https://zeqstate.com/card | none |
| Every route it serves | GET https://zeqstate.com/openapi.json | none |
| Ask it a question | POST https://zeqstate.com/playground | none (five an hour per address, nothing sealed) |
| Everything else | ask, verify, log, anchor, mcp … | a key the machine's owner issued |
curl -s https://zeqstate.com/playground -H 'Content-Type: application/json' \
-d '{"question": "r_s ? r_s = 2*G*m/c^2 | m = 1.98841e30 kg"}'
Where to go next
- Quickstart: run your own machine in a few minutes.
- Asking a question: the grammar every answer starts from.
- Connect over HTTP, from Python or through MCP.
- Verify an answer: check, reproduce and turn an answer into code.
- The machine's state: identity, title, clock, log and anchors.
- API reference: every route, generated from the machine itself.