7.56/3.45 YES 9.22/3.89 proof of /export/starexec/sandbox/benchmark/theBenchmark.hs 9.22/3.89 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 9.22/3.89 9.22/3.89 9.22/3.89 H-Termination with start terms of the given HASKELL could be proven: 9.22/3.89 9.22/3.89 (0) HASKELL 9.22/3.89 (1) BR [EQUIVALENT, 0 ms] 9.22/3.89 (2) HASKELL 9.22/3.89 (3) COR [EQUIVALENT, 0 ms] 9.22/3.89 (4) HASKELL 9.22/3.89 (5) Narrow [EQUIVALENT, 0 ms] 9.22/3.89 (6) YES 9.22/3.89 9.22/3.89 9.22/3.89 ---------------------------------------- 9.22/3.89 9.22/3.89 (0) 9.22/3.89 Obligation: 9.22/3.89 mainModule Main 9.22/3.89 module Main where { 9.22/3.89 import qualified Prelude; 9.22/3.89 data MyInt = Pos Main.Nat | Neg Main.Nat ; 9.22/3.89 9.22/3.89 data Main.Nat = Succ Main.Nat | Zero ; 9.22/3.89 9.22/3.89 data Tup0 = Tup0 ; 9.22/3.89 9.22/3.89 fromEnumTup0 :: Tup0 -> MyInt; 9.22/3.89 fromEnumTup0 Tup0 = Main.Pos Main.Zero; 9.22/3.89 9.22/3.89 } 9.22/3.89 9.22/3.89 ---------------------------------------- 9.22/3.89 9.22/3.89 (1) BR (EQUIVALENT) 9.22/3.89 Replaced joker patterns by fresh variables and removed binding patterns. 9.22/3.89 ---------------------------------------- 9.22/3.89 9.22/3.89 (2) 9.22/3.89 Obligation: 9.22/3.89 mainModule Main 9.22/3.89 module Main where { 9.22/3.89 import qualified Prelude; 9.22/3.89 data MyInt = Pos Main.Nat | Neg Main.Nat ; 9.22/3.89 9.22/3.89 data Main.Nat = Succ Main.Nat | Zero ; 9.22/3.89 9.22/3.89 data Tup0 = Tup0 ; 9.22/3.89 9.22/3.89 fromEnumTup0 :: Tup0 -> MyInt; 9.22/3.89 fromEnumTup0 Tup0 = Main.Pos Main.Zero; 9.22/3.89 9.22/3.89 } 9.22/3.89 9.22/3.89 ---------------------------------------- 9.22/3.89 9.22/3.89 (3) COR (EQUIVALENT) 9.22/3.89 Cond Reductions: 9.22/3.89 The following Function with conditions 9.22/3.89 "undefined |Falseundefined; 9.22/3.89 " 9.22/3.89 is transformed to 9.22/3.89 "undefined = undefined1; 9.22/3.89 " 9.22/3.89 "undefined0 True = undefined; 9.22/3.89 " 9.22/3.89 "undefined1 = undefined0 False; 9.22/3.89 " 9.22/3.89 9.22/3.89 ---------------------------------------- 9.22/3.89 9.22/3.89 (4) 9.22/3.89 Obligation: 9.22/3.89 mainModule Main 9.22/3.89 module Main where { 9.22/3.89 import qualified Prelude; 9.22/3.89 data MyInt = Pos Main.Nat | Neg Main.Nat ; 9.22/3.89 9.22/3.89 data Main.Nat = Succ Main.Nat | Zero ; 9.22/3.89 9.22/3.89 data Tup0 = Tup0 ; 9.22/3.89 9.22/3.89 fromEnumTup0 :: Tup0 -> MyInt; 9.22/3.89 fromEnumTup0 Tup0 = Main.Pos Main.Zero; 9.22/3.89 9.22/3.89 } 9.22/3.89 9.22/3.89 ---------------------------------------- 9.22/3.89 9.22/3.89 (5) Narrow (EQUIVALENT) 9.22/3.89 Haskell To QDPs 9.22/3.89 9.22/3.89 digraph dp_graph { 9.22/3.89 node [outthreshold=100, inthreshold=100];1[label="fromEnumTup0",fontsize=16,color="grey",shape="box"];1 -> 3[label="",style="dashed", color="grey", weight=3]; 9.22/3.89 3[label="fromEnumTup0 vx3",fontsize=16,color="burlywood",shape="triangle"];6[label="vx3/Tup0",fontsize=10,color="white",style="solid",shape="box"];3 -> 6[label="",style="solid", color="burlywood", weight=9]; 9.22/3.89 6 -> 4[label="",style="solid", color="burlywood", weight=3]; 9.22/3.89 4[label="fromEnumTup0 Tup0",fontsize=16,color="black",shape="box"];4 -> 5[label="",style="solid", color="black", weight=3]; 9.22/3.89 5[label="Pos Zero",fontsize=16,color="green",shape="box"];} 9.22/3.89 9.22/3.89 ---------------------------------------- 9.22/3.89 9.22/3.89 (6) 9.22/3.89 YES 9.31/6.56 EOF