definition: |
rnmTerm :: (SMT.Ident -> SMT.Ident) -> SMT.Term -> SMT.Term rnmTerm rnm term = case term of SMT.TConst _ -> term SMT.TComb f args -> SMT.TComb (rnmQId rnm f) (map (rnmTerm rnm) args) SMT.Forall svs arg -> SMT.Forall svs (rnmTerm rnm arg) SMT.Exists svs arg -> SMT.Forall svs (rnmTerm rnm arg) SMT.Let bs e -> SMT.Let (map (\ (v,s) -> (v, rnmTerm rnm s)) bs) (rnmTerm rnm e) SMT.Match e ps -> SMT.Match (rnmTerm rnm e) (map (\(p,t) -> (p, rnmTerm rnm t)) ps) SMT.Annot e as -> SMT.Annot (rnmTerm rnm e) as |
demand: |
argument 2 |
deterministic: |
deterministic operation |
failfree: |
(_, _) |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_,{TConst}) |-> {TConst} || (_,{TComb}) |-> {TComb} || (_,{Forall}) |-> {Forall} || (_,{Exists}) |-> {Forall} || (_,{Let}) |-> {Let} || (_,{Match}) |-> {Match} || (_,{Annot}) |-> {Annot}} |
name: |
rnmTerm |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
(String -> String) -> Language.SMTLIB.Types.Term -> Language.SMTLIB.Types.Term |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
reducible on all ground data terms |