7.64/3.44 YES 9.37/3.90 proof of /export/starexec/sandbox/benchmark/theBenchmark.hs 9.37/3.90 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 9.37/3.90 9.37/3.90 9.37/3.90 H-Termination with start terms of the given HASKELL could be proven: 9.37/3.90 9.37/3.90 (0) HASKELL 9.37/3.90 (1) BR [EQUIVALENT, 0 ms] 9.37/3.90 (2) HASKELL 9.37/3.90 (3) COR [EQUIVALENT, 0 ms] 9.37/3.90 (4) HASKELL 9.37/3.90 (5) Narrow [EQUIVALENT, 21 ms] 9.37/3.90 (6) YES 9.37/3.90 9.37/3.90 9.37/3.90 ---------------------------------------- 9.37/3.90 9.37/3.90 (0) 9.37/3.90 Obligation: 9.37/3.90 mainModule Main 9.37/3.90 module Main where { 9.37/3.90 import qualified Prelude; 9.37/3.90 data Main.Char = Char MyInt ; 9.37/3.90 9.37/3.90 data Main.IOError = IOError Main.IOErrorKind (List Main.Char) (List Main.Char) (Main.Maybe (List Main.Char)) ; 9.37/3.90 9.37/3.90 data Main.IOErrorKind = IOError_UserError | IOError_IllegalError | IOError_PermDenied | IOError_AlreadyExists | IOError_AlreadyInUse | IOError_DoesNotExist | IOError_FullError | IOError_EOF | IOError_WriteError ; 9.37/3.90 9.37/3.90 data List a = Cons a (List a) | Nil ; 9.37/3.90 9.37/3.90 data Main.Maybe a = Nothing | Just a ; 9.37/3.90 9.37/3.90 data MyInt = Pos Main.Nat | Neg Main.Nat ; 9.37/3.90 9.37/3.90 data Main.Nat = Succ Main.Nat | Zero ; 9.37/3.90 9.37/3.90 userError :: List Main.Char -> Main.IOError; 9.37/3.90 userError str = Main.IOError Main.IOError_UserError Nil str Main.Nothing; 9.37/3.90 9.37/3.90 } 9.37/3.90 9.37/3.90 ---------------------------------------- 9.37/3.90 9.37/3.90 (1) BR (EQUIVALENT) 9.37/3.90 Replaced joker patterns by fresh variables and removed binding patterns. 9.37/3.90 ---------------------------------------- 9.37/3.90 9.37/3.90 (2) 9.37/3.90 Obligation: 9.37/3.90 mainModule Main 9.37/3.90 module Main where { 9.37/3.90 import qualified Prelude; 9.37/3.90 data Main.Char = Char MyInt ; 9.37/3.90 9.37/3.90 data Main.IOError = IOError Main.IOErrorKind (List Main.Char) (List Main.Char) (Main.Maybe (List Main.Char)) ; 9.37/3.90 9.37/3.90 data Main.IOErrorKind = IOError_UserError | IOError_IllegalError | IOError_PermDenied | IOError_AlreadyExists | IOError_AlreadyInUse | IOError_DoesNotExist | IOError_FullError | IOError_EOF | IOError_WriteError ; 9.37/3.90 9.37/3.90 data List a = Cons a (List a) | Nil ; 9.37/3.90 9.37/3.90 data Main.Maybe a = Nothing | Just a ; 9.37/3.90 9.37/3.90 data MyInt = Pos Main.Nat | Neg Main.Nat ; 9.37/3.90 9.37/3.90 data Main.Nat = Succ Main.Nat | Zero ; 9.37/3.90 9.37/3.90 userError :: List Main.Char -> Main.IOError; 9.37/3.90 userError str = Main.IOError Main.IOError_UserError Nil str Main.Nothing; 9.37/3.90 9.37/3.90 } 9.37/3.90 9.37/3.90 ---------------------------------------- 9.37/3.90 9.37/3.90 (3) COR (EQUIVALENT) 9.37/3.90 Cond Reductions: 9.37/3.90 The following Function with conditions 9.37/3.90 "undefined |Falseundefined; 9.37/3.90 " 9.37/3.90 is transformed to 9.37/3.90 "undefined = undefined1; 9.37/3.90 " 9.37/3.90 "undefined0 True = undefined; 9.37/3.90 " 9.37/3.90 "undefined1 = undefined0 False; 9.37/3.90 " 9.37/3.90 9.37/3.90 ---------------------------------------- 9.37/3.90 9.37/3.90 (4) 9.37/3.90 Obligation: 9.37/3.90 mainModule Main 9.37/3.90 module Main where { 9.37/3.90 import qualified Prelude; 9.37/3.90 data Main.Char = Char MyInt ; 9.37/3.90 9.37/3.90 data Main.IOError = IOError Main.IOErrorKind (List Main.Char) (List Main.Char) (Main.Maybe (List Main.Char)) ; 9.37/3.90 9.37/3.90 data Main.IOErrorKind = IOError_UserError | IOError_IllegalError | IOError_PermDenied | IOError_AlreadyExists | IOError_AlreadyInUse | IOError_DoesNotExist | IOError_FullError | IOError_EOF | IOError_WriteError ; 9.37/3.90 9.37/3.90 data List a = Cons a (List a) | Nil ; 9.37/3.90 9.37/3.90 data Main.Maybe a = Nothing | Just a ; 9.37/3.90 9.37/3.90 data MyInt = Pos Main.Nat | Neg Main.Nat ; 9.37/3.90 9.37/3.90 data Main.Nat = Succ Main.Nat | Zero ; 9.37/3.90 9.37/3.90 userError :: List Main.Char -> Main.IOError; 9.37/3.90 userError str = Main.IOError Main.IOError_UserError Nil str Main.Nothing; 9.37/3.90 9.37/3.90 } 9.37/3.90 9.37/3.90 ---------------------------------------- 9.37/3.90 9.37/3.90 (5) Narrow (EQUIVALENT) 9.37/3.90 Haskell To QDPs 9.37/3.90 9.37/3.90 digraph dp_graph { 9.37/3.90 node [outthreshold=100, inthreshold=100];1[label="userError",fontsize=16,color="grey",shape="box"];1 -> 3[label="",style="dashed", color="grey", weight=3]; 9.37/3.90 3[label="userError vx3",fontsize=16,color="black",shape="triangle"];3 -> 4[label="",style="solid", color="black", weight=3]; 9.37/3.90 4[label="IOError IOError_UserError Nil vx3 Nothing",fontsize=16,color="green",shape="box"];} 9.37/3.90 9.37/3.90 ---------------------------------------- 9.37/3.90 9.37/3.90 (6) 9.37/3.90 YES 9.49/3.94 EOF