package rocq-runtime

  1. Overview
  2. Docs
The Rocq Prover -- Core Binaries and Tools

Install

Dune Dependency

Authors

Maintainers

Sources

rocq-9.0.0.tar.gz
md5=8d522602d23e7a665631826dab9aa92b
sha512=f4f76a6a178e421c99ee7a331a2fd97a06e9c5d0168d7e60c44e3820d8e1a124370ea104ad90c7f87a9a1e9d87b2d0d7d2d387c998feeaed4a75ed04e176a4be

doc/rocq-runtime.engine/UnivSubst/index.html

Module UnivSubstSource

Sourcetype 'a universe_map = 'a Univ.Level.Map.t
Sourcetype universe_subst = Univ.Universe.t universe_map
Sourcetype universe_subst_fn = Univ.Level.t -> Univ.Universe.t option
Sourcetype universe_level_subst_fn = Univ.Level.t -> Univ.Level.t
Sourcetype quality_subst_fn = Sorts.QVar.t -> Sorts.Quality.t

The resulting function must never be called on a level which would produce an algebraic.

Full universes substitutions into terms

Sourceval map_universes_opt_subst_with_binders : ('a -> 'a) -> ('a -> Constr.constr -> Constr.constr) -> quality_subst_fn -> universe_subst_fn -> 'a -> Constr.constr -> Constr.constr
Sourceval nf_evars_and_universes_opt_subst : (Constr.existential -> Constr.constr option) -> quality_subst_fn -> universe_subst_fn -> Constr.constr -> Constr.constr
  • deprecated (8.20) Use [UnivSubst.map_universes_opt_subst_with_binders]
Sourceval pr_universe_subst : (Univ.Level.t -> Pp.t) -> universe_subst -> Pp.t
Sourceval enforce_leq_alg_sort : Sorts.t -> Sorts.t -> UGraph.t -> Univ.Constraints.t * UGraph.t

Picks an arbitrary set of constraints sufficient to ensure u <= v.

OCaml

Innovation. Community. Security.