The areas / V01. The language of Mathlib
Mathlib.Util.Simp
1 declarations. Mathlib docs · Source
Additional simp utilities
This file adds additional tools for metaprogramming with the simp tactic
def Lean.Meta.Simp.Methods.dischargeQ? E1 #
Lean.Meta.Simp.Methods → (a : Q(Prop)) → Lean.Meta.SimpM (Option Q(«$a»))
Qq version of Lean.Meta.Simp.Methods.discharge?, which avoids having to use ~q matching
on the proof expression returned by discharge?
dischargeQ? (a : Q(Prop)) attempts to prove a using the discharger, returning
some (pf : Q(a)) if a proof is found and none otherwise.