Stating Assumptions Alongside a Correctness Claim

A correctness result depends on the assumed input set, execution model, and required observations. State them near the claimed property.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace a search guarantee
  2. Keep the proof reproducible

Trace a search guarantee

A binary search can promise a correct location under sorted input and the chosen order. On a different order, its elimination rule changes. See binary search by hand.

Keep the proof reproducible

Provide a clear representation and an example illustrating where the premises are used. Function preconditions give a place for them at the interface.[1]

References

  1. Benjamin C. Pierce et al., Software Foundations ↩