10.2. Algorithms and their guarantees
The frontend translates ordinary Lean expressions into a finite syntax tree.
The exact normalizer recursively rewrites that tree using proved algebraic
rules and explicit side conditions. Differentiation applies the sum, product,
quotient, and chain rules, then simplifies the derivative. Integration searches
a bounded collection of rules and candidates; a candidate is accepted only
when checked differentiation recovers the integrand on the required domain.
These are the procedures behind cas.
CEGA's numerical routes evaluate exact rational intervals through the same expression structure. Elementary-function bounds use proved approximations and remainder estimates. Subdivision bisects a box and combines the bounds from its children; Taylor models retain polynomial information with a bounded remainder. Quadrature, root, and matrix certificates add their own soundness theorems. Each method gives a specified conclusion, such as an enclosure or error bound, rather than a general PDE existence theorem.

