{"slug": "show-hn-lean-for-engineering", "title": "Show HN: Lean for Engineering", "summary": "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.", "body_md": "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.\n\nAI agents now drive the solvers engineers already use. PhysicsBase is built to check the results they produce; see [releases](https://www.physicsbase.ai/releases/) for which ones kernel v0 has been tested with.\n\n- Abaqus\n- ANSYS\n- COMSOL\n- LS-DYNA\n- Nastran\n- STAR-CCM+\n- FEniCS\n- OpenFOAM\n- deal.II\n- MOOSE\n- Firedrake\n- MFEM\n- CalculiX\n- Code_Aster\n- Elmer\n- SU2\n- PETSc\n- PyTorch\n- JAX\n- NumPy\n\n## Human review is the bottleneck. We are removing it.\n\nGenerative 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.\n\n### You against the kernel. 20 seconds.\n\nAn 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.\n\n**0**\n\n**0**\n\n## Mathematics already crossed the wall\n\nA proof of the Riemann hypothesis arrived as 17 million lines of code. No person could read it. A machine checked it in a day.\n\n20–21 November 2026\n\nLines of Lean in the first proof of the Riemann hypothesis, one of the hardest open problems in mathematics.\n\n**167 years** open since Riemann posed it in 1859\n\n**175,187 files** written with Claude\n\n**1 day** for the Lean community to certify it\n\nOn 20 November, Anthropic mathematician Levent Alpöge released a proof of the Riemann hypothesis, built with Claude and written entirely in Lean.\n\nIt 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.\n\n**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.**\n\n[Lean FRO and Mathlib statement, 21 Nov 2026](https://leanprover-community.github.io/blog/posts/riemann-hypothesis/)\n\n## Mathematics crosses the wall every week now. Engineering is next.\n\nA 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.\n\nThe 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.\n\n**9 of 10** famous open problems solved in 2026 credit an AI model or lab. Before 2026, one to five were solved a year.\n\nNo AI creditedAI credited2026 to November. [Source: Wikipedia](https://en.wikipedia.org/wiki/List_of_unsolved_problems_in_mathematics#Problems_solved_since_2015)\n\n**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.\n\nWeekly snapshots. [Source: teorth/erdosproblems](https://github.com/teorth/erdosproblems) (Apache 2.0)\n\nUpdated regularly\n\n[Put the first engineering result on this feed](#book)\n\n## Try to sneak a bad design past it\n\nEvery 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.\n\n**0** designs solved and checked on this page\n\n**–** median solve time in your browser\n\n**0** faults caught, each with its reason\n\n**–** worst residual among accepted designs\n\n### It cannot be talked into anything\n\nAcceptance is a proof term checked by Lean’s trusted kernel. Confidence, consensus and another model’s opinion count for nothing.\n\n### Keep your solver\n\nAbaqus, ANSYS, OpenFOAM, FEniCS or a neural surrogate runs the numerics at full speed. We check the certificate it exports.\n\n### Every no comes with a reason\n\nA rejection names the broken invariant and where it broke. That is a training signal a generative model can actually learn from.\n\n## Everything that runs on physics\n\nIf 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.\n\n- Heat transfermax<sub>Ω</sub> T < T<sub>limit</sub>\n- Fluid dynamics∇·u = 0,  ‖R<sub>NS</sub> ‖ ≤ ε\n- Structuresσ<sub>vM</sub> (u<sub>h</sub> ) ≤ σ<sub>allow</sub>\n- Electronicsmax T<sub>j</sub> < 85 °C on every IC\n- Semiconductors∇·(ε∇ψ) = −ρ, charge conserved\n- Electromagnetics∇·B = 0, Maxwell residual ≤ ε\n- Vibration and acousticsω<sub>1</sub> > 1.2 ω<sub>excite</sub>\n- Crash and impactE<sub>kin</sub> + E<sub>int</sub> + E<sub>diss</sub> = E<sub>0</sub>\n\n- Fatigue and fractureK<sub>I</sub> < K<sub>IC</sub>\n- Composites manufacturingα<sub>cure</sub> → 1,  σ<sub>res</sub> ≤ σ<sub>crack</sub>\n- BatteriesT < T<sub>runaway</sub> ,  c<sub>Li</sub> ∈ [0, c<sub>max</sub> ]\n- Civil and geotechnicalload factor ≥ 1.5 everywhere\n- Medical devicesΔε<sub>a</sub> < ε<sub>endurance</sub>\n- Additive manufacturing‖u<sub>distort</sub> ‖ ≤ tolerance\n- Nuclear and fusionk<sub>eff</sub> < 1,  q″ ≤ q″<sub>CHF</sub>\n- AeroelasticityV<sub>flutter</sub> ≥ 1.15 V<sub>D</sub>\n\n**16** fields\n\n**1** kernelEach chip shows the invariant PhysicsBase checks\n\n## Keep your solver. Add one command.\n\nRun 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.\n\n1. 1**Solve** Abaqus, FEniCSx, CalculiX or any solver with linear triangles. Your model does not change.\n2. 2**Export** Mesh, materials, loads and nodal results are written as exact numbers into one certificate file.\n3. 3**Verify** The kernel rebuilds the model itself and checks units, mesh, solve and limits. About 2 seconds for 8,000 elements.\n4. 4**Decide** Accepted designs ship with the verdict and its hash. Rejected ones go back with the exact reason.\n\nChecked by kernel v0\n\nThe 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.\n\nVerdicts 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](https://www.physicsbase.ai/releases/).\n\n### On your machine\n\nCheck a run before you send it on. The verdict file lands next to your results.\n\n``` bash\n$ pbase verify results/*.cert.json\n# exit 0 only if all are accepted\n```\n\n### In CI\n\nA rejected design fails the build, the same way a failing test does.\n\n```\n- name: Check every design\n  run: pbase verify results/*.cert.json\n```\n\n### In an AI design loop\n\nThe verdict is data. A rejection tells the generator what to fix.\n\n```\nfor d in generator:\n    v = verify(solve(d))\n    if v.accepted: ship(d, v.sha256)\n    else: generator.learn(v.reason)\n```\n\n### What comes back\n\nEvery 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.\n\n```\n// accepted\n{ \"verdict\": \"accepted\",\n  \"error_bound_approx\": \"3.56e-10\",\n  \"theorem\": \"PhysicsBase.Cert.verify_sound\",\n  \"sha256\": \"82791cc02339…\" }\n// rejected\n{ \"verdict\": \"rejected\",\n  \"stage\": \"mesh\",\n  \"reason\": \"element 3461 has detJ = -1/1280000\n             (folded or degenerate)\",\n  \"sha256\": \"54aee2efe357…\" }\n```\n\n## Built by people who write finite element code for a living\n\nPhysicsBase comes out of computational mechanics research, where every simulation has to be defended line by line.\n\n### L.M Faisal\n\nFounder\n\nPhD researcher in computational mechanics at Columbia University. Builds coupled multiphysics finite element models and custom Abaqus subroutines for composite manufacturing simulation.\n\n### We are hiring\n\nLean and Mathlib contributors, numerical analysts and finite element engineers who want to make simulation provable.\n\n[Email us about roles](mailto:flm2127@columbia.edu?subject=Joining%20PhysicsBase)\n\n## Put your models through the kernel first.\n\nWe 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.\n\n- Early access to the kernel, run on your own models\n- Certificates for one field and one solver, built with you\n- A say in what gets proved first\n- No cost during the pilot\n\n## Does PhysicsBase replace my FEA solver?\n\nNo. 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.\n\n## How can a theorem prover check floating-point results?\n\nIt 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.\n\n## What exactly gets proved?\n\nUnits 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.\n\n## What is the team building?\n\nOur 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.\n\n## How do you know a certificate is right?\n\nWe 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.\n\n## What does a proof not cover?\n\nA 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.\n\n## Which physics does it cover?\n\nThe 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.\n\n## How do I get involved?\n\nWe are taking our first design partners in aerospace, energy and robotics, and hiring. [Apply as a design partner](#partners), [book a call](#book) or email [flm2127@columbia.edu](mailto:flm2127@columbia.edu). We reply within two business days.\n\n## Take humans out of the loop.\n\nKeep proof in it.\n\nWe 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.", "url": "https://wpnews.pro/news/show-hn-lean-for-engineering", "canonical_source": "https://www.physicsbase.ai/", "published_at": "2026-11-29 02:07:55+00:00", "updated_at": "2026-11-29 03:13:42.697974+00:00", "lang": "en", "topics": ["ai-safety", "ai-agents", "developer-tools", "ai-research", "artificial-intelligence"], "entities": ["PhysicsBase", "Lean 4", "Levent Alpöge", "Anthropic", "Claude", "Mathlib", "Abaqus", "ANSYS"], "also_reported_by": [], "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.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/show-hn-lean-for-engineering", "markdown": "https://wpnews.pro/news/show-hn-lean-for-engineering.md", "text": "https://wpnews.pro/news/show-hn-lean-for-engineering.txt", "jsonld": "https://wpnews.pro/news/show-hn-lean-for-engineering.jsonld"}}