PDEAtlas

10.10. Scope, Trust, and Notes🔗

Once an analytic proof has reduced a problem to a supported exact identity, derivative, integral, enclosure, or residual bound, we can compute that object and return a theorem that the kernel checks. The surrounding analysis, such as a weak formulation, trace regularity, a Galerkin limit, or an existence theorem, is proved in the usual way.

10.10.1. Relationship to Mathlib Tactics🔗

The architecture is familiar from Mathlib's reflected tactics. ring reifies polynomial expressions and proves equality through a normal form; norm_num proves supported numerical propositions; positivity constructs sign information. PDEAtlas adds a separate reflected language and soundness layer for the continuous operations documented here. It reuses Mathlib's analytic definitions and theorem statements rather than replacing them.

The symbolic frontend supports a finite grammar and bounded searches. For goals already handled by ring, norm_num, or positivity, use those tactics directly.

Mathlib's inclusion engine is another close comparison Ledvinka and contributors (2026). It combines registered enclosure representations, expression handlers, hypotheses, and subdivision. Its default and +kernel modes check the final computation in the kernel; its optional +native mode additionally trusts compiled evaluation. Its pinned dyadic_interval family and CEGA's FloatLib route are compared in the related work chapter, together with the proposed Mathlib computable-polynomial types and PDEAtlas's rational sparse lists.

10.10.2. The Trust Boundary🔗

A certificate includes the mathematical claim and its proof. A QuadratureCert includes its sound field, an AntiderivativeCert includes a checked residual, and an EnclosureCert includes the real inequalities connecting its interval to the function. Search heuristics, fuel, and subdivision choose which certificate to try; they do not replace these proof obligations.

CAS and bare cega check their computations in Lean's kernel. Their trusted foundation includes the kernel, its type theory, and the axioms used by the imported proofs, including propositional extensionality, quotients, and classical choice.

With native certificates enabled, cega [fast] can instead establish a closed finite computation by compiled evaluation. Its semantic transport remains a Lean proof, but the generated computation axiom additionally trusts Lean's compiler and runtime. A theorem using that certificate inherits this trust, including through later lemmas. The kernel profile disables that native route and checks the same finite propositions in the kernel. Certificate types organize the mathematical guarantees; they do not erase the distinction between these two ways of checking the computation.

10.10.3. Historical notes and references🔗

Proof-producing computation belongs to a longer line of work. Conventional computer algebra systems optimize for breadth and speed; proof assistants ask for an additional object, a proposition checked by the kernel, before a result can be reused as a theorem. Interval arithmetic, polynomial approximation, exact real arithmetic, root counting, and certified quadrature have been formalized in proof assistants such as HOL Light, Coq, and Isabelle.

Symbolic integration. Risch (1969) and Bronstein (2005) describe the theory of elementary integration, including the Risch decision procedure and the Rothstein–Trager algorithm. The checked search here covers bounded families of primitives and verifies every candidate by differentiation.

Taylor models and validated numerics. Berz and Makino (1998) and Makino and Berz (2003) provide background on Taylor models and their use in validated computation, including Taylor-model arithmetic with wrapping control. The Taylor-model certificates here are approximation and composition theorems for a finite polynomial with a uniform remainder.

Interval arithmetic. Moore (1966) and Neumaier (1990) provide general background on interval methods. We use exact rational intervals and proved enclosure theorems for the supported arithmetic and transcendental operations.

Modern computer arithmetic. Brent and Zimmermann (2010) is a general reference for exact and multiple-precision arithmetic. Here the trusted statements are the Lean theorems attached to the concrete arithmetic operations.

Sturm's theorem and root isolation. Starting from the real-root count of Sturm (1835), the polynomial layer contains checked Sturm recurrences, root counts, and root-isolation certificates, including the global isolator of the exact section. Cohen (2012) and Eberl (2015) are useful comparisons for formal real-algebraic reasoning.

Formal verification of arithmetic. Boutin (1997), Grégoire and Mahboubi (2005), Harrison (2007), and Melquiond (2008) provide background on reflection and proved numerical bounds in proof assistants. We follow the same checked-computation pattern for the expression and certificate types.

Lean and Mathlib. de Moura and Ullrich (2021) describes the proof assistant, and Community (2020) its mathematical library. They supply the type theory, analytic definitions, and reusable proofs used throughout this development.