TLA+ / PlusCalc Cookbook ?

瀏覽次數:72 次
跳到第一則未讀訊息

Kareem Shehata

未讀,
2022年9月18日 下午6:59:112022/9/18
收件者:tlaplus
Hey everyone!

I'm a PhD student studying distributed systems at National University of Singapore and I'm just getting started with TLA+. I was wondering if there was a "cookbook" or any kind of reference for best practices? I've seen plenty of example specs for different systems, but, for example, nothing that explains the right way to set up synchronous message queues or semi-synchronous systems. Other examples: byzantine fault tolerance, digital signatures.

Thanks!

Kareem

Sam Bacha

未讀,
2022年9月18日 晚上7:01:252022/9/18
收件者:tla...@googlegroups.com
Specifying Systems, accept no substitute:


--
You received this message because you are subscribed to the Google Groups "tlaplus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/158c7a50-ea83-43c8-b80c-6c88e59f927fn%40googlegroups.com.

Kareem Shehata

未讀,
2022年9月19日 晚上11:55:142022/9/19
收件者:tla...@googlegroups.com
Specifying Systems seems like a great guide for how to think in TLA+, but not a catalog of best practices. What I'm really looking for is a set of patterns based on experiences. Yes, I can probably go through all of Specifying Systems and then write my own way of doing semi-synchronous specs, but why not catalog "here's the best way we've found to do this"?

Thanks,

Kareem


You received this message because you are subscribed to a topic in the Google Groups "tlaplus" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tlaplus/DANnssZ4Fuw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tlaplus+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/CABNQDasZTNrZH38%3DexFfMoe6OciTheL_cOojowSscKg72S8ykg%40mail.gmail.com.

Sam Bacha

未讀,
2022年9月20日 凌晨12:06:502022/9/20
收件者:tla...@googlegroups.com
I have not seen anything like that however here is a list of repos with TLA proofs used in production systems:

Jones Martins

未讀,
2022年9月20日 晚上8:08:032022/9/20
收件者:tlaplus
Hi Kareem,

There's a few idiomatic TLA+ tips in the Apalache documentation[1] and in the Learn TLA website[2].

The Examples repository[2] on Github contains many advanced examples, including those used in industry.

If I understand you correctly, you're looking for something closer to design patterns in TLA+ -- in the sense that it's generic enough to be applicable in many situations? I'm not sure this kind of resource is available.

Best, 

Jones

Hillel Wayne

未讀,
2022年9月20日 晚上10:54:002022/9/20
收件者:tla...@googlegroups.com
I've been working on it for learntla, but it's gonna be a while before most of the patterns I know are up. Here's what I have so far: https://learntla.com/topics/index.html

Andreas Recke

未讀,
2022年9月22日 清晨5:39:212022/9/22
收件者:tlaplus
Hi Kareem,

I found some useful patterns in the book "specifiying systems" by Leslie Lamport.

A lot of examples are also here: https://github.com/tlaplus/Examples
You may also look at different branches of the git, especially when it comes to liveness proofs.

Patterns from TLAPS are here:
With references to more.

Kind regards
Andreas
回覆所有人
回覆作者
轉寄
0 則新訊息