z3-0.3.2: Bindings for the Z3 Theorem Prover

Copyright(c) Iago Abal, 2012 (c) David Castro, 2012
LicenseBSD3
MaintainerIago Abal <iago.abal@gmail.com>, David Castro <david.castro.dcp@gmail.com>
Safe HaskellNone
LanguageHaskell98

Z3.Lang.Nat

Description

Deprecated: The Z3.Lang interface will be moved to a dedicated package.

Synopsis

Documentation

data Nat Source

This type allows to reason about natural numbers.

Naturals are just integers plus a (>= 0) invariant, and we ensure that this invariant is always preserved by transparently adding new assertions to the context.

Note that arithmetic on naturals must result in natural numbers, otherwise the problem becomes unsatisfiable.