Documentation

LeanCert.Engine.FloatEval

Fast Float Evaluator #

This file provides a fast, unverified floating-point evaluator for expressions. It is used only for heuristics to guide the verified search (e.g., finding good initial upper bounds for branch-and-bound optimization).

Main definitions #

Design notes #

This evaluator uses Lean's native Float type, which maps to hardware IEEE 754 double precision. The results are NOT verified and should only be used as hints for the rigorous interval arithmetic algorithms.

Functions not directly available in Lean's Float stdlib are approximated:

@[reducible, inline]

Evaluation environment for Floats

Equations
Instances For

    Fast, unverified floating point evaluator. Used only for heuristics to guide the verified search.

    Equations
    Instances For

      Evaluate with a list-based environment (for compatibility with Box)

      Equations
      Instances For

        Evaluate with an array-based environment (faster for repeated access)

        Equations
        Instances For