acm-header
Sign In

Communications of the ACM

News

Formal Software Verification Measures Up


chip with a check mark, illustration

Credit: Class Central

The modern world runs on software. From smartphones and automobiles to medical devices and power plants, executable code drives insight and automation. However, there is a catch: computer code often contains programming errors—some small, some large. These glitches can lead to unexpected results—and systematic failures.

"In many cases, software flaws don't make any difference. In other cases, they can cause massive problems," says Kathleen Fisher, professor and chair of the computer science department at Tufts University and a former official of the U.S. Defense Advanced Research Projects Agency (DARPA).


Comments


J Paul Gibson

The specification "For all values j and k such that 0 <= j < k < N, it must be the case that B[i] < B[j]." defines indexes j and k, yet uses indexes i and j. It also is problematic if the initial array contains elements of equal value. These are not just incompleteness issues.


Lawrence Markosian

The inventor of TLA+ is Leslie Lamport, 2013 ACM Turing Award winner:
"For fundamental contributions to the theory and practice of distributed and concurrent systems, notably the invention of concepts such as causality and logical clocks, safety and liveness, replicated state machines, and sequential consistency." Lamport's web site, lamport.org, discusses TLA+ and some of its industrial applications.


Samuel Greengard

Thanks, J. Paul and Lawrence for your comments. I appreciate you pointing out these things, especially Leslie Lamport's contributions.


Displaying all 3 comments

Log in to Read the Full Article

Sign In

Sign in using your ACM Web Account username and password to access premium content if you are an ACM member, Communications subscriber or Digital Library subscriber.

Need Access?

Please select one of the options below for access to premium content and features.

Create a Web Account

If you are already an ACM member, Communications subscriber, or Digital Library subscriber, please set up a web account to access premium content on this site.

Join the ACM

Become a member to take full advantage of ACM's outstanding computing information resources, networking opportunities, and other benefits.
  

Subscribe to Communications of the ACM Magazine

Get full access to 50+ years of CACM content and receive the print version of the magazine monthly.

Purchase the Article

Non-members can purchase this article or a copy of the magazine in which it appears.
Sign In for Full Access
» Forgot Password? » Create an ACM Web Account