-
Notifications
You must be signed in to change notification settings - Fork 21
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
Regression in BlockingQueue proof #150
Comments
This proof works:
Here, I added the use of |
Apparently, it also suffices to "just" add diff --git a/BlockingQueue.tla b/BlockingQueue.tla
index 29be666..b8ea33e 100644
--- a/BlockingQueue.tla
+++ b/BlockingQueue.tla
@@ -92,7 +92,8 @@ LEMMA TypeCorrect == Spec => []TypeInv
\* The naive thing to do is to check if the conjunct of TypeInv /\ Invariant
\* is inductive.
-IInv == /\ TypeInv!2
+IInv == /\ TypeInv!1
+ /\ TypeInv!2
/\ TypeInv!3
/\ Invariant
\* When the buffer is empty, a consumer will be added to the waitSet. |
lemmy
referenced
this issue
in lemmy/BlockingQueue
Sep 3, 2024
lemmy
added a commit
to lemmy/BlockingQueue
that referenced
this issue
Oct 27, 2024
A TLAPS regression (tlaplus/tlapm#150) requires us to conjoin `TypeInv`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Proof at https://github.com/lemmy/BlockingQueue/blob/main/BlockingQueue.tla
The text was updated successfully, but these errors were encountered: