https://github.com/EasyCrypt/easycrypt
Tip revision: 7d48561a5e49429f02d1bfe35bc7c32be85096ac authored by Pierre-Yves Strub on 05 April 2024, 11:33:24 UTC
Internal: refactoring of matching algorithm
Internal: refactoring of matching algorithm
Tip revision: 7d48561
Pervasive.ec
(* -------------------------------------------------------------------- *)
type unit.
op tt : unit.
(* -------------------------------------------------------------------- *)
type bool.
op false : bool.
op true : bool.
op [!] : bool -> bool.
op (||) : bool -> bool -> bool.
op (\/) : bool -> bool -> bool.
op (&&) : bool -> bool -> bool.
op (/\) : bool -> bool -> bool.
op (=>) : bool -> bool -> bool.
op (<=>): bool -> bool -> bool.
(* -------------------------------------------------------------------- *)
op (=) ['a] : 'a -> 'a -> bool.
abbrev (<>) (x y : 'a) = ! (x = y).
(* -------------------------------------------------------------------- *)
type int.
(* -------------------------------------------------------------------- *)
type real.
(* -------------------------------------------------------------------- *)
type 'a distr.
op mu: 'a distr -> ('a -> bool) -> real.
(* -------------------------------------------------------------------- *)
op witness : 'a. (* All types are inhabited in EC *)