CONSTANTS Nodes = {n1, n2, n3} Nil = Nil MaxTerm = 3 MaxLogLen = 3 SPECIFICATION Spec CHECK_DEADLOCK FALSE INVARIANTS TypeOk ElectionSafety LeaderAppendOnly StateMachineSafety CommittedIndexValid LogMatching LeaderHasSelfHeartbeat