package coq-core
Install
Dune Dependency
Authors
Maintainers
Sources
md5=13d2793fc6413aac5168822313e4864e
sha512=ec8379df34ba6e72bcf0218c66fef248b0e4c5c436fb3f2d7dd83a2c5f349dd0874a67484fcf9c0df3e5d5937d7ae2b2a79274725595b4b0065a381f70769b42
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