Revision e034e6cf3e6d21f7c4d679c9e06467eb321afb67 authored by Pierre-Yves Strub on 05 January 2023, 09:29:25 UTC, committed by Pierre-Yves Strub on 05 January 2023, 09:50:08 UTC
1 parent b1fe56d
Raw File
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