https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: ab2599f60819d119abc0a6cdb043e5742260797d authored by Antoine Séré on 04 October 2022, 15:56:46 UTC
Issue after merge in compilation, ppx_deriving added to nix
Tip revision: ab2599f
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