Tests for Automated Interval Bound Tactic #
This file tests the interval_bound tactic.
The unit interval [0, 1]
Equations
- LeanCert.Tactic.TestAuto.I01 = { lo := 0, hi := 1, le := LeanCert.Tactic.TestAuto.I01._proof_1 }
Instances For
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
Instances For
A 2D box [0, 1] × [0, 1]
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.