-
Notifications
You must be signed in to change notification settings - Fork 6
/
coqterm.mli
31 lines (27 loc) · 961 Bytes
/
coqterm.mli
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
28
29
30
31
(* Copyright 2004 INRIA *)
(* $Id: coqterm.mli,v 1.13 2010-01-12 16:09:35 doligez Exp $ *)
type coqterm;;
type coqproof;;
val trproof :
Phrase.phrase list ->
Phrase.phrase list ->
Llproof.proof ->
coqproof * string list
;;
val print : out_channel -> coqproof -> unit;;
val declare_context : out_channel -> Phrase.phrase list -> unit;;
val print_use_all : out_channel -> Phrase.phrase list -> unit;;
val init_mapping : Phrase.phrase list -> unit;;
val is_mapped : Expr.expr -> bool;;
val is_goal : Expr.expr -> bool;;
val init_induct : Phrase.phrase list -> unit;;
val get_induct :
string -> string list * (string * Phrase.inductive_arg list) list * string
;;
val is_constr : Expr.expr -> bool;;
(* [is_constr e] is true iff [e] is the application of a constructor of
an inductive type. *)
val getname : Expr.expr -> string;;
val synthesize : Expr.expr -> string;;
val constants_used : string list ref;;
exception Cannot_infer of string;;