272.36/246.22 MAYBE 274.45/246.90 proof of /export/starexec/sandbox/benchmark/theBenchmark.hs 274.45/246.90 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 274.45/246.90 274.45/246.90 274.45/246.90 H-Termination with start terms of the given HASKELL could not be shown: 274.45/246.90 274.45/246.90 (0) HASKELL 274.45/246.90 (1) LR [EQUIVALENT, 0 ms] 274.45/246.90 (2) HASKELL 274.45/246.90 (3) CR [EQUIVALENT, 0 ms] 274.45/246.90 (4) HASKELL 274.45/246.90 (5) IFR [EQUIVALENT, 0 ms] 274.45/246.90 (6) HASKELL 274.45/246.90 (7) BR [EQUIVALENT, 0 ms] 274.45/246.90 (8) HASKELL 274.45/246.90 (9) COR [EQUIVALENT, 0 ms] 274.45/246.90 (10) HASKELL 274.45/246.90 (11) LetRed [EQUIVALENT, 0 ms] 274.45/246.90 (12) HASKELL 274.45/246.90 (13) NumRed [SOUND, 33 ms] 274.45/246.90 (14) HASKELL 274.45/246.90 274.45/246.90 274.45/246.90 ---------------------------------------- 274.45/246.90 274.45/246.90 (0) 274.45/246.90 Obligation: 274.45/246.90 mainModule Main 274.45/246.90 module Main where { 274.45/246.90 import qualified Prelude; 274.45/246.90 } 274.45/246.90 274.45/246.90 ---------------------------------------- 274.45/246.90 274.45/246.90 (1) LR (EQUIVALENT) 274.45/246.90 Lambda Reductions: 274.45/246.90 The following Lambda expression 274.45/246.90 "\_->q" 274.45/246.90 is transformed to 274.45/246.90 "gtGt0 q _ = q; 274.45/246.90 " 274.45/246.90 The following Lambda expression 274.45/246.90 "\ab->(a,b)" 274.45/246.90 is transformed to 274.45/246.90 "zip0 a b = (a,b); 274.45/246.90 " 274.45/246.90 274.45/246.90 ---------------------------------------- 274.45/246.90 274.45/246.90 (2) 274.45/246.90 Obligation: 274.45/246.90 mainModule Main 274.45/246.90 module Main where { 274.45/246.90 import qualified Prelude; 274.45/246.90 } 274.45/246.90 274.45/246.90 ---------------------------------------- 274.45/246.90 274.45/246.90 (3) CR (EQUIVALENT) 274.45/246.90 Case Reductions: 274.45/246.90 The following Case expression 274.45/246.90 "case loc of { 274.45/246.90 [] -> id; 274.45/246.90 _ -> (showString ('\10' : 'A' : 'c' : 't' : 'i' : 'o' : 'n' : ':' : '\32' : [])) . showString loc} 274.45/246.90 " 274.45/246.90 is transformed to 274.45/246.90 "showsPrec0 loc [] = id; 274.45/246.90 showsPrec0 loc _ = (showString ('\10' : 'A' : 'c' : 't' : 'i' : 'o' : 'n' : ':' : '\32' : [])) . showString loc; 274.45/246.90 " 274.45/246.90 The following Case expression 274.45/246.90 "case descr of { 274.45/246.90 [] -> id; 274.45/246.90 _ -> (showString ('\10' : 'R' : 'e' : 'a' : 's' : 'o' : 'n' : ':' : '\32' : [])) . showString descr} 274.45/246.90 " 274.45/246.90 is transformed to 274.45/246.90 "showsPrec1 descr [] = id; 274.45/246.90 showsPrec1 descr _ = (showString ('\10' : 'R' : 'e' : 'a' : 's' : 'o' : 'n' : ':' : '\32' : [])) . showString descr; 274.45/246.90 " 274.45/246.90 The following Case expression 274.45/246.90 "case mbFile of { 274.45/246.90 Nothing -> id; 274.45/246.90 Just name -> (showString ('\10' : 'R' : 'e' : 's' : 'o' : 'u' : 'r' : 'c' : 'e' : ':' : '\32' : [])) . showString name} 274.45/246.90 " 274.45/246.90 is transformed to 274.45/246.90 "showsPrec2 Nothing = id; 274.45/246.90 showsPrec2 (Just name) = (showString ('\10' : 'R' : 'e' : 's' : 'o' : 'u' : 'r' : 'c' : 'e' : ':' : '\32' : [])) . showString name; 274.45/246.90 " 274.45/246.90 The following Case expression 274.45/246.90 "case x of { 274.45/246.90 IOError_UserError -> 'U' : 'E' : []; 274.45/246.90 IOError_IllegalError -> 'I' : 'O' : []; 274.45/246.90 IOError_PermDenied -> 'P' : 'D' : []; 274.45/246.90 IOError_AlreadyExists -> 'A' : 'E' : []; 274.45/246.90 IOError_AlreadyInUse -> 'R' : 'B' : []; 274.45/246.90 IOError_DoesNotExist -> 'D' : 'N' : 'E' : []; 274.45/246.90 IOError_FullError -> 'R' : 'E' : []; 274.45/246.90 IOError_EOF -> 'E' : 'O' : 'F' : []; 274.45/246.90 IOError_WriteError -> 'W' : 'E' : []} 274.45/246.90 " 274.45/246.90 is transformed to 274.45/246.90 "show0 IOError_UserError = 'U' : 'E' : []; 274.45/246.90 show0 IOError_IllegalError = 'I' : 'O' : []; 274.45/246.90 show0 IOError_PermDenied = 'P' : 'D' : []; 274.45/246.90 show0 IOError_AlreadyExists = 'A' : 'E' : []; 274.45/246.90 show0 IOError_AlreadyInUse = 'R' : 'B' : []; 274.45/246.90 show0 IOError_DoesNotExist = 'D' : 'N' : 'E' : []; 274.45/246.90 show0 IOError_FullError = 'R' : 'E' : []; 274.45/246.90 show0 IOError_EOF = 'E' : 'O' : 'F' : []; 274.45/246.90 show0 IOError_WriteError = 'W' : 'E' : []; 274.45/246.90 " 274.45/246.90 274.45/246.90 ---------------------------------------- 274.45/246.90 274.45/246.90 (4) 274.45/246.90 Obligation: 274.45/246.90 mainModule Main 274.45/246.90 module Main where { 274.45/246.90 import qualified Prelude; 274.45/246.90 } 274.45/246.90 274.45/246.90 ---------------------------------------- 274.45/246.90 274.45/246.90 (5) IFR (EQUIVALENT) 274.45/246.90 If Reductions: 274.45/246.90 The following If expression 274.45/246.90 "if b then (showChar '(') . p . showChar ')' else p" 274.45/246.90 is transformed to 274.45/246.90 "showParen0 p True = (showChar '(') . p . showChar ')'; 274.45/246.90 showParen0 p False = p; 274.45/246.90 " 274.45/246.90 The following If expression 274.45/246.90 "if primGEqNatS x y then Succ (primDivNatS (primMinusNatS x y) (Succ y)) else Zero" 274.45/246.90 is transformed to 274.45/246.90 "primDivNatS0 x y True = Succ (primDivNatS (primMinusNatS x y) (Succ y)); 274.45/246.90 primDivNatS0 x y False = Zero; 274.45/246.90 " 274.45/246.90 The following If expression 274.45/246.90 "if primGEqNatS x y then primModNatS (primMinusNatS x y) (Succ y) else Succ x" 274.45/246.90 is transformed to 274.45/246.90 "primModNatS0 x y True = primModNatS (primMinusNatS x y) (Succ y); 274.45/246.90 primModNatS0 x y False = Succ x; 274.45/246.90 " 274.45/246.90 The following If expression 274.45/246.90 "if primGEqNatS x y then primModNatP (primMinusNatS x y) (Succ y) else primMinusNatS y x" 274.45/246.90 is transformed to 274.45/246.90 "primModNatP0 x y True = primModNatP (primMinusNatS x y) (Succ y); 274.45/246.90 primModNatP0 x y False = primMinusNatS y x; 274.45/246.90 " 274.45/246.90 274.45/246.90 ---------------------------------------- 274.45/246.90 274.45/246.90 (6) 274.45/246.90 Obligation: 274.45/246.90 mainModule Main 274.45/246.90 module Main where { 274.45/246.90 import qualified Prelude; 274.45/246.90 } 274.45/246.90 274.45/246.90 ---------------------------------------- 274.45/246.90 274.45/246.90 (7) BR (EQUIVALENT) 274.45/246.90 Replaced joker patterns by fresh variables and removed binding patterns. 274.45/246.90 274.45/246.90 Binding Reductions: 274.45/246.90 The bind variable of the following binding Pattern 274.45/246.90 "s@(wz : xu)" 274.45/246.90 is replaced by the following term 274.45/246.90 "wz : xu" 274.45/246.90 274.45/246.90 ---------------------------------------- 274.45/246.90 274.45/246.90 (8) 274.45/246.90 Obligation: 274.45/246.90 mainModule Main 274.45/246.90 module Main where { 274.45/246.90 import qualified Prelude; 274.45/246.90 } 274.45/246.90 274.45/246.90 ---------------------------------------- 274.45/246.90 274.45/246.90 (9) COR (EQUIVALENT) 274.45/246.90 Cond Reductions: 274.45/246.90 The following Function with conditions 274.45/246.90 "showl [] = showChar '"'; 274.45/246.90 showl ('"' : cs) = (showString ('\' : '"' : [])) . showl cs; 274.45/246.90 showl (c : cs) = (showLitChar c) . showl cs; 274.45/246.90 " 274.45/246.90 is transformed to 274.45/246.90 "showl [] = showl3 []; 274.45/246.90 showl (zz : cs) = showl2 (zz : cs); 274.45/246.90 showl (c : cs) = showl0 (c : cs); 274.45/246.90 " 274.45/246.90 "showl0 (c : cs) = (showLitChar c) . showl cs; 274.45/246.90 " 274.45/246.90 "showl1 True (zz : cs) = (showString ('\' : '"' : [])) . showl cs; 274.45/246.90 showl1 vuu vuv = showl0 vuv; 274.45/246.90 " 274.45/246.90 "showl2 (zz : cs) = showl1 (zz == '"') (zz : cs); 274.45/246.90 showl2 vuw = showl0 vuw; 274.45/246.90 " 274.45/246.90 "showl3 [] = showChar '"'; 274.45/246.90 showl3 vuy = showl2 vuy; 274.45/246.90 " 274.45/246.90 The following Function with conditions 274.45/246.90 "showsPrec p ''' = showString (''' : '\' : ''' : ''' : []); 274.45/246.90 showsPrec p c = (showChar ''') . (showLitChar c) . showChar '''; 274.45/246.90 " 274.45/246.90 is transformed to 274.45/246.90 "showsPrec p vuz = showsPrec5 p vuz; 274.45/246.90 showsPrec p c = showsPrec3 p c; 274.45/246.90 " 274.45/246.90 "showsPrec3 p c = (showChar ''') . (showLitChar c) . showChar '''; 274.45/246.90 " 274.45/246.90 "showsPrec4 True p vuz = showString (''' : '\' : ''' : ''' : []); 274.45/246.90 showsPrec4 vvu vvv vvw = showsPrec3 vvv vvw; 274.45/246.90 " 274.45/246.90 "showsPrec5 p vuz = showsPrec4 (vuz == ''') p vuz; 274.45/246.90 showsPrec5 vvx vvy = showsPrec3 vvx vvy; 274.45/246.90 " 274.45/246.90 The following Function with conditions 274.45/246.90 "randomSelect (x : []) = x; 274.45/246.90 randomSelect (x : xs)|terminatorrandomSelect xs|otherwisex; 274.45/246.90 " 274.45/246.90 is transformed to 274.45/246.90 "randomSelect (x : []) = randomSelect3 (x : []); 274.45/246.90 randomSelect (x : xs) = randomSelect2 (x : xs); 274.45/246.90 " 274.45/246.90 "randomSelect0 x xs True = x; 274.45/246.90 " 274.45/246.90 "randomSelect1 x xs True = randomSelect xs; 274.45/246.90 randomSelect1 x xs False = randomSelect0 x xs otherwise; 274.45/246.90 " 274.45/246.90 "randomSelect2 (x : xs) = randomSelect1 x xs terminator; 274.45/246.90 " 274.45/246.90 "randomSelect3 (x : []) = x; 274.45/246.90 randomSelect3 vww = randomSelect2 vww; 274.45/246.90 " 274.45/246.90 The following Function with conditions 274.45/246.90 "takeWhile p [] = []; 274.45/246.90 takeWhile p (x : xs)|p xx : takeWhile p xs|otherwise[]; 274.45/246.90 " 274.45/246.90 is transformed to 274.45/246.90 "takeWhile p [] = takeWhile3 p []; 274.45/246.90 takeWhile p (x : xs) = takeWhile2 p (x : xs); 274.45/246.90 " 274.45/246.90 "takeWhile0 p x xs True = []; 274.45/246.90 " 274.45/246.90 "takeWhile1 p x xs True = x : takeWhile p xs; 274.45/246.90 takeWhile1 p x xs False = takeWhile0 p x xs otherwise; 274.45/246.90 " 274.45/246.90 "takeWhile2 p (x : xs) = takeWhile1 p x xs (p x); 274.45/246.90 " 274.45/246.90 "takeWhile3 p [] = []; 274.45/246.90 takeWhile3 vwz vxu = takeWhile2 vwz vxu; 274.45/246.90 " 274.45/246.90 The following Function with conditions 274.45/246.90 "!! (x : vy) 0 = x; 274.45/246.90 !! (vz : xs) n|n > 0xs !! (n - 1); 274.45/246.90 !! (wu : wv) ww = error []; 274.45/246.90 !! [] wx = error []; 274.45/246.90 " 274.45/246.90 is transformed to 274.45/246.90 "!! (x : vy) vyx = emEm5 (x : vy) vyx; 274.45/246.90 !! (vz : xs) n = emEm3 (vz : xs) n; 274.45/246.90 !! (wu : wv) ww = emEm1 (wu : wv) ww; 274.45/246.90 !! [] wx = emEm0 [] wx; 274.45/246.90 " 274.45/246.90 "emEm0 [] wx = error []; 274.45/246.90 " 274.45/246.90 "emEm1 (wu : wv) ww = error []; 274.45/246.90 emEm1 vxx vxy = emEm0 vxx vxy; 274.45/246.90 " 274.45/246.90 "emEm2 vz xs n True = xs !! (n - 1); 274.45/246.90 emEm2 vz xs n False = emEm1 (vz : xs) n; 274.45/246.90 " 274.45/246.90 "emEm3 (vz : xs) n = emEm2 vz xs n (n > 0); 274.45/246.90 emEm3 vyu vyv = emEm1 vyu vyv; 274.45/246.90 " 274.45/246.90 "emEm4 True (x : vy) vyx = x; 274.45/246.90 emEm4 vyy vyz vzu = emEm3 vyz vzu; 274.45/246.90 " 274.45/246.90 "emEm5 (x : vy) vyx = emEm4 (vyx == 0) (x : vy) vyx; 274.45/246.90 emEm5 vzv vzw = emEm3 vzv vzw; 274.45/246.90 " 274.45/246.90 The following Function with conditions 274.45/246.90 "showLitChar c|c > '\127'(showChar '\') . protectEsc isDigit (shows (fromEnum c)); 274.45/246.90 showLitChar '\127' = showString ('\' : 'D' : 'E' : 'L' : []); 274.45/246.90 showLitChar '\' = showString ('\' : '\' : []); 274.45/246.90 showLitChar c|c >= '\32'showChar c; 274.45/246.90 showLitChar '\7' = showString ('\' : 'a' : []); 274.45/246.90 showLitChar '\8' = showString ('\' : 'b' : []); 274.45/246.90 showLitChar '\12' = showString ('\' : 'f' : []); 274.45/246.90 showLitChar '\10' = showString ('\' : 'n' : []); 274.45/246.90 showLitChar '\13' = showString ('\' : 'r' : []); 274.45/246.90 showLitChar '\9' = showString ('\' : 't' : []); 274.45/246.90 showLitChar '\11' = showString ('\' : 'v' : []); 274.45/246.90 showLitChar '\14' = protectEsc ('H' ==) (showString ('\' : 'S' : 'O' : [])); 274.45/246.90 showLitChar c = showString ('\' : snd (asciiTab !! (fromEnum c))); 274.45/246.90 " 274.45/246.90 is transformed to 274.45/246.90 "showLitChar c = showLitChar24 c; 274.45/246.90 showLitChar wzy = showLitChar22 wzy; 274.45/246.90 showLitChar wzu = showLitChar20 wzu; 274.45/246.90 showLitChar c = showLitChar18 c; 274.45/246.90 showLitChar wyv = showLitChar16 wyv; 274.45/246.90 showLitChar wxx = showLitChar14 wxx; 274.45/246.90 showLitChar wwz = showLitChar12 wwz; 274.45/246.90 showLitChar wwv = showLitChar10 wwv; 274.45/246.90 showLitChar wvx = showLitChar8 wvx; 274.45/246.90 showLitChar wuz = showLitChar6 wuz; 274.45/246.90 showLitChar wuv = showLitChar4 wuv; 274.45/246.90 showLitChar vzx = showLitChar2 vzx; 274.45/246.90 showLitChar c = showLitChar0 c; 274.45/246.90 " 274.45/246.90 "showLitChar0 c = showString ('\' : snd (asciiTab !! (fromEnum c))); 274.45/246.90 " 274.45/246.90 "showLitChar1 True vzx = protectEsc ('H' ==) (showString ('\' : 'S' : 'O' : [])); 274.45/246.90 showLitChar1 vzy vzz = showLitChar0 vzz; 274.45/246.90 " 274.45/246.90 "showLitChar2 vzx = showLitChar1 (vzx == '\14') vzx; 274.45/246.90 showLitChar2 wuu = showLitChar0 wuu; 274.45/246.90 " 274.45/246.90 "showLitChar3 True wuv = showString ('\' : 'v' : []); 274.45/246.90 showLitChar3 wuw wux = showLitChar2 wux; 274.45/246.90 " 274.45/246.90 "showLitChar4 wuv = showLitChar3 (wuv == '\11') wuv; 274.45/246.90 showLitChar4 wuy = showLitChar2 wuy; 274.45/246.90 " 274.45/246.90 "showLitChar5 True wuz = showString ('\' : 't' : []); 274.45/246.90 showLitChar5 wvu wvv = showLitChar4 wvv; 274.45/246.90 " 274.45/246.90 "showLitChar6 wuz = showLitChar5 (wuz == '\9') wuz; 274.45/246.90 showLitChar6 wvw = showLitChar4 wvw; 274.45/246.90 " 274.45/246.90 "showLitChar7 True wvx = showString ('\' : 'r' : []); 274.45/246.90 showLitChar7 wvy wvz = showLitChar6 wvz; 274.45/246.90 " 274.45/246.90 "showLitChar8 wvx = showLitChar7 (wvx == '\13') wvx; 274.45/246.90 showLitChar8 wwu = showLitChar6 wwu; 274.45/246.90 " 274.45/246.90 "showLitChar9 True wwv = showString ('\' : 'n' : []); 274.45/246.90 showLitChar9 www wwx = showLitChar8 wwx; 274.45/246.90 " 274.45/246.90 "showLitChar10 wwv = showLitChar9 (wwv == '\10') wwv; 274.45/246.90 showLitChar10 wwy = showLitChar8 wwy; 274.45/246.90 " 274.45/246.90 "showLitChar11 True wwz = showString ('\' : 'f' : []); 274.45/246.90 showLitChar11 wxu wxv = showLitChar10 wxv; 274.45/246.90 " 274.45/246.90 "showLitChar12 wwz = showLitChar11 (wwz == '\12') wwz; 274.45/246.90 showLitChar12 wxw = showLitChar10 wxw; 274.45/246.90 " 274.45/246.90 "showLitChar13 True wxx = showString ('\' : 'b' : []); 274.45/246.90 showLitChar13 wxy wxz = showLitChar12 wxz; 274.45/246.90 " 274.45/246.90 "showLitChar14 wxx = showLitChar13 (wxx == '\8') wxx; 274.45/246.90 showLitChar14 wyu = showLitChar12 wyu; 274.45/246.90 " 274.45/246.90 "showLitChar15 True wyv = showString ('\' : 'a' : []); 274.45/246.90 showLitChar15 wyw wyx = showLitChar14 wyx; 274.45/246.90 " 274.45/246.90 "showLitChar16 wyv = showLitChar15 (wyv == '\7') wyv; 274.45/246.90 showLitChar16 wyy = showLitChar14 wyy; 274.45/246.90 " 274.45/246.90 "showLitChar17 c True = showChar c; 274.45/246.90 showLitChar17 c False = showLitChar16 c; 274.45/246.90 " 274.45/246.90 "showLitChar18 c = showLitChar17 c (c >= '\32'); 274.45/246.90 showLitChar18 wyz = showLitChar16 wyz; 274.45/246.90 " 274.45/246.90 "showLitChar19 True wzu = showString ('\' : '\' : []); 274.45/246.90 showLitChar19 wzv wzw = showLitChar18 wzw; 274.45/246.90 " 274.45/246.90 "showLitChar20 wzu = showLitChar19 (wzu == '\') wzu; 274.45/246.90 showLitChar20 wzx = showLitChar18 wzx; 274.45/246.90 " 274.45/246.90 "showLitChar21 True wzy = showString ('\' : 'D' : 'E' : 'L' : []); 274.45/246.90 showLitChar21 wzz xuu = showLitChar20 xuu; 274.45/246.90 " 274.45/246.90 "showLitChar22 wzy = showLitChar21 (wzy == '\127') wzy; 274.45/246.90 showLitChar22 xuv = showLitChar20 xuv; 274.45/246.90 " 274.45/246.90 "showLitChar23 c True = (showChar '\') . protectEsc isDigit (shows (fromEnum c)); 274.45/246.90 showLitChar23 c False = showLitChar22 c; 274.45/246.90 " 274.45/246.90 "showLitChar24 c = showLitChar23 c (c > '\127'); 274.45/246.90 showLitChar24 xuw = showLitChar22 xuw; 274.45/246.90 " 274.45/246.90 The following Function with conditions 274.45/246.90 "cont (wz : xu)|p wz('\' : '&' : []) ++ wz : xu; 274.45/246.90 cont s = s; 274.45/246.90 " 274.45/246.90 is transformed to 274.45/246.90 "cont (wz : xu) = cont2 (wz : xu); 274.45/246.90 cont s = cont0 s; 274.45/246.90 " 274.45/246.90 "cont0 s = s; 274.45/246.90 " 274.45/246.90 "cont1 wz xu True = ('\' : '&' : []) ++ wz : xu; 274.45/246.90 cont1 wz xu False = cont0 (wz : xu); 274.45/246.90 " 274.45/246.90 "cont2 (wz : xu) = cont1 wz xu (p wz); 274.45/246.90 cont2 xuy = cont0 xuy; 274.45/246.90 " 274.45/246.90 The following Function with conditions 274.45/246.90 "undefined |Falseundefined; 274.45/246.90 " 274.45/246.90 is transformed to 274.45/246.90 "undefined = undefined1; 274.45/246.90 " 274.45/246.90 "undefined0 True = undefined; 274.45/246.90 " 274.45/246.90 "undefined1 = undefined0 False; 274.45/246.90 " 274.45/246.90 274.45/246.90 ---------------------------------------- 274.45/246.90 274.45/246.90 (10) 274.45/246.90 Obligation: 274.45/246.90 mainModule Main 274.45/246.90 module Main where { 274.45/246.90 import qualified Prelude; 274.45/246.90 } 274.45/246.90 274.45/246.90 ---------------------------------------- 274.45/246.90 274.45/246.90 (11) LetRed (EQUIVALENT) 274.45/246.90 Let/Where Reductions: 274.45/246.90 The bindings of the following Let/Where expression 274.45/246.90 "(showChar '[') . (shows x) . showl xs where { 274.45/246.90 showl [] = showChar ']'; 274.45/246.90 showl (x : xs) = (showChar ',') . (shows x) . showl xs; 274.45/246.90 } 274.45/246.90 " 274.45/246.90 are unpacked to the following functions on top level 274.45/246.90 "showListShowl [] = showChar ']'; 274.45/246.90 showListShowl (x : xs) = (showChar ',') . (shows x) . showListShowl xs; 274.45/246.90 " 274.45/246.90 The bindings of the following Let/Where expression 274.45/246.90 "(showChar '"') . showl cs where { 274.45/246.90 showl [] = showl3 []; 274.45/246.90 showl (zz : cs) = showl2 (zz : cs); 274.45/246.90 showl (c : cs) = showl0 (c : cs); 274.45/246.90 ; 274.45/246.90 showl0 (c : cs) = (showLitChar c) . showl cs; 274.45/246.90 ; 274.45/246.90 showl1 True (zz : cs) = (showString ('\' : '"' : [])) . showl cs; 274.45/246.90 showl1 vuu vuv = showl0 vuv; 274.45/246.90 ; 274.45/246.90 showl2 (zz : cs) = showl1 (zz == '"') (zz : cs); 274.45/246.90 showl2 vuw = showl0 vuw; 274.45/246.90 ; 274.45/246.90 showl3 [] = showChar '"'; 274.45/246.90 showl3 vuy = showl2 vuy; 274.45/246.90 } 274.45/246.90 " 274.45/246.90 are unpacked to the following functions on top level 274.45/246.90 "showListShowl0 [] = showListShowl3 []; 274.45/246.90 showListShowl0 (zz : cs) = showListShowl2 (zz : cs); 274.45/246.90 showListShowl0 (c : cs) = showListShowl00 (c : cs); 274.45/246.90 " 274.45/246.90 "showListShowl2 (zz : cs) = showListShowl1 (zz == '"') (zz : cs); 274.45/246.90 showListShowl2 vuw = showListShowl00 vuw; 274.45/246.90 " 274.45/246.90 "showListShowl00 (c : cs) = (showLitChar c) . showListShowl0 cs; 274.45/246.90 " 274.45/246.90 "showListShowl1 True (zz : cs) = (showString ('\' : '"' : [])) . showListShowl0 cs; 274.45/246.90 showListShowl1 vuu vuv = showListShowl00 vuv; 274.45/246.90 " 274.45/246.90 "showListShowl3 [] = showChar '"'; 274.45/246.90 showListShowl3 vuy = showListShowl2 vuy; 274.45/246.90 " 274.45/246.90 The bindings of the following Let/Where expression 274.45/246.90 "f . cont where { 274.45/246.90 cont (wz : xu) = cont2 (wz : xu); 274.45/246.90 cont s = cont0 s; 274.45/246.90 ; 274.45/246.90 cont0 s = s; 274.45/246.90 ; 274.45/246.90 cont1 wz xu True = ('\' : '&' : []) ++ wz : xu; 274.45/246.90 cont1 wz xu False = cont0 (wz : xu); 274.45/246.90 ; 274.45/246.90 cont2 (wz : xu) = cont1 wz xu (p wz); 274.45/246.90 cont2 xuy = cont0 xuy; 274.45/246.90 } 274.45/246.90 " 274.45/246.90 are unpacked to the following functions on top level 274.45/246.90 "protectEscCont xuz (wz : xu) = protectEscCont2 xuz (wz : xu); 274.45/246.90 protectEscCont xuz s = protectEscCont0 xuz s; 274.45/246.90 " 274.45/246.90 "protectEscCont0 xuz s = s; 274.45/246.90 " 274.45/246.90 "protectEscCont2 xuz (wz : xu) = protectEscCont1 xuz wz xu (xuz wz); 274.45/246.90 protectEscCont2 xuz xuy = protectEscCont0 xuz xuy; 274.45/246.90 " 274.45/246.90 "protectEscCont1 xuz wz xu True = ('\' : '&' : []) ++ wz : xu; 274.45/246.90 protectEscCont1 xuz wz xu False = protectEscCont0 xuz (wz : xu); 274.45/246.90 " 274.45/246.90 274.45/246.90 ---------------------------------------- 274.45/246.90 274.45/246.90 (12) 274.45/246.90 Obligation: 274.45/246.90 mainModule Main 274.45/246.90 module Main where { 274.45/246.90 import qualified Prelude; 274.45/246.90 } 274.45/246.90 274.45/246.90 ---------------------------------------- 274.45/246.90 274.45/246.90 (13) NumRed (SOUND) 274.45/246.90 Num Reduction:All numbers are transformed to their corresponding representation with Succ, Pred and Zero. 274.45/246.90 ---------------------------------------- 274.45/246.90 274.45/246.90 (14) 274.45/246.90 Obligation: 274.45/246.90 mainModule Main 274.45/246.90 module Main where { 274.45/246.90 import qualified Prelude; 274.45/246.90 } 274.79/246.95 EOF