summaryrefslogtreecommitdiff
path: root/contrib/setoid_ring/newring.ml4
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/setoid_ring/newring.ml4')
-rw-r--r--contrib/setoid_ring/newring.ml411
1 files changed, 6 insertions, 5 deletions
diff --git a/contrib/setoid_ring/newring.ml4 b/contrib/setoid_ring/newring.ml4
index 3d022add..50b7e47b 100644
--- a/contrib/setoid_ring/newring.ml4
+++ b/contrib/setoid_ring/newring.ml4
@@ -8,7 +8,7 @@
(*i camlp4deps: "parsing/grammar.cma" i*)
-(*i $Id: newring.ml4 11282 2008-07-28 11:51:53Z msozeau $ i*)
+(*i $Id: newring.ml4 11800 2009-01-18 18:34:15Z msozeau $ i*)
open Pp
open Util
@@ -19,12 +19,12 @@ open Environ
open Libnames
open Tactics
open Rawterm
+open Termops
open Tacticals
open Tacexpr
open Pcoq
open Tactic
open Constr
-open Setoid_replace
open Proof_type
open Coqlib
open Tacmach
@@ -452,12 +452,13 @@ let (theory_to_obj, obj_to_theory) =
let setoid_of_relation env a r =
+ let evm = Evd.empty in
try
lapp coq_mk_Setoid
[|a ; r ;
- Class_tactics.reflexive_proof env a r ;
- Class_tactics.symmetric_proof env a r ;
- Class_tactics.transitive_proof env a r |]
+ Class_tactics.get_reflexive_proof env evm a r ;
+ Class_tactics.get_symmetric_proof env evm a r ;
+ Class_tactics.get_transitive_proof env evm a r |]
with Not_found ->
error "cannot find setoid relation"