MAE · Mathematical Autopsy Engine

The engine you build proven software with.

MAE runs the Mathematical Autopsy inside your own pipeline. You state intent as math, an assistant drafts the proof, the Lean 4 kernel checks it, and the proven rules compile into the code as constraints it cannot break. It is how a governed runtime gets built.

The build engine · powers MGR

Receipt of TruthBuild-time
Lean 4 · kernel-checked
lemma → proofaccepted ✓
invariantsuitability.risk_tolerance
notebook + scorecardhashed · SHA-256
sealed intoruntime header
Sealedchange one byte, the hash breaks
What it is

The Mathematical Autopsy, run in your pipeline.

The method is the inversion of how software is built today. Instead of writing code and then testing and hoping, you prove the math first and compile it in. MAE is that method as an engine, so your team builds proven software on your own code, not just ours.

01

Define intent as math

The rules a system can never violate are written as formal invariants, not prose policy sitting in a document.

02

Draft and check the proof

An AI proof-drafting assistant proposes the math, and the Lean 4 kernel checks it. If it does not hold, it does not compile.

03

Compile the rules in

The proven rules become constraints compiled into the code, part of how the software is built, not a layer bolted on top.

04

Runs on your code

The autopsy method runs inside your own build and review pipeline, against the software you are shipping.

05

Produces the Receipt of Truth

Notebook, scorecard, and invariant are hashed and sealed into the runtime, so the binary carries proof of its own origin. See it.

06

Powers MGR

The same engine builds your Mathematically Governed Runtime, your hardest capability, proven and yours to keep.

Build it proven the first time.

Math first, code last. That ordering is the whole bet.