Releases
Every version of the PhysicsBase kernel: what it proves, what it was tested on, and what it does not cover yet.
Internal build, not yet public
The first kernel: steady heat on linear triangles
A Lean 4 checker that accepts or rejects a finite element result from its certificate, without re-running the solver or trusting it. An acceptance comes with one theorem, verify_sound, that says exactly what has been proved.
What an acceptance proves
- Units. The declared units make the heat equation dimensionally consistent. Only coherent SI units are accepted, so a value labelled per millimetre is rejected.
- Mesh. Every element has a positive Jacobian, so no element is folded or inverted.
- Solve. Every exact solution of the discrete model is within a proved bound ε of the solver's answer at every node, and that solution is unique. The kernel builds the model itself; the solver's numbers are only checked.
- Limits. The temperature limit holds at every point of every element, not only at the nodes.
On a 4,131-node circuit board
$ pbase verify heat_board.cert.json ✓ units k [W/(m*K)] T [K] q [W/m^3] x [m] ✓ mesh 8000 tri3 elements, 4131 nodes, min detJ = 1.56e-6 ✓ solve max |T - T̃| ≤ 3.56e-10 K (M-matrix certificate) ✓ limit max T + ε = 340.92 K ≤ 358.15 K (junction 85 C) accepted
Tested on
| Certificate | What is wrong | Verdict |
|---|---|---|
| heat_board | Nothing | Accepted |
| folded_mesh | One node dragged across an edge | Rejected at mesh |
| unit_dimension | Conductivity labelled W/(m²·K) | Rejected at units |
| unit_slip | Conductivity typed per mm, labelled per m | Rejected at limit |
| unconverged | Solver stopped after 40 iterations | Rejected at limit, ε = 118 K |
- These certificates come from our own reference solver, which the kernel does not trust.
- Four edited copies of the sound certificate were also rejected: all temperatures lowered by 50 K, one node raised by 30 K, a negative hint value, and a W/(mm·K) label.
- Proof mode, where the Lean kernel itself evaluates every check and no compiled code is trusted, works on small certificates.
Solvers tested
Each solver gets the same board, 4,131 nodes and 8,000 linear triangles, in its own input format. Its temperatures go into a certificate exactly as it reported them, and the kernel checks them against its own assembly of the model.
| Solver | Version | Proved bound ε | Verdict |
|---|---|---|---|
| FEniCSx | dolfinx 0.11.0 | 6.5 × 10⁻¹⁰ K | Accepted |
| scikit-fem | 12.0.2 | 3.5 × 10⁻¹⁰ K | Accepted |
| SfePy | 2026.3 | 4.2 × 10⁻¹⁰ K | Accepted |
| GetFEM | 5.4.2 | 9.1 × 10⁻¹⁰ K | Accepted |
| FreeFEM | 4.13 | 1.6 × 10⁻¹⁰ K | Accepted |
| CalculiX | 2.21 | 0.08 K | Accepted |
| Abaqus/Standard | Not run yet | About 0.02 K expected | Test kit ready |
- The bound follows how precisely a solver reports its answer, not which solver it is. Double-precision output lands near 10⁻¹⁰ K; CalculiX's 7-digit text output gives 0.08 K.
- An unstructured Gmsh mesh is accepted. The same mesh solved with conjugate gradients at a loose tolerance is also accepted, with a larger bound of 0.16 K.
- A strongly graded Gmsh mesh is rejected: some pairs of triangles have angles opposite a shared edge summing to more than 180°, which the v0 certificate cannot handle.
Not covered yet
- Tetrahedra, curved elements, structures, fluids and transient problems.
- Meshes whose stiffness matrix has positive off-diagonal entries, such as strongly graded meshes with obtuse triangles. These are rejected, not accepted.
- Quadratic elements, quadrilaterals, convection and radiation boundary conditions, and temperature-dependent conductivity.
- How close the discrete solution is to the true PDE solution, and whether the model, loads and materials are the right ones.
In progress
Public kernel and real solvers
- Open repository, with a live count of checked theorems on this site.
- An Abaqus exporter, tested on Abaqus/Standard heat transfer runs.
- A factorisation certificate (Rump) so graded and stretched meshes are accepted too.
- Tetrahedral elements and standard mesh quality checks (Verdict).
Planned
Curved elements and more solvers
- Validity of curved, higher-order elements (Bézier expansion of the Jacobian).
- Packaged exporters for FEniCSx, CalculiX and the other solvers tested in v0, so users can run them on their own models.
Planned
Bounds on the true error
- Guaranteed bounds on the gap between the discrete answer and the true solution of the physics, from equilibrated fluxes.
How we version. A version ships only when every sound reference model is accepted and every broken one is rejected for its stated reason. Each entry says what is proved and what is not. Want to run the kernel on your own models? Become a design partner.