https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: fc07a369c06d62559c2e8cf00fd6ec6f2e8f4a3a authored by Pierre-Yves Strub on 29 March 2022, 08:01:08 UTC
License change: CeCILL B/C -> MIT
Tip revision: fc07a36
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