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.pretyping/Structures/CanonicalSolution/index.html

Module Structures.CanonicalSolutionSource

The canonical solution of a problem (proj,val) is a global constant = fun abs : abstractions_ty => body and body = RecodConstructor params canon_values and the canonical value corresponding to val is val cvalue_arguments. It is possible that val is one of the abs abstractions, eg Default_cs, and in that case cvalue_abstraction = Some i

Sourcetype t = {
  1. constant : EConstr.t;
  2. abstractions_ty : EConstr.t list;
  3. body : EConstr.t;
  4. nparams : int;
  5. params : EConstr.t list;
  6. cvalue_abstraction : int option;
  7. cvalue_arguments : EConstr.t list;
}

find (p,v) returns a s such that p s = v. The solution s gets a fresh universe instance and is decomposed into bits for consumption by evarconv. Can raise Not_found on failure

Sourceval is_open_canonical_projection : ?metas:Reductionops.meta_handler -> Environ.env -> Evd.evar_map -> EConstr.t -> bool

is_open_canonical_projection env sigma t is true if t is a FieldName applied to term which is not a constructor. Used by evarconv not to unfold too much and lose a projection too early

Sourceval print : Environ.env -> Evd.evar_map -> t -> Pp.t
OCaml

Innovation. Community. Security.