Skip to content

Commit adfbab1

Browse files
committed
Update outputs of booster/test/rpc-integration/test-substitution
1 parent 5795b41 commit adfbab1

7 files changed

+89
-449
lines changed

booster/test/rpc-integration/test-substitutions/README.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,16 @@ NB: Booster applies the given substitution before performing any action.
3131
- with an additional constraint `Y = 1 +Int X` (internalised as a substitution)
3232
- leading to a contradictory constraint `X = 1 +Int X` after
3333
rewriting and adding `Y =Int X` from the `ensures`-clause
34-
- `kore-rpc-booster` returns `vacuous` after 1 step
35-
- `kore-rpc-dev` returns `vacuous` after 0 steps (detects the contradiction earlier)
36-
- `kore-rpc-dev` reproduces the exact input as `state` while
37-
`kore-rpc-booster` splits off `substitution` (from input) and `predicate` (from the rule)
34+
- `kore-rpc-booster` and `booster-dev` return `vacuous` after 0 step, substitution `Y` for `X +Int 1` in the state. However, `kore-rpc-booster` and `booster-dev` disagree a little on the value in the substitution, hence the two responses.
35+
- `kore-rpc-dev` returns `vacuous` after 0 steps and reproduces the exact input as `state`
36+
3837
* `state-circular-equations.execute`
3938
- starts from `concrete-subst`
4039
- with two equations that have circular dependencies: `Y = 1 +Int X`, `X = Y -Int 1`
4140
- leading to end state with `X == 42` from the `ensures`-clause
4241
* `state-symbolic-bottom-predicate.execute`
4342
- starts from `symbolic-subst`
4443
- with an equation that is instantly false: `X = 1 +Int X`
45-
- leading to a vacuous state in `kore-rpc-booster` after rewriting once,
44+
- leading to a vacuous state in `booster-dev` and `kore-rpc-booster`,
4645
- while `kore-rpc-dev` returns `stuck` instantly after 0 steps,
4746
returning the exact input as `state`.

booster/test/rpc-integration/test-substitutions/response-circular-equations.booster-dev

+7-55
Original file line numberDiff line numberDiff line change
@@ -225,61 +225,13 @@
225225
}
226226
},
227227
{
228-
"tag": "App",
229-
"name": "Lbl'UndsPlus'Int'Unds'",
230-
"sorts": [],
231-
"args": [
232-
{
233-
"tag": "App",
234-
"name": "Lbl'UndsPlus'Int'Unds'",
235-
"sorts": [],
236-
"args": [
237-
{
238-
"tag": "EVar",
239-
"name": "X",
240-
"sort": {
241-
"tag": "SortApp",
242-
"name": "SortInt",
243-
"args": []
244-
}
245-
},
246-
{
247-
"tag": "DV",
248-
"sort": {
249-
"tag": "SortApp",
250-
"name": "SortInt",
251-
"args": []
252-
},
253-
"value": "1"
254-
}
255-
]
256-
},
257-
{
258-
"tag": "App",
259-
"name": "Lbl'Unds'-Int'Unds'",
260-
"sorts": [],
261-
"args": [
262-
{
263-
"tag": "DV",
264-
"sort": {
265-
"tag": "SortApp",
266-
"name": "SortInt",
267-
"args": []
268-
},
269-
"value": "0"
270-
},
271-
{
272-
"tag": "DV",
273-
"sort": {
274-
"tag": "SortApp",
275-
"name": "SortInt",
276-
"args": []
277-
},
278-
"value": "1"
279-
}
280-
]
281-
}
282-
]
228+
"tag": "EVar",
229+
"name": "X",
230+
"sort": {
231+
"tag": "SortApp",
232+
"name": "SortInt",
233+
"args": []
234+
}
283235
}
284236
]
285237
}

booster/test/rpc-integration/test-substitutions/response-symbolic-bottom-predicate.booster-dev

-240
This file was deleted.

0 commit comments

Comments
 (0)