ultimate icon indicating copy to clipboard operation
ultimate copied to clipboard

Wrong specification in rtinconsistency_test5

Open hauff opened this issue 5 years ago • 4 comments

Expected: // #TestSpec: rt-inconsistent:; vacuous:; inconsistent:; results:-1 Actual: // #TestSpec: rt-inconsistent:req1+req2; vacuous:; inconsistent:; results:-1

CONST MAX_TIME is 50.0
CONST time_at_least is 30.0

req1: Globally It is always the case that once "var4" becomes satisfied, it holds for at least "time_at_least" time units
req2: Globally It is always the case that If "var3" holds, then "!var4" holds after at most "MAX_TIME" time units for at least "time_at_least" time units

Figure_1

hauff avatar Sep 03 '20 18:09 hauff

Obsolete (MinDurationPattern was refactored) New issue #500.

hauff avatar Sep 09 '20 13:09 hauff

Back to this decision ;)

danieldietsch avatar Sep 14 '20 13:09 danieldietsch

Actual is correct, test must be fixed.

Langenfeld avatar Sep 14 '20 14:09 Langenfeld

Result

  • Expected: rt-inconsistent:req1+req2; vacuous:; inconsistent:;
  • Actual: rt-inconsistent:; vacuous:; inconsistent:;

Test (.req file)

CONST MAX_TIME is 50.0
CONST time_at_least is 30.0

req1: Globally It is always the case that once "var4" becomes satisfied, it holds for at least "time_at_least" time units
req2: Globally It is always the case that If "var3" holds, then "!var4" holds after at most "MAX_TIME" time units for at least "time_at_least" time units

Comments

Actual should be correct.

The example that we used earlier to argue for rt-inconsistency is broken. We assumed to have a prefix satisfying both requirements but req2 is actually violated at t=32. image As "MAX_TIME" is larger than "time_at_least", rt-inconsistency should not be possible.

henkele avatar Nov 23 '20 09:11 henkele