| Home | • | Docs | • | Download | • | • | FAQ | • | Awards | • | Status | • | MSR |
|---|
An Efficient SMT Solver
Public Member Functions | |
| Context (Config^config) | |
| Create a type safe version of a context. | |
| ~Context () | |
| Dispose method for type safe contexts. | |
| bool | TraceToFile (String^trace_file) |
| Enable trace messages to a file. | |
| void | TraceToStdErr () |
| Enable trace messages to a standard error. | |
| void | TraceToStdOut () |
| Enable trace messages to a standard out. | |
| void | TraceOff () |
| Disable trace messages. | |
| bool | OpenLog (String^filename) |
| Log assertions to a file. | |
| void | AppendLog (String^s) |
| Append instruction or comment to log with assertion. | |
| void | CloseLog () |
| Close file with logged assertions. | |
| void | EnableDebugTrace (String^tag) |
| Enable or disable warning messages sent to the console out/error. | |
| String | BenchmarkToSmtlib (String^name, String^logic, String^status, String^attributes, array< Term^>^assumptions, Term^formula) |
| Convert the given benchmark into SMT-LIB formatted string. | |
| Sort | MkDataType (String^name, array< Constructor^>^constructors) |
| create datatype sort. | |
| array< Sort^> | MkDataTypes (array< String^>^names, array< array< Constructor^>^>^constructors) |
| create datatype sort. | |
Symbols | |
| Symbol | MkSymbol (int i) |
| Symbol | MkSymbol (String^s) |
Constraints | |
| void | Push () |
| void | Pop (unsigned num_scopes) |
| void | Pop () |
| void | PersistTerm (Term^t, unsigned num_scopes) |
| LBool | Check () |
| LBool | CheckAndGetModel ([Runtime::InteropServices::Out] Model^%m) |
| LBool | CheckAssumptions ([Runtime::InteropServices::Out] Model^%m,[Runtime::InteropServices::In] array< Term^>^assumptions,[Runtime::InteropServices::Out] Term^%proof,[Runtime::InteropServices::Out] array< Term^>^%core) |
| LBool | GetImpliedEqualities ([Runtime::InteropServices::In] array< Term^>^terms,[Runtime::InteropServices::Out] array< unsigned >^%class_ids) |
| SearchFailureExplanation | GetSearchFailureExplanation () |
| LabeledLiterals | GetRelevantLabels () |
| LabeledLiterals | GetRelevantLiterals () |
| LabeledLiterals | GetGuessedLiterals () |
| void | BlockLiterals (LabeledLiterals^lbls) |
| Term | GetLiteral (LabeledLiterals^lbls, unsigned idx) |
| Term | Simplify (Term^a) |
| void | AssertCnstr (Term^a) |
Definition at line 2893 of file Microsoft.Z3.h.
Create a type safe version of a context.
Terms and models created using the type safe context are wrapped within objects. The object wrappers prevent confusing the IntPtr type used for terms, sorts and values with arbitrary instances.
Each method in Context is paired with a corresponding method in Context.
Definition at line 2995 of file Microsoft.Z3.h.
| ~Context | ( | ) | [inline] |
| void AppendLog | ( | String^ | s | ) | [inline] |
Append instruction or comment to log with assertion.
Definition at line 3049 of file Microsoft.Z3.h.
| String BenchmarkToSmtlib | ( | String^ | name, | |
| String^ | logic, | |||
| String^ | status, | |||
| String^ | attributes, | |||
| array< Term^>^ | assumptions, | |||
| Term^ | formula | |||
| ) |
Convert the given benchmark into SMT-LIB formatted string.
| void CloseLog | ( | ) | [inline] |
| void EnableDebugTrace | ( | String^ | tag | ) | [inline] |
Enable or disable warning messages sent to the console out/error.
Warnings are printed after passing true, warning messages are suppressed after calling this method with false.
Definition at line 3064 of file Microsoft.Z3.h.
| Sort MkDataType | ( | String^ | name, | |
| array< Constructor^>^ | constructors | |||
| ) | [inline] |
| array<Sort^> MkDataTypes | ( | array< String^>^ | names, | |
| array< array< Constructor^>^>^ | constructors | |||
| ) | [inline] |
| bool OpenLog | ( | String^ | filename | ) | [inline] |
Log assertions to a file.
true if the open succeeds, otherwise false.
Definition at line 3041 of file Microsoft.Z3.h.
Referenced by TestManaged::array_example2().
| void TraceOff | ( | ) | [inline] |
| bool TraceToFile | ( | String^ | trace_file | ) | [inline] |
Enable trace messages to a file.
Definition at line 3008 of file Microsoft.Z3.h.
| void TraceToStdErr | ( | ) | [inline] |
Enable trace messages to a standard error.
Definition at line 3016 of file Microsoft.Z3.h.
| void TraceToStdOut | ( | ) | [inline] |
Enable trace messages to a standard out.
Definition at line 3023 of file Microsoft.Z3.h.