Documentation

Lean.Elab.Tactic.Monotonicity

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

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

    Equations
    Instances For
      def Lean.Meta.Monotonicity.defaultFailK {α : Type} (f : Expr) (monoThms : Array Name) :
      Equations
      • One or more equations did not get rendered due to their size.
      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} → ExprArray NameMetaM α := @defaultFailK) (goal : MVarId) :
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          partial def Lean.Meta.Monotonicity.solveMono (failK : {α : Type} → ExprArray NameMetaM α := fun {α : Type} => defaultFailK) (goal : MVarId) :