From e12ff90edcc4af4eb0998f11186e998b23ada15d Mon Sep 17 00:00:00 2001 From: corbinea Date: Fri, 25 Apr 2003 19:55:41 +0000 Subject: Added the Ground tactic. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3955 85f007b7-540e-0410-9357-904b9bb8a0f7 --- contrib/first-order/formula.mli | 69 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 contrib/first-order/formula.mli (limited to 'contrib/first-order/formula.mli') diff --git a/contrib/first-order/formula.mli b/contrib/first-order/formula.mli new file mode 100644 index 000000000..bb6dc030a --- /dev/null +++ b/contrib/first-order/formula.mli @@ -0,0 +1,69 @@ +(***********************************************************************) +(* v * The Coq Proof Assistant / The Coq Development Team *) +(* int + +val newcnt : unit -> counter + +val construct_nhyps : inductive -> int array + +val ind_hyps : inductive -> constr list -> Sign.rel_context array + +val kind_of_formula : constr -> kind_of_formula + +type right_pattern = + Rand + | Ror + | Rforall + | Rexists of int*constr + | Rarrow + +type right_formula = + Complex of right_pattern*((bool*constr) list) + | Atomic of constr + +type left_pattern= + Lfalse + | Land of inductive + | Lor of inductive + | Lforall of int*constr + | Lexists + | LAatom of constr + | LAfalse + | LAand of inductive*constr list + | LAor of inductive*constr list + | LAforall of constr + | LAexists of inductive*constr*constr*constr + | LAarrow of constr*constr*constr + +type left_formula={id:identifier; + pat:left_pattern; + atoms:(bool*constr) list} + +val build_left_entry : + identifier -> types -> counter -> (left_formula,types) sum + +val build_right_entry : types -> counter -> right_formula + + -- cgit v1.2.3