atp-0.1.0.0: Interface to automated theorem provers
Copyright(c) Evgenii Kotelnikov 2019-2021
LicenseGPL-3
Maintainerevgeny.kotelnikov@gmail.com
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

ATP.Prover

Description

Models of automated theorem provers.

Synopsis

Documentation

data Vendor Source #

The implementation of a theorem prover, supported by atp.

Constructors

E 
Vampire 

Instances

Instances details
Bounded Vendor Source # 
Instance details

Defined in ATP.Prover

Enum Vendor Source # 
Instance details

Defined in ATP.Prover

Eq Vendor Source # 
Instance details

Defined in ATP.Prover

Methods

(==) :: Vendor -> Vendor -> Bool #

(/=) :: Vendor -> Vendor -> Bool #

Ord Vendor Source # 
Instance details

Defined in ATP.Prover

Show Vendor Source # 
Instance details

Defined in ATP.Prover

data Prover Source #

The automated theorem prover.

Constructors

Prover 

Instances

Instances details
Eq Prover Source # 
Instance details

Defined in ATP.Prover

Methods

(==) :: Prover -> Prover -> Bool #

(/=) :: Prover -> Prover -> Bool #

Ord Prover Source # 
Instance details

Defined in ATP.Prover

Show Prover Source # 
Instance details

Defined in ATP.Prover

type TimeLimit = Int Source #

The time limit allocated to the prover, in seconds.

type MemoryLimit = Int Source #

The memory limit allocated to the prover, in Mb.

proverArguments :: Vendor -> TimeLimit -> MemoryLimit -> [String] Source #

Build the list of command line arguments for the given prover.

proverOutput Source #

Arguments

:: Vendor 
-> ExitCode 
-> Text

Standard out

-> Text

Standard error

-> Partial Text 

Interpret the output of the theorem prover from its exit code and the contents of the returned stdout and stderr.

vampire :: Prover Source #

The Vampire theorem prover.

eprover :: Prover Source #

The E theorem prover.

defaultProver :: Prover Source #

The default prover used by refute and prove.

>>> defaultProver
Prover {vendor = E, executable = "eprover"}