You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
752 B

  1. ----------------------------- MODULE MC_n5_f2 -------------------------------
  2. CONSTANT Proposer \* the proposer function from 0..NRounds to 1..N
  3. \* the variables declared in TendermintAcc3
  4. VARIABLES
  5. round, step, decision, lockedValue, lockedRound, validValue, validRound,
  6. msgsPropose, msgsPrevote, msgsPrecommit, evidence, action
  7. INSTANCE TendermintAccDebug_004_draft WITH
  8. Corr <- {"c1", "c2", "c3"},
  9. Faulty <- {"f4", "f5"},
  10. N <- 5,
  11. T <- 1,
  12. ValidValues <- { "v0", "v1" },
  13. InvalidValues <- {"v2"},
  14. MaxRound <- 2
  15. \* run Apalache with --cinit=ConstInit
  16. ConstInit == \* the proposer is arbitrary -- works for safety
  17. Proposer \in [Rounds -> AllProcs]
  18. =============================================================================