Skip to main content

dive_stdlib/
lib.rs

1//! `dive-stdlib`: Standard modules and TLC's Java overrides of them. Each operator references the Java implementation it matches.
2//!
3//! Status: partial. [`random`] holds TLC's randomness (`RandomElement` and the
4//! `Randomization` module) and dive's replayable seeding; [`host`] is the
5//! model checker's [`dive_eval::Host`], which wires that randomness, the level,
6//! the live counters and `TLCGet("config")` into evaluation. The value-level
7//! overrides (the standard modules, `Bags` and the CommunityModules operators)
8//! are in `dive-eval`, which needs their evaluation context.
9#![forbid(unsafe_code)]
10
11pub mod inputs;
12
13pub mod host;
14pub mod random;