Releases

Every version of the PhysicsBase kernel: what it proves, what it was tested on, and what it does not cover yet.

v026 November 2026

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.

29machine-checked theorems, standard axioms only
~2 sto check a 4,131-node, 8,000-element board
6open-source solvers checked; Abaqus next

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

CertificateWhat is wrongVerdict
heat_boardNothingAccepted
folded_meshOne node dragged across an edgeRejected at mesh
unit_dimensionConductivity labelled W/(m²·K)Rejected at units
unit_slipConductivity typed per mm, labelled per mRejected at limit
unconvergedSolver stopped after 40 iterationsRejected 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.

SolverVersionProved bound εVerdict
FEniCSxdolfinx 0.11.06.5 × 10⁻¹⁰ KAccepted
scikit-fem12.0.23.5 × 10⁻¹⁰ KAccepted
SfePy2026.34.2 × 10⁻¹⁰ KAccepted
GetFEM5.4.29.1 × 10⁻¹⁰ KAccepted
FreeFEM4.131.6 × 10⁻¹⁰ KAccepted
CalculiX2.210.08 KAccepted
Abaqus/StandardNot run yetAbout 0.02 K expectedTest 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.
v0.1Planned

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).
v0.2Planned

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.
Phase 2Planned

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.