package rocq-runtime
Install
Dune Dependency
Authors
Maintainers
Sources
md5=8d522602d23e7a665631826dab9aa92b
sha512=f4f76a6a178e421c99ee7a331a2fd97a06e9c5d0168d7e60c44e3820d8e1a124370ea104ad90c7f87a9a1e9d87b2d0d7d2d387c998feeaed4a75ed04e176a4be
doc/rocq-runtime.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