z3-4.2.0: Bindings for the Z3 Theorem Prover

Copyright(c) Iago Abal 2012-2014
(c) David Castro 2012-2013
LicenseBSD3
MaintainerIago Abal <mail@iagoabal.eu>, David Castro <david.castro.dcp@gmail.com>
Safe HaskellSafe
LanguageHaskell98

Z3.Base.C

Contents

Description

Z3 API foreign imports.

Synopsis

Types

Create configuration

Create context

Symbols

Sorts

Constants and Applications

z3_mk_fresh_func_decl :: Ptr z3_context -> Z3_string -> CUInt -> Ptr (Ptr Z3_sort) -> Ptr Z3_sort -> IO (Ptr Z3_func_decl) Source #

Propositional Logic and Equality

Arithmetic: Integers and Reals

Bit-vectors

Arrays

Sets

Numerals

Quantifiers

z3_mk_forall :: Ptr Z3_context -> CUInt -> CUInt -> Ptr (Ptr Z3_pattern) -> CUInt -> Ptr (Ptr Z3_sort) -> Ptr (Ptr Z3_symbol) -> Ptr Z3_ast -> IO (Ptr Z3_ast) Source #

z3_mk_exists :: Ptr Z3_context -> CUInt -> CUInt -> Ptr (Ptr Z3_pattern) -> CUInt -> Ptr (Ptr Z3_sort) -> Ptr (Ptr Z3_symbol) -> Ptr Z3_ast -> IO (Ptr Z3_ast) Source #

Accessors

z3_get_app_num_args :: Ptr Z3_context -> Ptr Z3_app -> IO CUInt Source #

z3_get_app_arg :: Ptr Z3_context -> Ptr Z3_app -> CUInt -> IO (Ptr Z3_ast) Source #

Modifiers

AST vectors

Models

Constraints

Parameters

Interpolation

z3_read_interpolation_problem :: Ptr Z3_context -> Ptr CUInt -> Ptr (Ptr Z3_ast) -> Ptr (Ptr CUInt) -> Ptr CChar -> Ptr Z3_string -> Ptr CUInt -> Ptr (Ptr Z3_ast) -> IO Z3_bool Source #

z3_check_interpolant :: Ptr Z3_context -> CUInt -> Ptr (Ptr Z3_ast) -> Ptr CUInt -> Ptr (Ptr Z3_ast) -> Ptr Z3_string -> CUInt -> Ptr (Ptr Z3_ast) -> IO Z3_lbool Source #

z3_write_interpolation_problem :: Ptr Z3_context -> CUInt -> Ptr (Ptr Z3_ast) -> Ptr CUInt -> Ptr CChar -> CUInt -> Ptr (Ptr Z3_ast) -> IO () Source #

Tactics

Solvers

String Conversion

z3_benchmark_to_smtlib_string Source #

Arguments

:: Ptr Z3_context 
-> Z3_string

name

-> Z3_string

logic

-> Z3_string

status

-> Z3_string

attributes

-> CUInt

assumptions#

-> Ptr (Ptr Z3_ast)

assumptions

-> Ptr Z3_ast

formula

-> IO Z3_string 

Error Handling

Miscellaneous

z3_get_version :: Ptr CUInt -> Ptr CUInt -> Ptr CUInt -> Ptr CUInt -> IO () Source #