package rocq-runtime
The Rocq Prover -- Core Binaries and Tools
Install
Dune Dependency
Authors
Maintainers
Sources
rocq-9.0.0.tar.gz
md5=8d522602d23e7a665631826dab9aa92b
sha512=f4f76a6a178e421c99ee7a331a2fd97a06e9c5d0168d7e60c44e3820d8e1a124370ea104ad90c7f87a9a1e9d87b2d0d7d2d387c998feeaed4a75ed04e176a4be
doc/rocq-runtime.tactics/Rewrite/index.html
Module Rewrite
Source
TODO: document and clean me!
Source
type ('constr, 'redexpr, 'id) strategy_ast =
| StratId
| StratFail
| StratRefl
| StratUnary of unary_strategy * ('constr, 'redexpr, 'id) strategy_ast
| StratBinary of binary_strategy * ('constr, 'redexpr, 'id) strategy_ast * ('constr, 'redexpr, 'id) strategy_ast
| StratNAry of nary_strategy * ('constr, 'redexpr, 'id) strategy_ast list
| StratConstr of 'constr * bool
| StratTerms of 'constr list
| StratHints of bool * string
| StratEval of 'redexpr
| StratFold of 'constr
| StratVar of 'id
| StratFix of 'id * ('constr, 'redexpr, 'id) strategy_ast
Source
type rewrite_result_info = {
rew_car : EConstr.constr;
rew_from : EConstr.constr;
rew_to : EConstr.constr;
rew_prf : rewrite_proof;
rew_evars : evars;
}
Source
val strategy_of_ast :
(Glob_term.glob_constr * EConstr.constr Tactypes.delayed_open,
Redexpr.red_expr Tactypes.delayed_open,
Names.Id.t)
strategy_ast ->
strategy
Source
val map_strategy :
('a -> 'b) ->
('c -> 'd) ->
('e -> 'f) ->
('a, 'c, 'e) strategy_ast ->
('b, 'd, 'f) strategy_ast
Entry point for user-level "rewrite_strat"
Source
val cl_rewrite_clause :
EConstr.t Tactypes.with_bindings Tactypes.delayed_open ->
bool ->
Locus.occurrences ->
Names.Id.t option ->
unit Proofview.tactic
Entry point for user-level "setoid_rewrite"
Source
val is_applied_rewrite_relation :
Environ.env ->
Evd.evar_map ->
EConstr.rel_context ->
EConstr.constr ->
EConstr.types option
Source
val get_reflexive_proof :
Environ.env ->
Evd.evar_map ->
EConstr.constr ->
EConstr.constr ->
Evd.evar_map * EConstr.constr
Source
val get_symmetric_proof :
Environ.env ->
Evd.evar_map ->
EConstr.constr ->
EConstr.constr ->
Evd.evar_map * EConstr.constr
Source
val get_transitive_proof :
Environ.env ->
Evd.evar_map ->
EConstr.constr ->
EConstr.constr ->
Evd.evar_map * EConstr.constr
Source
val apply_strategy :
strategy ->
Environ.env ->
Names.Id.Set.t ->
EConstr.constr ->
(bool * EConstr.constr) ->
evars ->
rewrite_result
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>