Skip to content

Commit

Permalink
Rename references to Init and Next in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bugarela committed Sep 21, 2023
1 parent 24f17a8 commit 7c51ff7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/classic/distributed/ewd840/ewd840.qnt
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ action step = any {

val vars = (active, color, tpos, tcolor)

// temporal Spec = Init and always(Next.orKeep(vars) and System.weakFair(vars))
// temporal Spec = init and always(step.orKeep(vars) and System.weakFair(vars))

//-----------------------------------------------------------------------------

Expand Down Expand Up @@ -154,13 +154,13 @@ temporal FalseLiveness =
/// The following property says that eventually all nodes will terminate
/// assuming that from some point onwards no messages are sent. It is not
/// supposed to hold: any node may indefinitely perform local computations.
/// However, this property is verified if the fairness condition WF_vars(Next)
/// However, this property is verified if the fairness condition WF_vars(step)
/// is used instead of only WF_vars(System) that requires fairness of the
/// actions controlled by termination detection.
///
/// Quint translation note: we cannot add `Init` to this property since, in quint,
/// Quint translation note: we cannot add `init` to this property since, in quint,
/// it is an action - not a predicate
temporal SpecWFNext = always(step.orKeep(vars) and step.weakFair(vars)) // and Init
temporal SpecWFstep = always(step.orKeep(vars) and step.weakFair(vars)) // and init

// The following property is not expressible in quint (for now), as it negates an action
// temporal AllNodesTerminateIfNoMessages = (
Expand Down

0 comments on commit 7c51ff7

Please sign in to comment.