summaryrefslogtreecommitdiff
path: root/contrib/subtac/eterm.mli
blob: 76994c0623413b6cd29982eb765f885eac415190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(************************************************************************)
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team     *)
(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
(*   \VV/  **************************************************************)
(*    //   *      This file is distributed under the terms of the       *)
(*         *       GNU Lesser General Public License Version 2.1        *)
(************************************************************************)

(*i $Id: eterm.mli 9976 2007-07-12 11:58:30Z msozeau $ i*)

open Tacmach
open Term
open Evd
open Names
open Util

val mkMetas : int -> constr list

(* val eterm_term : evar_map -> constr -> types option -> constr * types option * (identifier * types) list *)

(* id, named context length, evars, number of
   function prototypes to try to clear from evars contexts, object and optional type *)
val eterm_obligations : identifier -> int -> evar_defs -> evar_map -> int -> constr -> types option -> 
  (identifier * types * bool * Intset.t) array * constr
    (* Obl. name, type as product, opacity (true = opaque) and dependencies as indexes into the array *)

val etermtac : open_constr -> tactic