Hets - the Heterogeneous Tool Set
Copyright(c) Eugen Kuksa University of Magdeburg 2017
LicenseGPLv2 or higher, see LICENSE.txt
MaintainerEugen Kuksa <kuksa@iks.cs.ovgu.de>
Stabilityprovisional
Portabilitynon-portable (imports Logic)
Safe HaskellNone

TPTP.Sign

Description

Data structures representing TPTP signatures.

Documentation

data Symbol Source #

Constructors

Symbol 

Instances

Instances details
Eq Symbol Source # 
Instance details

Defined in TPTP.Sign

Methods

(==) :: Symbol -> Symbol -> Bool

(/=) :: Symbol -> Symbol -> Bool

Data Symbol Source # 
Instance details

Defined in TPTP.Sign

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Symbol -> c Symbol

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Symbol

toConstr :: Symbol -> Constr

dataTypeOf :: Symbol -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Symbol)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Symbol)

gmapT :: (forall b. Data b => b -> b) -> Symbol -> Symbol

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Symbol -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Symbol -> r

gmapQ :: (forall d. Data d => d -> u) -> Symbol -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> Symbol -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Symbol -> m Symbol

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Symbol -> m Symbol

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Symbol -> m Symbol

Ord Symbol Source # 
Instance details

Defined in TPTP.Sign

Methods

compare :: Symbol -> Symbol -> Ordering

(<) :: Symbol -> Symbol -> Bool

(<=) :: Symbol -> Symbol -> Bool

(>) :: Symbol -> Symbol -> Bool

(>=) :: Symbol -> Symbol -> Bool

max :: Symbol -> Symbol -> Symbol

min :: Symbol -> Symbol -> Symbol

Show Symbol Source # 
Instance details

Defined in TPTP.Sign

Methods

showsPrec :: Int -> Symbol -> ShowS

show :: Symbol -> String

showList :: [Symbol] -> ShowS

Generic Symbol 
Instance details

Defined in TPTP.ATC_TPTP

Associated Types

type Rep Symbol :: Type -> Type

Methods

from :: Symbol -> Rep Symbol x

to :: Rep Symbol x -> Symbol

GetRange Symbol Source # 
Instance details

Defined in TPTP.Sign

FromJSON Symbol 
Instance details

Defined in TPTP.ATC_TPTP

Methods

parseJSON :: Value -> Parser Symbol

parseJSONList :: Value -> Parser [Symbol]

ToJSON Symbol 
Instance details

Defined in TPTP.ATC_TPTP

Methods

toJSON :: Symbol -> Value

toEncoding :: Symbol -> Encoding

toJSONList :: [Symbol] -> Value

toEncodingList :: [Symbol] -> Encoding

ShATermConvertible Symbol 
Instance details

Defined in TPTP.ATC_TPTP

Methods

toShATermAux :: ATermTable -> Symbol -> IO (ATermTable, Int)

toShATermList' :: ATermTable -> [Symbol] -> IO (ATermTable, Int)

fromShATermAux :: Int -> ATermTable -> (ATermTable, Symbol)

fromShATermList' :: Int -> ATermTable -> (ATermTable, [Symbol])

Pretty Symbol Source # 
Instance details

Defined in TPTP.Pretty

ProjectSublogicM Sublogic Symbol Source # 
Instance details

Defined in TPTP.Logic_TPTP

MinSublogic Sublogic Symbol Source # 
Instance details

Defined in TPTP.Logic_TPTP

Sentences TPTP Sentence Sign Morphism Symbol Source # 
Instance details

Defined in TPTP.Logic_TPTP

Syntax TPTP BASIC_SPEC Symbol () () Source # 
Instance details

Defined in TPTP.Logic_TPTP

StaticAnalysis TPTP BASIC_SPEC Sentence () () Sign Morphism Symbol () Source # 
Instance details

Defined in TPTP.Logic_TPTP

Methods

basic_analysis :: TPTP -> Maybe ((BASIC_SPEC, Sign, GlobalAnnos) -> Result (BASIC_SPEC, ExtSign Sign Symbol, [Named Sentence])) Source #

sen_analysis :: TPTP -> Maybe ((BASIC_SPEC, Sign, Sentence) -> Result Sentence) Source #

extBasicAnalysis :: TPTP -> IRI -> LibName -> BASIC_SPEC -> Sign -> GlobalAnnos -> Result (BASIC_SPEC, ExtSign Sign Symbol, [Named Sentence]) Source #

stat_symb_map_items :: TPTP -> Sign -> Maybe Sign -> [()] -> Result (EndoMap ()) Source #

stat_symb_items :: TPTP -> Sign -> [()] -> Result [()] Source #

convertTheory :: TPTP -> Maybe ((Sign, [Named Sentence]) -> BASIC_SPEC) Source #

ensures_amalgamability :: TPTP -> ([CASLAmalgOpt], Gr Sign (Int, Morphism), [(Int, Morphism)], Gr String String) -> Result Amalgamates Source #

quotient_term_algebra :: TPTP -> Morphism -> [Named Sentence] -> Result (Sign, [Named Sentence]) Source #

signature_colimit :: TPTP -> Gr Sign (Int, Morphism) -> Result (Sign, Map Int Morphism) Source #

qualify :: TPTP -> SIMPLE_ID -> LibName -> Morphism -> Sign -> Result (Morphism, [Named Sentence]) Source #

symbol_to_raw :: TPTP -> Symbol -> () Source #

id_to_raw :: TPTP -> Id -> () Source #

matches :: TPTP -> Symbol -> () -> Bool Source #

empty_signature :: TPTP -> Sign Source #

add_symb_to_sign :: TPTP -> Sign -> Symbol -> Result Sign Source #

signature_union :: TPTP -> Sign -> Sign -> Result Sign Source #

signatureDiff :: TPTP -> Sign -> Sign -> Result Sign Source #

intersection :: TPTP -> Sign -> Sign -> Result Sign Source #

final_union :: TPTP -> Sign -> Sign -> Result Sign Source #

morphism_union :: TPTP -> Morphism -> Morphism -> Result Morphism Source #

is_subsig :: TPTP -> Sign -> Sign -> Bool Source #

subsig_inclusion :: TPTP -> Sign -> Sign -> Result Morphism Source #

generated_sign :: TPTP -> Set Symbol -> Sign -> Result Morphism Source #

cogenerated_sign :: TPTP -> Set Symbol -> Sign -> Result Morphism Source #

induced_from_morphism :: TPTP -> EndoMap () -> Sign -> Result Morphism Source #

induced_from_to_morphism :: TPTP -> EndoMap () -> ExtSign Sign Symbol -> ExtSign Sign Symbol -> Result Morphism Source #

is_transportable :: TPTP -> Morphism -> Bool Source #

is_injective :: TPTP -> Morphism -> Bool Source #

theory_to_taxonomy :: TPTP -> TaxoGraphKind -> MMiSSOntology -> Sign -> [Named Sentence] -> Result MMiSSOntology Source #

corresp2th :: TPTP -> String -> Bool -> Sign -> Sign -> [()] -> [()] -> EndoMap Symbol -> EndoMap Symbol -> REL_REF -> Result (Sign, [Named Sentence], Sign, Sign, EndoMap Symbol, EndoMap Symbol) Source #

equiv2cospan :: TPTP -> Sign -> Sign -> [()] -> [()] -> Result (Sign, Sign, Sign, EndoMap Symbol, EndoMap Symbol) Source #

extract_module :: TPTP -> [IRI] -> (Sign, [Named Sentence]) -> Result (Sign, [Named Sentence]) Source #

Logic TPTP Sublogic BASIC_SPEC Sentence () () Sign Morphism Symbol () ProofTree Source # 
Instance details

Defined in TPTP.Logic_TPTP

Methods

parse_basic_sen :: TPTP -> Maybe (BASIC_SPEC -> AParser st Sentence) Source #

stability :: TPTP -> Stability Source #

data_logic :: TPTP -> Maybe AnyLogic Source #

top_sublogic :: TPTP -> Sublogic Source #

all_sublogics :: TPTP -> [Sublogic] Source #

bottomSublogic :: TPTP -> Maybe Sublogic Source #

sublogicDimensions :: TPTP -> [[Sublogic]] Source #

parseSublogic :: TPTP -> String -> Maybe Sublogic Source #

proj_sublogic_epsilon :: TPTP -> Sublogic -> Sign -> Morphism Source #

provers :: TPTP -> [Prover Sign Sentence Morphism Sublogic ProofTree] Source #

default_prover :: TPTP -> String Source #

cons_checkers :: TPTP -> [ConsChecker Sign Sentence Sublogic Morphism ProofTree] Source #

conservativityCheck :: TPTP -> [ConservativityChecker Sign Sentence Morphism] Source #

empty_proof_tree :: TPTP -> ProofTree Source #

syntaxTable :: TPTP -> Sign -> Maybe SyntaxTable Source #

omdoc_metatheory :: TPTP -> Maybe OMCD Source #

export_symToOmdoc :: TPTP -> NameMap Symbol -> Symbol -> String -> Result TCElement Source #

export_senToOmdoc :: TPTP -> NameMap Symbol -> Sentence -> Result TCorOMElement Source #

export_theoryToOmdoc :: TPTP -> SigMap Symbol -> Sign -> [Named Sentence] -> Result [TCElement] Source #

omdocToSym :: TPTP -> SigMapI Symbol -> TCElement -> String -> Result Symbol Source #

omdocToSen :: TPTP -> SigMapI Symbol -> TCElement -> String -> Result (Maybe (Named Sentence)) Source #

addOMadtToTheory :: TPTP -> SigMapI Symbol -> (Sign, [Named Sentence]) -> [[OmdADT]] -> Result (Sign, [Named Sentence]) Source #

addOmdocToTheory :: TPTP -> SigMapI Symbol -> (Sign, [Named Sentence]) -> [TCElement] -> Result (Sign, [Named Sentence]) Source #

sublogicOfTheo :: TPTP -> (Sign, [Sentence]) -> Sublogic Source #

type Rep Symbol 
Instance details

Defined in TPTP.ATC_TPTP

type Rep Symbol = D1 ('MetaData "Symbol" "TPTP.Sign" "main" 'False) (C1 ('MetaCons "Symbol" 'PrefixI 'True) (S1 ('MetaSel ('Just "symbolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Token) :*: S1 ('MetaSel ('Just "symbolType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SymbolType)))

data SymbolType Source #

Instances

Instances details
Eq SymbolType Source # 
Instance details

Defined in TPTP.Sign

Methods

(==) :: SymbolType -> SymbolType -> Bool

(/=) :: SymbolType -> SymbolType -> Bool

Data SymbolType Source # 
Instance details

Defined in TPTP.Sign

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SymbolType -> c SymbolType

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SymbolType

toConstr :: SymbolType -> Constr

dataTypeOf :: SymbolType -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SymbolType)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SymbolType)

gmapT :: (forall b. Data b => b -> b) -> SymbolType -> SymbolType

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SymbolType -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SymbolType -> r

gmapQ :: (forall d. Data d => d -> u) -> SymbolType -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> SymbolType -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SymbolType -> m SymbolType

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SymbolType -> m SymbolType

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SymbolType -> m SymbolType

Ord SymbolType Source # 
Instance details

Defined in TPTP.Sign

Show SymbolType Source # 
Instance details

Defined in TPTP.Sign

Methods

showsPrec :: Int -> SymbolType -> ShowS

show :: SymbolType -> String

showList :: [SymbolType] -> ShowS

Generic SymbolType 
Instance details

Defined in TPTP.ATC_TPTP

Associated Types

type Rep SymbolType :: Type -> Type

Methods

from :: SymbolType -> Rep SymbolType x

to :: Rep SymbolType x -> SymbolType

GetRange SymbolType Source # 
Instance details

Defined in TPTP.Sign

FromJSON SymbolType 
Instance details

Defined in TPTP.ATC_TPTP

Methods

parseJSON :: Value -> Parser SymbolType

parseJSONList :: Value -> Parser [SymbolType]

ToJSON SymbolType 
Instance details

Defined in TPTP.ATC_TPTP

Methods

toJSON :: SymbolType -> Value

toEncoding :: SymbolType -> Encoding

toJSONList :: [SymbolType] -> Value

toEncodingList :: [SymbolType] -> Encoding

ShATermConvertible SymbolType 
Instance details

Defined in TPTP.ATC_TPTP

Methods

toShATermAux :: ATermTable -> SymbolType -> IO (ATermTable, Int)

toShATermList' :: ATermTable -> [SymbolType] -> IO (ATermTable, Int)

fromShATermAux :: Int -> ATermTable -> (ATermTable, SymbolType)

fromShATermList' :: Int -> ATermTable -> (ATermTable, [SymbolType])

type Rep SymbolType 
Instance details

Defined in TPTP.ATC_TPTP

type Rep SymbolType = D1 ('MetaData "SymbolType" "TPTP.Sign" "main" 'False) ((C1 ('MetaCons "Constant" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Number" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Predicate" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Proposition" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Function" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TypeConstant" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TypeFunctor" 'PrefixI 'False) (U1 :: Type -> Type))))

symbolTypeS :: Symbol -> String Source #

type FOFPredicateMap = Map Predicate (Set Int) Source #

type FOFFunctorMap = Map TPTP_functor (Set Int) Source #

data THFTypeable Source #

Instances

Instances details
Eq THFTypeable Source # 
Instance details

Defined in TPTP.Sign

Methods

(==) :: THFTypeable -> THFTypeable -> Bool

(/=) :: THFTypeable -> THFTypeable -> Bool

Data THFTypeable Source # 
Instance details

Defined in TPTP.Sign

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> THFTypeable -> c THFTypeable

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c THFTypeable

toConstr :: THFTypeable -> Constr

dataTypeOf :: THFTypeable -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c THFTypeable)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c THFTypeable)

gmapT :: (forall b. Data b => b -> b) -> THFTypeable -> THFTypeable

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> THFTypeable -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> THFTypeable -> r

gmapQ :: (forall d. Data d => d -> u) -> THFTypeable -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> THFTypeable -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> THFTypeable -> m THFTypeable

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> THFTypeable -> m THFTypeable

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> THFTypeable -> m THFTypeable

Ord THFTypeable Source # 
Instance details

Defined in TPTP.Sign

Show THFTypeable Source # 
Instance details

Defined in TPTP.Sign

Methods

showsPrec :: Int -> THFTypeable -> ShowS

show :: THFTypeable -> String

showList :: [THFTypeable] -> ShowS

Generic THFTypeable 
Instance details

Defined in TPTP.ATC_TPTP

Associated Types

type Rep THFTypeable :: Type -> Type

Methods

from :: THFTypeable -> Rep THFTypeable x

to :: Rep THFTypeable x -> THFTypeable

FromJSON THFTypeable 
Instance details

Defined in TPTP.ATC_TPTP

Methods

parseJSON :: Value -> Parser THFTypeable

parseJSONList :: Value -> Parser [THFTypeable]

ToJSON THFTypeable 
Instance details

Defined in TPTP.ATC_TPTP

Methods

toJSON :: THFTypeable -> Value

toEncoding :: THFTypeable -> Encoding

toJSONList :: [THFTypeable] -> Value

toEncodingList :: [THFTypeable] -> Encoding

ShATermConvertible THFTypeable 
Instance details

Defined in TPTP.ATC_TPTP

Methods

toShATermAux :: ATermTable -> THFTypeable -> IO (ATermTable, Int)

toShATermList' :: ATermTable -> [THFTypeable] -> IO (ATermTable, Int)

fromShATermAux :: Int -> ATermTable -> (ATermTable, THFTypeable)

fromShATermList' :: Int -> ATermTable -> (ATermTable, [THFTypeable])

type Rep THFTypeable 
Instance details

Defined in TPTP.ATC_TPTP

type Rep THFTypeable = D1 ('MetaData "THFTypeable" "TPTP.Sign" "main" 'False) (C1 ('MetaCons "THFTypeFormula" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 THF_typeable_formula)) :+: C1 ('MetaCons "THFTypeConstant" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Constant)))

data FunctorType Source #

Instances

Instances details
Eq FunctorType Source # 
Instance details

Defined in TPTP.Sign

Methods

(==) :: FunctorType -> FunctorType -> Bool

(/=) :: FunctorType -> FunctorType -> Bool

Data FunctorType Source # 
Instance details

Defined in TPTP.Sign

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FunctorType -> c FunctorType

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FunctorType

toConstr :: FunctorType -> Constr

dataTypeOf :: FunctorType -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FunctorType)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FunctorType)

gmapT :: (forall b. Data b => b -> b) -> FunctorType -> FunctorType

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FunctorType -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FunctorType -> r

gmapQ :: (forall d. Data d => d -> u) -> FunctorType -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> FunctorType -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FunctorType -> m FunctorType

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FunctorType -> m FunctorType

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FunctorType -> m FunctorType

Ord FunctorType Source # 
Instance details

Defined in TPTP.Sign

Show FunctorType Source # 
Instance details

Defined in TPTP.Sign

Methods

showsPrec :: Int -> FunctorType -> ShowS

show :: FunctorType -> String

showList :: [FunctorType] -> ShowS

Generic FunctorType 
Instance details

Defined in TPTP.ATC_TPTP

Associated Types

type Rep FunctorType :: Type -> Type

Methods

from :: FunctorType -> Rep FunctorType x

to :: Rep FunctorType x -> FunctorType

FromJSON FunctorType 
Instance details

Defined in TPTP.ATC_TPTP

Methods

parseJSON :: Value -> Parser FunctorType

parseJSONList :: Value -> Parser [FunctorType]

ToJSON FunctorType 
Instance details

Defined in TPTP.ATC_TPTP

Methods

toJSON :: FunctorType -> Value

toEncoding :: FunctorType -> Encoding

toJSONList :: [FunctorType] -> Value

toEncodingList :: [FunctorType] -> Encoding

ShATermConvertible FunctorType 
Instance details

Defined in TPTP.ATC_TPTP

Methods

toShATermAux :: ATermTable -> FunctorType -> IO (ATermTable, Int)

toShATermList' :: ATermTable -> [FunctorType] -> IO (ATermTable, Int)

fromShATermAux :: Int -> ATermTable -> (ATermTable, FunctorType)

fromShATermList' :: Int -> ATermTable -> (ATermTable, [FunctorType])

type Rep FunctorType 
Instance details

Defined in TPTP.ATC_TPTP

type Rep FunctorType = D1 ('MetaData "FunctorType" "TPTP.Sign" "main" 'False) (C1 ('MetaCons "FunctorTHF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 THF_arguments)) :+: C1 ('MetaCons "FunctorFOF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FOF_arguments)))

data PredicateType Source #

Instances

Instances details
Eq PredicateType Source # 
Instance details

Defined in TPTP.Sign

Data PredicateType Source # 
Instance details

Defined in TPTP.Sign

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PredicateType -> c PredicateType

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PredicateType

toConstr :: PredicateType -> Constr

dataTypeOf :: PredicateType -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PredicateType)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PredicateType)

gmapT :: (forall b. Data b => b -> b) -> PredicateType -> PredicateType

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PredicateType -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PredicateType -> r

gmapQ :: (forall d. Data d => d -> u) -> PredicateType -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> PredicateType -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PredicateType -> m PredicateType

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PredicateType -> m PredicateType

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PredicateType -> m PredicateType

Ord PredicateType Source # 
Instance details

Defined in TPTP.Sign

Show PredicateType Source # 
Instance details

Defined in TPTP.Sign

Methods

showsPrec :: Int -> PredicateType -> ShowS

show :: PredicateType -> String

showList :: [PredicateType] -> ShowS

Generic PredicateType 
Instance details

Defined in TPTP.ATC_TPTP

Associated Types

type Rep PredicateType :: Type -> Type

FromJSON PredicateType 
Instance details

Defined in TPTP.ATC_TPTP

Methods

parseJSON :: Value -> Parser PredicateType

parseJSONList :: Value -> Parser [PredicateType]

ToJSON PredicateType 
Instance details

Defined in TPTP.ATC_TPTP

Methods

toJSON :: PredicateType -> Value

toEncoding :: PredicateType -> Encoding

toJSONList :: [PredicateType] -> Value

toEncodingList :: [PredicateType] -> Encoding

ShATermConvertible PredicateType 
Instance details

Defined in TPTP.ATC_TPTP

Methods

toShATermAux :: ATermTable -> PredicateType -> IO (ATermTable, Int)

toShATermList' :: ATermTable -> [PredicateType] -> IO (ATermTable, Int)

fromShATermAux :: Int -> ATermTable -> (ATermTable, PredicateType)

fromShATermList' :: Int -> ATermTable -> (ATermTable, [PredicateType])

type Rep PredicateType 
Instance details

Defined in TPTP.ATC_TPTP

type Rep PredicateType = D1 ('MetaData "PredicateType" "TPTP.Sign" "main" 'False) (C1 ('MetaCons "PredicateType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FOF_arguments)))

data Type_functorType Source #

Instances

Instances details
Eq Type_functorType Source # 
Instance details

Defined in TPTP.Sign

Data Type_functorType Source # 
Instance details

Defined in TPTP.Sign

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Type_functorType -> c Type_functorType

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Type_functorType

toConstr :: Type_functorType -> Constr

dataTypeOf :: Type_functorType -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Type_functorType)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Type_functorType)

gmapT :: (forall b. Data b => b -> b) -> Type_functorType -> Type_functorType

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Type_functorType -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Type_functorType -> r

gmapQ :: (forall d. Data d => d -> u) -> Type_functorType -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> Type_functorType -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Type_functorType -> m Type_functorType

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Type_functorType -> m Type_functorType

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Type_functorType -> m Type_functorType

Ord Type_functorType Source # 
Instance details

Defined in TPTP.Sign

Show Type_functorType Source # 
Instance details

Defined in TPTP.Sign

Methods

showsPrec :: Int -> Type_functorType -> ShowS

show :: Type_functorType -> String

showList :: [Type_functorType] -> ShowS

Generic Type_functorType 
Instance details

Defined in TPTP.ATC_TPTP

Associated Types

type Rep Type_functorType :: Type -> Type

FromJSON Type_functorType 
Instance details

Defined in TPTP.ATC_TPTP

Methods

parseJSON :: Value -> Parser Type_functorType

parseJSONList :: Value -> Parser [Type_functorType]

ToJSON Type_functorType 
Instance details

Defined in TPTP.ATC_TPTP

ShATermConvertible Type_functorType 
Instance details

Defined in TPTP.ATC_TPTP

Methods

toShATermAux :: ATermTable -> Type_functorType -> IO (ATermTable, Int)

toShATermList' :: ATermTable -> [Type_functorType] -> IO (ATermTable, Int)

fromShATermAux :: Int -> ATermTable -> (ATermTable, Type_functorType)

fromShATermList' :: Int -> ATermTable -> (ATermTable, [Type_functorType])

type Rep Type_functorType 
Instance details

Defined in TPTP.ATC_TPTP

type Rep Type_functorType = D1 ('MetaData "Type_functorType" "TPTP.Sign" "main" 'False) (C1 ('MetaCons "Type_functorType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TFF_type_arguments)))

data Sign Source #

Instances

Instances details
Eq Sign Source # 
Instance details

Defined in TPTP.Sign

Methods

(==) :: Sign -> Sign -> Bool

(/=) :: Sign -> Sign -> Bool

Data Sign Source # 
Instance details

Defined in TPTP.Sign

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Sign -> c Sign

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Sign

toConstr :: Sign -> Constr

dataTypeOf :: Sign -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Sign)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Sign)

gmapT :: (forall b. Data b => b -> b) -> Sign -> Sign

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Sign -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Sign -> r

gmapQ :: (forall d. Data d => d -> u) -> Sign -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> Sign -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Sign -> m Sign

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Sign -> m Sign

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Sign -> m Sign

Ord Sign Source # 
Instance details

Defined in TPTP.Sign

Methods

compare :: Sign -> Sign -> Ordering

(<) :: Sign -> Sign -> Bool

(<=) :: Sign -> Sign -> Bool

(>) :: Sign -> Sign -> Bool

(>=) :: Sign -> Sign -> Bool

max :: Sign -> Sign -> Sign

min :: Sign -> Sign -> Sign

Show Sign Source # 
Instance details

Defined in TPTP.Sign

Methods

showsPrec :: Int -> Sign -> ShowS

show :: Sign -> String

showList :: [Sign] -> ShowS

Generic Sign 
Instance details

Defined in TPTP.ATC_TPTP

Associated Types

type Rep Sign :: Type -> Type

Methods

from :: Sign -> Rep Sign x

to :: Rep Sign x -> Sign

FromJSON Sign 
Instance details

Defined in TPTP.ATC_TPTP

Methods

parseJSON :: Value -> Parser Sign

parseJSONList :: Value -> Parser [Sign]

ToJSON Sign 
Instance details

Defined in TPTP.ATC_TPTP

Methods

toJSON :: Sign -> Value

toEncoding :: Sign -> Encoding

toJSONList :: [Sign] -> Value

toEncodingList :: [Sign] -> Encoding

ShATermConvertible Sign 
Instance details

Defined in TPTP.ATC_TPTP

Methods

toShATermAux :: ATermTable -> Sign -> IO (ATermTable, Int)

toShATermList' :: ATermTable -> [Sign] -> IO (ATermTable, Int)

fromShATermAux :: Int -> ATermTable -> (ATermTable, Sign)

fromShATermList' :: Int -> ATermTable -> (ATermTable, [Sign])

Pretty Sign Source # 
Instance details

Defined in TPTP.Pretty

Methods

pretty :: Sign -> Doc Source #

pretties :: [Sign] -> Doc Source #

ProjectSublogic Sublogic Sign Source # 
Instance details

Defined in TPTP.Logic_TPTP

ProjectSublogic Sublogic Morphism Source # 
Instance details

Defined in TPTP.Logic_TPTP

MinSublogic Sublogic Sign Source # 
Instance details

Defined in TPTP.Logic_TPTP

MinSublogic Sublogic Morphism Source # 
Instance details

Defined in TPTP.Logic_TPTP

Sentences TPTP Sentence Sign Morphism Symbol Source # 
Instance details

Defined in TPTP.Logic_TPTP

StaticAnalysis TPTP BASIC_SPEC Sentence () () Sign Morphism Symbol () Source # 
Instance details

Defined in TPTP.Logic_TPTP

Methods

basic_analysis :: TPTP -> Maybe ((BASIC_SPEC, Sign, GlobalAnnos) -> Result (BASIC_SPEC, ExtSign Sign Symbol, [Named Sentence])) Source #

sen_analysis :: TPTP -> Maybe ((BASIC_SPEC, Sign, Sentence) -> Result Sentence) Source #

extBasicAnalysis :: TPTP -> IRI -> LibName -> BASIC_SPEC -> Sign -> GlobalAnnos -> Result (BASIC_SPEC, ExtSign Sign Symbol, [Named Sentence]) Source #

stat_symb_map_items :: TPTP -> Sign -> Maybe Sign -> [()] -> Result (EndoMap ()) Source #

stat_symb_items :: TPTP -> Sign -> [()] -> Result [()] Source #

convertTheory :: TPTP -> Maybe ((Sign, [Named Sentence]) -> BASIC_SPEC) Source #

ensures_amalgamability :: TPTP -> ([CASLAmalgOpt], Gr Sign (Int, Morphism), [(Int, Morphism)], Gr String String) -> Result Amalgamates Source #

quotient_term_algebra :: TPTP -> Morphism -> [Named Sentence] -> Result (Sign, [Named Sentence]) Source #

signature_colimit :: TPTP -> Gr Sign (Int, Morphism) -> Result (Sign, Map Int Morphism) Source #

qualify :: TPTP -> SIMPLE_ID -> LibName -> Morphism -> Sign -> Result (Morphism, [Named Sentence]) Source #

symbol_to_raw :: TPTP -> Symbol -> () Source #

id_to_raw :: TPTP -> Id -> () Source #

matches :: TPTP -> Symbol -> () -> Bool Source #

empty_signature :: TPTP -> Sign Source #

add_symb_to_sign :: TPTP -> Sign -> Symbol -> Result Sign Source #

signature_union :: TPTP -> Sign -> Sign -> Result Sign Source #

signatureDiff :: TPTP -> Sign -> Sign -> Result Sign Source #

intersection :: TPTP -> Sign -> Sign -> Result Sign Source #

final_union :: TPTP -> Sign -> Sign -> Result Sign Source #

morphism_union :: TPTP -> Morphism -> Morphism -> Result Morphism Source #

is_subsig :: TPTP -> Sign -> Sign -> Bool Source #

subsig_inclusion :: TPTP -> Sign -> Sign -> Result Morphism Source #

generated_sign :: TPTP -> Set Symbol -> Sign -> Result Morphism Source #

cogenerated_sign :: TPTP -> Set Symbol -> Sign -> Result Morphism Source #

induced_from_morphism :: TPTP -> EndoMap () -> Sign -> Result Morphism Source #

induced_from_to_morphism :: TPTP -> EndoMap () -> ExtSign Sign Symbol -> ExtSign Sign Symbol -> Result Morphism Source #

is_transportable :: TPTP -> Morphism -> Bool Source #

is_injective :: TPTP -> Morphism -> Bool Source #

theory_to_taxonomy :: TPTP -> TaxoGraphKind -> MMiSSOntology -> Sign -> [Named Sentence] -> Result MMiSSOntology Source #

corresp2th :: TPTP -> String -> Bool -> Sign -> Sign -> [()] -> [()] -> EndoMap Symbol -> EndoMap Symbol -> REL_REF -> Result (Sign, [Named Sentence], Sign, Sign, EndoMap Symbol, EndoMap Symbol) Source #

equiv2cospan :: TPTP -> Sign -> Sign -> [()] -> [()] -> Result (Sign, Sign, Sign, EndoMap Symbol, EndoMap Symbol) Source #

extract_module :: TPTP -> [IRI] -> (Sign, [Named Sentence]) -> Result (Sign, [Named Sentence]) Source #

Logic TPTP Sublogic BASIC_SPEC Sentence () () Sign Morphism Symbol () ProofTree Source # 
Instance details

Defined in TPTP.Logic_TPTP

Methods

parse_basic_sen :: TPTP -> Maybe (BASIC_SPEC -> AParser st Sentence) Source #

stability :: TPTP -> Stability Source #

data_logic :: TPTP -> Maybe AnyLogic Source #

top_sublogic :: TPTP -> Sublogic Source #

all_sublogics :: TPTP -> [Sublogic] Source #

bottomSublogic :: TPTP -> Maybe Sublogic Source #

sublogicDimensions :: TPTP -> [[Sublogic]] Source #

parseSublogic :: TPTP -> String -> Maybe Sublogic Source #

proj_sublogic_epsilon :: TPTP -> Sublogic -> Sign -> Morphism Source #

provers :: TPTP -> [Prover Sign Sentence Morphism Sublogic ProofTree] Source #

default_prover :: TPTP -> String Source #

cons_checkers :: TPTP -> [ConsChecker Sign Sentence Sublogic Morphism ProofTree] Source #

conservativityCheck :: TPTP -> [ConservativityChecker Sign Sentence Morphism] Source #

empty_proof_tree :: TPTP -> ProofTree Source #

syntaxTable :: TPTP -> Sign -> Maybe SyntaxTable Source #

omdoc_metatheory :: TPTP -> Maybe OMCD Source #

export_symToOmdoc :: TPTP -> NameMap Symbol -> Symbol -> String -> Result TCElement Source #

export_senToOmdoc :: TPTP -> NameMap Symbol -> Sentence -> Result TCorOMElement Source #

export_theoryToOmdoc :: TPTP -> SigMap Symbol -> Sign -> [Named Sentence] -> Result [TCElement] Source #

omdocToSym :: TPTP -> SigMapI Symbol -> TCElement -> String -> Result Symbol Source #

omdocToSen :: TPTP -> SigMapI Symbol -> TCElement -> String -> Result (Maybe (Named Sentence)) Source #

addOMadtToTheory :: TPTP -> SigMapI Symbol -> (Sign, [Named Sentence]) -> [[OmdADT]] -> Result (Sign, [Named Sentence]) Source #

addOmdocToTheory :: TPTP -> SigMapI Symbol -> (Sign, [Named Sentence]) -> [TCElement] -> Result (Sign, [Named Sentence]) Source #

sublogicOfTheo :: TPTP -> (Sign, [Sentence]) -> Sublogic Source #

type Rep Sign 
Instance details

Defined in TPTP.ATC_TPTP

type Rep Sign = D1 ('MetaData "Sign" "TPTP.Sign" "main" 'False) (C1 ('MetaCons "Sign" 'PrefixI 'True) (((S1 ('MetaSel ('Just "constantSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ConstantSet) :*: (S1 ('MetaSel ('Just "numberSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NumberSet) :*: S1 ('MetaSel ('Just "propositionSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PropositionSet))) :*: ((S1 ('MetaSel ('Just "thfSubtypeMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 THFSubTypeMap) :*: S1 ('MetaSel ('Just "tffSubtypeMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TFFSubTypeMap)) :*: (S1 ('MetaSel ('Just "thfPredicateMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 THFPredicateMap) :*: S1 ('MetaSel ('Just "tffPredicateMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TFFPredicateMap)))) :*: (((S1 ('MetaSel ('Just "fofPredicateMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FOFPredicateMap) :*: S1 ('MetaSel ('Just "fofFunctorMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FOFFunctorMap)) :*: (S1 ('MetaSel ('Just "thfTypeConstantMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 THFTypeConstantMap) :*: S1 ('MetaSel ('Just "tffTypeConstantMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TFFTypeConstantMap))) :*: ((S1 ('MetaSel ('Just "thfTypeFunctorMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 THFTypeFunctorMap) :*: S1 ('MetaSel ('Just "tffTypeFunctorMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TFFTypeFunctorMap)) :*: (S1 ('MetaSel ('Just "thfTypeDeclarationMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 THFTypeDeclarationMap) :*: S1 ('MetaSel ('Just "tffTypeDeclarationMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TFFTypeDeclarationMap))))))