Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Source files

planarian @ a924e09 · Spec v4.6 · snapshot main · all versions

Which invariants and obligations live in each file.

crates/exec/src/kani.rs

ObligationKindLineInvariants
exec::approval_tokens_expire_after_their_lifetimeKani harness14I8
exec::residue_security_is_never_intendedKani harness94I13
exec::residue_crashes_are_faultsKani harness105I13
exec::residue_is_inferred_only_where_allowedKani harness116I13

crates/policy/src/lib.rs

ObligationKindLineInvariants
policy::decideverified fn869I5
policy::may_approveverified fn923I19
policy::may_grantverified fn942I19
policy::is_administratorverified fn1014I17

crates/policy/src/proofs.rs

ObligationKindLineInvariants
policy::i5_autonomy_never_touches_rejectproof fn73I5
policy::i11_non_routine_session_asksproof fn95I11
policy::i11_session_only_raisesproof fn118I11
policy::global_floorsproof fn129I21
policy::own_session_is_per_sessionproof fn143I21
policy::i16_below_floor_needs_administratorproof fn161I16
policy::administrator_class_only_on_ask_firstproof fn170I16
policy::security_override_held_for_administratorproof fn179I22
policy::security_restart_runs_alone_only_to_restoreproof fn196I22
policy::i19_no_self_approvalproof fn215I19
policy::agents_and_unattributed_are_refusedproof fn227I22
policy::i10_canonical_probe_changes_askproof fn237I10
policy::unauthorized_is_refused_firstproof fn246I5
policy::core_is_never_a_targetproof fn255I5
policy::only_administrators_resolveproof fn266I22
policy::users_cannot_change_generationsproof fn276I22
policy::i14_facts_caller_is_not_authorityproof fn290I14
policy::i17_administrators_never_emptyproof fn327I17

crates/txn/src/chain.rs

ObligationKindLineInvariants
txn::followsverified fn97I18
txn::verifyverified fn120I18
txn::next_linkverified fn168I18
txn::appending_keeps_the_chainproof fn182I18
txn::an_edited_record_breaks_the_chainproof fn214I18

crates/txn/src/kani.rs

ObligationKindLineInvariants
txn::recovery_table_follows_the_state_machineKani harness185I12
txn::watchdog_takes_over_only_when_it_shouldKani harness199I12
txn::takeover_fences_out_the_previous_ownerKani harness225I15
txn::override_swap_never_overwrites_a_third_partyKani harness261I23

crates/txn/src/ledger.rs

ObligationKindLineInvariants
txn::compatible_execverified fn460I6
txn::well_formedverified fn534I6
txn::validateverified fn607I6, I15
txn::applyverified fn915I6, I12
txn::add_interlockverified fn934I12
txn::i6_one_generation_activeproof fn1235I6

crates/txn/src/machine.rs

ObligationKindLineInvariants
txn::step_allowedverified fn61I12
txn::i12_steps_terminateproof fn130I12
txn::i12_terminal_always_reachableproof fn141I12
txn::terminal_is_finalproof fn151I12
txn::refusal_only_before_mutationproof fn161I12
txn::runtime_never_revertsproof fn171I23
txn::only_generations_publishproof fn182I6
txn::boot_only_never_activatesproof fn194I6
txn::generations_commit_after_promotionproof fn206I23