https://github.com/EasyCrypt/easycrypt
Tip revision: 1e6d420bd53a6b8d0c563c9c35ab0aa266daff04 authored by Cameron Low on 04 September 2023, 15:38:51 UTC
No argument proc typing
No argument proc typing
Tip revision: 1e6d420
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 *)