# Cairo Level 12: Proof-Oriented Execution

> Level 12: Proof-Oriented Execution of the LoWisa Cairo course: Sierra and CASM Concepts, Provable Computation, Understanding Cairo's Unique Runtime. 3 lessons and 9 ideas, each explained in one line.

Proof-Oriented Execution is level 12 of 14 of the [LoWisa Cairo course](/courses/cairo/). It has 3 lessons and 9 ideas. Below is every lesson and what it teaches, in one line each.

## Sierra and CASM Concepts

- **Sierra.** Cairo compiles to **Sierra**: a safe intermediate form where every program terminates provably.
- **CASM.** Sierra lowers to **CASM**: the assembly the prover actually traces.
- **Why the pipeline.** The pipeline guarantees provability: no unprovable **panic** paths reach the runner.

## Provable Computation

- **Execution traces.** A run produces a **trace**: every step recorded in the form the STARK attests.
- **Hints awareness.** Non-deterministic **hints** let provers compute cheaply and verify strictly: power fenced by verification.
- **Off-chain provable programs.** Cairo proves **off-chain** computation too: verifiable programs beyond contracts.

## Understanding Cairo's Unique Runtime

- **Costs think in steps.** Cairo cost thinks in **steps** and builtins: the proving bill, not CPU seconds.
- **Memory revisited.** Write-once memory explains the idioms: **append**-only arrays, squashed dicts.
- **The mental model.** The runtime mental model: compute forward, prove **everything**: design follows that grain.

## Before and after this level

- **Before:** [Level 11: Security](/courses/cairo/level-11-security/): Access Control, Contract Threats, Secure Starknet Design.
- **Next:** [Level 13: Performance](/courses/cairo/level-13-performance/): Execution and Storage Cost, Efficient Contract Patterns, Production Optimisation.

In the app each of these ideas is taught and then asked back, and the level ends with a checkpoint and flashcards. See [Checkpoints and flashcards](/help/checkpoints-and-flashcards/).

## Frequently asked questions

### What does Cairo Level 12: Proof-Oriented Execution cover?

Sierra and CASM Concepts, Provable Computation, Understanding Cairo's Unique Runtime: 3 lessons and 9 ideas.

### What should I know before this level?

The level before it, Level 11: Security, which covers Access Control, Contract Threats, Secure Starknet Design.

## Learn Cairo on your phone

The first level is free. LoWisa is on Google Play and the App Store.

---

Source: https://lowisa.dev/courses/cairo/level-12-proof-oriented-execution/ · Updated 2026-11-30
