LocusopsUtilities on or_var
val or_var_map : ('a -> 'b) -> 'a Locus.or_var -> 'b Locus.or_varUtilities on occurrences
val occurrences_map : ('a list -> 'b list) -> 'a Locus.occurrences_gen -> 'b Locus.occurrences_genThree basic functions to initialize, count, and conclude a loop browsing over subterms
val initialize_occurrence_counter : Locus.occurrences -> occurrences_countInitialize an occurrence_counter
val update_occurrence_counter : occurrences_count -> bool * occurrences_countIncrease the occurrence counter by one and tell if the current occurrence is selected
val check_used_occurrences : occurrences_count -> unitIncrease the occurrence counter and tell if the current occurrence is selected
Auxiliary functions about occurrence counters
val current_occurrence : occurrences_count -> intTell the value of the current occurrence
val occurrences_done : occurrences_count -> boolTell if there are no more occurrences to select and if the loop can be shortcut
val more_specific_occurrences : occurrences_count -> boolTell if there are no more occurrences to select (or unselect) and if an inner loop can be shortcut
val is_selected : int -> Locus.occurrences -> boolval is_all_occurrences : 'a Locus.occurrences_gen -> boolUsual clauses
val allHypsAndConcl : 'a Locus.clause_exprval allHyps : 'a Locus.clause_exprval onConcl : 'a Locus.clause_exprval nowhere : 'a Locus.clause_exprval onHyp : 'a -> 'a Locus.clause_exprTests
val is_nowhere : 'a Locus.clause_expr -> boolClause conversion functions, parametrized by a hyp enumeration function
val simple_clause_of : (unit -> Names.Id.t list) -> Locus.clause -> Locus.simple_clauseval concrete_clause_of : (unit -> Names.Id.t list) -> Locus.clause -> Locus.concrete_clauseMiscellaneous functions
val occurrences_of_hyp : Names.Id.t -> Locus.clause -> Locus.occurrences * Locus.hyp_location_flagval occurrences_of_goal : Locus.clause -> Locus.occurrencesval in_every_hyp : Locus.clause -> boolval clause_with_generic_occurrences : 'a Locus.clause_expr -> boolval clause_with_generic_context_selection : 'a Locus.clause_expr -> bool