Post3 Dec 2026 · Open source
fic, the Fiducia compiler, is open source
The toolchain you could already download is now a repository you can read, build and contribute to.
The source of the Fiducia toolchain is public at github.com/fiducia-lang/fic, under the Apache License 2.0. It follows the CoreFi paper and fidus, the Lean 4 formalisation, which became public a few days earlier under the same licence.
What is in the repository
- fic, the compiler. It checks a system written in Fiducia, compiles it for seL4 Microkit, and autoformalises it into a state machine for model checking, so the formal model and the implementation evolve together.
- fire, the build tool.
fire build,fire runandfire verifybuild a project's image and UPPAAL model, run it in QEMU, and check the model. - Editor support. The language server
fic-lspand the VS Code extension. - Demos. Ping-pong with ACSL contracts in C and with Viper contracts in Pancake, the data diode, a buffered ring, a timer driver and a four-domain ethernet system. Each has its own walkthrough.
- The documentation sources. The language reference and the user manual on this site are built from the repository, and the compiler's API documentation is now published here too.
Try it
The pre-built binaries are still the quickest way in. Install them, clone the repository for its demos, and build one:
git clone https://github.com/fiducia-lang/fic cd fic fire build demo/datadiode/ # the image and the UPPAAL model fire run demo/datadiode/ # build and run it in QEMU fire verify demo/datadiode/ # check the model with verifyta
The tutorial builds the same data diode file by file.
How it relates to the proofs
The language and the compiler were developed together with fidus. The implementation is checked against the formalisation informally: no proof connects the two yet. Certified compilation is work in progress.
Contributing
CONTRIBUTING.md covers the development setup, the tests and the pull-request workflow. Bug reports and questions are welcome as issues, and release notes are on the GitHub Releases page.