forked from cubicle-model-checker/cubicle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsafety.mli
25 lines (22 loc) · 1.42 KB
/
safety.mli
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
(**************************************************************************)
(* *)
(* Cubicle *)
(* *)
(* Copyright (C) 2011-2014 *)
(* *)
(* Sylvain Conchon and Alain Mebsout *)
(* Universite Paris-Sud 11 *)
(* *)
(* *)
(* This file is distributed under the terms of the Apache Software *)
(* License version 2.0 *)
(* *)
(**************************************************************************)
(** Safety checks *)
exception Unsafe of Node.t
(** exception to signal that a safety check failed. In this case the current
search must be stopped. *)
val check : Ast.t_system -> Node.t -> unit
(** [check s n] raises [Unsafe n] if the node [n] is immediately reachable in
the system [s], i.e. if [n /\ s.init] is not unsatifiable. Otherwise it
does nothing.*)