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