package hardcaml

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Property.CTLSource

Sourcetype state =
  1. | True
  2. | P of atomic_proposition
  3. | And of state * state
  4. | Not of state
  5. | E of path
  6. | A of path
Sourceand path =
  1. | X of state
  2. | U of state * state
  3. | F of state
  4. | G of state
Sourceval sexp_of_state : state -> Sexplib0.Sexp.t
Sourceval sexp_of_path : path -> Sexplib0.Sexp.t
Sourceval t : state

True

Proposition

Sourceval (&:) : state -> state -> state

And

Sourceval (~:) : state -> state

Not

Sourceval ax : ?n:int -> state -> state

On all paths in the next state

Sourceval ex : ?n:int -> state -> state

On some path in the next state

Sourceval au : state -> state -> state

On all paths u holds.

Sourceval eu : state -> state -> state

On some path u holds

Sourceval af : state -> state

On all paths finally holds

Sourceval ef : state -> state

On some path finally holds

Sourceval ag : state -> state

On all paths globally holds

Sourceval eg : state -> state

On some path globally holds

Sourceval to_string : ?name:(atomic_proposition -> string) -> state -> string

Convert property to a string

Sourceval atomic_propositions : state -> atomic_proposition list

Find all atomic propositions in the formula

Sourceval map_atomic_propositions : state -> f:(atomic_proposition -> atomic_proposition) -> state
OCaml

Innovation. Community. Security.