Documentation

LeanCert.Tactic.TestAuto

Tests for Automated Interval Bound Tactic #

This file tests the interval_bound tactic.

The unit interval [0, 1]

Equations
Instances For
    theorem LeanCert.Tactic.TestAuto.test_exp_le_e_approx (x : ) :
    x I01Core.Expr.eval (fun (x_1 : ) => x) (Core.Expr.var 0).exp (11 / 4)

    Raw Lean Expression Tests #

    These tests use raw Lean math syntax (x * x, Real.sin x, etc.) instead of the pre-reified Expr.eval form. The tactic should automatically reify these expressions.

    Global Optimization - Manual Usage #

    The global optimization theorems are proven and can be used manually. The automatic opt_bound tactic is a work in progress for full automation. Below are examples of how to use the verification theorems directly.

    A 1D box [0, 1] for single variable optimization

    Equations
    Instances For

      Root Finding Tests #

      These tests verify the root_bound tactic for proving absence of roots. Note: The 0 must be of type ℝ (not ℚ coerced to ℝ) since Expr.eval returns ℝ.

      Multivariate Bounds Tests #

      These tests verify the multivariate_bound tactic for proving bounds over multi-variable domains. The multivariate_bound tactic is currently under development.

      NOTE: The full automatic bridging from ∀ x ∈ Set.Icc ... to the internal Box form requires additional work. For now, use the opt_bound tactic for global optimization goals that are already in the Box.envMem form.