https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: 31ae2ac2d65372025d85beddad8c32b4380fe361 authored by Benjamin Gregoire on 03 April 2024, 03:20:04 UTC
Merge branch 'main' into deploy-easyPQC
Tip revision: 31ae2ac
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