Documentation

Lean.Elab.Tactic.Monotonicity

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

Equations
    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.

      Equations
        Instances For
          partial def Lean.Meta.Monotonicity.solveMono (failK : {α : Type} → ExprArray NameMetaM α := fun {α : Type} => Lean.Meta.Monotonicity.defaultFailK✝) (goal : MVarId) :