refine: fix regression caused by bad theory import

Importing Init_R into ADT_H was causing EmptyFail_H to fail. Since
no other theories actually depend on Init_R we can instead include
it in the Refine session directly.

Signed-off-by: Mitchell Buckley <mitchell.alan.buckley@gmail.com>
This commit is contained in:
Mitchell Buckley 2021-06-26 18:13:22 +10:00 committed by Mitchell Buckley
parent ee3b84fb57
commit 184bdfb954
5 changed files with 4 additions and 6 deletions

View File

@ -38,14 +38,17 @@ session Refine in "refine" = BaseRefine +
"$L4V_ARCH/Refine"
"$L4V_ARCH/RAB_FN"
"$L4V_ARCH/EmptyFail_H"
"$L4V_ARCH/Init_R"
theories [condition = "SKIP_REFINE_PROOFS", quick_and_dirty, skip_proofs]
"$L4V_ARCH/Refine"
"$L4V_ARCH/RAB_FN"
"$L4V_ARCH/EmptyFail_H"
"$L4V_ARCH/Init_R"
theories
"$L4V_ARCH/Refine"
"$L4V_ARCH/RAB_FN"
"$L4V_ARCH/EmptyFail_H"
"$L4V_ARCH/Init_R"
(*
* This theory is in a separate session because the proofs currently

View File

@ -10,7 +10,6 @@ theory ADT_H
imports
"AInvs.ADT_AI"
Syscall_R
Init_R
begin
text \<open>

View File

@ -10,7 +10,6 @@ theory ADT_H
imports
"AInvs.ADT_AI"
Syscall_R
Init_R
begin
text \<open>

View File

@ -7,9 +7,7 @@
chapter \<open>Abstract datatype for the executable specification\<close>
theory ADT_H
imports
Syscall_R
Init_R
imports Syscall_R
begin
text \<open>

View File

@ -9,7 +9,6 @@ chapter \<open>Abstract datatype for the executable specification\<close>
theory ADT_H
imports
"AInvs.ADT_AI"
Init_R
Syscall_R
begin