swh:1:snp:a009335c9ad61a15b4ffe398f445dd601942b68c
Tip revision: 3d4f1e51ea282eb7e6ed2efc74d4cc993078c9a2 authored by Christian Doczkal on 28 July 2022, 14:55:15 UTC
port Dexcepted to dresrict and deprecate Dfilter
port Dexcepted to dresrict and deprecate Dfilter
Tip revision: 3d4f1e5
ecSearch.mli
(* -------------------------------------------------------------------- *)
open EcPath
open EcFol
open EcTyping
(* -------------------------------------------------------------------- *)
type pattern = (ptnmap * EcUnify.unienv) * form
type search = [
| `ByPath of Sp.t
| `ByPattern of pattern
| `ByOr of search list
]
type search_result =
(path * [`Axiom of EcDecl.axiom | `Schema of EcDecl.ax_schema]) list
val search : EcEnv.env -> search list -> search_result
val sort : Sp.t -> search_result -> search_result