私はだから私は、次のように、それぞれに2つのささいな戦術を適用しようとして2つのゴールで少しテストをしたCoq "ローカルアプリケーションの使用"の正しい使い方は何ですか?
Local application of tactics
Different tactics can be applied to the different goals using the following form:
[ > expr1 | ::: | exprn ]
The expressions
expri
are evaluated to vi, for i = 0; ...; n and all have to be tactics. The vi is applied to the i-th goal, for = 1; ...; n. It fails if the number of focused goals is not exactly n.
についてCoqのリファレンスマニュアル(8.5p1)を読んでいる:
Goal forall P Q: Prop, P \/ Q -> Q \/ P.
intros. destruct H. [ > idtac | idtac ].
しかし、私は1つの戦術しか期待できないと私に言ったエラーがあります:
Error: Incorrect number of goals (expected 1 tactic).
私は混乱しています。私が間違ったことを説明できる人がいますか?正しい使い方は何ですか?