Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Sources and Test Coverage

The following sources describe frontend extraction, backend translation, and existing coverage.

Frontend rust-llbc

Backend llbc-why3

Test coverage

Frontend integration cases include preconditions, postconditions, assertions, a generic struct invariant, and combinations of universal quantification, implication, and container access. The to_sorted body is a placeholder returning an empty vector; it illustrates extraction rather than a verified sorting algorithm.

The repository frontend integration examples do not yet include contract_assume! or exists!. Both have extraction implementations; problems with outer captures are described in the quantifier implementation boundaries. old has name-rewriting tests but no complete old-state specification integration case.

Saved backend end-to-end results cover basic preconditions/postconditions for max, strict_sub, and square. Assertions, assumptions, and quantifiers have translation implementations but are not included in these end-to-end cases.