package coq-core
Install
Dune Dependency
Authors
Maintainers
Sources
md5=5d1187d5e44ed0163f76fb12dabf012e
sha512=91bc81530fa4f6498961583ad51eac5001f139881788b88e360a866ad8e2a6e2c5bce86d1a580ab4cd4782bf49d48318767df82471ce33ba3ac143e5569ad33c
doc/coq-core.pretyping/Locusops/index.html
Module Locusops
Source
Utilities on or_var
Utilities on occurrences
val occurrences_map :
('a list -> 'b list) ->
'a Locus.occurrences_gen ->
'b Locus.occurrences_gen
Counting occurrences
A counter of occurrences associated to a list of occurrences
Three basic functions to initialize, count, and conclude a loop browsing over subterms
Initialize an occurrence_counter
Increase the occurrence counter by one and tell if the current occurrence is selected
Increase the occurrence counter and tell if the current occurrence is selected
Auxiliary functions about occurrence counters
Tell the value of the current occurrence
Tell if there are no more occurrences to select and if the loop can be shortcut
Tell if there are no more occurrences to select (or unselect) and if an inner loop can be shortcut
Miscellaneous
Usual clauses
Tests
Clause conversion functions, parametrized by a hyp enumeration function
Miscellaneous functions
val occurrences_of_hyp :
Names.Id.t ->
Locus.clause ->
Locus.occurrences * Locus.hyp_location_flag