hsmt-0.1.0.0: hsmt.cabal
cabal-version: 3.0
name: hsmt
version: 0.1.0.0
synopsis: An SMT solver written in Haskell with a type-safe API
description:
hsmt is an SMT solver implemented in Haskell. It offers a type-safe
embedded API, a CDCL(T) core and decision procedures for integers,
strings, arrays, bit-vectors, records and floating point, and an
SMT-LIB 2.6 front end. See "HSMT.Tutorial" for a tutorial.
license: BSD-3-Clause
license-file: LICENSE
author: rodrigogribeiro
maintainer: rodrigo.ribeiro@ufop.edu.br
copyright: (c) 2026 rodrigogribeiro
homepage: https://github.com/rodrigogribeiro/hsmt
bug-reports: https://github.com/rodrigogribeiro/hsmt/issues
category: Language, Logic
build-type: Simple
tested-with: GHC == 9.10.3
extra-doc-files:
CHANGELOG.md
README.md
extra-source-files:
test/regressions/*.smt2
bench/smtlib/**/*.smt2
source-repository head
type: git
location: https://github.com/rodrigogribeiro/hsmt.git
common common
default-language: GHC2021
default-extensions:
DataKinds
LambdaCase
OverloadedStrings
ghc-options:
-Wall -Wcompat -Wincomplete-uni-patterns
-Wincomplete-record-updates -Wredundant-constraints
build-depends:
base ^>=4.20,
containers >=0.6 && <0.8,
text >=2.0 && <2.2
library
import: common
hs-source-dirs: src
exposed-modules:
HSMT
HSMT.Tutorial
HSMT.API.Sort
HSMT.API.Expr
HSMT.API.Monad
HSMT.API.Model
HSMT.Core.Sort
HSMT.Core.Op
HSMT.Core.Expr
HSMT.Core.Typing
HSMT.Core.Term
HSMT.Core.Value
HSMT.Core.Float
HSMT.Core.Regex
HSMT.Core.Eval
HSMT.SMT.Engine
HSMT.Backend
HSMT.Backend.External
HSMT.Theory.EUF
HSMT.Theory.Arith
HSMT.Theory.Arith.Simplex
HSMT.Theory.BitBlast
HSMT.Theory.FloatBlast
HSMT.SAT.Types
HSMT.SAT.Solver
HSMT.SAT.Dimacs
HSMT.SMTLib.Syntax
HSMT.SMTLib.Printer
HSMT.SMTLib.Parser
HSMT.SMTLib.Run
HSMT.Util.GrowVec
other-modules:
Paths_hsmt
autogen-modules:
Paths_hsmt
build-depends:
filepath >=1.4 && <1.6,
mtl ^>=2.3,
process >=1.6 && <1.7,
vector >=0.13 && <0.14
executable hsmt
import: common
main-is: Main.hs
hs-source-dirs: app
other-modules: Paths_hsmt
autogen-modules: Paths_hsmt
build-depends: hsmt
ghc-options: -rtsopts
test-suite hsmt-test
import: common
type: exitcode-stdio-1.0
hs-source-dirs: test test-common
main-is: Main.hs
other-modules:
HSMT.SATSpec
HSMT.EvalSpec
HSMT.APISpec
HSMT.EUFSpec
HSMT.LIASpec
HSMT.ArraySpec
HSMT.RecordSpec
HSMT.StringSpec
HSMT.RegexSpec
HSMT.FloatSpec
HSMT.BVSpec
HSMT.SMTLibSpec
HSMT.TutorialSpec
HSMT.IncrementalSpec
HSMT.RegressionSpec
HSMT.Gen.Expr
HSMT.Benchmarks
build-depends:
hsmt,
directory >=1.3 && <1.4,
filepath >=1.4 && <1.6,
tasty >=1.4 && <1.6,
tasty-hunit >=0.10 && <0.11,
tasty-quickcheck >=0.10 && <0.12,
QuickCheck >=2.14 && <2.17
ghc-options: -threaded -rtsopts
-- Differential tests against Z3; skipped when z3 is not available.
test-suite hsmt-diff
import: common
type: exitcode-stdio-1.0
hs-source-dirs: test-diff test-common
main-is: Main.hs
other-modules:
Differential.Z3
Differential.Oracle
HSMT.Gen.Expr
build-depends:
hsmt,
directory >=1.3 && <1.4,
filepath >=1.4 && <1.6,
process >=1.6 && <1.7,
tasty >=1.4 && <1.6,
tasty-quickcheck >=0.10 && <0.12,
QuickCheck >=2.14 && <2.17
ghc-options: -threaded -rtsopts
-- Runs the SMT-LIB benchmarks in bench/smtlib with hsmt and, when it is
-- available, with Z3, comparing answers and times.
benchmark hsmt-bench
import: common
type: exitcode-stdio-1.0
hs-source-dirs: bench test-common
main-is: Main.hs
other-modules:
HSMT.Benchmarks
build-depends:
hsmt,
directory >=1.3 && <1.4,
filepath >=1.4 && <1.6,
process >=1.6 && <1.7
ghc-options: -threaded -rtsopts