package electrod

  1. Overview
  2. Docs
Formal analysis for the Electrod formal pivot language

Install

Dune Dependency

Authors

Maintainers

Sources

electrod-1.0.0.tbz
sha256=4da251e58d97c797d6e940e586d225a09715777fbb1b25c5527a6a2e1e3c2d58
sha512=89c45ebd0d3401b17eac4217289ed21ec87135ab5fa62bf63b2bed1ad1435a381e3434582c2ec99c2e6d8d87ce23cecfa7ba14d76234493992ae06879b808dd2

doc/electrod.libelectrod/Libelectrod/Outcome/index.html

Module Libelectrod.OutcomeSource

Represents a result trace (or the absence thereof).

Sourcetype valuation

A valuation maps set/relation names to the tuples they contain.

Sourcetype state

A state is either a plain state, or the target of a lasso from the last state of the trace.

Sourcetype states = state list

Nonempty, ordered sequence of states.

Sourcetype t = private {
  1. trace : states option;
  2. nbvars : int;
    (*

    number of Booleans used

    *)
  3. conversion_time : Mtime.span;
  4. analysis_time : Mtime.span;
}

An outcome represents the result of an analysis. It is either None, meaning there is no resulting trace, or it is Some _ in wihch case it carries a nonempty, ordered sequence of states, with at least one being the target of a loop ("lasso" step).

Sourceval no_trace : int -> Mtime.span -> Mtime.span -> t

Represents the absence of trace (so usually: UNSAT).

Sourceval some_trace : t -> bool
Sourceval trace : ((Atom.t, Atom.t) CCList.Assoc.t * (Name.t * Name.t) list) -> int -> Mtime.span -> Mtime.span -> state list -> t

The list must be nonempty and must contain at least one lasso target.

Sourceval plain_state : valuation -> state
Sourceval loop_state : valuation -> state
Sourceval loop_is_present : states -> bool

Says whether a non-empty trace features a loop states.

Sourceval to_loop : state -> state

Converts any state to a loop state

Sourceval pp : format:[ `XML | `Plain | `Chrono ] -> Containers.Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.