TorchLean API

NN.Verification.PINN.DatasetCheck

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:

CLI options for pinn-dataset-check.

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.

    Instances For