summaryrefslogtreecommitdiff
path: root/contrib/funind/functional_principles_proofs.mli
blob: 35da5d507aa97cf038b8d2a42cec4ca63634dfa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
open Names
open Term

val prove_princ_for_struct :
  bool ->
  int -> constant array -> constr array -> int -> Tacmach.tactic


val prove_principle_for_gen : 
  constant*constant*constant -> (* name of the function, the fonctionnal and the fixpoint equation *)
  constr option ref -> (* a pointer to the obligation proofs lemma *)
  bool -> (* is that function uses measure *)
  int -> (* the number of recursive argument *) 
  types -> (* the type of the recursive argument *)
  constr -> (* the wf relation used to prove the function *)
  Tacmach.tactic


val is_pte  : rel_declaration -> bool 
val do_observe : unit -> bool