L4.verified (l4v)
Formal specifications and Isabelle/HOL proofs of functional correctness and security properties for the seL4 microkernel.
At a Glance
seL4 is free to use; maintenance and development are funded by seL4 Foundation memberships. Applies to the seL4 ecosystem; the l4v proofs repository's license is not clearly identified as OSI-approved.
Engagement
Available On
Alternatives
Listed Dec 2026
About L4.verified (l4v)
L4.verified (l4v) is the seL4 organization's repository of formal specifications and machine-checked proofs for the seL4 microkernel. Most proofs are written in the interactive proof assistant Isabelle/HOL. The most recent GitHub release listed is seL4-17.0.0, titled "Proofs for seL4 17.0.0", published 2026-10-30.
What It Is
l4v is a formal verification codebase rather than an application. It holds several specifications of seL4, along with the proofs that relate them to each other and to the kernel's C code. The seL4 site states that seL4's uniqueness lies in a formal mathematical proof that it behaves exactly as specified. The seL4 organization and the seL4 Foundation maintain the project.
How the Verification Is Organised
The spec directory contains the abstract specification, a separation-kernel variant, a Haskell model kept in sync with the C code, a capDL specification, and a take-grant security model. A design-level specification is generated from the Haskell model, and the seL4 C code is preprocessed into a form Isabelle can read.
The proof directory covers the following areas:
- invariants of the abstract specification;
- refinement between the abstract specification, the design specification and the C semantics;
- integrity and authority confinement (access control);
- confidentiality and intransitive non-interference (information flow);
- binary verification and capDL-related proofs.
Supporting libraries and tools include a C parser into Simpl, the AutoCorres C abstraction tool, a verification condition generator, and the crunch invariant prover.
Setup and Running the Proofs
The repository is meant to be used as part of a Google repo setup, with Isabelle installed following docs/setup.md. Proofs are run with ./run_tests, with the architecture chosen through the L4V_ARCH variable (ARM, ARM_HYP, X64, RISCV64 or AARCH64). ARM has the most complete set of proofs. Individual sessions can be built with make or the isabelle build command.
The README says most proofs fit within 4GB of RAM, while C refinement proofs usually need 64-bit polyml and about 16GB. Up to about 8 cores are useful.
Collections
Popular collections
- Code Knowledge Graphs
Collection by @evtuff
- Obsidian Agentic & AI plugins
Collection by @samofcode
- Codebase Context Generators
Collection by @joemseifi
- Frameworks
Collection by @joemseifi
Add L4.verified (l4v) to one of your collections.
Community Discussions
Be the first to start a conversation about L4.verified (l4v)
Share your experience with L4.verified (l4v), ask questions, or help others learn from your insights.
Pricing
Free
seL4 is free to use; maintenance and development are funded by seL4 Foundation memberships. Applies to the seL4 ecosystem; the l4v proofs repository's license is not clearly identified as OSI-approved.
- Formal specifications and proofs for the seL4 microkernel
- Isabelle/HOL proofs
- Commercial support available separately from endorsed service providers
Capabilities
Key Features
- Formal specifications of seL4 (abstract, design, Haskell model, capDL, take-grant)
- Isabelle/HOL refinement proofs from abstract specification to C semantics
- Integrity, authority confinement and information-flow proofs
- Binary verification support
- Proof libraries and tools including AutoCorres and a C parser
- Proofs for multiple architectures (ARM, ARM_HYP, X64, RISCV64, AARCH64)
- Test runner for building and checking proof sessions
