(************************************************************************) (* * The Rocq Prover / The Rocq Development Team *) (* v * Copyright INRIA, CNRS and contributors *) (* <O___,, * (see version control and CREDITS file for authors & dates) *) (* \VV/ **************************************************************) (* // * This file is distributed under the terms of the *) (* * GNU Lesser General Public License Version 2.1 *) (* * (see LICENSE file for the text of the license) *) (************************************************************************)
open Names
(** Evaluable references (whose transparency can be controlled). *) type evaluable =
| EvalVarRef of Id.t
| EvalConstRef of Constant.t
| EvalProjectionRef of Projection.Repr.t
type oracle
val empty : oracle
(** Order on section paths for unfolding. If[oracle_orderkn1kn2]istrue,thenunfoldkn1first. Note:theoracledoesnotintroduceincompleteness,itonly
tries to postpone unfolding of "opaque" constants. *) val oracle_order :
oracle -> bool -> evaluable option -> evaluable option -> bool
(** Priority for the expansion of constant in the conversion test. *Higherlevelsmeansthattheexpansionislessprioritary. *(AndExpandstandsfor-oo,andOpaque+oo.) *Thedefaultvalue(transparentconstants)is[Level0].
*) type level = Expand | Level of int | Opaque val pr_level : level -> Pp.t val transparent : level
(** Check whether a level is transparent *) val is_transparent : level -> bool
val get_strategy : oracle -> evaluable -> level
(** Sets the level of a constant.
* Level of RelKey constant cannot be set. *) val set_strategy : oracle -> evaluable -> level -> oracle
(** Fold over the non-transparent levels of the oracle. Order unspecified. *) val fold_strategy : (evaluable -> level -> 'a -> 'a) -> oracle -> 'a -> 'a
val get_transp_state : oracle -> TransparentState.t
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet am 2026-06-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.