用Ltac或战术记法从右到左重写

时间:2018-08-04 20:41:16

标签: coq coq-tactic

在定义战术或战术符号时,如何使用更高级的重写战术?

以下两项均产生Error: Syntax error: '.' expected after [vernac:command] (in [vernac_aux]).

Ltac rewrite_right n H :=
  rewrite <- n H.

Tactic Notation "rewrite_right" integer(n) hyp(H) :=
  rewrite <- n H.

0 个答案:

没有答案
相关问题