TorchLean API

NN.Verification.PINN.PdeAst

PdeAst #

A compact PDE mini-language (AST) and interval evaluator.

This module defines a small expression language to describe PDE residuals in terms of u, its first/second partial derivatives along axes, and arithmetic combinators. An interval evaluator consumes primitive bounds (u, u_x, u_y, u_xx, ...) and assembles a conservative residual bound for the whole expression.

We focus on 2D workflows: axes are X and Y, but the evaluator works for 1D by ignoring Y.

References:

Instances For
    Instances For

      Evaluate a PDE expression to an interval, given primitive bounds.

      Instances For

        2D Allen–Cahn residual: R = ε (u_xx + u_yy) - (u^3 - u).

        Instances For

          2D Poisson-like residual: R = u_xx + u_yy + u.

          Instances For