"[2018-05-14 14:17:02,617, T+6204] \"ProB Output Logger for instance e93f3d5\" de.prob.cli.ProBInstance.readAndLog(ConsoleListener.java:48): [INFO] \u001b[31m\u001b[1m! A well-definedness error occured !\u001b[0m\n",
"[2018-05-14 14:17:02,618, T+6205] \"ProB Output Logger for instance e93f3d5\" de.prob.cli.ProBInstance.readAndLog(ConsoleListener.java:48): [INFO] \u001b[0m\u001b[31m\u001b[1m! mod not defined for negative numbers: 2 mod-1\u001b[0m\n",
"[2018-05-14 14:17:02,619, T+6206] \"ProB Output Logger for instance e93f3d5\" de.prob.cli.ProBInstance.readAndLog(ConsoleListener.java:48): [INFO] \u001b[0m\u001b[31m\u001b[1m! Line: 1 Column: 0 until 8\u001b[0m\n"
]
},
{
{
"ename": "UserErrorException",
"ename": "UserErrorException",
"evalue": "NOT-WELL-DEFINED: \nmod not defined for negative numbers: 2 mod-1\n ### Line: 1, Column: 0 until 8\n\n",
"evalue": "NOT-WELL-DEFINED: \nmod not defined for negative numbers: 2 mod-1\n ### Line: 1, Column: 0 until 8\n\n",
...
...
%% Cell type:markdown id: tags:
%% Cell type:markdown id: tags:
Expressions can be evaluated.
Expressions can be evaluated.
%% Cell type:code id: tags:
%% Cell type:code id: tags:
``` prob
``` prob
123
123
```
```
%% Output
%% Output
123
123
%% Cell type:code id: tags:
%% Cell type:code id: tags:
``` prob
``` prob
123 + 456
123 + 456
```
```
%% Output
%% Output
579
579
%% Cell type:code id: tags:
%% Cell type:code id: tags:
``` prob
``` prob
{1, 2} \/ {5, 6}
{1, 2} \/ {5, 6}
```
```
%% Output
%% Output
{1,2,5,6}
{1,2,5,6}
%% Cell type:code id: tags:
%% Cell type:code id: tags:
``` prob
``` prob
1..5
1..5
```
```
%% Output
%% Output
{1,2,3,4,5}
{1,2,3,4,5}
%% Cell type:code id: tags:
%% Cell type:code id: tags:
``` prob
``` prob
MAXINT
MAXINT
```
```
%% Output
%% Output
3
3
%% Cell type:markdown id: tags:
%% Cell type:markdown id: tags:
Solution variables are displayed.
Solution variables are displayed.
%% Cell type:code id: tags:
%% Cell type:code id: tags:
``` prob
``` prob
#xx.(xx : NAT1 & xx mod 3 = 0)
#xx.(xx : NAT1 & xx mod 3 = 0)
```
```
%% Output
%% Output
TRUE
TRUE
Solutions:
Solution:
xx = 3
xx = 3
%% Cell type:code id: tags:
%% Cell type:code id: tags:
``` prob
``` prob
#xx, yy.(xx > 2 & yy < 5 & xx < yy)
#xx, yy.(xx > 2 & yy < 5 & xx < yy)
```
```
%% Output
%% Output
TRUE
TRUE
Solutions:
Solution:
xx = 3
xx = 3
yy = 4
yy = 4
%% Cell type:markdown id: tags:
%% Cell type:markdown id: tags:
Various kinds of evaluation errors are displayed.
Various kinds of evaluation errors are displayed.
%% Cell type:code id: tags:
%% Cell type:code id: tags:
``` prob
``` prob
unknown
unknown
```
```
%% Output
%% Output
Computation not completed: Unknown identifier "unknown"
Computation not completed: Unknown identifier "unknown"
[2018-05-14 14:17:02,617, T+6204] "ProB Output Logger for instance e93f3d5" de.prob.cli.ProBInstance.readAndLog(ConsoleListener.java:48): [INFO] [31m[1m! A well-definedness error occured ![0m
[2018-05-14 14:17:02,618, T+6205] "ProB Output Logger for instance e93f3d5" de.prob.cli.ProBInstance.readAndLog(ConsoleListener.java:48): [INFO] [0m[31m[1m! mod not defined for negative numbers: 2 mod-1[0m
[2018-05-14 14:17:02,619, T+6206] "ProB Output Logger for instance e93f3d5" de.prob.cli.ProBInstance.readAndLog(ConsoleListener.java:48): [INFO] [0m[31m[1m! Line: 1 Column: 0 until 8[0m