Questions tagged [nusmv]

NuSMV is a model checking software free for non-commercial and academic purposes. It is used to verify and prove hardware and software.

NuSMV is a model checking software free for non-commercial and academic purposes. It is used to verify and prove hardware and software.

93 questions
2
votes
1 answer

satisfying the LTL formula in model

Is AG(~q ∨ Fp) LTL formula satisfy in model below? why or why not? model?
any
  • 325
  • 5
  • 17
2
votes
1 answer

Employing NuSMV as a model checker in java

I'm trying to use NuSMV as a model checker in java. However, I'm not able to find the related JAR library online. The only one I've found is provided on here for which the download link doesn't work anymore. Apparently, the library exists but the…
Fred
  • 45
  • 4
2
votes
1 answer

Verify Dekker's mutual exclusion algorithm by NuSMV

I use NuSMV to verify the Dekker algorithm, and my code is as below: MODULE main VAR b1 : {true, false}; b2 : {true, false}; k : {1, 2}; pr1 : process proc(k, b1, b2, 1); pr2 : process proc(k, b2, b1, 2); ASSIGN init(b1) := false; init(b2) :=…
2
votes
2 answers

Model Checking For Numbers Lite Game

I am going through the model checking methods and I want to use the techniques in order to solve a game called Numbers Paranoia lite as a planning problem. Given an MxN, (MxN > 8), matrix in which each plate is either Problem Image - empty -…
user6133527
2
votes
1 answer

CTL fomula until contains implication

when I use NuSMV tools to verify if my CTL is right, I encounter a problem that make me so confused. My model is and here's the NuSMV code: MODULE main VAR state : {ROOT, A1, B1, C1, D1, F1, M1}; ASSIGN init(state) := ROOT; next(state) :=…
2
votes
1 answer

How to execute a .smv file from notepad++

I am currently learning NuSMV for LTL and CTL model checking. I use notepad++ for my coding activities - mostly in python - and I know we can run a python script (.py files) using notepad++. I am new to NuSMV and I wonder if there is any method to…
Iqazra
  • 419
  • 1
  • 3
  • 11
2
votes
2 answers

constructing valid CTL or LTL expression (in NuSMV)

I'm trying to create a valid CTL or LTL expression for model checking in NuSMV. I have a variable in a game, with actors running around trying to catch each other. Variable is, State_Of_Game : {Win,Lose,Playing} and I want to express that from every…
Sven
  • 1,133
  • 1
  • 11
  • 22
1
vote
0 answers

What is the best way to implement parallel state machine in NuSMV version 2.6?

I am trying to convert a state machine (given in scxml) to NuSMV version 2.6, and I came across this in the user manual: What is the best way to go around it? What is the best way to represent a parallel state machine in NuSMV without…
engForLife
  • 23
  • 1
  • 7
1
vote
1 answer

NuSMV: Initialising range constant with parameter

I'm new to NuSMV. I'm trying to define a module, where each state has a duration variable than can range from 0 to the specified bound. MODULE state(inc, bound) VAR duration : 0..bound; ASSIGN init(duration) := 0; next(duration) := inc…
em0605
  • 197
  • 2
  • 9
1
vote
1 answer

NuSMV returns undefined operation

I have written the following code: MODULE main VAR status:{empty, no_empty}; x : 0..3; ASSIGN init(status):= empty; init(x):=0; next(status):= case (status = empty): no_empty; (status = no_empty) & (x=0):…
Gold
  • 179
  • 2
  • 11
1
vote
2 answers

Four-Knights Puzzle in nusmv/nuxmv

Does anyone have code for Four-Knights Puzzle written in smv (nusmv or nuxmv)? I describe the problem with a grid, but when I tried to write the constraints/moves, I got errors like: line 35: recursively defined: S1 in definition of next(S3) at line…
1
vote
1 answer

4 in a row with NUSMV

I'm trying to create a 4 in a row implementation in NuSMV. Unfortunately I am new to NuSMV and I have difficulty to creating it. I have tried to define all the winning cases for player 1 and have used 2D array to represent the grid. Now im getting…
1
vote
1 answer

Problem installing 'pynusmv' on Ubuntu 19.04

I've recently installed Ubuntu 19.04 on my machine (I'm fairly new at this OS), and I'm trying to install the pynusmv package for some University work. However, by running the pip3 command to install it: pip3 install pynusmv I get a list of errors…
1
vote
1 answer

Specification name

I want to know how to attribute names to properties inside SMV file. I have done this but only from the terminal (see the following code) NuSMV > add_property -c -p "AG !(Object1.state = ready & AX Object2.state = running)" -n "first" …
sam
  • 53
  • 4
1
vote
1 answer

Data Type declaration

I want to declare an array called Machine consists of 4 elements. Each element is also an array of 2 elements, where, values of the first element are obtained from the enumeration: pressionLevel={below, normal, over} And the second one has values…
sam
  • 53
  • 4