repositories
/
master.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ar finished
[master.git]
/
ar
/
assignment1
/
src
/
a3.bash
diff --git a/ar/assignment1/src/a3.bash
b/ar/assignment1/src/a3.bash
new file mode 100644
(file)
index 0000000..
0a21dee
--- /dev/null
+++ b/
ar/assignment1/src/a3.bash
@@ -0,0
+1,7
@@
+i=1
+while [ $(python3 a3.py $i | yices-smt) = "unsat" ]; do
+ echo "T=$i is still unsat"
+ i=$((i+1))
+done
+echo "T=$i is sat thus the minimum T=$i"
+python3 a3.py $i | yices-smt -m