package electrod

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

electrod-0.8.0.tbz
sha256=dd47a6d755dc80a9a75fa21bda7a6507316ca2a33f7201d25ee9ba01d902a6a2
sha512=abc8bb1194df32bfe3c00f499dd989868c9ad208c8c7401085b9c18e87890eae1c087dbbb9bf128f95f4e759de27e1d7a6d6b2f7a5e6a9b000b469d72c77b87a

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

Module Libelectrod.Invar_computationSource

Helpers for sorting formulas into invariants, and other types of formulas

Sourcetype goal_color = private
  1. | Static_prop
  2. | Primed_prop
  3. | Invar
  4. | Init
  5. | Trans
  6. | Temporal

Static_prop: a proposition that does not include any variable relation nor any temporal operator. Primed_prop: a propostion that may include variabale and constant relations, without any temporal operator except un-nested X (next) or prime. Invar: proposition of the form always (phi) where phi does not include any temporal operator (the color pf phi is Init or Static_prop). Init: proposition without any temporal operator. Trans: proposition of the form always (phi) where the color of phi is Primed_prop. Temporal: any other proposition.

Sourceval to_string : goal_color -> string
Sourceval remove_always_from_invar : Elo.fml -> Elo.fml

removes the top level always operator in an invariant elo formula

Sourceval add_always_to_invar : Elo.fml -> Elo.fml

adds an always operator to an (invariant) elo formula if the outermost operator is not an always

Sourceval color : Elo.t -> Elo.fml -> goal_color

Computes the color of a formula

OCaml

Innovation. Community. Security.