package coq-core
Install
Dune Dependency
Authors
Maintainers
Sources
md5=13d2793fc6413aac5168822313e4864e
sha512=ec8379df34ba6e72bcf0218c66fef248b0e4c5c436fb3f2d7dd83a2c5f349dd0874a67484fcf9c0df3e5d5937d7ae2b2a79274725595b4b0065a381f70769b42
doc/coq-core.engine/Ftactic/index.html
Module Ftactic
Source
This module defines potentially focussing tactics. They are used by Ltac to emulate the historical behaviour of always-focussed tactics while still allowing to remain global when the goal is not needed.
The type of focussing tactics. A focussing tactic is like a normal tactic, except that it is able to remember it have entered a goal. Whenever this is the case, each subsequent effect of the tactic is dispatched on the focused goals. This is a monad.
Monadic interface
Operations
Transform a tactic into a focussing tactic. The resulting tactic is not focused.
Given a continuation producing a tactic, evaluates the focussing tactic. If the tactic has not focused, then the continuation is evaluated once. Otherwise it is called in each of the currently focused goals.
Focussing
Enter a goal. The resulting tactic is focused.
Enter a goal, without evar normalization. The resulting tactic is focused.
with_env t
returns, in addition to the return type of t
, an environment, which is the global environment if t
does not focus on goals, or the local goal environment if t
focuses on goals.
Notations
List operations
module List : Monad.ListS with type 'a t := 'a t