#model-checking #formal-verification #ic3

nightly bin+lib rIC3

rIC3: An efficient hardware model checker

8 stable releases

1.3.4 Feb 5, 2025
1.3.3 Jan 12, 2025
1.3.1 Dec 22, 2024

#201 in Hardware support

Download history 214/week @ 2024-12-03 110/week @ 2024-12-10 280/week @ 2024-12-17 12/week @ 2024-12-24 152/week @ 2024-12-31 110/week @ 2025-01-07 29/week @ 2025-01-14 2/week @ 2025-01-21 133/week @ 2025-02-04

708 downloads per month

GPL-3.0 license

750KB
5.5K SLoC

rIC3 Hardware Model Checker

License: GPL v3 CI Crates.io Docker

HWMCC

rIC3 achieved first place in both the bit-level track and the word-level bit-vector track at the 2024 Hardware Model Checking Competition (HWMCC'24).

To view the submission for HWMCC'24, please checkout the HWMCC24 branch or download the binary release at https://github.com/gipsyh/rIC3-HWMCC24.

rIC3 Tool Flow

Image of rIC3 toolflow

Install From Crates.io

cargo install rIC3

Install From Source

  • Install the Rust compiler https://www.rust-lang.org/
  • Switch to nightly rustup default nightly
  • git clone --recurse-submodules https://github.com/gipsyh/rIC3
  • Build cd rIC3 && cargo b --release
  • Run cargo r --release -- <AIGER FILE>
  • Install cargo install --path .

Run

  • 16-threads Portfolio rIC3 <AIGER FILE>
  • single-thread IC3 rIC3 -e ic3 <AIGER FILE>

Docker

  • build image: docker build -t ric3 .
  • run: docker run -v <AIGER FILE>:/model.aig ric3 model.aig

Copyright (C) 2023 - Present, Yuheng Su (gipsyh.icu@gmail.com). All rights reserved.

Without obtaining authorization, rIC3 is not allowed to be used for any commercial purposes.

Dependencies

~58–87MB
~1.5M SLoC