forked from hezzel/cora
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathARGUMENTS
30 lines (25 loc) · 1.92 KB
/
ARGUMENTS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Todo: update the documentation to make it clear how to invoke Cora.
Current runtime arguments:
Cora should be given a single file, which represents a TRS following the documentation.
In addition, some of the following parameters may be supplied to indicate what Cora
should do. Supplying no parameters beyond the input file is the same as supplying
--terminate.
-p / --print: print the given TRS
-r <term> / --reduce <term>: parse the given term, and reduce it under the given TRS; no further parameters can be given after this, as they will be considered part of the term
-t / --terminate: try to prove or disprove termination
Additional commands affect Cora's execution:
-d <technique_1,...,technique_n> / --disable <technique_1,...,technique_n>: disable the given techniques from being used by Cora. Disableable techniques are:
* dp: the DP framework (for termination, non-termination and universal computability); if disabled, HORPO is used for termination proofs instead
* graph: the graph processor in the DP framework
* imap: the integer function processor in the DP framework
* reach: the reachability processor in the DP framework (when using public functions)
* split: the splitting processor in the DP framework
* subcrit: the subterm criterion processor in the DP framework
* tharg: the theory arguments processor in the DP framework
- s <solver> / --solver <solver>: request the given SMT solver to be used. Note that this solver should be preinstalled. Options are:
* z3: this invokes the command: z3 -in
* cvc5: this invokes the command: cvc
* yices2: this invokes the command: yices-smt2
* external:command: this allows a user to specify a command that is invoked -- for example, a bash script, that calls an SMT solver in exactly the way you want
(example use: CORA mybenchmark -s external:./smtsolver)
- y <style> / --style <style>: use the given style for printing; currently supported styles are "plain" and "unicode"