Live data from Hacker News

Modeling Adversaries with TLA+

hillelwayne.com

11–14 of 14 posts

Re: Modeling Adversaries with TLA+

#11

Used TLA+ for security/availability modeling at a previous venture. Didn't find it added more value than other formal methods with less scope and ambition when it came to implementation, but I had very limited resources and we were greenfield so the experience probably wasn't generally applicable. IMHO (from an implementation perspective): (1) If state is a pain to model, this may be a symptom you aren't placing inte…

> Didn't find it added more value than other formal methods with less scope and ambition For my own future reference, can you list a few other formal methods?

Well, for some definition of formal, both state machines and rigorously defined {interfaces|message sequences|protocols} (ie. those with specification-based, generative implementations of endpoints, validating middleware proxies, etc.).

There are two models of reality that I find to be the most useful ones, especially when writing programs. The first is functions, and the second is sequences of states. - Leslie Lamport

... via http://github.com/globalcitizen/taoup

Re: Modeling Adversaries with TLA+

#13

Earlier quoted context omitted.

> Didn't find it added more value than other formal methods with less scope and ambition For my own future reference, can you list a few other formal methods?

Well, for some definition of formal, both state machines and rigorously defined {interfaces|message sequences|protocols} (ie. those with specification-based, generative implementations of endpoints, validating middleware proxies, etc.). There are two models of reality that I find to be the most useful ones, especially when writing programs. The first is functions, and the second is sequences of states. - Leslie Lampo…

I find (variants of) QuickCheck https://hypothesis.works/articles/quickcheck-in-every-langua... are pretty good at finding at least a lot of the invariant problems that TLA+ finds, and if you're lucky your language has it integrated already. The F# implementation FsCheck is pretty amazing.
Post reply on HN