PINN Dataset Check #
Dataset-backed PINN "sanity checker".
This is intentionally lightweight: it reads a dataset JSON in the same schema
as train_pinn_1d.py --dataset-json, evaluates the network on the dataset's
initial/boundary/data points, and reports whether the ground-truth u
value is contained in the output interval (with a tolerance).
This does not prove that the network solves the PDE; it is a bridge for using a real reference dataset while exercising the same Lean-side bound propagation machinery as the PINN CLI.
References:
- PINNs:
https://arxiv.org/abs/1711.10561 - IBP (interval bounds):
https://arxiv.org/abs/1810.12715 - CROWN (linear bounds):
https://arxiv.org/abs/1811.00866
Instances For
Instances For
Instances For
Instances For
Entry point: dataset-backed interval containment check for a PINN model.
This is wired into the unified dispatcher as:
lake exe verify -- pinn-dataset-check [PATH.json]
The JSON schema matches the exporter used by train_pinn_1d.py --dataset-json.