Developer Tools

vverify-annotations

Loop invariants and induction measures, written so a verifier can read them.

Released v1.0.0 · 2026-09-28
Import
use "stdlib/verify_annotations.ven"

Runnable functions that mark a loop invariant or an induction measure in a form the static verifier can find and check. Writing one of these functions is how a program states an invariant.

vverify-annotations.ven
print loop_invariant(3 >= 0 and 3 <= 5)
Reference (2 functions)

API reference

loop_invariant(holds)

Asserts that holds is true, marking the call as a loop invariant.

loop_invariant(3 >= 0 and 3 <= 5)

induction_measure(value)

induction_measure(4)

Get notified when vverify-annotations changes

Get notified about

New versions and security advisories.

New and updated packages, once a day.

News on the math model built in Venutian.