aboutsummaryrefslogtreecommitdiffhomepage
path: root/contrib/cc/ccproof.mli
blob: 99ed30d991b1ef136d96d349045fd9e43f6d2608 (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
28
29
30
31
32
33
34
35
36
37
38
(***********************************************************************)
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team    *)
(* <O___,, *        INRIA-Rocquencourt  &  LRI-CNRS-Orsay              *)
(*   \VV/  *************************************************************)
(*    //   *      This file is distributed under the terms of the      *)
(*         *       GNU Lesser General Public License Version 2.1       *)
(***********************************************************************)

(* $Id$ *)

open Ccalgo

type proof =
    Ax of Names.identifier
  | SymAx of Names.identifier
  | Refl of term
  | Trans of proof * proof
  | Congr of proof * proof
  | Inject of proof * Names.constructor * int * int

val pcongr : proof * proof -> proof
val ptrans : proof * proof -> proof
val psym : proof -> proof
val pcongr : proof * proof -> proof

val pid : string -> proof -> proof

val build_proof : UF.t -> int -> int -> proof

exception Wrong_proof of proof

val type_proof :
  (Names.identifier * (term * term)) list -> proof -> term * term

val cc_proof :
  (Names.identifier * (term * term)) list * (term * term) ->
  (proof * UF.t * (Names.identifier * (term * term)) list) option