package coq

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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

type 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

val is_open_canonical_projection : 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

OCaml

Innovation. Community. Security.