]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/bin/recomm/recommGcpGroundLib.ml
update in gruound
[helm.git] / matita / matita / contribs / lambdadelta / bin / recomm / recommGcpGroundLib.ml
diff --git a/matita/matita/contribs/lambdadelta/bin/recomm/recommGcpGroundLib.ml b/matita/matita/contribs/lambdadelta/bin/recomm/recommGcpGroundLib.ml
new file mode 100644 (file)
index 0000000..085f6df
--- /dev/null
@@ -0,0 +1,11 @@
+module T = RecommTypes
+module R = RecommPcsPar
+
+let step k st outs ins =
+  if st <> T.OO then k st outs ins else
+  match ins with
+  | "(with" :: "reflexivity)" :: tl -> k T.OK ("reflexivity)" :: "(with" :: outs) tl
+  | _ -> k T.OO outs ins
+
+let main =
+  R.register_p step