Equations
- One or more equations did not get rendered due to their size.
Instances For
Environment extensions for monotonicity lemmas
Finds tagged monotonicity theorems of the form monotone (fun x => e)
.
Equations
- Lean.Meta.Monotonicity.findMonoThms e = do let __do_lift ← Lean.getEnv (Lean.ScopedEnvExtension.getState Lean.Meta.Monotonicity.monotoneExt __do_lift).getMatch e
Instances For
Base case for solveMonoStep: Handles goals of the form
monotone (fun f => f.1.2 x y)
It's tricky to solve them compositionally from the outside in, so here we construct the proof from the inside out.
def
Lean.Meta.Monotonicity.solveMonoStep
(failK : {α : Type} → Lean.Expr → Array Lean.Name → Lean.MetaM α := @Lean.Meta.Monotonicity.defaultFailK✝)
(goal : Lean.MVarId)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
partial def
Lean.Meta.Monotonicity.solveMono
(failK : {α : Type} → Lean.Expr → Array Lean.Name → Lean.MetaM α := fun {α : Type} =>
Lean.Meta.Monotonicity.defaultFailK✝)
(goal : Lean.MVarId)
: