Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed temporal_deep tests #1180

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/HolBdd/MachineTransitionScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -990,13 +990,15 @@ val TotalMooreTrans =
THEN Q.EXISTS_TAC `(q',nextfn(q,r))`
THEN RW_TAC std_ss [MooreTrans_def]);

(* NOTE: duplicated with the next theorem but let's keep the original code:
val ReachableMooreTrans =
save_thm
("ReachableMooreTrans",
SPECL
[``\(input:'a,state:'b). (input = inputs 0) /\ (state = states 0)``,
``(input:'a, state:'b)``]
(MATCH_MP ReachablePath TotalMooreTrans));
*)

(*****************************************************************************)
(* val ReachableMooreTrans = *)
Expand Down
4 changes: 2 additions & 2 deletions examples/temporal_deep/src/model_check/selftest.sml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fun modelCheck_test1 () = let
in
if aconv (concl (valOf test1)) result1 then OK ()
else die ("Got " ^ term_to_string (concl (valOf test1)));
Process.system ("rm " ^ (!model_check_temp_file)))
Process.system ("rm " ^ (!model_check_temp_file))
end;

fun modelCheck_test2 () = let
Expand All @@ -34,7 +34,7 @@ in
if (isSome test2) then
die ("Got " ^ term_to_string (concl (valOf test2)))
else OK ();
Process.system ("rm " ^ (!model_check_temp_file)))
Process.system ("rm " ^ (!model_check_temp_file))
end;

val _ = modelCheck_test1 ();
Expand Down