Skip to main content

Crate dive_stdlib

Crate dive_stdlib 

Source
Expand description

dive-stdlib: Standard modules and TLC’s Java overrides of them. Each operator references the Java implementation it matches.

Status: partial. random holds TLC’s randomness (RandomElement and the Randomization module) and dive’s replayable seeding; host is the model checker’s dive_eval::Host, which wires that randomness, the level, the live counters and TLCGet("config") into evaluation. The value-level overrides (the standard modules, Bags and the CommunityModules operators) are in dive-eval, which needs their evaluation context.

Modules§

host
A ready-made dive_eval::Host for a model-checking run: the run’s random streams (C5), the level of the state being evaluated, the live counters and TLCGet("config"), and TLCSet("exit").
inputs
Bounded live environment/text inputs during source binding. A specification gets no host access unless the run grants the category explicitly, also under --compat=tlc. Later evaluation can use captured values, but cannot execute more I/O.
random
TLC’s randomness, bit-exact, and dive’s replayable randomness.