Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasdewally committed Oct 2, 2024
1 parent 8de744c commit 5dab83f
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 1 deletion.
8 changes: 8 additions & 0 deletions conjure_oxide/arithmetic/mul-add-distribute/input.eprime
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language ESSENCE' 1.0

find x,y,z: int(1..10)

such that
x * (y + z) = (x * y) + (x * z)


Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
language ESSENCE' 1.0

find x,y,z: int(2..100)

such that
x * ( y + z) = (x * y) + (x * z),
allDiff([x,y,z])
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language ESSENCE' 1.0

find s: int(1..9)
find e: int(1..9)
find n: int(1..9)
find d: int(1..9)
find m: int(1..9) $ m !=0
find o: int(1..9)
find r: int(1..9)
find y: int(1..9)

such that
(s * e * n * d) + (m * o * r * e) = m * o * n * e * y

2 changes: 1 addition & 1 deletion tools/test-summary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ echo ""
echo -e "$test, \033[0;33m$test , disabled \033[0m\n"
done
for test in $DISABLED_EPRIME_TESTS; do
echo -e "$ test, \033[0;33m$test , disabled \033[0m\n"
echo -e "$test, \033[0;33m$test , disabled \033[0m\n"
done
} | sort -k1 -t, | cut -d, -f 2,3 | column -t -s,

0 comments on commit 5dab83f

Please sign in to comment.