Using an Implication with a Preconditions Check
A precondition can establish facts useful for later reasoning. Its direction matters when using it to justify an operation.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace one range
If a list has at least two items, positions zero and one exist. Observing a defined position zero alone does not establish a second item. See implication and converse.
Check what a guard proves
A nonempty guard supports reading the first item. A pair comparison requires a stronger check. Index bounds make that requirement precise.[1]