feat: extend public Meta API

This commit is contained in:
Leonardo de Moura 2019-11-11 12:19:07 -08:00
parent 01bd502db1
commit 9cdaf79cfc

View file

@ -53,5 +53,14 @@ exprToBool <$> auxFixpoint isDefEqOp e₁ e₂
/- END OF BIG HACK -/
/- =========================================== -/
def isProp (e : Expr) : MetaM Bool :=
isPropAux whnf e
def getFunInfo (fn : Expr) : MetaM FunInfo :=
getFunInfoAux whnf fn
def getFunInfoNArgs (fn : Expr) (nargs : Nat) : MetaM FunInfo :=
getFunInfoNArgsAux whnf fn nargs
end Meta
end Lean