https://github.com/EasyCrypt/easycrypt
Revision 17ae2d37bb9894eb22be1f149eaecd0934d0771a authored by Adrien Koutsos on 29 April 2022, 15:32:59 UTC, committed by Adrien Koutsos on 29 April 2022, 15:32:59 UTC
1 parent f37b697
Raw File
Tip revision: 17ae2d37bb9894eb22be1f149eaecd0934d0771a authored by Adrien Koutsos on 29 April 2022, 15:32:59 UTC
better printing + work on costs
Tip revision: 17ae2d3
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