Commit 2022-11-07 21:34 a300eb9d
View on Github →feat: #conv
command: #simp
, #norm_num
etc. (#539)
The command #conv $tac => $e
will run a conv tactic tac
on e
and display the resulting simplified version of e'
. This is used to implement several other user commands:
#whnf e
displays the weak head normal form ofe
#simp e
displays the simp normal form ofe
#norm_num e
evaluatese
usingnorm_num
#push_neg e
shows the result ofpush_neg
one
Theconv
versions ofnorm_num
andpush_neg
are also added here, so that the commands can be implemented as macros.