package coq-core
Install
Dune Dependency
Authors
Maintainers
Sources
sha512=9a35311acec2a806730b94ac7dceabc88837f235c52a14c026827d9b89433bd7fa9555a9fc6829aa49edfedb24c8bbaf1411ebf463b74a50aeb17cba47745b6b
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