我可以在 "coqtop - nois" 下定义战术吗?

Can I define a tactic under "coqtop - nois"?

$ coqtop -nois
Welcome to Coq 8.7.0 (October 2017)

Coq < Ltac i := idtac.
Toplevel input, characters 0-4:
> Ltac i := idtac.
> ^^^^
Error: Syntax error: illegal begin of vernac.

我正在 "coqtop -nois" 下重新开发 "Coq.Init.Prelude" 和 "HoTT.Basics.Overture" 以供练习。我发现很难直接写表达式。这就是为什么我要使用战术。我想知道为什么我不能使用 "Ltac".

Ltac 现在作为插件提供,您需要加载它才能使用:

Declare ML Module "ltac_plugin".