Documentation

LeanCert.Engine.TaylorModel.Integral

Taylor Model Integration #

This module connects Taylor-model pointwise enclosures to certified interval enclosures for definite integrals.

The first bridge is deliberately conservative: it integrates the global Taylor-model range bound over the domain. This is enough to certify interval kernel banks and constant-factory observers today. Tighter polynomial-exact Taylor integration can be layered on top without changing this API.

The second bridge is the polynomial-exact enclosure shape used by certified quadrature: if the integral of the Taylor polynomial is known exactly, the only interval over-approximation comes from integrating the remainder interval.

Exact rational formula for integrating a shifted polynomial over [a,b].

This is the computational primitive for polynomial-exact Taylor quadrature:

∫ x in a..b, p(x-c) dx = Σ_i p_i ((b-c)^(i+1) - (a-c)^(i+1))/(i+1).

Equations
Instances For

    Polynomial-exact integral enclosure for a Taylor model over its own domain.

    The polynomial part is integrated exactly by integrateShiftedPoly; the remainder interval is scaled by the domain width.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      Coarse integral enclosure for a Taylor model over its own domain.

      If tm.bound = [lo, hi] contains all values of f on tm.domain, this interval is [width * lo, width * hi], expressed through the standard interval product.

      Equations
      Instances For

        Soundness of the coarse Taylor-model integral bound.

        This theorem is intentionally phrased in terms of the Taylor-model semantic predicate evalSet, so any Taylor-model construction that proves ∀ x ∈ tm.domain, f x ∈ tm.evalSet x can immediately produce an integral certificate.

        Soundness of the polynomial-exact Taylor-model integral bound, assuming the Taylor polynomial integral has been identified with integrateShiftedPoly.

        The assumption hPolyIntegral is intentionally explicit: the reusable numeric soundness theorem here is the interval/remainder part of Taylor quadrature, while callers may discharge the polynomial antiderivative equality using the best local polynomial API available for their representation.