minor interface improvements, compliance fixes
[cvc5.git] / src / smt / options
1 #
2 # Option specification file for CVC4
3 # See src/options/base_options for a description of this file format
4 #
5
6 module SMT "smt/options.h" SMT layer
7
8 common-option - --dump=MODE argument :handler CVC4::smt::dumpMode :handler-include "smt/options_handlers.h"
9 dump preprocessed assertions, etc., see --dump=help
10 common-option - --dump-to=FILE argument :handler CVC4::smt::dumpToFile :handler-include "smt/options_handlers.h"
11 all dumping goes to FILE (instead of stdout)
12
13 option simplificationMode simplification-mode --simplification=MODE SimplificationMode :handler CVC4::smt::stringToSimplificationMode :default SIMPLIFICATION_MODE_BATCH :read-write :include "smt/simplification_mode.h" :handler-include "smt/options_handlers.h"
14 choose simplification mode, see --simplification=help
15 alias --no-simplification = --simplification=none
16 turn off all simplification (same as --simplification=none)
17
18 option doStaticLearning static-learning /--no-static-learning bool :default true
19 use static learning (on by default)
20 /turn off static learning (e.g. diamond-breaking)
21
22 option expandDefinitions expand-definitions bool :default false
23 always expand symbol definitions in output
24 common-option produceModels produce-models -m --produce-models bool :default false :predicate CVC4::smt::beforeSearch :predicate-include "smt/smt_engine.h"
25 support the get-value and get-model commands
26 option checkModels check-models --check-models bool :predicate CVC4::smt::beforeSearch :predicate-include "smt/options_handlers.h"
27 after SAT/INVALID, double-check that the generated model satisfies all user assertions
28 common-option proof produce-proofs --proof bool :default false :predicate CVC4::smt::proofEnabledBuild CVC4::smt::beforeSearch :predicate-include "smt/options_handlers.h"
29 turn on proof generation
30 # this is just a placeholder for later; it doesn't show up in command-line options listings
31 common-option unsatCores produce-unsat-cores bool :predicate CVC4::smt::unsatCoresEnabledBuild CVC4::smt::beforeSearch :predicate-include "smt/options_handlers.h"
32 turn on unsat core generation (NOT YET SUPPORTED)
33 common-option produceAssignments produce-assignments --produce-assignments bool :default false :predicate CVC4::smt::beforeSearch :predicate-include "smt/options_handlers.h"
34 support the get-assignment command
35 option modelFormatMode --model-format=MODE ModelFormatMode :handler CVC4::smt::stringToModelFormatMode :default MODEL_FORMAT_MODE_DEFAULT :read-write :include "smt/model_format_mode.h" :handler-include "smt/options_handlers.h"
36 print format mode for models, see --model-format=help
37
38 # This could go in src/main/options, but by SMT-LIBv2 spec, "interactive"
39 # is a mode in which the assertion list must be kept. So it belongs here.
40 common-option interactive interactive-mode --interactive bool :read-write
41 force interactive mode
42
43 option doITESimp --ite-simp bool :read-write
44 turn on ite simplification (Kim (and Somenzi) et al., SAT 2009)
45 /turn off ite simplification (Kim (and Somenzi) et al., SAT 2009)
46
47 option unconstrainedSimp --unconstrained-simp bool :default false :read-write
48 turn on unconstrained simplification (see Bruttomesso/Brummayer PhD thesis)
49 /turn off unconstrained simplification (see Bruttomesso/Brummayer PhD thesis)
50
51 option repeatSimp --repeat-simp bool :read-write
52 make multiple passes with nonclausal simplifier
53 /do not make multiple passes with nonclausal simplifier
54
55 common-option incrementalSolving incremental -i --incremental bool
56 enable incremental solving
57
58 option - regular-output-channel argument :handler CVC4::smt::setRegularOutputChannel :handler-include "smt/options_handlers.h"
59 set the regular output channel of the solver
60 option - diagnostic-output-channel argument :handler CVC4::smt::setDiagnosticOutputChannel :handler-include "smt/options_handlers.h"
61 set the diagnostic output channel of the solver
62
63 common-option cumulativeMillisecondLimit --tlimit=MS "unsigned long"
64 enable time limiting (give milliseconds)
65 common-option perCallMillisecondLimit --tlimit-per=MS "unsigned long"
66 enable time limiting per query (give milliseconds)
67 common-option cumulativeResourceLimit --rlimit=N "unsigned long"
68 enable resource limiting
69 common-option perCallResourceLimit --rlimit-per=N "unsigned long"
70 enable resource limiting per query
71
72 option replayFilename --replay=FILE std::string :handler CVC4::smt::checkReplayFilename :handler-include "smt/options_handlers.h"
73 replay decisions from file
74 option replayLog --replay-log=FILE std::ostream* :handler CVC4::smt::checkReplayLogFilename :handler-include "smt/options_handlers.h"
75 log decisions and propagations to file
76 option replayStream ExprStream*
77
78 # portfolio options
79 option lemmaInputChannel LemmaInputChannel* :default NULL :include "util/lemma_input_channel.h"
80 The input channel to receive notfication events for new lemmas
81 option lemmaOutputChannel LemmaOutputChannel* :default NULL :include "util/lemma_output_channel.h"
82 The output channel to receive notfication events for new lemmas
83
84 endmodule