Smart Bounds with Monotonicity #
This module provides monotonicity-aware bounds that use derivative information to get tighter bounds at interval endpoints. If the function is monotonic on the interval, we can evaluate at the appropriate endpoint to get an exact bound, avoiding Taylor series remainder widening.
Main definitions #
Boolean Checkers #
checkLowerBoundSmart- Lower bound check using monotonicitycheckUpperBoundSmart- Upper bound check using monotonicity
Monotonicity Helpers #
increasing_min_at_left_core- For increasing functions, minimum is at left endpointdecreasing_min_at_right_core- For decreasing functions, minimum is at right endpointincreasing_max_at_right_core- For increasing functions, maximum is at right endpointdecreasing_max_at_left_core- For decreasing functions, maximum is at left endpoint
Golden Theorems #
verify_lower_bound_smart- Smart lower bound verificationverify_upper_bound_smart- Smart upper bound verification
Smart Bounds with Monotonicity #
These checkers use derivative information to get tighter bounds at interval endpoints. If the function is monotonic on the interval, we can evaluate at the appropriate endpoint to get an exact bound, avoiding Taylor series remainder widening.
Smart lower bound check using monotonicity.
- Tries standard interval check first (fastest).
- If fails, computes derivative interval.
- If derivative > 0 (increasing), checks if f(I.lo) ≥ c.
- If derivative < 0 (decreasing), checks if f(I.hi) ≥ c.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Smart upper bound check using monotonicity.
- Tries standard interval check first.
- If fails, computes derivative interval.
- If derivative > 0 (increasing), checks if f(I.hi) ≤ c.
- If derivative < 0 (decreasing), checks if f(I.lo) ≤ c.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Monotonicity Helper Theorems #
Helper: For increasing functions, the minimum is at the left endpoint
Helper: For decreasing functions, the minimum is at the right endpoint
Smart lower bound verification using monotonicity
Helper: For increasing functions, the maximum is at the right endpoint
Helper: For decreasing functions, the maximum is at the left endpoint
Smart upper bound verification using monotonicity