Profile picture
Joey Dodds @n1nj4
, 10 tweets, 3 min read Read on Twitter
This paper is a must-read if you want to bring formal methods to industry.

Continuous Reasoning: Scaling the impact of formal methods
by Peter W. O’Hearn, Facebook and University College London

dl.acm.org/citation.cfm?i…
If you're familiar with formal methods, some of this will be very comfortable.

Composition is important, and it's better if it is automated.

Low false positive rate (for bugs found) is a big deal.
The tool briefly describes Infer, a tool pulled out of Academia and invested in heavily at Facebook, in order to make it a push-button tool for a wide range of projects (this tweet is my take on Infer, not from the paper)
Here's the staggering fact about Infer application.

At first they sent bugs out each night... Nobody fixed anything. They moved the analysis to commit/push time and fixes topped 70%.

This is in the paragraph titled "The ROFL Episode". The paper goes on to explain why.
I want to put this in front of some motivational scenery and frame it.

Tens. Of. Thousands.
The paper then cites some pretty great work

VST (I worked on this at Princeton) and Dafny are proofs tools that use "manual compositionality". This is another way of saying they require hand-written specs, while tools like Infer require none "automatic compositionality"
Then our (@galois) work with Amazon gets a half-page. I've written enough about that, but I'll share a chart from the paper giving a concise summary of the difference between our proofs and Infer proofs.
There are few more references including a very positive (and well deserved) summary of SPARK, which is commonly used for safety-critical software.

adacore.com/about-spark
Infer often works on partial code, with partial information, so the question of when it should raise an alarm for a problem is a complicated one. The paper gives good insight into this.
There's a lot more to the paper, hopefully these tweets piqued your interest so you go check it out. The information density is perfect for a straight read through, which I find to be rare thing from academic papers. If nothing else, check out the conclusion. It stands alone.
Missing some Tweet in this thread?
You can try to force a refresh.

Like this thread? Get email updates or save it to PDF!

Subscribe to Joey Dodds
Profile picture

Get real-time email alerts when new unrolls are available from this author!

This content may be removed anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member and get exclusive features!

Premium member ($3.00/month or $30.00/year)

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!