package coq-serapi

  1. Overview
  2. Docs
Serialization library and protocol for machine interaction with the Coq proof assistant

Install

Dune Dependency

Authors

Maintainers

Sources

coq-serapi-8.11.0+0.11.1.tbz
sha256=f06bb0ab1041ac6f8d73faddda404827ce94b6b3310483e93d7fd18bd018e1ed
sha512=ecbed7b5b8451f65d40bf50fd1471b5038029c6f1ae8912c8cb51e61699cc4c158bc4f3533ec5f0898d1fc3d91683c0ff815fa44be7fdaedea59b71ca1d1b7d3

doc/coq-serapi.serapi_v8_11/Serapi/Serapi_goals/index.html

Module Serapi.Serapi_goals

type 'a hyp = Names.Id.t list * 'a option * 'a
type info = {
  1. evar : Evar.t;
  2. name : Names.Id.t option;
}
type 'a reified_goal = {
  1. info : info;
  2. ty : 'a;
  3. hyp : 'a hyp list;
}
type 'a ser_goals = {
  1. goals : 'a list;
  2. stack : ('a list * 'a list) list;
  3. shelf : 'a list;
  4. given_up : 'a list;
  5. bullet : Pp.t option;
}
val get_goals_gen : (Environ.env -> Evd.evar_map -> Constr.t -> 'a) -> doc:Stm.doc -> Stateid.t -> 'a reified_goal ser_goals option
val get_goals : doc:Stm.doc -> Stateid.t -> Constr.t reified_goal ser_goals option
val get_egoals : doc:Stm.doc -> Stateid.t -> Constrexpr.constr_expr reified_goal ser_goals option
OCaml

Innovation. Community. Security.