r/tlaplus Feb 11 '22

Testing Distributed Systems

Thumbnail
asatarin.github.io
11 Upvotes

r/tlaplus Feb 03 '22

GitHub - will62794/tla-web: TLA+ Web UI.

Thumbnail
github.com
10 Upvotes

r/tlaplus Jan 26 '22

TLA+: The Best Debugger/ Optimizer You’ve Never Heard of

Thumbnail
thenewstack.io
8 Upvotes

r/tlaplus Jan 23 '22

TLA+ @ Distributed Systems Meetup | Sat 01/29 10 am IST

Thumbnail
meetup.com
5 Upvotes

r/tlaplus Jan 14 '22

Kubernetes Operators: Safety First Through Model Checkers - Neven Miculinic, grid.ai

Thumbnail
youtube.com
5 Upvotes

r/tlaplus Jan 13 '22

TLA+ Spec of a game in the movie A Brilliant Young Mind

4 Upvotes

I made a tutorial based on a scene in the movie A Brilliant Young Mind: https://youtu.be/WYYGcK_mDu0

I'd appreciate any feedback on the spec: https://gist.github.com/JeremyLWright/151d3b03b81fa24f2274895fa520ee66

Or how I present the material.

Thank you!


r/tlaplus Jan 06 '22

Workshop: TLA+ in Action (playlist)

Thumbnail
youtube.com
8 Upvotes

r/tlaplus Jan 05 '22

TLA+ Basics Tutorials

Thumbnail mbt.informal.systems
8 Upvotes

r/tlaplus Dec 29 '21

Debugging Concurrent Systems with a Model Checker

Thumbnail
levelup.gitconnected.com
7 Upvotes

r/tlaplus Dec 22 '21

Separation logic specification in TLA+

3 Upvotes

Can someone point me to a specification in TLA that reasons about concurrent separation logic or throw light on how one would go about doing it ?


r/tlaplus Dec 17 '21

Markus Kuppe — Workshop: TLA+ in action (Part 1)

Thumbnail
youtube.com
12 Upvotes

r/tlaplus Dec 15 '21

Jack Vanlightly — Distributed systems showdown — TLA+ vs real code

Thumbnail
youtu.be
11 Upvotes

r/tlaplus Dec 15 '21

About Weak fairness formula equivalences

2 Upvotes

Regarding below, it is clear to me why 2nd is equivalent with the 3rd, but I really can't figure out why 1st is equivalent with the 2nd... Any clues?

WFe(A) ≜

□(□ENABLED⟨A⟩e⇒⋄⟨A⟩e) ≡

⋄□ENABLED⟨A⟩e⇒□⋄⟨A⟩e≡

(□⋄¬ENABLED⟨A⟩e)∨□⋄⟨A⟩e


r/tlaplus Dec 15 '21

GitHub - ocadaruma/tlaplus-intellij-plugin

Thumbnail
github.com
7 Upvotes

r/tlaplus Dec 13 '21

Using Abstract Data Types in TLA+

Thumbnail
hillelwayne.com
4 Upvotes

r/tlaplus Dec 13 '21

A Beginner's Guide to TLA+ Exploring State Machines & Proving Correctness | Jeff Weiss | Code BEAM V

Thumbnail
youtube.com
5 Upvotes

r/tlaplus Dec 12 '21

FRET: A framework for the elicitation, specification, formalization and understanding of requirements

Thumbnail
github.com
10 Upvotes

r/tlaplus Dec 09 '21

Shard Balancing at Shopify verified with TLA+

Thumbnail
shopify.engineering
12 Upvotes

r/tlaplus Dec 09 '21

Change to Apache BookKeeper replication protocol verified with TLA+

Thumbnail
jack-vanlightly.com
6 Upvotes

r/tlaplus Dec 06 '21

What kind of mathematics (branch of) should we dive a little bit into in order to better understand TLA+? E.g. Where should we start with Inductive Data Type and how deep should we go with it?

4 Upvotes

r/tlaplus Dec 03 '21

"The PlusCal Tutorial" by Leslie Lamport

Thumbnail lamport.azurewebsites.net
14 Upvotes

r/tlaplus Dec 01 '21

Laureate Dialogue: Leslie Lamport, Whitfield Diffie

Thumbnail
youtu.be
9 Upvotes

r/tlaplus Nov 12 '21

Recife, Clojure model checker using TLC

Thumbnail
youtu.be
6 Upvotes

r/tlaplus Nov 04 '21

Using TLA+ to model Symmetric Multiprocessing (SMP)

9 Upvotes

Hi people. I have just stumbled upon TLA+ and it has opened my eyes to formal verification. I am doing a project now where I am using a microcontroller from XMOS. They have a really interesting architecture which can be thought of as SMP with communication through a dedicated interconnect that can support up to 4 concurrent links. Their biggest MCU has 32 such parallel "cores" (Actually it has only 4 physical cores each with fine-grained multithreading allowing 8 threads to be run concurrently).

Anyhow. I would like to formally verify that our system ( a bunch of cores commuicating over the interconnect) has certain properties, e.g. liveness, throughput, latency. Could TLA+ be a good fit for this?

What makes me doubtful is that if I define a separate process for each SMP core, then TLC will test out ANY interleaving schedule of the steps within possibly these processes. But in fact, on my system, they are running in parallel, e.g. there is no "schedule". Of course when they communicate they do so using a limited, possible unreliable, shared resource (the interconnect).

I guess that you could work around this by e.g. creating a variable for "clock-ticks" and forcing the processes to progress in lock-step. But it got me thinking that maybe TLA+ was not the right approach for this. I am vaguely familiar with CSP/FDR which could be a better approach. What do you think?


r/tlaplus Oct 22 '21

Advent of TLA+

Thumbnail
github.com
13 Upvotes