Examples
DrTLAPlus
Examples | DrTLAPlus | |
---|---|---|
7 | 1 | |
1,224 | 777 | |
1.4% | 1.2% | |
8.5 | 1.8 | |
11 days ago | about 2 years ago | |
TLA | TLA | |
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Examples
-
Suggestions for model checking?
I need to write a small case study using TLA+. Where can I find some distributed/concurrent algorithm or system that is not too complex and hasn't been specified yet? There are so many examples already covered in the official repository alone that I'm out of ideas.
-
Formal definitions of "events" and "messages" in distributed systems?
However, for example, Lesslie Lamport elegantly modeled distributed transactions without introducing the concepts of events or messages, focusing only on the state of the participants.
-
Beginner Question on Model Checking
I am very new to TLA+ and I am trying to learn it through the book Specifying Systems by Leslie Lamport. I am currently working on the InnerFIFO example from Chapter 4. I attempted to use the TLC model checker on this example. So, I created a new model and specified the following value to the constant Message - {"hello", "world"}. Upon running the model checker I get the following error -
-
Why is the IDE telling me my actions will never be enabled? How should a mutable array of booleans be represented?
I did not use Pluscal. I did have to EXTENDS TLC to use the Print function, based on this example: https://github.com/tlaplus/Examples/blob/master/specifications/SpecifyingSystems/AsynchronousInterface/PrintValues.tla
-
Generate (message) sequence diagrams from TLA+ state traces
Adding a vector clock is relatively straightforward (see e.g. https://github.com/tlaplus/Examples/commit/ee10c6ed1c65f1002c8ad402edceeffcf1a833e). For PlusCal, the vector clock can be computed from the PC variable: https://github.com/tlaplus/CommunityModules/blob/master/modules/ShiViz.tla
-
Where do I find examples of informal specs (RFCs) AND their formal versions (in TLA+ ideally) ?
The TLA+ github has several examples.
-
Model Check Constant Functions
I found this here as well: https://github.com/tlaplus/Examples/tree/master/specifications/SpecifyingSystems/CachingMemory
DrTLAPlus
-
Ask HN: Do You Use TLA+
## TLA+
Wikipedia: https://en.wikipedia.org/wiki/TLA%2B
Src: https://github.com/tlaplus/tlaplus
Awesome: https://github.com/tlaplus/awesome-tlaplus
### Dr TLA+
Web: https://github.com/tlaplus/DrTLAPlus
Src: https://github.com/tlaplus/DrTLAPlus :
> Dr. TLA+ series - learn an algorithm and protocol, study a specification; [Byzantine] Paxos, Raft, Cosmos,
##
"Concurrency: The Works of Leslie Lamport" ( https://g.co/kgs/nx1BaB
##
https://westurner.github.io/hnlog/#comment-27442819 :
> Can there still be side channel attacks in formally verified systems? Can e.g. TLA+ help with that at all?
What are some alternatives?
pgo - PGo is a source to source compiler from Modular PlusCal specs into Go programs.
BlockingQueue - Tutorial "Weeks of debugging can save you hours of TLA+". Each git commit introduces a new concept => check the git history!
CommunityModules - TLA+ snippets, operators, and modules contributed and curated by the TLA+ community
tlaplus - TLC is a model checker for specifications written in TLA+. The TLA+Toolbox is an IDE for TLA+.
ewd998 - Distributed termination detection on a ring, due to Shmuel Safra:
people
tlsd - Generate (message) sequence diagrams from TLA+ state traces
awesome-tlaplus - A curated list of TLA+ resources.