TorchLean API

NN.Verification.PINN.Certificate

PINN Certificate #

PINN certificate checker (recompute-and-compare).

This module is the executable checker for the PINN certificate workflow:

Acceptance means that the exported endpoints match the recomputation within certTol. This is not an exact-real residual enclosure theorem or a bound on PDE solution error.

This checker always uses referenceParams 1. The JSON's model and pinn.domain fields are producer metadata, not validated inputs; acceptance does not authenticate their weights or domain. Use the weight-loading CLI for a trained model.

References / context:

Export (Python): python3 scripts/verification/pinn/export_pinn_cert.py

Run (Lean): scripts/lake.sh exe verify -- pinn-cert [NN/Examples/Verification/PINN/pinn_cert.json]

Bundled PINN certificate sample used by scripts/lake.sh exe verify -- pinn-cert.

Instances For

    Reject a certificate interval that differs from Lean's recomputed interval.

    Instances For

      IO entry that reads the cert, recomputes bounds, and prints comparisons.

      Instances For