-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added 'min' and 'max' to front-end language (#844)
- Loading branch information
1 parent
f6cf551
commit dad64ba
Showing
12 changed files
with
949 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
vehicle/tests/golden/compile/simple-minmax/Marabou.err.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[93m | ||
Warning: In property 'p', at least one of the generated queries were found to contain a strict inequality (i.e. constraints of the form 'x < y'). Unfortunately the Marabou query format only supports non-strict inequalities (i.e. constraints of the form 'x <= y'). | ||
|
||
In order to provide support, Vehicle has automatically converted the strict inequalities to non-strict inequalites. This is not sound, but errors will be at most the floating point epsilon used by the verifier, which is usually very small (e.g. 1e-9). However, this may lead to unexpected behaviour (e.g. loss of the law of excluded middle). | ||
|
||
See https://github.com/vehicle-lang/vehicle/issues/74 for further details. | ||
|
||
|
||
Warning: In property 'p', the following network input variables do not always have both a lower and a upper bound. This is not currently supported by the Marabou query format. | ||
In queries 1, 2, 3 and 4: | ||
f₀[input]!0 - no lower or upper bound | ||
[m |
7 changes: 7 additions & 0 deletions
7
vehicle/tests/golden/compile/simple-minmax/Marabou.queries/p-query1.txt.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// WARNING: This file was generated automatically by Vehicle | ||
// and should not be modified manually! | ||
// Metadata: | ||
// - Marabou query format version: unknown | ||
// - Vehicle version: 0.14.1+dev | ||
+y0 -y1 <= 0.0 | ||
y0 <= 0.0 |
7 changes: 7 additions & 0 deletions
7
vehicle/tests/golden/compile/simple-minmax/Marabou.queries/p-query2.txt.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// WARNING: This file was generated automatically by Vehicle | ||
// and should not be modified manually! | ||
// Metadata: | ||
// - Marabou query format version: unknown | ||
// - Vehicle version: 0.14.1+dev | ||
-y0 +y1 <= 0.0 | ||
y1 <= 0.0 |
7 changes: 7 additions & 0 deletions
7
vehicle/tests/golden/compile/simple-minmax/Marabou.queries/p-query3.txt.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// WARNING: This file was generated automatically by Vehicle | ||
// and should not be modified manually! | ||
// Metadata: | ||
// - Marabou query format version: unknown | ||
// - Vehicle version: 0.14.1+dev | ||
-y0 +y1 <= 0.0 | ||
y0 >= 1.0 |
7 changes: 7 additions & 0 deletions
7
vehicle/tests/golden/compile/simple-minmax/Marabou.queries/p-query4.txt.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// WARNING: This file was generated automatically by Vehicle | ||
// and should not be modified manually! | ||
// Metadata: | ||
// - Marabou query format version: unknown | ||
// - Vehicle version: 0.14.1+dev | ||
+y0 -y1 <= 0.0 | ||
y1 >= 1.0 |
Oops, something went wrong.