Documentation

Cvc.Option

Cvc5 options. #

(De)activates non-clausal simplification.

  • none : SimpMode

    Do not perform non-clausal simplification.

  • batch : SimpMode

    Save up all assertions; run non-clausal simplification and clausal (MiniSat) propagation for all of them only after reaching a querying command (checkSat or query or predicate subtype declaration).

Instances For

    Mode for producing model cores.

    • none : ModelCoresMode

      Do not compute model cores.

    • simple : ModelCoresMode

      Only include a subset of variales whose values are sufficient to show the input formula is satsified by the given model.

    • nonImplied : ModelCoresMode

      Only include a subset of variables whose values, in addition to the values of variables whose values are implied, are sufficient to show the input formula is satisfied by the given model.

    Instances For

      Proof modes.

      • off : ProofMode

        Do not produce proofs.

      • ppOnly : ProofMode

        Only produce proofs for preprocessing.

      • satProof : ProofMode

        Produce proofs for preprocessing and for the SAT solver.

      • fullProof : ProofMode

        Produce full proofs of preprocessing, SAT and theory lemmas.

      • fullProofStrict : ProofMode

        Produce full proofs of preprocessing, SAT and theory lemmas.

        Additionally disable techniques that will lead to incomplete proofs.

      Instances For

        Unsat core modes.

        • off : UnsatCoresMode

          Do not produce unsat cores.

        • satProof : UnsatCoresMode

          Produce unsat cores from the SAT proof and preprocessing proofs.

        • assumptions : UnsatCoresMode

          Produce unsat cores using solving under assumptions and preprocessing proofs.

        Instances For

          Extended rewriter preprocessing pass modes.

          • off : ExtRewPrepMode

            Do not use extended rewriter as a preprocessing pass.

          • use : ExtRewPrepMode

            Use extended rewriter as a preprocessing pass.

          • agg : ExtRewPrepMode

            Use aggressive extended rewriter as a preprocessing pass.

          Instances For

            Interpolants grammar mode.

            • default : InterpolantsMode

              Use the default grammar for the theory or the user-defined grammar if given.

            • assumptions : InterpolantsMode

              Use only operators that occur in the assumptions.

            • conjecture : InterpolantsMode

              Use only operators that occur in the conjecture.

            • shared : InterpolantsMode

              Use only operators that occur both in the assumptions and the conjecture.

            • all : InterpolantsMode

              Use only operators that occur either in the assumptions or the conjecture.

            Instances For

              Difficulty output modes.

              • lemmaLiteral : DifficultyMode

                Difficulty of an assertion is how many lemmas (at full effort) use a literal that the assertion depends on to be satisfied.

              • lemmaLiteralAll : DifficultyMode

                Difficulty of an assertion is how many lemmas use a literal that the assertion depends on to be satisfied.

              • modelCheck : DifficultyMode

                Difficulty of an assertion is how many times it was not satisfied in a candidate model.

              Instances For
                • produceModels (active : Bool) : Common

                  Support the getValue and getModel commands, default false.

                • checkModels (active : Bool) : Common

                  After sat/invalid/unknown, check that the generated model satisfies user assertions, default false.

                Instances For
                  Equations
                  Instances For
                    • ackermann (active : Bool) : Regular

                      Eliminate functions by ackermannization, default false.

                    • simpMode (mode : SimpMode) : Regular

                      Simplification mode, default SimpMode.batch.

                    • staticLearning (active : Bool) : Regular

                      Use static learning, default true.

                    • learnedRewrite (active : Bool) : Regular

                      Rewrite the input based on learned literals, default false.

                    • modelCoresMode (mode : ModelCoresMode) : Regular

                      Model cores modes, default ModelCoresMode.none.

                    • produceLearnedLiterals (active : Bool) : Regular

                      Produce learned literals, support getLearnedLiterals, default false.

                    • produceProofs (active : Bool) : Regular

                      Produce proofs, support checkProofs and getProof, default false.

                    • checkProofs (active : Bool) : Regular

                      After unsat/invalid, check the generated proof (with proof), default false.

                    • produceUnsatCores (active : Bool) : Regular

                      Turn on unsat core generation, default false.

                      Unless otherwise specified, cores will be produced using SAT solving under assumptions and preprocessing proofs.

                    • printCoresFull (active : Bool) : Regular

                      Print all formulas regardless of whether they are named, e.g. in unsat cores, default false.

                    • checkUnsatCores (active : Bool) : Regular

                      After unsat/valid, produce and check an unsat core (expensive), default false.

                    • produceUnsatAssumptions (active : Bool) : Regular

                      Turn on unsat assumptions generation, default false.

                    • produceDifficulty (active : Bool) : Regular

                      Enable tracking of difficulty, default false.

                    • checkSynthSol (active : Bool) : Regular

                      Checks whether produced solutions to functions-to-synthesize satisfy the conjecture, default false.

                    • produceAssignments (active : Bool) : Regular

                      Support the getAssignment command, default false.

                    • produceAssertions (active : Bool) : Regular

                      Keep an assertions list, default true.

                      Note that this option is always enabled.

                    • extRewPrep (mode : ExtRewPrepMode) : Regular

                      Extended rewriter preprocessing pass modes, default ExtRewPrepMode.off.

                    • unconstrainedSimp (active : Bool) : Regular

                      Turn on unconstrained simplification, see Bruttomesso/Brummayer PhD thesis.

                      Fully supported only in (subsets of) the logic QF_ABV.

                    • sortInference (active : Bool) : Regular

                      Calculate sort inference of input problem, convert the input based on monotonic sorts.

                    • produceInterpolants (active : Bool) : Regular

                      Turn on interpolation generation.

                    • interpolantsMode (mode : InterpolantsMode) : Regular

                      Interpolants grammar mode.

                    Instances For
                      Equations
                      Instances For
                        • simpBoolConstProp (active : Bool) : Expert

                          Apply boolean constant propagation as a substitution during simplification, default false.

                        • debugCheckModels (active : Bool) : Expert

                          After sat/invalid/unknown, check that the generated model satisfies user and internal assertions, default false.

                        • modelVarElimUneval (active : Bool) : Expert

                          Allow variable elimination based on unevaluatable terms to variables, default true.

                        • proofMode (mode : ProofMode) : Expert

                          Proof mode, default ProofMode.off.

                        • unsatCoresMode (mode : UnsatCoresMode) : Expert

                          Unsat cores mode, default UnsatCoresMode.off.

                        • minimalUnsatCores (active : Bool) : Expert

                          If an unsat core is produced, it is reduced to a minimal unsat core, default false.

                        • difficultyMode (mode : DifficultyMode) : Expert

                          Difficulty mode, default DifficultyMode.lemmaLiteralAll.

                        • doIteSimp (active : Bool) : Expert

                          Turn on if-then-else simplification, default false.

                          See Kim (and Somenzi) et al., SAT 2009.

                        • doIteSimpOnRepeat (active : Bool) : Expert

                          Do the if-then-else simplification pass again if repeating simplification, default false.

                        • simplifyWithCareEnabled (active : Bool) : Expert

                          Enables simplify-with-care in if-then-else simplification.

                        • compressItes (active : Bool) : Expert

                          Enables compressing if-then-else-s after if-then-else simplification.

                        • earlyIteRemoval (active : Bool) : Expert

                          Remove if-then-else-s early in preprocessing.

                        • repeatSimp (active : Bool) : Expert

                          Make multiple passes with nonclausal simplifier.

                        • abstractValues (active : Bool) : Expert

                          In models, output arrays using abstract values, as required by the SMT-LIB standard.

                          This may support more than arrays in the future.

                        Instances For
                          inductive Cvc.Option :
                          Instances For

                            Support the getValue and getModel commands, default false.

                            Equations
                            Instances For

                              Produce proofs, support checkProofs and getProof, default false.

                              Equations
                              Instances For

                                Turn on unsat core generation, default false.

                                Unless otherwise specified, cores will be produced using SAT solving under assumptions and preprocessing proofs.

                                Equations
                                Instances For

                                  Turn on interpolation generation.

                                  Equations
                                  Instances For

                                    Support the getAssignment command, default false.

                                    Equations
                                    Instances For

                                      Keep an assertions list, default true.

                                      Note that this option is always enabled.

                                      Equations
                                      Instances For