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.
 
 
 
 
 
 

61 lines
1.2 KiB

// ex 15
// RESULT: 1/3
P=? [ X "full" {x=2} ];
// RESULT: ?
"ex15": P>=0.5 [ X "full" ];
// RESULT: true
filter(forall, "ex15" <=> false);
// ex 16
// RESULT: 0.6404780884740766
P=? [ true U<=7.5 "full" {x=0} ];
// RESULT: ?
"ex16": P>0.65 [ true U<=7.5 "full" ];
// RESULT: true
filter(forall, "ex16" <=> (x=1|x=2|x=3));
// ex 17
// RESULT: 1/15
S=? [ "full" ];
// RESULT: ?
"ex17": S<0.1 [ "full" ];
// RESULT: true
filter(forall, "ex17" <=> true);
// ex 20
// RESULT: 7.069019518168792
R{"serve"}=? [ C<=5.5 ];
// RESULT: ?
"ex20": R{"serve"}>9 [ C<=5.5 ];
// RESULT: true
filter(forall, "ex20" <=> (x=3));
// ex 21
// RESULT: 0.5929374064162124
R{"queue"}=? [ I=1 ];
// RESULT: ?
"ex21": R{"queue"}<2 [ I=1 ];
// RESULT: true
filter(forall, "ex21" <=> true);
// ex 22
// RESULT: 8
R{"serve"}=? [ F "full" ];
// RESULT: ?
"ex22": R{"serve"}<7 [ F "full" ];
// RESULT: true
filter(forall, "ex22" <=> (x=2|x=3));
// ex 23
// RESULT: 7/5
R{"serve"}=? [ S ];
// RESULT: ?
"ex23a": R{"serve"}>=1.5 [ S ];
// RESULT: true
filter(forall, "ex23a" <=> false);
// RESULT: 11/15
R{"queue"}=? [ S ];
// RESULT: ?
"ex23b": R{"queue"}<=0.8[ S ];
// RESULT: true
filter(forall, "ex23b" <=> true);