Menu
  • HOME
  • TAGS

Floating point calculations in Promela

spin,model-checking,promela

In Promela/SPIN you can embed arbitrary C code including the specification of what C memory should be considered part of the exhaustively-explored state-space. Look into the language constructs: c_code, c_decl, c_state, c_track and c_expr. Note that it is usually trouble to include floating point numbers; even one, but certainly any...

Accessing members of composite sorts (data types) in SMT-LIBv2

smt,model-checking,cvc4

This is an answer to my own question. If anyone can post an example for a use-case of a user-defined sort with arity > 0, I'll happily accept that as answer. After reading the SMT-LIBv2 standard more carefully I am now thinking that sort declarations with arity > 0 only...

Deadlock check vs. out-of-range array lookup Uppaal

model-checking

The solution was extending the query with the index variable when checking for deadlock, like A[] not deadlock || indexVarble => 24 So if there is a deadlock, it should be when we run out of range. (in the example the range was [0-23])...

Trying to understand clocks and timeouts in UPPAAL

model-checking

Sorry, I got a solution for this long time ago on uppaal Yahoo group. I paste the answer here, so it can be useful for others: There is nothing special in your model. You are probably expecting "as soon as possible" semantics where the automaton would take the transition as...