SPARK Proves Code Correctness Reduces Defects

Is there a function in your application that could benefit from a proof of functional correctness? Our customers have reported 60%-75% less defects in code developed with formal methods using #SPARK. Johannes Kanig explains how he iteratively improved the proof level for a character counting function using #SPARK in the AdaCore blog below raising it from the absence of runtime errors (aka SPARK Silver) to functional correctness (aka SPARK Gold). Developing code in SPARK and especially proving correctness takes more time, but the reduction in defects saves time and money in the long run.

View organization page for AdaCore

15,450 followers

Scalable SPARK Proofs  📈 This blog post explains how a SPARK function for counting character occurrences was formally verified to ensure both absence of runtime errors and full functional correctness, demonstrating the value of rigorous proofs for building reliable software. Read the blog 👉 https://bit.ly/4kT3kuZ

To view or add a comment, sign in

Explore content categories