1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
(* SPDX-License-Identifier: AGPL-3.0-or-later *)
(* Copyright © 2021-2024 OCamlPro *)
(* Written by the Owi programmers *)
module type Base = sig
module Value : Value_intf.T
type 'a t
val return : 'a -> 'a t
val bind : 'a t -> ('a -> 'b t) -> 'b t
val map : 'a t -> ('a -> 'b) -> 'b t
val select :
Value.Boolean.t -> prio_true:Prio.t -> prio_false:Prio.t -> Bool.t t
val select_i32 : Value.i32 -> Int32.t t
val trap : Result.err -> 'a t
val ( let* ) : 'a t -> ('a -> 'b t) -> 'b t
val ( let+ ) : 'a t -> ('a -> 'b) -> 'b t
val get_pc : unit -> Smtml.Expr.Set.t t
val ite : Value.Boolean.t -> if_true:Value.t -> if_false:Value.t -> Value.t t
val assume : Value.Boolean.t -> unit t
end
module type Complete = sig
include Base
type thread
type 'a run_result
val assertion : Value.Boolean.t -> unit t
val assume : Value.Boolean.t -> unit t
val with_thread : (thread -> 'b) -> 'b t
val solver : Solver.t t
val thread : thread t
val lift_mem : 'a Symbolic_choice_without_memory.t -> 'a t
end