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.
 
 
 
 
 
 

7 lines
295 B

// probability that a leader is eventually elected
P=? [ true U (s1=3 & s2=3 & s3=3 & s4=3) ]
// probability that a leader is elected within L rounds
const int L;
P=? [ true U<=L*(N+1) (s1=3 & s2=3 & s3=3 & s4=3) ]
// expected time to elect a leader
R=? [ F (s1=3 & s2=3 & s3=3 & s4=3) ]