Uses of Interface
org.smtlib.IExpr.IKeyword
Packages that use IExpr.IKeyword
Package
Description
This package contains the main classes and abstract interfaces for this
SMT-LIB tool; the tool provides a stand-alone SMT-LIB-compliant command-line
application, an application that responds to SMT-LIB commands over a
network port, and an SMT-LIB Java API.
This package contains implementations of the SMT-LIB commands,
implementing the interfaces defined in ICommand;
these implementations are independent of the concrete syntax that might
be used, except that each command object has methods that can parse or print
representations of the command in the standard (or potentially other) concrete syntaxes.
This package is an implementation of the interfaces defined in org.smtlib.
This package is a concrete implementation of a particular concrete syntax for the abstract SMT-LIB semantics.
This package implements various instances of org.smtlib.ISolver, which are
specific solvers that wrap and interact with various off-the-shelf SMT solvers
currently available.
-
Uses of IExpr.IKeyword in org.smtlib
Fields in org.smtlib declared as IExpr.IKeywordModifier and TypeFieldDescriptionstatic final IExpr.IKeywordUtils.ALL_STATISTICSThe string designating an info itemstatic final IExpr.IKeywordUtils.ASSERTION_STACK_LEVELSThe string designating an info itemstatic final IExpr.IKeywordUtils.AUTHORSThe string designating an info itemstatic final IExpr.IKeywordUtils.ERROR_BEHAVIORThe string designating an info itemstatic final IExpr.IKeywordUtils.FUNSThe attribute tag for defining functions in a theorystatic final IExpr.IKeywordUtils.NAMEThe string designating an info itemprotected final IExpr.IKeywordAbstractSolver.printSuccessstatic final IExpr.IKeywordUtils.REASON_UNKNOWNThe string designating an info itemstatic final IExpr.IKeywordUtils.SMTLIB_VERSIONThe string designating the smtlib attribute within a logic or theorystatic final IExpr.IKeywordUtils.SORTSThe attribute tag for defining sorts in a theorystatic final IExpr.IKeywordUtils.STATUSThe string designating an info itemstatic final IExpr.IKeywordUtils.THEORIESThe attribute tag for defining theories in a logicstatic final IExpr.IKeywordUtils.VERSIONThe string designating an info itemFields in org.smtlib with type parameters of type IExpr.IKeywordModifier and TypeFieldDescriptionstatic final HashSet<IExpr.IKeyword> Utils.infoKeywordsstatic final HashSet<IExpr.IKeyword> Utils.setInfoKeywordsThe attributes the standard defines for set-info (any other is allowed, but not standard)Methods in org.smtlib that return IExpr.IKeywordModifier and TypeMethodDescriptionICommand.Iget_info.infoflag()Returns the info flag keyword being queried.ICommand.Iset_info.infoflag()Returns the info flag keyword.IExpr.IAttribute.keyword()Creates an IKeyword object from a canonical string representation.ICommand.Iget_option.option()Returns the option keyword being queried.ICommand.Iset_option.option()Returns the option keyword.IParser.parseKeyword()Parse an SMT-LIB keyword; return null and log an error response if there is no valid keywordMethods in org.smtlib that return types with arguments of type IExpr.IKeywordModifier and TypeMethodDescriptionILogic.attributes()The attributes of the logicITheory.attributes()The attributes (keyword-value pairs) of the theory.Methods in org.smtlib with parameters of type IExpr.IKeywordModifier and TypeMethodDescriptionIExpr.IFactory.attribute(IExpr.IKeyword k) Creates an attribute with just a keyword and no attribute value.<T extends IAttributeValue>
IExpr.IAttribute<T> IExpr.IFactory.attribute(IExpr.IKeyword k, T value) Creates an attribute with a keyword and a value.<T extends IAttributeValue>
IExpr.IAttributedExprIExpr.IFactory.attributedExpr(IExpr e, IExpr.IKeyword key, T value) Creates an attributed expression with just one attribute.AbstractSolver.checkPrintSuccess(SMT.Configuration smtConfig, IExpr.IKeyword key, IAttributeValue value) Answers a set-option of :print-success locally (it is never sent), else returns nullAbstractSolver.get_info(IExpr.IKeyword option) ICommand.IFactory.get_info(IExpr.IKeyword infoflag) Creates a get-info command object.ISolver.get_info(IExpr.IKeyword option) Returns the value of the named info item.AbstractSolver.get_option(IExpr.IKeyword option) ICommand.IFactory.get_option(IExpr.IKeyword option) Creates a get-option command object.ISolver.get_option(IExpr.IKeyword option) Returns the current value of the named option.static StringUtils.invalidSetInfoValue(IExpr.IKeyword key, IAttributeValue value) The reason value is not a valid value for the standard set-info attribute key, or null if it is valid or key is not a standard set-info attributeprotected static StringAbstractSolver.normalizeForTesting(String raw, IExpr.IKeyword infoflag) Replaces known sources of non-deterministic content in a raw solver response with a fixed placeholder, so that --testing runs produce byte-for-byte reproducible output across machines and repeated runs.AbstractSolver.set_info(IExpr.IKeyword key, IAttributeValue value) ICommand.IFactory.set_info(IExpr.IKeyword infoflag, IAttributeValue value) Creates a set-info command object.ISolver.set_info(IExpr.IKeyword key, IAttributeValue value) Annotates the problem with an info attribute (e.g.AbstractSolver.set_option(IExpr.IKeyword key, IAttributeValue value) ICommand.IFactory.set_option(IExpr.IKeyword option, IAttributeValue value) Creates a set-option command object.ISolver.set_option(IExpr.IKeyword option, IAttributeValue value) Sets an SMT-LIB option.protected IResponseAbstractSolver.set_option_impl(IExpr.IKeyword key, IAttributeValue value) Override in subclasses to handle solver-specific options.ILogic.value(IExpr.IKeyword keyword) The value of an attribute; returns null if the attribute does not exist for this logic.ITheory.value(IExpr.IKeyword keyword) The value of an attribute; returns null if the attribute does not exist for this theorydefault List<IAttributeValue> ITheory.values(IExpr.IKeyword keyword) All values for a given attribute keyword (handles multiple occurrences of the same keyword).IVisitor.TreeVisitor.visit(IExpr.IKeyword e) IVisitor.visit(IExpr.IKeyword e) TypeChecker.visit(IExpr.IKeyword e) -
Uses of IExpr.IKeyword in org.smtlib.command
Fields in org.smtlib.command declared as IExpr.IKeywordModifier and TypeFieldDescriptionprotected IExpr.IKeywordC_get_info.infoflagThe keyword for the info item to fetchprotected IExpr.IKeywordC_set_info.infoflagThe keyword info flagprotected IExpr.IKeywordC_get_option.optionThe keyword for the option to fetchprotected IExpr.IKeywordC_set_option.optionThe keyword for the option to setMethods in org.smtlib.command that return IExpr.IKeywordModifier and TypeMethodDescriptionC_get_info.infoflag()The keyword for the info item to fetchC_set_info.infoflag()C_get_option.option()The keyword for the option to fetchC_set_option.option()The keyword for the option to setMethods in org.smtlib.command with parameters of type IExpr.IKeywordModifier and TypeMethodDescriptionC_set_option.checkOptionType(SMT.Configuration smtConfig, IExpr.IKeyword keyword, IAttributeValue t) This method checks that the value for the given keyword has the correct type, when the keyword is used as the key for an SMT-LIB option.Constructors in org.smtlib.command with parameters of type IExpr.IKeywordModifierConstructorDescriptionC_get_info(IExpr.IKeyword infoflag) Constructs a command instance given the keywordC_get_option(IExpr.IKeyword keyword) Constructs a command instance for the given keywordC_set_info(IExpr.IKeyword keyword, IAttributeValue value) Construct an instance of the commandC_set_option(IExpr.IKeyword keyword, IAttributeValue value) Construct an instance of the command -
Uses of IExpr.IKeyword in org.smtlib.impl
Classes in org.smtlib.impl that implement IExpr.IKeywordModifier and TypeClassDescriptionstatic classThis class represents an SMT Keyword syntax tokenFields in org.smtlib.impl declared as IExpr.IKeywordFields in org.smtlib.impl with type parameters of type IExpr.IKeywordModifier and TypeFieldDescriptionprotected Map<IExpr.IKeyword, IExpr.IAttribute<?>> SMTExpr.Logic.attributesThe logic's attributes — last occurrence wins for duplicate keywordsprotected Map<IExpr.IKeyword, IExpr.IAttribute<?>> SMTExpr.Theory.attributesThe theory attributes — last occurrence wins for duplicate keywordsMethods in org.smtlib.impl that return IExpr.IKeywordMethods in org.smtlib.impl that return types with arguments of type IExpr.IKeywordModifier and TypeMethodDescriptionSMTExpr.Logic.attributes()The attributes, as a Map, keyed by the keyword in the attributeSMTExpr.Theory.attributes()The attributes, as a Map, keyed by the keyword in the attributeMethods in org.smtlib.impl with parameters of type IExpr.IKeywordModifier and TypeMethodDescriptionFactory.attribute(IExpr.IKeyword k) <T extends IAttributeValue>
IExpr.IAttribute<T> Factory.attribute(IExpr.IKeyword k, T value) <T extends IAttributeValue>
IExpr.IAttributedExprFactory.attributedExpr(IExpr e, IExpr.IKeyword key, T value) Factory.get_info(IExpr.IKeyword k) Factory.get_option(IExpr.IKeyword k) Factory.set_info(IExpr.IKeyword k, IAttributeValue v) Factory.set_option(IExpr.IKeyword k, IAttributeValue v) SMTExpr.Logic.value(IExpr.IKeyword keyword) The value of a given attributeSMTExpr.Theory.value(IExpr.IKeyword keyword) The value of a given attribute (last occurrence wins for duplicate keywords)SMTExpr.Theory.values(IExpr.IKeyword keyword) All values for a given attribute keyword, in source orderConstructors in org.smtlib.impl with parameters of type IExpr.IKeywordModifierConstructorDescriptionAttribute(IExpr.IKeyword keyword, TT value) Creates an attribute from the given keyword and (possibly null) value. -
Uses of IExpr.IKeyword in org.smtlib.sexpr
Methods in org.smtlib.sexpr with parameters of type IExpr.IKeywordModifier and TypeMethodDescriptionprotected IExpr.IAttribute<?> Parser.parseAttributeRest(IExpr.IKeyword keyword) Parses the (optional) value of an attribute whose keyword has already been parsed.Printer.visit(IExpr.IKeyword e) -
Uses of IExpr.IKeyword in org.smtlib.solvers
Methods in org.smtlib.solvers with parameters of type IExpr.IKeywordModifier and TypeMethodDescriptionSolver_bitwuzla.get_info(IExpr.IKeyword key) Answered entirely client-side (never forwarded -- see class comment point 1).Solver_simplify.get_info(IExpr.IKeyword key) Simplify has no get-info; answered hereSolver_test.get_info(IExpr.IKeyword key) Solver_yices2.get_info(IExpr.IKeyword key) yices2 answers get-info :status with the last set-info :status value, but with (error "no info for :status") when none was set; SMT-LIB requires unsupported for a flag the solver does not support.Solver_z3_4_3.get_info(IExpr.IKeyword key) Not a correction: this adapter sends commands by its own means, so it scrubs run-dependent values for testing itself, as AbstractSolver.get_info doesSolver_z3_recent.get_info(IExpr.IKeyword key) z3 reports a query stopped by its per-query time limit, -t:, with :reason-unknown "canceled" in incremental mode (after a push; checked with z3 4.16.0 and 5.1.0, while 4.8.12 and 4.12.6 give up first, as incomplete), and in every mode in 4.6 and 4.7; one-shot queries in newer versions, and other solvers such as cvc5, report "timeout".Solver_altergo.get_option(IExpr.IKeyword key) Alt-Ergo ignores get-option, writing nothing; answered from the values set (see set_option_impl) and the SMT-LIB defaultsSolver_bitwuzla.get_option(IExpr.IKeyword key) Answered entirely client-side (never forwarded -- see class comment point 1): from whatever this run has set viaSolver_bitwuzla.set_option_impl(org.smtlib.IExpr.IKeyword, org.smtlib.IAttributeValue), falling back to the standard SMT-LIB default for any option never set, and "unsupported" for anything not a recognized standard option at all (matching what a compliant solver would say about an option it doesn't have).Solver_cvc5.get_option(IExpr.IKeyword option) See the class Javadoc: wraps a bare-symbol answer for a string-typed option (Utils.stringOptions -- currently just :regular-output-channel and :diagnostic-output-channel) into a proper SMT-LIB string literal with the same text, working around cvc5 answering those two with an unquoted symbol instead.Solver_simplify.get_option(IExpr.IKeyword key) Simplify has no get-option; answered from the values kept by set_optionSolver_test.get_option(IExpr.IKeyword key) Solver_z3_4_3.get_option(IExpr.IKeyword key) Sent to the solver, except where z3 4.3's answer does not conform: it defaults :produce-models to true (SMT-LIB: false), writes the channel names unquoted, knows :produce-assertions only as :interactive-mode (see set_option_impl), and answers unsupported, not the default value, for a standard option it lacksSolver_simplify.set_info(IExpr.IKeyword key, IAttributeValue value) Solver_test.set_info(IExpr.IKeyword key, IAttributeValue value) Solver_simplify.set_option(IExpr.IKeyword option, IAttributeValue value) Simplify has no set-option; options are kept here, and the :produce- options answer unsupported since Simplify cannot produce models, proofs or coresSolver_test.set_option(IExpr.IKeyword key, IAttributeValue value) protected IResponseSolver_altergo.set_option_impl(IExpr.IKeyword key, IAttributeValue value) Sent to Alt-Ergo, and kept here for get_option when Alt-Ergo accepts itprotected IResponseSolver_bitwuzla.set_option_impl(IExpr.IKeyword key, IAttributeValue value) Sent to bitwuzla, and also kept here for get_option, which bitwuzla does not supportprotected IResponseSolver_cvc5.set_option_impl(IExpr.IKeyword key, IAttributeValue value) protected IResponseSolver_z3_4_3_2.set_option_impl(IExpr.IKeyword key, IAttributeValue value) Corrects a non-conformance of z3 4.3.2: set-option of an option it does not know answers an error,(error "line L column C: unknown parameter 'foo'\nLegal parameters are:\n ..."), which names the option and then lists every parameter of its module, one per line.protected IResponseSolver_z3_4_3.set_option_impl(IExpr.IKeyword key, IAttributeValue value) z3 4.3 accepts :interactive-mode, :produce-assertions and the other :produce- options after set-logic, which SMT-LIB forbids, so that is reported here; values are kept here for get_option.Solver_simplify.Translator.visit(IExpr.IKeyword e)