Skip to content

--ltl に --use-Ncore をつけた場合の出力が正しくない #338

@miuele

Description

@miuele

--use-Ncoreをつけない場合はCounterExamplePathsが、--use-Ncoreをつけた場合はNo Accepting Cycle existsと表示されます。

model.lmn

a.
a :- b.
b :- a.

model.nc

never { /* []<>a_exists */
T0_init:
        if
        :: (a_exists) -> goto accept_S1
        :: (1) -> goto T0_init
        fi;
accept_S1:
        if
        :: (a_exists) -> goto accept_S1
        :: (1) -> goto T0_init
        fi;
}

model.psym

a_exists = a

--use-Ncoreをつけない場合

$ slim --ltl-all --psym model.psym --nc model.nc model.lmn
CounterExamplePaths
  1::T0_init{a. @4. }
* 3::accept_S1{b. @4. }
  1::T0_init{a. @4. }
* 3::accept_S1{b. @4. }

'# of States'(stored)   = 3.
'# of States'(end)      = 0.
'# of States'(invalid)  = 0.

--use-Ncore=1をつけた場合(N≧2についても同様)

$ slim --use-Ncore=1 --ltl-all --psym model.psym --nc model.nc model.lmn
No Accepting Cycle (or Invalid State) exists.
'# of States'(stored)   = 3.
'# of States'(end)      = 0.
'# of States'(invalid)  = 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions