diff --git a/proofs/Fl4CoreA64/Funs.lean b/proofs/Fl4CoreA64/Funs.lean index a27b11f40..ba32a397b 100644 --- a/proofs/Fl4CoreA64/Funs.lean +++ b/proofs/Fl4CoreA64/Funs.lean @@ -15247,7 +15247,9 @@ def faults.set_mrs_fault then if w1 != 0#u64 then msg.set_mr machineStoreInst s receiver buf 0#u64 w0 - else ok (0#u64, s) + else + msg.set_mr machineStoreInst s receiver buf 0#u64 + core.num.U64.MAX else if ty = fl4_abi.consts.fault.VPPIEvent then msg.set_mr machineStoreInst s receiver buf 0#u64 w0 diff --git a/proofs/Fl4ProofsA64/P1/MdbXferL.lean b/proofs/Fl4ProofsA64/P1/MdbXferL.lean index b1e0cf702..b4b9c1665 100644 --- a/proofs/Fl4ProofsA64/P1/MdbXferL.lean +++ b/proofs/Fl4ProofsA64/P1/MdbXferL.lean @@ -315,7 +315,7 @@ theorem faults.set_mrs_fault.gx {A : Type _} {ar : machine.Arch A} {s : S} {a : split · split · gml - · exact (WP.spec_ok _).2 h + · gml split · gml · exact (WP.spec_ok _).2 h diff --git a/proofs/Fl4ProofsA64/P1/QueueXfer.lean b/proofs/Fl4ProofsA64/P1/QueueXfer.lean index b8071db5a..1f49b0dac 100644 --- a/proofs/Fl4ProofsA64/P1/QueueXfer.lean +++ b/proofs/Fl4ProofsA64/P1/QueueXfer.lean @@ -763,7 +763,7 @@ theorem faults.set_mrs_fault.xs {A : Type _} {ar : machine.Arch A} (hA : P0.Arch split · split · exact set_mr_last h hr hb (by simp) - · exact (WP.spec_ok _).2 h + · exact set_mr_last h hr hb (by simp) split · exact set_mr_last h hr hb (by simp) · exact (WP.spec_ok _).2 h diff --git a/proofs/Fl4ProofsA64/P1/QueueXferFoot.lean b/proofs/Fl4ProofsA64/P1/QueueXferFoot.lean index cc7383222..4a29828ee 100644 --- a/proofs/Fl4ProofsA64/P1/QueueXferFoot.lean +++ b/proofs/Fl4ProofsA64/P1/QueueXferFoot.lean @@ -679,7 +679,7 @@ theorem faults.set_mrs_fault.xsf {A : Type _} {ar : machine.Arch A} (hA : P0.Arc split · split · exact set_mr_lastF h hr hb (by simp) - · exact (WP.spec_ok _).2 h + · exact set_mr_lastF h hr hb (by simp) split · exact set_mr_lastF h hr hb (by simp) · exact (WP.spec_ok _).2 h diff --git a/proofs/Fl4ProofsA64/P2/ProgGenVf11.lean b/proofs/Fl4ProofsA64/P2/ProgGenVf11.lean index 2f921d4fe..675afb715 100644 --- a/proofs/Fl4ProofsA64/P2/ProgGenVf11.lean +++ b/proofs/Fl4ProofsA64/P2/ProgGenVf11.lean @@ -305,7 +305,7 @@ variable {S : Type} {A : Type} (mS : machine.Store S) (mA : machine.Arch A) if w1 != 0#u64 then do R.msg.set_mr receiver buf 0#u64 w0 else do - pure (0#u64) + R.msg.set_mr receiver buf 0#u64 core.num.U64.MAX else do if ty = fl4_abi.consts.fault.VPPIEvent then do R.msg.set_mr receiver buf 0#u64 w0