Language

F* (Low*)

Also known as FStar, Low*

A proof-oriented language whose verified low-level code is compiled to readable C; used for verified cryptography such as HACL*.

Verification language

What do you want to prove about your F* (Low*) code?

Where proofs can attach

Toolchains that verify F* (Low*) directly, and those that verify what it compiles to. A proof about compiled code also relies on the compiler that produced it.

  1. Your code
    F* (Low*) verification language
  2. Generated code
  3. Intermediate code Proofs here are about the code the compiler produced
    • from C via clang trusted
    • from LLVM IR via LLVM WebAssembly backend trusted

    No toolchain in the index yet

  4. Machine code Proofs here are about the binary itself
    • from C via CompCert verified
    • from LLVM IR via LLVM backend (llc) trusted
    • from C via CompCert verified
    • from LLVM IR via LLVM backend (llc) trusted
    • from C via CompCert verified
    • from LLVM IR via LLVM backend (llc) trusted

Verify F* (Low*) directly

Ranked by stage, feature coverage and trust.

Toolchain Stage Trust Effort Feature coverage
F* with Low* (KaRaMeL to C)

Write low-level code in Low*, a C-like subset of F*, prove it safe and correct with F* and Z3, then compile it to readable C with KaRaMeL.

Stage 2 · Production Trust: Checker partial, Semantics partial, Frontend strong, Binary gap weak, Escape hatches partial 1/5 Auto-active 5/10full, 3 partial

Verify the compiled code

These prove facts about what the compiler produced, not about your source.

Toolchain Stage Trust Effort Path
Verified Software Toolchain (Verifiable C)

Prove in the Rocq proof assistant that a C program meets its specification; compiled with CompCert, the proof carries down to the assembly code.

Stage 1 · Usable Trust: Checker strong, Semantics strong, Frontend strong, Binary gap strong, Escape hatches partial 4/5 Interactive C (KaRaMeL, trusted)
s2n-bignum

Prove hand-written x86-64 or Arm64 assembly correct in HOL Light, on the exact bytes of the built object file; used for AWS's cryptography code.

Stage 1 · Usable Trust: Checker strong, Semantics partial, Frontend strong, Binary gap strong, Escape hatches strong 4/5 Interactive C (KaRaMeL, trusted) → x86-64 (CompCert, verified)
CBMC

Write a test-like harness for your C code; CBMC checks every execution up to a loop bound, giving a counterexample or a bounded proof.

Stage 1 · Usable Trust: Checker partial, Semantics partial, Frontend partial, Binary gap weak, Escape hatches partial 0/5 Push-button C (KaRaMeL, trusted)
Frama-C WP

Write ACSL contracts and loop invariants as comments in your C code; Frama-C's WP plug-in turns them into proof goals for SMT solvers.

Stage 1 · Usable Trust: Checker partial, Semantics partial, Frontend partial, Binary gap weak, Escape hatches partial 0/5 Auto-active C (KaRaMeL, trusted)
Alive2

Automatically checks that an optimized LLVM IR function still behaves like the original, or shows a counterexample. Loops are checked only up to a set bound.

Stage 1 · Usable Trust: Checker partial, Semantics partial, Frontend strong, Binary gap weak, Escape hatches partial 1/5 Push-button C (KaRaMeL, trusted) → LLVM IR (clang, trusted)
CN

Write ownership and correctness specifications as comments in C code; CN checks them with an SMT solver, or turns them into runtime checks for testing.

Stage 0 · Research Trust: Checker partial, Semantics partial, Frontend partial, Binary gap weak, Escape hatches partial 0/5 Auto-active C (KaRaMeL, trusted)
Islaris

Prove Arm or RISC-V machine code correct in Rocq, against the full official Sail ISA models, using Isla symbolic execution and an Iris separation logic.

Stage 0 · Research Trust: Checker partial, Semantics strong, Frontend partial, Binary gap strong, Escape hatches partial 2/5 Interactive C (KaRaMeL, trusted) → AArch64 (CompCert, verified)
LNSym

Prove Armv8 (AArch64) machine code correct in Lean 4 by symbolic simulation over a hand-written model; aimed at AWS-LC cryptographic routines.

Stage 0 · Research Trust: Checker strong, Semantics partial, Frontend partial, Binary gap strong, Escape hatches partial 2/5 Interactive C (KaRaMeL, trusted) → AArch64 (CompCert, verified)

Feature coverage

Which language features each toolchain handles. Hover or focus a mark for the note and source. Toolchains on compiled code are shown for common features only.

Feature F* with Low* (KaRaMeL to C) Verified Software Toolchain (Verifiable C) via C s2n-bignum via x86-64 CBMC via C Frama-C WP via C Alive2 via LLVM IR CN via C Islaris via AArch64 LNSym via AArch64
Common features
Machine integersFixed-width integer arithmetic, overflow and bit operations. F* with Low* (KaRaMeL to C), Machine integers: Supported.Machine integers are Low*'s base types, with both wrapping and checked operations.
Source
Verified Software Toolchain (Verifiable C), Machine integers: Supported.Signed and unsigned machine integers; signed overflow must be proved absent.
Source
s2n-bignum, Machine integers: Unknown. CBMC, Machine integers: Supported.Bit-precise machine integers.
Source
Frama-C WP, Machine integers: Supported.Machine-integer model by default; overflow and downcast checks are set by kernel -warn options or the RTE plug-in.
Source
Alive2, Machine integers: Supported.Integers are encoded as SMT bit-vectors, including the nsw/nuw overflow flags.
Source
CN, Machine integers: Supported.Signed overflow and other integer undefined behavior are rejected.
Source
Islaris, Machine integers: Unknown. LNSym, Machine integers: Unknown.
Floating pointIEEE 754 floating-point arithmetic, including rounding and NaNs. F* with Low* (KaRaMeL to C), Floating point: Unknown.Floating point is not mentioned in the Low* manual. Verified Software Toolchain (Verifiable C), Floating point: Supported.Uses CompCert's IEEE 754 model. The LAProof work verified a floating-point sparse matrix-vector multiply in C with VST, including accuracy bounds.
Source
s2n-bignum, Floating point: Unknown. CBMC, Floating point: Supported.Bit-accurate IEEE 754 for float and double. The math library has very limited support for elementary functions such as sin or exp.
Source
Frama-C WP, Floating point: Partial.The default float model follows IEEE 754 and is sound, but the manual says automated provers give very little support for proving float properties. A "real" model exists but is unsound.
Source
Alive2, Floating point: Partial.IEEE-754 operations map to SMT floating-point theory (half, bfloat, float, double, fp128). Not supported: x86 80-bit and PowerPC double-double types. The 2021 paper notes that LLVM's frem rounds differently from SMT's remainder.
Source
CN, Floating point: Not supported.The type checker reports floats as unsupported.
Source
Islaris, Floating point: Unknown. LNSym, Floating point: Unknown.
Heap and pointersDynamically allocated memory, pointers or references, and aliasing. F* with Low* (KaRaMeL to C), Heap and pointers: Supported.Stack and heap allocation through the HyperStack memory model, with modifies clauses.
Source
Verified Software Toolchain (Verifiable C), Heap and pointers: Supported.Separation logic for pointer data structures; malloc and free have (assumed) specifications.
Source
s2n-bignum, Heap and pointers: Unknown. CBMC, Heap and pointers: Supported.malloc/free are modeled; malloc may return NULL by default since 6.0; use-after-free and double free are checked.
Source
Frama-C WP, Heap and pointers: Partial.Pointers and aliasing are handled by the Typed memory model, but ACSL clauses for specifying allocation and deallocation are not implemented in WP.
Source
Alive2, Heap and pointers: Partial.Byte-level memory model with blocks and pointer provenance (CAV 2021 encoding). The 2021 paper's stated limitation: it assumes calls do not modify local variables whose address has escaped. Volatile and atomic accesses are unsupported.
Source
CN, Heap and pointers: Supported.Ownership of heap cells is tracked in separation logic. Allocation uses cn_malloc and cn_free_sized in place of malloc and free.
Source
Islaris, Heap and pointers: Unknown. LNSym, Heap and pointers: Unknown.
Arrays and buffersIndexed memory such as arrays, slices, vectors and byte buffers. F* with Low* (KaRaMeL to C), Arrays and buffers: Supported.Buffers with pointer arithmetic within bounds (LowStar.Buffer).
Source
Verified Software Toolchain (Verifiable C), Arrays and buffers: Supported.
Source
s2n-bignum, Arrays and buffers: Unknown. CBMC, Arrays and buffers: Supported.
Source
Frama-C WP, Arrays and buffers: Supported.
Source
Alive2, Arrays and buffers: Supported.Memory blocks are modeled as SMT arrays of bytes, so arrays and buffers are supported.
Source
CN, Arrays and buffers: Supported.Iterated ownership over array ranges, with automatic inference for common access patterns.
Source
Islaris, Arrays and buffers: Unknown. LNSym, Arrays and buffers: Unknown.
LoopsUnbounded loops, which need invariants or bounds to verify. F* with Low* (KaRaMeL to C), Loops: Supported.Ordinary control flow is supported; loops can be written as tail-recursive functions, which C compilers turn into loops.
Source
Verified Software Toolchain (Verifiable C), Loops: Supported.Loops are verified with user-written loop invariants.
Source
s2n-bignum, Loops: Unknown. CBMC, Loops: Partial.Loops are unrolled up to a bound. Unwinding assertions (on by default since 6.0) fail if the bound is too small, so a passing run is a proof for all executions. Loops without a small bound need loop contracts (goto-instrument --apply-loop-contracts) for an unbounded proof.
Source
Frama-C WP, Loops: Supported.Needs a loop invariant (and a variant for termination) for each loop. Loops built with goto are not supported.
Source
Alive2, Loops: Partial.Loops are unrolled up to a bound (-src-unroll and -tgt-unroll). The default bound is 0: any jump back to an already visited block is cut, so only paths that never repeat a loop body are compared. Bugs that need more iterations are missed.
Source
CN, Loops: Partial.Loop invariants can be given only on for and while loops.
Source
Islaris, Loops: Unknown. LNSym, Loops: Unknown.
RecursionFunctions that call themselves, directly or through others. F* with Low* (KaRaMeL to C), Recursion: Supported.Recursive functions are allowed and compiled to C functions.
Source
Verified Software Toolchain (Verifiable C), Recursion: Supported.
Source
s2n-bignum, Recursion: Unknown. CBMC, Recursion: Partial.Recursion is unrolled up to the bound like loops; function contracts can replace recursive calls.
Source
Frama-C WP, Recursion: Supported.Recursive functions need a decreases clause when termination is required.
Source
Alive2, Recursion: Partial.Each function is checked on its own, and calls (recursive or not) are treated as calls to an unknown function. Transformations that change behavior across function boundaries are not supported.
Source
CN, Recursion: Supported.Recursive C functions are checked against their specifications. Recursive specification functions are not unfolded automatically; you unfold them or state lemmas by hand.
Source
Islaris, Recursion: Unknown. LNSym, Recursion: Unknown.
Higher-order codeFunction pointers, closures and callbacks. F* with Low* (KaRaMeL to C), Higher-order code: Partial.Function pointers work to some extent; local closures are not supported because they have no natural C equivalent.
Source
Verified Software Toolchain (Verifiable C), Higher-order code: Supported.Function pointers are supported; the manual shows object-oriented C with function pointers (progs/verif_object.v, progs/verif_message.v).
Source
s2n-bignum, Higher-order code: Unknown. CBMC, Higher-order code: Supported.Calls through function pointers become a case split over all functions of a matching type; every possible target must be in the model.
Source
Frama-C WP, Higher-order code: Partial.A function pointer must be provably equal to one of a finite set of known functions (ACSL calls extension); function contracts cannot yet be passed through pointers.
Source
Alive2, Higher-order code: Partial.Current code translates indirect calls through function pointers as calls to unknown functions. The 2021 paper still listed function pointers as unsupported. No source found on how precisely the target function is tracked.
Source
CN, Higher-order code: Partial.The test suite checks calls through function pointers to known functions; the tutorial does not cover them.
Source
Islaris, Higher-order code: Unknown. LNSym, Higher-order code: Unknown.
Threads and shared memoryConcurrent threads with locks, atomics or message passing. F* with Low* (KaRaMeL to C), Threads and shared memory: Not supported.Low* covers sequential code only.
Source
Verified Software Toolchain (Verifiable C), Threads and shared memory: Partial.Locks and sequentially consistent atomics only; no relaxed atomics.
Source
s2n-bignum, Threads and shared memory: Unknown. CBMC, Threads and shared memory: Partial.Bounded exploration of thread interleavings only; no unbounded proofs for concurrent code.
Source
Frama-C WP, Threads and shared memory: Not supported.No model of threads or shared-memory concurrency in WP.
Source
Alive2, Threads and shared memory: Not supported.Atomic instructions and fences are rejected as unsupported.
Source
CN, Threads and shared memory: Not supported.Not supported; locks had to be commented out in the pKVM case study.
Source
Islaris, Threads and shared memory: Unknown. LNSym, Threads and shared memory: Unknown.
I/O and system callsFiles, network, system calls and foreign-function calls. F* with Low* (KaRaMeL to C), I/O and system calls: Partial.C library functions are reached through Low* system libraries and assumed declarations, whose specifications are trusted.
Source
Verified Software Toolchain (Verifiable C), I/O and system calls: Partial.Calls to external functions (system calls, I/O) are given specifications that are assumed, not proved.
Source
s2n-bignum, I/O and system calls: Unknown. CBMC, I/O and system calls: Partial.Many POSIX and C library calls have built-in models that mostly return nondeterministic values. Since 6.0 a call to a function with no body fails verification unless you add a stub.
Source
Frama-C WP, I/O and system calls: Partial.I/O and system calls are described only by ACSL contracts in Frama-C's bundled libc, which are assumed, not proved, and cover a subset of POSIX.
Source
Alive2, I/O and system calls: Partial.External calls are modeled as unknown functions that may change any memory. The 2021 paper names missing semantics for some string and I/O library functions as a common reason functions were skipped.
Source
CN, I/O and system calls: Unknown.No documentation found on specifying I/O or system calls. Islaris, I/O and system calls: Unknown. LNSym, I/O and system calls: Unknown.
Standard librarySpecifications or models for the language's standard library. F* with Low* (KaRaMeL to C), Standard library: Partial.Low* libraries cover buffers, endianness, C strings and parts of the C standard library.
Source
Verified Software Toolchain (Verifiable C), Standard library: Partial.Ships assumed specifications for malloc, free, exit and a few others; the manual says their implementations are not proved against them. Other library functions need your own specifications.
Source
s2n-bignum, Standard library: Unknown. CBMC, Standard library: Partial.CBMC ships models for parts of the C library (string, stdlib, stdio, pthread and others); coverage is not complete and the math library is limited.
Source
Frama-C WP, Standard library: Partial.Frama-C bundles a libc with ACSL specifications that the user manual calls incomplete and part of the trusted computing base.
Source
Alive2, Standard library: Partial.As of the 2021 paper, 117 C library functions had special semantics, some only partly. Others are treated as unknown calls.
Source
CN, Standard library: Partial.The tutorial covers allocation (cn_malloc, cn_free_sized). No general specifications of the C standard library were found.
Source
Islaris, Standard library: Unknown. LNSym, Standard library: Unknown.

Supported Partial Not supported Unknown

Formal semantics of F* (Low*)

Models that proofs about F* (Low*) can be stated against. See formal semanticsFormal semantics. A precise, mathematical definition of what programs in a language do..

None in the index yet.

Compilers from F* (Low*)

What each compilation step preserves, and whether it is proved.

ToViaAssuranceWhat does not carry over
C KaRaMeL trusted Specifications and proofs are erased. The Low*-to-C translation has a paper proof; the KaRaMeL tool itself is not verified. Low* was moved out of F* in April 2026 (into the FStarLang/LowStar repository); current F* can also emit C directly.
esc