Skip to main content

Crate dive_sim

Crate dive_sim 

Source
Expand description

The seeded finite safety simulation contract: its options, report, static admission and the run host that owns one simulation.

Core’s finite simulation is the backend (dive-api), run through Runtime::simulate_with_backend. A finished sample is explicitly not a model-checking proof. Temporal checking, unsupported runtime effects, and unsupported options refuse by name. The independent trace validator remains outside this crate.

Structs§

ActionFlow
Sparse counts of consecutive chosen actions; no state-space coverage claim.
ActionGroup
One source-location action group, with parameter contexts combined.
Options
A finite simulation request. No unbounded trace count is accepted.
PendingViolation
A deciding violation observed without retaining its full bounded trace. This is evidence for diagnosis, not independently certified violation data.
Report
A finite simulation result and complete sampled trace documents.
Runtime
Owns one simulation’s host from source binding through execution.
Trace
An independently checkable trace of concrete states.

Enums§

Outcome
The result of a simulation; a sample never proves absence of violations.

Functions§

preflight
Checks finite-mode options and statically unsupported combinations without evaluation.