Documentation

Lean.Elab.Tactic.Monotonicity

Equations
  • One or more equations did not get rendered due to their size.

Finds tagged monotonicity theorems of the form monotone (fun x => e).

Equations

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.

Equations
  • One or more equations did not get rendered due to their size.
partial def Lean.Meta.Monotonicity.solveMono (failK : {α : Type} → ExprArray NameMetaM α := fun {α : Type} => Lean.Meta.Monotonicity.defaultFailK✝) (goal : MVarId) :