GO-V.ORG
As seen in

Correct by Construction

Correct by Construction (CbC) is a programming methodology where the proof of correctness of the program is developed with the program, as opposed to post-hoc verification where correctness is proved after implementation. For example, the idea of weakest-precondition calculus developed by Dijkstra and later Gries, derives a program backwards from its postcondition, the derivation yielding both the program and the precondition under which it establishes that postcondition . A separate tradition applies the idea to dependently typed languages (like Rocq). The Curry–Howard correspondence gives a direct relationship between typed computer programs and constructive mathematical proofs. It... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

Correct by Construction (CbC) is a programming methodology where the proof of correctness of the program is developed with the program, as opposed to post-hoc verification where correctness is proved after implementation. For example, the idea of weakest-precondition calculus developed by Dijkstra and later Gries, derives a program backwards from its postcondition, the derivation yielding both the program and the precondition under which it establishes that postcondition . A separate tradition applies the idea to dependently typed languages (like Rocq). The Curry–Howard correspondence gives a direct relationship between typed computer programs and constructive mathematical proofs. It identifies types with propositions and well-typed terms with proofs. Because dependent types may refer to values, a type can express a full specification, and a term inhabiting it is both the program and the proof that it meets the specification. Here, correctness is proved by typechecking rather than by a separate proof. From a software engineering perspective, Correct by Construction emphasises correctness at the lowest levels of code and algorithmic design to reduce cycle time and cost, improve product quality, and allow real-time product feedback.

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Correct by Construction". 1788757181. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1373676042

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·