Point Inequality Tactic (interval_decide) #
The interval_decide tactic proves point inequalities like Real.exp 1 ≤ 3.
def
LeanCert.Tactic.Auto.proveClosedExpressionBound
(goal : Lean.MVarId)
(goalType : Lean.Expr)
(taylorDepth : ℕ)
:
Try to prove a closed expression bound directly using certificate verification.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The interval_decide tactic implementation.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Depth estimation helpers #
Ceiling/Floor Preprocessing #
Goals involving ⌈e⌉₊ (Nat.ceil) cannot be reified into the Expr AST because
it has no constructor for ceiling. Instead we reduce to a pure real inequality:
⌈e⌉₊ + k ≤ n⟹ provee ≤ ↑(n - k)byinterval_decide, then close viaNat.ceil_le+omega.
Recursively handle conjunctions and disjunctions, then apply intervalDecideSingle
Equations
- One or more equations did not get rendered due to their size.