Skip to content
58
Graduate
Chimera Difficulty Score
a synthesis of Flesch-Kincaid, Coleman-Liau, SMOG, and Dale-Chall readability metrics
Demonstrating SPARK with a Mars Rover (Part 2): The Safety Property What you’ll learn: - How Ada contracts make programs provable. - How contracts can be used to make code safer. - How contracts make code more maintainable. This is part two of a four-part series highlighting the Ada SPARK programming language that’s designed to facilitate the creation of safety- and security-critical systems. It i...
This article serves as a case study in the application of formal methods to safety-critical systems, specifically using SPARK to verify the correctness of a Mars Rover's control software. The strongest version of the narrative highlights SPARK's ability to uncover hidden assumptions and ensure safety through static analysis, which is particularly valuable in systems where failure can have catastrophic consequences. The process of refining contracts—such as converting functions to inline expressi...