summaryrefslogtreecommitdiff
path: root/contrib/subtac/g_eterm.ml4
blob: d9dd42cd7266b1bab164386f6428ed26b8dcf7a3 (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        *)
(************************************************************************)
(**************************************************************************)
(*                                                                        *)
(* Omega: a solver of quantifier-free problems in Presburger Arithmetic   *)
(*                                                                        *)
(* Pierre Crégut (CNET, Lannion, France)                                  *)
(*                                                                        *)
(**************************************************************************)

(*i camlp4deps: "parsing/grammar.cma" i*)

(* $Id: g_eterm.ml4 8654 2006-03-22 15:36:58Z msozeau $ *)

open Eterm

TACTIC EXTEND eterm
  [ "eterm" ] -> [ 
    (fun gl ->
       let evm = Tacmach.project gl and t = Tacmach.pf_concl gl in
         Eterm.etermtac (evm, t) gl) ]
END