https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: 3be7cb90d01d64d9845a7488f1b5d9d662279702 authored by Pierre-Yves Strub on 24 November 2023, 14:20:34 UTC
Support project-local ini files
Tip revision: 3be7cb9
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