CurryInfo: currycheck-4.0.0 / TheoremUsage.isProofFileNameFor

definition:
isProofFileNameFor :: QName -> String -> Bool
isProofFileNameFor (mn,prop) fname =
  let lfname = map toLower (dropExtension fname)
      lprop  = map toLower (mn ++ prop)
   in if "proof" `isPrefixOf` lfname
      then deleteNonAlphanNum (drop 5 lfname) == deleteNonAlphanNum lprop
      else False
demand:
argument 1
deterministic:
deterministic operation
documentation:
--- Is this the file name of a proof of property `prop`?
failfree:
(_, _)
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{({(,)},_) |-> _}
name:
isProofFileNameFor
precedence:
no precedence defined
result-values:
_
signature:
(String, String) -> String -> Prelude.Bool
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term