Skip to content

Commit

Permalink
add broken complex partial evaluator test (arithmetic, nesting, min)
Browse files Browse the repository at this point in the history
Add more complex test case for the partial evaluator. This currently
never terminates, so has been disabled.
  • Loading branch information
niklasdewally committed Oct 12, 2024
1 parent 89a7310 commit c2b7460
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
language ESSENCE' 1.0


$ nesting, sumleqs, and mins

find x,y,z : int(1..5)
find a: bool

such that
20 + x + 5 + y + min([(z + y),(y + x),(z + x + 5),50]) <= 40,
a = allDiff([x,y,z]),

$ narrow down solutions a bit
y <= z,
x <= y

0 comments on commit c2b7460

Please sign in to comment.