]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/basic_ag/bag.ml
1. New paramodulation function
[helm.git] / helm / software / lambda-delta / basic_ag / bag.ml
index cd8d493f5d8a43d75790a4241aeaf8d2732ef4dc..1aa9b62e749a79b5f2494ce0d09b67932235584f 100644 (file)
@@ -32,6 +32,12 @@ type lenv = (int * id * bind) list (* location, name, binder *)
 
 type message = (lenv, term) Log.item list
 
+(* helpers ******************************************************************)
+
+let mk_uri si root s =
+   let kernel = if si then "bag-si" else "bag" in
+   String.concat "/" ["ld:"; kernel; root; s ^ ".ld"]
+
 (* Currified constructors ***************************************************)
 
 let abst w = Abst w