swh:1:snp:0e3a7a90b5b85feca1ee6285ebc0301d2b85deae
Raw File
Tip revision: 605d9cfade54214268c9b35f38d919147ad9ea96 authored by Benjamin Gregoire on 14 December 2022, 10:06:31 UTC
Merge branch 'main' into deploy-expected-cost
Tip revision: 605d9cf
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