Copyright | (c) DFKI GmbH 2011 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Christian.Maeder@dfki.de |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
- data XPathPart
- data NodeName = NodeName {}
- readXPath :: Monad m => String -> m [XPathPart]
- readXPathComp :: Monad m => String -> m XPathPart
- isInternal :: NodeName -> Bool
- hasOpenConsStatus :: Bool -> ConsStatus -> Bool
- data DGNodeType = DGNodeType {
- isRefType :: Bool
- isProvenNode :: Bool
- isProvenCons :: Bool
- isInternalSpec :: Bool
- listDGNodeTypes :: [DGNodeType]
- data NodeMod = NodeMod {}
- unMod :: NodeMod
- delAxMod :: NodeMod
- delThMod :: NodeMod
- delSenMod :: NodeMod
- addSenMod :: NodeMod
- senMod :: NodeMod
- delSymMod :: NodeMod
- addSymMod :: NodeMod
- symMod :: NodeMod
- mergeNodeMod :: NodeMod -> NodeMod -> NodeMod
- newtype EdgeId = EdgeId {
- getEdgeNum :: Int
- incEdgeId :: EdgeId -> EdgeId
- startEdgeId :: EdgeId
- showEdgeId :: EdgeId -> String
- newtype ProofBasis = ProofBasis {
- proofBasis :: Set EdgeId
- data DGRule
- data ThmLinkStatus
- isProvenThmLinkStatus :: ThmLinkStatus -> Bool
- proofBasisOfThmLinkStatus :: ThmLinkStatus -> ProofBasis
- updProofBasisOfThmLinkStatus :: ThmLinkStatus -> ProofBasis -> ThmLinkStatus
- data Scope
- data LinkKind
- data FreeOrCofree
- fcList :: [FreeOrCofree]
- data ConsStatus = ConsStatus Conservativity Conservativity ThmLinkStatus
- isProvenConsStatusLink :: ConsStatus -> Bool
- mkConsStatus :: Conservativity -> ConsStatus
- getConsOfStatus :: ConsStatus -> Conservativity
- showConsStatus :: ConsStatus -> String
- getDGEdgeTypeName :: DGEdgeType -> String
- revertDGEdgeTypeName :: String -> DGEdgeType
- getDGEdgeTypeModIncName :: DGEdgeTypeModInc -> String
- data DGEdgeType = DGEdgeType {}
- data DGEdgeTypeModInc
- = GlobalDef
- | HetDef
- | HidingDef
- | LocalDef
- | FreeOrCofreeDef FreeOrCofree
- | ThmType { }
- data ThmTypes
- listDGEdgeTypes :: [DGEdgeType]
- isDefEdgeType :: DGEdgeType -> Bool
- data RTPointer
- mapRTNodes :: Map Int Int -> RTPointer -> RTPointer
- compPointer :: RTPointer -> RTPointer -> RTPointer
- refSource :: RTPointer -> Int
- data RTLeaves
- refTarget :: RTPointer -> RTLeaves
- emptyNodeName :: NodeName
- showExt :: NodeName -> String
- showName :: NodeName -> String
- makeRgName :: IRI -> Range -> NodeName
- makeName :: IRI -> NodeName
- setSrcRange :: Range -> NodeName -> NodeName
- parseNodeName :: String -> NodeName
- incBy :: Int -> NodeName -> NodeName
- inc :: NodeName -> NodeName
- extName :: String -> NodeName -> NodeName
- defaultEdgeId :: EdgeId
- emptyProofBasis :: ProofBasis
- nullProofBasis :: ProofBasis -> Bool
- addEdgeId :: ProofBasis -> EdgeId -> ProofBasis
- delEdgeId :: ProofBasis -> EdgeId -> ProofBasis
- updEdgeId :: ProofBasis -> EdgeId -> EdgeId -> ProofBasis
- edgeInProofBasis :: EdgeId -> ProofBasis -> Bool
- topsortedLibsWithImports :: Rel LibName -> [LibName]
- getMapAndMaxIndex :: Ord k => k -> (b -> Map k a) -> b -> (Map k a, k)
- liftOr :: (a -> Bool) -> (a -> Bool) -> a -> Bool
node label types
data XPathPart
data NodeName
name of a node in a DG; auxiliary nodes may have extension string and non-zero number (for these, names are usually hidden).
readXPathComp :: Monad m => String -> m XPathPart
isInternal :: NodeName -> Bool
hasOpenConsStatus :: Bool -> ConsStatus -> Bool
test if a conservativity is open, return input for None
data DGNodeType
DGNodeType | |
|
data NodeMod
node modifications
mergeNodeMod :: NodeMod -> NodeMod -> NodeMod
edge types
the first edge in a graph
showEdgeId :: EdgeId -> String
newtype ProofBasis
a set of used edges
data DGRule
Rules in the development graph calculus, Sect. IV:4.4 of the CASL Reference Manual explains them in depth
data ThmLinkStatus
proof status of a link
data LinkKind
data FreeOrCofree
fcList :: [FreeOrCofree]
data ConsStatus
required and proven conservativity (with a proof)
showConsStatus :: ConsStatus -> String
to be displayed as edge label
getDGEdgeTypeName :: DGEdgeType -> String
converts a DGEdgeType to a String
data DGEdgeType
data DGEdgeTypeModInc
data ThmTypes
listDGEdgeTypes :: [DGEdgeType]
Creates a list with all DGEdgeType types
isDefEdgeType :: DGEdgeType -> Bool
check an EdgeType and see if its a definition link
datatypes for storing the nodes of the ref tree in the global env
data RTPointer
compPointer :: RTPointer -> RTPointer -> RTPointer
data RTLeaves
for node names
makeRgName :: IRI -> Range -> NodeName
setSrcRange :: Range -> NodeName -> NodeName
parseNodeName :: String -> NodeName
handle edge numbers and proof bases
create a default ID which has to be changed when inserting a certain edge.
nullProofBasis :: ProofBasis -> Bool
addEdgeId :: ProofBasis -> EdgeId -> ProofBasis
delEdgeId :: ProofBasis -> EdgeId -> ProofBasis
updEdgeId :: ProofBasis -> EdgeId -> EdgeId -> ProofBasis
edgeInProofBasis :: EdgeId -> ProofBasis -> Bool
checks if the given edge is contained in the given proof basis..
utilities
topsortedLibsWithImports :: Rel LibName -> [LibName]
getMapAndMaxIndex :: Ord k => k -> (b -> Map k a) -> b -> (Map k a, k)