https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: 47eae0fced6c6a52facb122434c9e0e64649e0ad authored by Pierre Boutry on 22 March 2023, 17:01:57 UTC
remove trailing whitespaces
Tip revision: 47eae0f
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
back to top