-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mlis for Symbolic_choice_with(out)_memory modules
- Loading branch information
Showing
4 changed files
with
44 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
type 'a eval = private | ||
| EVal of 'a | ||
| ETrap of Trap.t * Smtml.Model.t | ||
| EAssert of Smtml.Expr.t * Smtml.Model.t | ||
|
||
type 'a t = ('a, Thread_without_memory.t) Symbolic_choice.CoreImpl.Eval.t | ||
|
||
type thread := Thread_without_memory.t | ||
|
||
module V := Symbolic_value | ||
|
||
type 'a run_result | ||
|
||
val return : 'a -> 'a t | ||
|
||
val bind : 'a t -> ('a -> 'b t) -> 'b t | ||
|
||
val map : 'a t -> ('a -> 'b) -> 'b t | ||
|
||
val select : V.vbool -> bool t | ||
|
||
val select_i32 : V.int32 -> Int32.t t | ||
|
||
val trap : Trap.t -> 'a t | ||
|
||
val ( let* ) : 'a t -> ('a -> 'b t) -> 'b t | ||
|
||
val ( let+ ) : 'a t -> ('a -> 'b) -> 'b t | ||
|
||
val assertion : V.vbool -> unit t | ||
|
||
val with_thread : (thread -> 'b) -> 'b t | ||
|
||
val solver : Solver.t t | ||
|
||
val thread : thread t | ||
|
||
val add_pc : V.vbool -> unit t |