DEVELOPMENT EDITION · 769442725406
Orientation

Verada user manuals

The Verada owl perched on a leafy branch
On this page

Verada is a compiler and program prover for a provable subset of Ada. It proves that a program cannot overflow, index outside an array or break its own contracts, and then compiles it to a native executable. One language has three syntaxes: Vada is Ada's own syntax, Varc is a C-family syntax, and Vibe is typed Python. You can write a program in any of them, or mix them in one project.

These manuals assume ordinary programming experience. Ada and formal proof are explained as they come up.

Start with a program

Write and prove a bounded increment in the syntax you prefer. The lesson finds a real overflow, repairs the contract, and runs the proved program, in the JIT and as a native executable.

Find the right manual

Manual Read it when you want A good place to start
Programmer Guide To learn Verada, step by step The stockroom application
Language Reference The exact rules and syntax Vada, Varc, Vibe
Verification Manual To specify a property or understand a proof result Guarantees and modes
Toolchain Manual Installation, commands, configuration and workflows Command index
Library Reference To choose and use a library unit Library catalog
Diagnostics Reference To understand a numbered diagnostic and fix it Code index

The glossary defines the terms used throughout, and the contents lists every chapter.

For an integrated editing environment, the browser IDE combines source files, Check/Prove/Run, a REPL and these manuals. Start it with veradic ide, or create and open a starter with veradic ide new DIR --syntax varc.

For graphical APL editing in Visual Studio Code, the APL Workbench guide shows how to build an expression, supply example inputs and inspect its results.

Examples

The example projects are complete programs. Copy a directory out and run it with veradic run --project verada.toml.

Maintainers: authoring and building explains how the examples are checked and how to build the HTML and PDF editions of these manuals.