| author | wenzelm |
| Tue, 14 Feb 2012 20:09:35 +0100 | |
| changeset 46468 | 4db76d47b51a |
| parent 46403 | 3069344da626 |
| child 47055 | 16e2633f3b4b |
| permissions | -rwxr-xr-x |
|
37962
d7dbe01f48d7
keep track of clause numbers for SPASS now that we generate FOF rather than CNF problems;
blanchet
parents:
diff
changeset
|
1 |
#!/usr/bin/env bash |
|
d7dbe01f48d7
keep track of clause numbers for SPASS now that we generate FOF rather than CNF problems;
blanchet
parents:
diff
changeset
|
2 |
# |
|
d7dbe01f48d7
keep track of clause numbers for SPASS now that we generate FOF rather than CNF problems;
blanchet
parents:
diff
changeset
|
3 |
# Wrapper for SPASS that also outputs the Flotter-generated CNF (needed for |
|
d7dbe01f48d7
keep track of clause numbers for SPASS now that we generate FOF rather than CNF problems;
blanchet
parents:
diff
changeset
|
4 |
# Isar proof reconstruction) |
|
d7dbe01f48d7
keep track of clause numbers for SPASS now that we generate FOF rather than CNF problems;
blanchet
parents:
diff
changeset
|
5 |
# |
|
d7dbe01f48d7
keep track of clause numbers for SPASS now that we generate FOF rather than CNF problems;
blanchet
parents:
diff
changeset
|
6 |
# Author: Jasmin Blanchette, TU Muenchen |
|
d7dbe01f48d7
keep track of clause numbers for SPASS now that we generate FOF rather than CNF problems;
blanchet
parents:
diff
changeset
|
7 |
|
|
d7dbe01f48d7
keep track of clause numbers for SPASS now that we generate FOF rather than CNF problems;
blanchet
parents:
diff
changeset
|
8 |
options=${@:1:$(($#-1))}
|
|
d7dbe01f48d7
keep track of clause numbers for SPASS now that we generate FOF rather than CNF problems;
blanchet
parents:
diff
changeset
|
9 |
name=${@:$(($#)):1}
|
|
d7dbe01f48d7
keep track of clause numbers for SPASS now that we generate FOF rather than CNF problems;
blanchet
parents:
diff
changeset
|
10 |
|
| 46403 | 11 |
"$SPASS_HOME/SPASS" -Flotter "$name" \ |
|
37962
d7dbe01f48d7
keep track of clause numbers for SPASS now that we generate FOF rather than CNF problems;
blanchet
parents:
diff
changeset
|
12 |
| sed 's/description({$/description({*/' \
|
| 44391 | 13 |
| sed 's/set_ClauseFormulaRelation()\.//' \ |
|
45304
e6901aa86a9e
always use DFG format to talk to SPASS -- since that's what we'll need to use anyway to benefit from sorts and other extensions
blanchet
parents:
45302
diff
changeset
|
14 |
> $name.cnf |
|
e6901aa86a9e
always use DFG format to talk to SPASS -- since that's what we'll need to use anyway to benefit from sorts and other extensions
blanchet
parents:
45302
diff
changeset
|
15 |
cat $name.cnf |
| 46403 | 16 |
"$SPASS_HOME/SPASS" $options "$name.cnf" \ |
|
37990
586130f71c78
remove confusing line in SPASS output (because the axiom names are off -- bug in SPASS)
blanchet
parents:
37962
diff
changeset
|
17 |
| sed 's/\(Formulae used in the proof :\).*/\1 N\/A/' |
| 46403 | 18 |
rm -f "$name.cnf" |