package electrod

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

Install

Dune Dependency

Authors

Maintainers

Sources

electrod-0.4.1.tbz
sha256=b0bce9cc7126672feda5a02d5ef0c1131ba54db57654f80c0768c2f8d043cef9
sha512=92cc22f81522435e190039324767b6f69fa0b7d9dbfc3fb5561919823136fe492244dae993caf98633828e0090b67f306eec6270b86a1b2ff8630642130a3081

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.