Hets - the Heterogeneous Tool Set

Copyright(c) Klaus Luettich, C. Maeder, Uni Bremen 2005
LicenseGPLv2 or higher, see LICENSE.txt
Maintainerluecke@informatik.uni-bremen.de
Stabilityprovisional
Portabilityportable
Safe HaskellNone

Common.ProofUtils

Description

Functions useful for all prover connections in Hets

Some were moved from Isabelle.Translate and some others from Isabelle.IsaProve.

Synopsis

Documentation

prepareSenNames :: (String -> String) -> [Named a] -> [Named a]

translate special characters in sentence names

disambiguateSens :: Set String -> [Named a] -> [Named a]

disambiguate sentence names

genericDisambigSens :: Int -> (a -> String) -> (String -> a -> a) -> Set String -> [a] -> [a]

generically disambiguate lists with names

nameSens :: [Named a] -> [Named a]

name unlabeled axioms with Axnnn

collectNameMapping :: [Named a] -> [Named a] -> Map String String

collect the mapping of new to old names

charMap :: Map Char String

a separate Map speeds up lookup