Copyright | (c) Eugen Kuksa University of Magdeburg 2017 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Eugen Kuksa <kuksa@iks.cs.ovgu.de> |
Stability | provisional |
Portability | non-portable (imports Logic) |
Safe Haskell | None |
Data structures representing TPTP signatures.
Documentation
type Sentence = Annotated_formula Source #
Symbol | |
|
Instances
data SymbolType Source #
Instances
Eq SymbolType Source # | |
Defined in TPTP.Sign (==) :: SymbolType -> SymbolType -> Bool (/=) :: SymbolType -> SymbolType -> Bool | |
Data SymbolType Source # | |
Defined in TPTP.Sign 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 # | |
Defined in TPTP.Sign compare :: SymbolType -> SymbolType -> Ordering (<) :: SymbolType -> SymbolType -> Bool (<=) :: SymbolType -> SymbolType -> Bool (>) :: SymbolType -> SymbolType -> Bool (>=) :: SymbolType -> SymbolType -> Bool max :: SymbolType -> SymbolType -> SymbolType min :: SymbolType -> SymbolType -> SymbolType | |
Show SymbolType Source # | |
Defined in TPTP.Sign showsPrec :: Int -> SymbolType -> ShowS show :: SymbolType -> String showList :: [SymbolType] -> ShowS | |
Generic SymbolType | |
Defined in TPTP.ATC_TPTP type Rep SymbolType :: Type -> Type from :: SymbolType -> Rep SymbolType x to :: Rep SymbolType x -> SymbolType | |
GetRange SymbolType Source # | |
FromJSON SymbolType | |
Defined in TPTP.ATC_TPTP parseJSON :: Value -> Parser SymbolType parseJSONList :: Value -> Parser [SymbolType] | |
ToJSON SymbolType | |
Defined in TPTP.ATC_TPTP toJSON :: SymbolType -> Value toEncoding :: SymbolType -> Encoding toJSONList :: [SymbolType] -> Value toEncodingList :: [SymbolType] -> Encoding | |
ShATermConvertible SymbolType | |
Defined in TPTP.ATC_TPTP 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 | |
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 ConstantSet = Set Constant Source #
type FunctorMap = Map TPTP_functor FunctorType Source #
type PropositionSet = Set Proposition Source #
type THFTypeDeclarationMap = Map THFTypeable THF_top_level_type Source #
type TFFTypeDeclarationMap = Map Untyped_atom TFF_top_level_type Source #
type FOFPredicateMap = Map Predicate (Set Int) Source #
type FOFFunctorMap = Map TPTP_functor (Set Int) Source #
type THFSubTypeMap = Map THF_atom THF_atom Source #
type TFFSubTypeMap = Map Untyped_atom Atom Source #
data THFTypeable Source #
Instances
Eq THFTypeable Source # | |
Defined in TPTP.Sign (==) :: THFTypeable -> THFTypeable -> Bool (/=) :: THFTypeable -> THFTypeable -> Bool | |
Data THFTypeable Source # | |
Defined in TPTP.Sign 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 # | |
Defined in TPTP.Sign compare :: THFTypeable -> THFTypeable -> Ordering (<) :: THFTypeable -> THFTypeable -> Bool (<=) :: THFTypeable -> THFTypeable -> Bool (>) :: THFTypeable -> THFTypeable -> Bool (>=) :: THFTypeable -> THFTypeable -> Bool max :: THFTypeable -> THFTypeable -> THFTypeable min :: THFTypeable -> THFTypeable -> THFTypeable | |
Show THFTypeable Source # | |
Defined in TPTP.Sign showsPrec :: Int -> THFTypeable -> ShowS show :: THFTypeable -> String showList :: [THFTypeable] -> ShowS | |
Generic THFTypeable | |
Defined in TPTP.ATC_TPTP type Rep THFTypeable :: Type -> Type from :: THFTypeable -> Rep THFTypeable x to :: Rep THFTypeable x -> THFTypeable | |
FromJSON THFTypeable | |
Defined in TPTP.ATC_TPTP parseJSON :: Value -> Parser THFTypeable parseJSONList :: Value -> Parser [THFTypeable] | |
ToJSON THFTypeable | |
Defined in TPTP.ATC_TPTP toJSON :: THFTypeable -> Value toEncoding :: THFTypeable -> Encoding toJSONList :: [THFTypeable] -> Value toEncodingList :: [THFTypeable] -> Encoding | |
ShATermConvertible THFTypeable | |
Defined in TPTP.ATC_TPTP 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 | |
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
Eq FunctorType Source # | |
Defined in TPTP.Sign (==) :: FunctorType -> FunctorType -> Bool (/=) :: FunctorType -> FunctorType -> Bool | |
Data FunctorType Source # | |
Defined in TPTP.Sign 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 # | |
Defined in TPTP.Sign compare :: FunctorType -> FunctorType -> Ordering (<) :: FunctorType -> FunctorType -> Bool (<=) :: FunctorType -> FunctorType -> Bool (>) :: FunctorType -> FunctorType -> Bool (>=) :: FunctorType -> FunctorType -> Bool max :: FunctorType -> FunctorType -> FunctorType min :: FunctorType -> FunctorType -> FunctorType | |
Show FunctorType Source # | |
Defined in TPTP.Sign showsPrec :: Int -> FunctorType -> ShowS show :: FunctorType -> String showList :: [FunctorType] -> ShowS | |
Generic FunctorType | |
Defined in TPTP.ATC_TPTP type Rep FunctorType :: Type -> Type from :: FunctorType -> Rep FunctorType x to :: Rep FunctorType x -> FunctorType | |
FromJSON FunctorType | |
Defined in TPTP.ATC_TPTP parseJSON :: Value -> Parser FunctorType parseJSONList :: Value -> Parser [FunctorType] | |
ToJSON FunctorType | |
Defined in TPTP.ATC_TPTP toJSON :: FunctorType -> Value toEncoding :: FunctorType -> Encoding toJSONList :: [FunctorType] -> Value toEncodingList :: [FunctorType] -> Encoding | |
ShATermConvertible FunctorType | |
Defined in TPTP.ATC_TPTP 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 | |
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
Eq PredicateType Source # | |
Defined in TPTP.Sign (==) :: PredicateType -> PredicateType -> Bool (/=) :: PredicateType -> PredicateType -> Bool | |
Data PredicateType Source # | |
Defined in TPTP.Sign 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 # | |
Defined in TPTP.Sign compare :: PredicateType -> PredicateType -> Ordering (<) :: PredicateType -> PredicateType -> Bool (<=) :: PredicateType -> PredicateType -> Bool (>) :: PredicateType -> PredicateType -> Bool (>=) :: PredicateType -> PredicateType -> Bool max :: PredicateType -> PredicateType -> PredicateType min :: PredicateType -> PredicateType -> PredicateType | |
Show PredicateType Source # | |
Defined in TPTP.Sign showsPrec :: Int -> PredicateType -> ShowS show :: PredicateType -> String showList :: [PredicateType] -> ShowS | |
Generic PredicateType | |
Defined in TPTP.ATC_TPTP type Rep PredicateType :: Type -> Type from :: PredicateType -> Rep PredicateType x to :: Rep PredicateType x -> PredicateType | |
FromJSON PredicateType | |
Defined in TPTP.ATC_TPTP parseJSON :: Value -> Parser PredicateType parseJSONList :: Value -> Parser [PredicateType] | |
ToJSON PredicateType | |
Defined in TPTP.ATC_TPTP toJSON :: PredicateType -> Value toEncoding :: PredicateType -> Encoding toJSONList :: [PredicateType] -> Value toEncodingList :: [PredicateType] -> Encoding | |
ShATermConvertible PredicateType | |
Defined in TPTP.ATC_TPTP 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 | |
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
Eq Type_functorType Source # | |
Defined in TPTP.Sign (==) :: Type_functorType -> Type_functorType -> Bool (/=) :: Type_functorType -> Type_functorType -> Bool | |
Data Type_functorType Source # | |
Defined in TPTP.Sign 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 # | |
Defined in TPTP.Sign compare :: Type_functorType -> Type_functorType -> Ordering (<) :: Type_functorType -> Type_functorType -> Bool (<=) :: Type_functorType -> Type_functorType -> Bool (>) :: Type_functorType -> Type_functorType -> Bool (>=) :: Type_functorType -> Type_functorType -> Bool max :: Type_functorType -> Type_functorType -> Type_functorType min :: Type_functorType -> Type_functorType -> Type_functorType | |
Show Type_functorType Source # | |
Defined in TPTP.Sign showsPrec :: Int -> Type_functorType -> ShowS show :: Type_functorType -> String showList :: [Type_functorType] -> ShowS | |
Generic Type_functorType | |
Defined in TPTP.ATC_TPTP type Rep Type_functorType :: Type -> Type from :: Type_functorType -> Rep Type_functorType x to :: Rep Type_functorType x -> Type_functorType | |
FromJSON Type_functorType | |
Defined in TPTP.ATC_TPTP parseJSON :: Value -> Parser Type_functorType parseJSONList :: Value -> Parser [Type_functorType] | |
ToJSON Type_functorType | |
Defined in TPTP.ATC_TPTP toJSON :: Type_functorType -> Value toEncoding :: Type_functorType -> Encoding toJSONList :: [Type_functorType] -> Value toEncodingList :: [Type_functorType] -> Encoding | |
ShATermConvertible Type_functorType | |
Defined in TPTP.ATC_TPTP 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 | |
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))) |
Instances
Eq Sign Source # | |
Data Sign Source # | |
Defined in TPTP.Sign 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 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 # | |
Show Sign Source # | |
Generic Sign | |
FromJSON Sign | |
Defined in TPTP.ATC_TPTP parseJSON :: Value -> Parser Sign parseJSONList :: Value -> Parser [Sign] | |
ToJSON Sign | |
Defined in TPTP.ATC_TPTP | |
ShATermConvertible Sign | |
Defined in TPTP.ATC_TPTP 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 # | |
ProjectSublogic Sublogic Sign Source # | |
Defined in TPTP.Logic_TPTP | |
ProjectSublogic Sublogic Morphism Source # | |
Defined in TPTP.Logic_TPTP | |
MinSublogic Sublogic Sign Source # | |
Defined in TPTP.Logic_TPTP minSublogic :: Sign -> Sublogic Source # | |
MinSublogic Sublogic Morphism Source # | |
Defined in TPTP.Logic_TPTP minSublogic :: Morphism -> Sublogic Source # | |
Sentences TPTP Sentence Sign Morphism Symbol Source # | |
Defined in TPTP.Logic_TPTP map_sen :: TPTP -> Morphism -> Sentence -> Result Sentence Source # simplify_sen :: TPTP -> Sign -> Sentence -> Sentence Source # negation :: TPTP -> Sentence -> Maybe Sentence Source # print_sign :: TPTP -> Sign -> Doc Source # print_named :: TPTP -> Named Sentence -> Doc Source # sym_of :: TPTP -> Sign -> [Set Symbol] Source # mostSymsOf :: TPTP -> Sign -> [Symbol] Source # symmap_of :: TPTP -> Morphism -> EndoMap Symbol Source # sym_name :: TPTP -> Symbol -> Id Source # sym_label :: TPTP -> Symbol -> Maybe String Source # fullSymName :: TPTP -> Symbol -> String Source # symKind :: TPTP -> Symbol -> String Source # symsOfSen :: TPTP -> Sign -> Sentence -> [Symbol] Source # pair_symbols :: TPTP -> Symbol -> Symbol -> Result Symbol Source # | |
StaticAnalysis TPTP BASIC_SPEC Sentence () () Sign Morphism Symbol () Source # | |
Defined in TPTP.Logic_TPTP 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 # | |
Defined in TPTP.Logic_TPTP 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 | |
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)))))) |
negateSentence :: Sentence -> Maybe Sentence Source #