-
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
10 changed files
with
62 additions
and
22 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
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 |
---|---|---|
@@ -1 +1,5 @@ | ||
(* SPDX-License-Identifier: AGPL-3.0-or-later *) | ||
(* Copyright © 2021-2024 OCamlPro *) | ||
(* Written by the Owi programmers *) | ||
|
||
include Symbolic_choice.Make (Thread_without_memory) |
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,42 @@ | ||
(* SPDX-License-Identifier: AGPL-3.0-or-later *) | ||
(* Copyright © 2021-2024 OCamlPro *) | ||
(* Written by the Owi programmers *) | ||
|
||
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 |
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