proofs.rs

clock-dbm 0.1.0

proofs.rs claims for clock-dbm 0.1.0
README badge

Claims in public reports for version 0.1.0.

[![proofs.rs](https://img.shields.io/endpoint?url=https%3A%2F%2Fproofs.rs%2Fapi%2Fv1%2Fcrates%2Fclock-dbm%2F0.1.0%2Fbadge)](https://proofs.rs/crate/clock-dbm?version=0.1.0)

Difference bound matrices (DBMs) over packed i32 bounds for timed-automata zones

crates.io

Reports (1)

#38 Clock-zone operations in clock-dbm 0.1.0
creusot 0.14.0 · 70 claims · MasWag ·

Findings (0)

For version 0.1.0. Statuses are author reported.

No findings reported for this version.

APIs (408)

APIs are imported from documentation or named in published verification records. 70 have at least one claim; a count says nothing about how strong each claim is.

APIClaims · findings

Functions

No functions.

Associated functions

impl Bound

pub const fn le(c: i32) -> Result<Bound, Error>1 claim
pub const fn lt(c: i32) -> Result<Bound, Error>1 claim

impl Clock

pub const fn new(index: usize) -> Option<Clock>1 claim

impl Constraint

pub const fn le(i: Clock, j: Clock, c: i32) -> Result<Constraint, Error>1 claim
pub const fn lt(i: Clock, j: Clock, c: i32) -> Result<Constraint, Error>1 claim
pub const fn new(i: Clock, j: Clock, bound: Bound) -> Constraint1 claim

impl Dbm

pub fn empty(variables: usize) -> Result<Dbm, Error>1 claim
pub fn try_from_constraints(variables: usize, cs: &[Constraint], ws: &mut Workspace) -> Result<Dbm, Error>1 claim
pub fn universe(variables: usize) -> Result<Dbm, Error>1 claim
pub fn zero(variables: usize) -> Result<Dbm, Error>1 claim

impl MaxBounds

pub fn new(ceilings: Vec<i32>) -> Result<MaxBounds, Error>1 claim

impl SharedDbm

pub fn empty(variables: usize) -> Result<SharedDbm, Error>1 claim
pub fn try_from_constraints(variables: usize, cs: &[Constraint], ws: &mut Workspace) -> Result<SharedDbm, Error>1 claim
pub fn universe(variables: usize) -> Result<SharedDbm, Error>1 claim
pub fn zero(variables: usize) -> Result<SharedDbm, Error>1 claim

impl Variable

pub const fn new(index: usize) -> Option<Variable>1 claim

impl Workspace

pub fn new() -> Workspace—
pub fn with_capacity(variables: usize) -> Workspace—

impl bounds::Bound

pub const fn le(c: i32) -> Result<Bound, Error>—
pub const fn lt(c: i32) -> Result<Bound, Error>—

impl bounds::Clock

pub const fn new(index: usize) -> Option<Clock>—

impl bounds::Constraint

pub const fn le(i: Clock, j: Clock, c: i32) -> Result<Constraint, Error>—
pub const fn lt(i: Clock, j: Clock, c: i32) -> Result<Constraint, Error>—
pub const fn new(i: Clock, j: Clock, bound: Bound) -> Constraint—

impl bounds::Variable

pub const fn new(index: usize) -> Option<Variable>—

impl dbm::Dbm

pub fn empty(variables: usize) -> Result<Dbm, Error>—
pub fn try_from_constraints(variables: usize, cs: &[Constraint], ws: &mut Workspace) -> Result<Dbm, Error>—
pub fn universe(variables: usize) -> Result<Dbm, Error>—
pub fn zero(variables: usize) -> Result<Dbm, Error>—

impl dbm::Workspace

pub fn new() -> Workspace—
pub fn with_capacity(variables: usize) -> Workspace—

impl ops::extra_m::MaxBounds

pub fn new(ceilings: Vec<i32>) -> Result<MaxBounds, Error>—

impl shared::SharedDbm

pub fn empty(variables: usize) -> Result<SharedDbm, Error>—
pub fn try_from_constraints(variables: usize, cs: &[Constraint], ws: &mut Workspace) -> Result<SharedDbm, Error>—
pub fn universe(variables: usize) -> Result<SharedDbm, Error>—
pub fn zero(variables: usize) -> Result<SharedDbm, Error>—

Methods

impl Bound

pub const fn checked_add(self: Self, other: Bound) -> Result<Bound, Error>1 claim
pub const fn constant(self: Self) -> Option<i32>1 claim
pub const fn is_infinite(self: Self) -> bool1 claim
pub const fn is_strict(self: Self) -> bool1 claim

impl Clock

pub const fn index(self: Self) -> usize1 claim

impl Constraint

pub const fn bound(self: Self) -> Bound1 claim
pub const fn i(self: Self) -> Clock1 claim
pub const fn j(self: Self) -> Clock1 claim

impl Dbm

pub fn difference_bound(self: &Self, i: Clock, j: Clock) -> Result<Option<Bound>, Error>1 claim
pub fn dimension(self: &Self) -> usize1 claim
pub fn entails(self: &Self, c: &Constraint) -> Result<bool, Error>1 claim
pub fn future(self: Self) -> Dbm1 claim
pub fn intersects_constraint(self: &Self, c: &Constraint) -> Result<bool, Error>1 claim
pub fn is_empty(self: &Self) -> bool1 claim
pub fn is_subset_of(self: &Self, other: &Dbm) -> Result<bool, Error>1 claim
pub fn past(self: Self) -> Dbm1 claim
pub fn try_constrain(self: Self, c: Constraint) -> Result<Dbm, Error>1 claim
pub fn try_constrain_all(self: Self, cs: &[Constraint], ws: &mut Workspace) -> Result<Dbm, Error>1 claim
pub fn try_extrapolate_max(self: Self, bounds: &MaxBounds, ws: &mut Workspace) -> Result<Dbm, Error>1 claim
pub fn try_free(self: Self, x: Variable) -> Result<Dbm, Error>1 claim
pub fn try_intersect(self: Self, other: &Dbm, ws: &mut Workspace) -> Result<Dbm, Error>1 claim
pub fn try_reset(self: Self, x: Variable, value: i32) -> Result<Dbm, Error>1 claim
pub fn try_reset_zero(self: Self, x: Variable) -> Result<Dbm, Error>1 claim
pub fn variables(self: &Self) -> usize1 claim

impl MaxBounds

pub fn get(self: &Self, x: Variable) -> Option<i32>1 claim
pub fn variables(self: &Self) -> usize1 claim

impl SharedDbm

pub fn as_dbm(self: &Self) -> &Dbm1 claim
pub fn difference_bound(self: &Self, i: Clock, j: Clock) -> Result<Option<Bound>, Error>1 claim
pub fn dimension(self: &Self) -> usize1 claim
pub fn entails(self: &Self, c: &Constraint) -> Result<bool, Error>1 claim
pub fn future(self: Self) -> SharedDbm1 claim
pub fn intersects_constraint(self: &Self, c: &Constraint) -> Result<bool, Error>1 claim
pub fn into_dbm(self: Self) -> Dbm1 claim
pub fn is_empty(self: &Self) -> bool1 claim
pub fn is_subset_of(self: &Self, other: &SharedDbm) -> Result<bool, Error>1 claim
pub fn past(self: Self) -> SharedDbm1 claim
pub fn try_constrain(self: Self, c: Constraint) -> Result<SharedDbm, Error>1 claim
pub fn try_constrain_all(self: Self, cs: &[Constraint], ws: &mut Workspace) -> Result<SharedDbm, Error>1 claim
pub fn try_extrapolate_max(self: Self, bounds: &MaxBounds, ws: &mut Workspace) -> Result<SharedDbm, Error>1 claim
pub fn try_free(self: Self, x: Variable) -> Result<SharedDbm, Error>1 claim
pub fn try_intersect(self: Self, other: &SharedDbm, ws: &mut Workspace) -> Result<SharedDbm, Error>1 claim
pub fn try_reset(self: Self, x: Variable, value: i32) -> Result<SharedDbm, Error>1 claim
pub fn try_reset_zero(self: Self, x: Variable) -> Result<SharedDbm, Error>1 claim
pub fn variables(self: &Self) -> usize1 claim

impl Variable

pub const fn index(self: Self) -> usize1 claim

impl bounds::Bound

pub const fn checked_add(self: Self, other: Bound) -> Result<Bound, Error>—
pub const fn constant(self: Self) -> Option<i32>—
pub const fn is_infinite(self: Self) -> bool—
pub const fn is_strict(self: Self) -> bool—

impl bounds::Clock

pub const fn index(self: Self) -> usize—

impl bounds::Constraint

pub const fn bound(self: Self) -> Bound—
pub const fn i(self: Self) -> Clock—
pub const fn j(self: Self) -> Clock—

impl bounds::Variable

pub const fn index(self: Self) -> usize—

impl dbm::Dbm

pub fn difference_bound(self: &Self, i: Clock, j: Clock) -> Result<Option<Bound>, Error>—
pub fn dimension(self: &Self) -> usize—
pub fn entails(self: &Self, c: &Constraint) -> Result<bool, Error>—
pub fn future(self: Self) -> Dbm—
pub fn intersects_constraint(self: &Self, c: &Constraint) -> Result<bool, Error>—
pub fn is_empty(self: &Self) -> bool—
pub fn is_subset_of(self: &Self, other: &Dbm) -> Result<bool, Error>—
pub fn past(self: Self) -> Dbm—
pub fn try_constrain(self: Self, c: Constraint) -> Result<Dbm, Error>—
pub fn try_constrain_all(self: Self, cs: &[Constraint], ws: &mut Workspace) -> Result<Dbm, Error>—
pub fn try_extrapolate_max(self: Self, bounds: &MaxBounds, ws: &mut Workspace) -> Result<Dbm, Error>—
pub fn try_free(self: Self, x: Variable) -> Result<Dbm, Error>—
pub fn try_intersect(self: Self, other: &Dbm, ws: &mut Workspace) -> Result<Dbm, Error>—
pub fn try_reset(self: Self, x: Variable, value: i32) -> Result<Dbm, Error>—
pub fn try_reset_zero(self: Self, x: Variable) -> Result<Dbm, Error>—
pub fn variables(self: &Self) -> usize—

impl ops::extra_m::MaxBounds

pub fn get(self: &Self, x: Variable) -> Option<i32>—
pub fn variables(self: &Self) -> usize—

impl shared::SharedDbm

pub fn as_dbm(self: &Self) -> &Dbm—
pub fn difference_bound(self: &Self, i: Clock, j: Clock) -> Result<Option<Bound>, Error>—
pub fn dimension(self: &Self) -> usize—
pub fn entails(self: &Self, c: &Constraint) -> Result<bool, Error>—
pub fn future(self: Self) -> SharedDbm—
pub fn intersects_constraint(self: &Self, c: &Constraint) -> Result<bool, Error>—
pub fn into_dbm(self: Self) -> Dbm—
pub fn is_empty(self: &Self) -> bool—
pub fn is_subset_of(self: &Self, other: &SharedDbm) -> Result<bool, Error>—
pub fn past(self: Self) -> SharedDbm—
pub fn try_constrain(self: Self, c: Constraint) -> Result<SharedDbm, Error>—
pub fn try_constrain_all(self: Self, cs: &[Constraint], ws: &mut Workspace) -> Result<SharedDbm, Error>—
pub fn try_extrapolate_max(self: Self, bounds: &MaxBounds, ws: &mut Workspace) -> Result<SharedDbm, Error>—
pub fn try_free(self: Self, x: Variable) -> Result<SharedDbm, Error>—
pub fn try_intersect(self: Self, other: &SharedDbm, ws: &mut Workspace) -> Result<SharedDbm, Error>—
pub fn try_reset(self: Self, x: Variable, value: i32) -> Result<SharedDbm, Error>—
pub fn try_reset_zero(self: Self, x: Variable) -> Result<SharedDbm, Error>—
pub fn variables(self: &Self) -> usize—

Trait implementations

impl core::clone::Clone for …

fn clone16 implementations1 claim

impl core::cmp::Ord for …

fn cmp6 implementations—

impl core::cmp::PartialEq for …

fn eq16 implementations1 claim

impl core::cmp::PartialOrd for …

fn partial_cmp6 implementations—

impl core::convert::AsRef<clock_dbm::Dbm> for SharedDbm

fn as_ref4 implementations—

impl core::convert::From<clock_dbm::Dbm> for SharedDbm

fn from4 implementations—

impl core::convert::From<clock_dbm::Variable> for Clock

fn from4 implementations—

impl core::default::Default for Workspace

fn default2 implementations—

impl core::fmt::Debug for …

fn fmt18 implementations—

impl core::fmt::Display for Error

fn fmt2 implementations—

impl core::hash::Hash for …

fn hash14 implementations—

Blanket implementations

impl alloc::borrow::ToOwned for …

fn clone_into16 implementations—
fn to_owned16 implementations—

impl alloc::string::ToString for Error

fn to_string2 implementations—

impl core::any::Any for …

fn type_id19 implementations—

impl core::borrow::Borrow<T> for …

fn borrow19 implementations—

impl core::borrow::BorrowMut<T> for …

fn borrow_mut19 implementations—

impl core::clone::CloneToUninit for …

unsafe fn clone_to_uninit16 implementations—

impl core::convert::From<T> for …

fn from19 implementations—

impl core::convert::Into<U> for …

fn into19 implementations—

impl core::convert::TryFrom<U> for …

fn try_from19 implementations—

impl core::convert::TryInto<U> for …

fn try_into19 implementations—

Recorded callables

<clock_dbm::Bound as creusot_std::prelude::Clone>::clone recorded callable · signature and safety not recorded1 claim
<clock_dbm::Clock as From<clock_dbm::bounds::Variable>>::from recorded callable · signature and safety not recorded1 claim
<clock_dbm::Dbm as creusot_std::prelude::Clone>::clone recorded callable · signature and safety not recorded1 claim
<clock_dbm::Dbm as creusot_std::prelude::PartialEq>::eq recorded callable · signature and safety not recorded1 claim
<clock_dbm::MaxBounds as creusot_std::prelude::Clone>::clone recorded callable · signature and safety not recorded1 claim
<clock_dbm::SharedDbm as AsRef<clock_dbm::dbm::Dbm>>::as_ref recorded callable · signature and safety not recorded1 claim
<clock_dbm::SharedDbm as From<clock_dbm::dbm::Dbm>>::from recorded callable · signature and safety not recorded1 claim