package coq
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=36577b55f4a4b1c64682c387de7abea932d0fd42fc0cd5406927dca344f53587
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