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.12.0.0.12.1.tbz
sha256=08a12e8e8766c2e6a6a7394b0df48989c081367fa7d4d8dd8cdcd026575b4859
sha512=80267021f065f04543f72f16827fc7642ce98ed93940b0f780e83b0c751ac1a8df0e27018326315726c1b7b029015da31eec8322fda15a3a23c57850d53ef358

doc/coq-serapi.serapi_v8_12/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.