https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: d7186acb6788015aff8d76e9d355da709d7cb5b0 authored by Pierre-Yves Strub on 08 December 2023, 07:20:01 UTC
New tactic: "proc rewrite"
Tip revision: d7186ac
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 * EcDecl.axiom) list

val search : EcEnv.env -> search list -> search_result

val sort : Sp.t -> search_result -> search_result
back to top