cd /news/ai-safety/show-hn-lean-for-engineering · home › topics › ai-safety › article
[ARTICLE · art-177966] src=physicsbase.ai ↗ pub= topic=ai-safety verified=true sentiment=↑ positive

Show HN: Lean for Engineering

PhysicsBase launched a verification kernel built on Lean 4 that machine-checks engineering designs against physics laws, using its own engineering notation, units and mechanics, and returns a pass to ship or a failure citing the exact law broken. The tool is designed to check results from AI agents driving solvers including Abaqus, ANSYS, COMSOL, LS-DYNA, Nastran, STAR-CCM+, FEniCS, OpenFOAM, deal.II, MOOSE, Firedrake, MFEM, CalculiX, Code_Aster, Elmer, SU2, PETSc, PyTorch, JAX and NumPy, with kernel v0 tested against a subset listed on its releases page. PhysicsBase frames the work as removing human review as the bottleneck, citing the 20-21 November 2026 certification of a Lean-written Riemann hypothesis proof by Anthropic mathematician Levent Alpöge, built with Claude across 175,187 files, which the Lean and Mathlib communities checked in one day.

key takeaway

PhysicsBase's kernel v0 accepts a design only as a Lean proof term checked by Lean's trusted kernel, so AI-generated engineering variants from solvers like Abaqus and OpenFOAM are certified or rejected with the specific violated law rather than reviewed by an engineer.

read9 min views9 publishedNov 29, 2026
Show HN: Lean for Engineering
Image: source

AI is about to propose more engineering designs than the world’s engineers could ever review. PhysicsBase builds on Lean 4 with its own engineering notation, units and mechanics, and proves every design obeys physics at machine speed. Pass, and it ships. Fail, and it goes back with the exact law it broke.

AI agents now drive the solvers engineers already use. PhysicsBase is built to check the results they produce; see releases for which ones kernel v0 has been tested with.

  • Abaqus
  • ANSYS
  • COMSOL
  • LS-DYNA
  • Nastran
  • STAR-CCM+
  • FEniCS
  • OpenFOAM
  • deal.II
  • MOOSE
  • Firedrake
  • MFEM
  • CalculiX
  • Code_Aster
  • Elmer
  • SU2
  • PETSc
  • PyTorch
  • JAX
  • NumPy

Human review is the bottleneck. We are removing it. #

Generative design compounds with every model release. Review grows one engineer at a time. Past the review wall, every design is either proved or unchecked. There is no third option.

You against the kernel. 20 seconds.

An agent proposes variants of a real circuit board: enclosure temperature, airflow, copper weight, radio mode. Approve the ones you think keep every chip under 85 °C. The kernel checks the same stream with real solves.

0

0

Mathematics already crossed the wall #

A proof of the Riemann hypothesis arrived as 17 million lines of code. No person could read it. A machine checked it in a day.

20–21 November 2026

Lines of Lean in the first proof of the Riemann hypothesis, one of the hardest open problems in mathematics.

167 years open since Riemann posed it in 1859

175,187 files written with Claude

1 day for the Lean community to certify it

On 20 November, Anthropic mathematician Levent Alpöge released a proof of the Riemann hypothesis, built with Claude and written entirely in Lean.

It is far too long for anyone to read. So the Lean and Mathlib communities compiled it and ran independent proof checkers instead. A day later they certified it correct. Mathematicians are still working through the ideas.

That is the model for engineering. AI can produce more than people will ever review, and a trusted kernel can still say yes or no, fast.

Lean FRO and Mathlib statement, 21 Nov 2026

Mathematics crosses the wall every week now. Engineering is next. #

A year ago, a machine-checked proof of a famous conjecture was a once-a-decade event. Now new ones land faster than journals can referee them, and most arrive too large for any person to read. Every card here is a result a trusted kernel checked before people could.

The same shift is coming for bridges, aircraft, chips and implants, and that's what PhysicsBase is for: the kernel that lets AI-designed engineering cross the wall too.

9 of 10 famous open problems solved in 2026 credit an AI model or lab. Before 2026, one to five were solved a year.

No AI creditedAI credited2026 to November. Source: Wikipedia

3 → 323 Erdős problems with a solution formalized and checked in Lean, September 2025 to November 2026. Some are new results, some older proofs.

Weekly snapshots. Source: teorth/erdosproblems (Apache 2.0)

Updated regularly

Put the first engineering result on this feed

Try to sneak a bad design past it #

Every candidate is a variant of a real board, HackRF One’s published 4-layer layout, meshed, solved and certified live in your browser. Break one. The kernel tells you exactly what you broke.

0 designs solved and checked on this page

– median solve time in your browser

0 faults caught, each with its reason

– worst residual among accepted designs

It cannot be talked into anything

Acceptance is a proof term checked by Lean’s trusted kernel. Confidence, consensus and another model’s opinion count for nothing.

Keep your solver

Abaqus, ANSYS, OpenFOAM, FEniCS or a neural surrogate runs the numerics at full speed. We check the certificate it exports.

Every no comes with a reason

A rejection names the broken invariant and where it broke. That is a training signal a generative model can actually learn from.

Everything that runs on physics #

If it is simulated with finite elements, finite volumes or a neural surrogate, its results can carry a certificate. Each field gets its own invariants, checked by the same kernel.

  • Heat transfermax<sub>Ω</sub> T < T<sub>limit</sub>

  • Fluid dynamics∇·u = 0,  ‖R<sub>NS</sub> ‖ ≤ ε

  • Structuresσ<sub>vM</sub> (u<sub>h</sub> ) ≤ σ<sub>allow</sub>

  • Electronicsmax T<sub>j</sub> < 85 °C on every IC

  • Semiconductors∇·(ε∇ψ) = −ρ, charge conserved

  • Electromagnetics∇·B = 0, Maxwell residual ≤ ε

  • Vibration and acousticsω<sub>1</sub> > 1.2 ω<sub>excite</sub>

  • Crash and impactE<sub>kin</sub> + E<sub>int</sub> + E<sub>diss</sub> = E<sub>0</sub>

  • Fatigue and fractureK<sub>I</sub> < K<sub>IC</sub>

  • Composites manufacturingα<sub>cure</sub> → 1,  σ<sub>res</sub> ≤ σ<sub>crack</sub>

  • BatteriesT < T<sub>runaway</sub> ,  c<sub>Li</sub> ∈ [0, c<sub>max</sub> ]

  • Civil and geotechnicalload factor ≥ 1.5 everywhere

  • Medical devicesΔε<sub>a</sub> < ε<sub>endurance</sub>

  • Additive manufacturing‖u<sub>distort</sub> ‖ ≤ tolerance

  • Nuclear and fusionk<sub>eff</sub> < 1,  q″ ≤ q″<sub>CHF</sub>

  • AeroelasticityV<sub>flutter</sub> ≥ 1.15 V<sub>D</sub>

16 fields

1 kernelEach chip shows the invariant PhysicsBase checks

Keep your solver. Add one command. #

Run your model the way you always have. Export a certificate, run pbase verify, and get a verdict with a theorem behind it. The results below are real runs of kernel v0 on a 4,131-node circuit board.

  1. 1Solve Abaqus, FEniCSx, CalculiX or any solver with linear triangles. Your model does not change.
  2. 2Export Mesh, materials, loads and nodal results are written as exact numbers into one certificate file.
  3. 3Verify The kernel rebuilds the model itself and checks units, mesh, solve and limits. About 2 seconds for 8,000 elements.
  4. 4Decide Accepted designs ship with the verdict and its hash. Rejected ones go back with the exact reason.

Checked by kernel v0

The number is the proved bound on how far each solver's temperatures can be from the exact answer. It follows how precisely the solver writes its results: CalculiX prints 7 digits, the others print 16 or more.

Verdicts are real v0 runs. In v0 the exporters are scripts in the kernel repository; the one-line pbase export command shown here ships with v0.1. See what each release covers.

On your machine

Check a run before you send it on. The verdict file lands next to your results.

$ pbase verify results/*.cert.json

In CI

A rejected design fails the build, the same way a failing test does.

- name: Check every design
  run: pbase verify results/*.cert.json

In an AI design loop

The verdict is data. A rejection tells the generator what to fix.

for d in generator:
    v = verify(solve(d))
    if v.accepted: ship(d, v.sha256)
    else: generator.learn(v.reason)

What comes back

Every verdict names the theorem it rests on and the hash of the exact file it checked, so anyone can re-run it. A rejection says which check failed and where.

// accepted
{ "verdict": "accepted",
  "error_bound_approx": "3.56e-10",
  "theorem": "PhysicsBase.Cert.verify_sound",
  "sha256": "82791cc02339…" }
// rejected
{ "verdict": "rejected",
  "stage": "mesh",
  "reason": "element 3461 has detJ = -1/1280000
             (folded or degenerate)",
  "sha256": "54aee2efe357…" }

Built by people who write finite element code for a living #

PhysicsBase comes out of computational mechanics research, where every simulation has to be defended line by line.

L.M Faisal

Founder

PhD researcher in computational mechanics at Columbia University. Builds coupled multiphysics finite element models and custom Abaqus subroutines for composite manufacturing simulation.

We are hiring

Lean and Mathlib contributors, numerical analysts and finite element engineers who want to make simulation provable.

Email us about roles

Put your models through the kernel first. #

We are choosing a small group of teams in aerospace, energy, robotics and electronics to build the first certificates with. You bring real models. We build the checks around them.

  • Early access to the kernel, run on your own models
  • Certificates for one field and one solver, built with you
  • A say in what gets proved first
  • No cost during the pilot

Does PhysicsBase replace my FEA solver? #

No. Abaqus, ANSYS, COMSOL, OpenFOAM, FEniCS or a neural surrogate keeps doing the heavy numerics at full speed. We are building an exporter for each one, so its output arrives as a compact certificate the kernel can check.

How can a theorem prover check floating-point results? #

It doesn’t re-run them. It checks bounds on them. Residuals, energy balances and limits are verified with interval and rational arithmetic, so the kernel proves an inequality holds rather than trusting a printed number.

What exactly gets proved? #

Units and tensor ranks, positive Jacobians on every element, full boundary coverage, residual bounds, conservation, and the safety limits you set. Mathlib supplies the foundations, such as Lax–Milgram. What it lacks, continuum mechanics, element theory, SI units and error estimates, we are formalizing ourselves and contributing back.

What is the team building? #

Our own layer on top of Lean: engineering notation and units, domain tactics, certificate checkers, and exporters for the major solvers. Each piece is researched, built and tested in-house before it ships.

How do you know a certificate is right? #

We keep a growing suite of reference problems solved in commercial and open-source codes, including deliberately broken ones: inverted elements, unit slips, unconverged runs, designs over their limits. A release ships only when every sound model passes and every broken one fails for the right reason.

What does a proof not cover? #

A proof covers the model as written. It cannot tell you a constitutive law matches the lab, and we don’t re-verify legacy Fortran and C++ solvers line by line. We would rather say so than oversell.

Which physics does it cover? #

The kernel does not care which physics produced a result. Units, mesh validity, residual bounds and conservation apply to any discretised PDE, and each field adds its own limits, from junction temperatures to flutter margins.

How do I get involved? #

We are taking our first design partners in aerospace, energy and robotics, and hiring. Apply as a design partner, book a call or email flm2127@columbia.edu. We reply within two business days.

Take humans out of the loop. #

Keep proof in it.

We are building the layer every AI-designed engine, bridge and implant will pass through. Book 20 minutes with the founder, or write to us. We reply within two business days.

── more in #ai-safety 4 stories · sorted by recency
── more on @physicsbase 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-lean-for-eng…] indexed:0 read:9min 2026-11-29 · —