Slightly tweak code for proving a term

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
Danila Fedorin 2023-12-22 14:39:52 -08:00
parent da470f5caa
commit aa7fd44a6d

View File

@ -169,7 +169,8 @@ provePremises = mapM proveTerm
proveTerm : Term UnificationVar -> Prover ProofTree
proveTerm t =
map (reify t) getUnificationState
getUnificationState
|> map (\us -> reify t us)
|> andThen (\tp ->
burn (
getRules