/export/starexec/sandbox2/solver/bin/starexec_run_standard /export/starexec/sandbox2/benchmark/theBenchmark.hs /export/starexec/sandbox2/output/output_files -------------------------------------------------------------------------------- YES proof of /export/starexec/sandbox2/benchmark/theBenchmark.hs # AProVE Commit ID: 794c25de1cacf0d048858bcd21c9a779e1221865 marcel 20200619 unpublished dirty H-Termination with start terms of the given HASKELL could be proven: (0) HASKELL (1) BR [EQUIVALENT, 0 ms] (2) HASKELL (3) COR [EQUIVALENT, 0 ms] (4) HASKELL (5) Narrow [EQUIVALENT, 6 ms] (6) YES ---------------------------------------- (0) Obligation: mainModule Main module Main where { import qualified Prelude; } ---------------------------------------- (1) BR (EQUIVALENT) Replaced joker patterns by fresh variables and removed binding patterns. ---------------------------------------- (2) Obligation: mainModule Main module Main where { import qualified Prelude; } ---------------------------------------- (3) COR (EQUIVALENT) Cond Reductions: The following Function with conditions "undefined |Falseundefined; " is transformed to "undefined = undefined1; " "undefined0 True = undefined; " "undefined1 = undefined0 False; " The following Function with conditions "compare x y|x == yEQ|x <= yLT|otherwiseGT; " is transformed to "compare x y = compare3 x y; " "compare0 x y True = GT; " "compare2 x y True = EQ; compare2 x y False = compare1 x y (x <= y); " "compare1 x y True = LT; compare1 x y False = compare0 x y otherwise; " "compare3 x y = compare2 x y (x == y); " ---------------------------------------- (4) Obligation: mainModule Main module Main where { import qualified Prelude; } ---------------------------------------- (5) Narrow (EQUIVALENT) Haskell To QDPs digraph dp_graph { node [outthreshold=100, inthreshold=100];1[label="(>=)",fontsize=16,color="grey",shape="box"];1 -> 3[label="",style="dashed", color="grey", weight=3]; 3[label="(>=) vx3",fontsize=16,color="grey",shape="box"];3 -> 4[label="",style="dashed", color="grey", weight=3]; 4[label="(>=) vx3 vx4",fontsize=16,color="black",shape="triangle"];4 -> 5[label="",style="solid", color="black", weight=3]; 5[label="compare vx3 vx4 /= LT",fontsize=16,color="black",shape="box"];5 -> 6[label="",style="solid", color="black", weight=3]; 6[label="not (compare vx3 vx4 == LT)",fontsize=16,color="black",shape="box"];6 -> 7[label="",style="solid", color="black", weight=3]; 7[label="not (compare3 vx3 vx4 == LT)",fontsize=16,color="black",shape="box"];7 -> 8[label="",style="solid", color="black", weight=3]; 8[label="not (compare2 vx3 vx4 (vx3 == vx4) == LT)",fontsize=16,color="burlywood",shape="box"];34[label="vx3/False",fontsize=10,color="white",style="solid",shape="box"];8 -> 34[label="",style="solid", color="burlywood", weight=9]; 34 -> 9[label="",style="solid", color="burlywood", weight=3]; 35[label="vx3/True",fontsize=10,color="white",style="solid",shape="box"];8 -> 35[label="",style="solid", color="burlywood", weight=9]; 35 -> 10[label="",style="solid", color="burlywood", weight=3]; 9[label="not (compare2 False vx4 (False == vx4) == LT)",fontsize=16,color="burlywood",shape="box"];36[label="vx4/False",fontsize=10,color="white",style="solid",shape="box"];9 -> 36[label="",style="solid", color="burlywood", weight=9]; 36 -> 11[label="",style="solid", color="burlywood", weight=3]; 37[label="vx4/True",fontsize=10,color="white",style="solid",shape="box"];9 -> 37[label="",style="solid", color="burlywood", weight=9]; 37 -> 12[label="",style="solid", color="burlywood", weight=3]; 10[label="not (compare2 True vx4 (True == vx4) == LT)",fontsize=16,color="burlywood",shape="box"];38[label="vx4/False",fontsize=10,color="white",style="solid",shape="box"];10 -> 38[label="",style="solid", color="burlywood", weight=9]; 38 -> 13[label="",style="solid", color="burlywood", weight=3]; 39[label="vx4/True",fontsize=10,color="white",style="solid",shape="box"];10 -> 39[label="",style="solid", color="burlywood", weight=9]; 39 -> 14[label="",style="solid", color="burlywood", weight=3]; 11[label="not (compare2 False False (False == False) == LT)",fontsize=16,color="black",shape="box"];11 -> 15[label="",style="solid", color="black", weight=3]; 12[label="not (compare2 False True (False == True) == LT)",fontsize=16,color="black",shape="box"];12 -> 16[label="",style="solid", color="black", weight=3]; 13[label="not (compare2 True False (True == False) == LT)",fontsize=16,color="black",shape="box"];13 -> 17[label="",style="solid", color="black", weight=3]; 14[label="not (compare2 True True (True == True) == LT)",fontsize=16,color="black",shape="box"];14 -> 18[label="",style="solid", color="black", weight=3]; 15[label="not (compare2 False False True == LT)",fontsize=16,color="black",shape="box"];15 -> 19[label="",style="solid", color="black", weight=3]; 16[label="not (compare2 False True False == LT)",fontsize=16,color="black",shape="box"];16 -> 20[label="",style="solid", color="black", weight=3]; 17[label="not (compare2 True False False == LT)",fontsize=16,color="black",shape="box"];17 -> 21[label="",style="solid", color="black", weight=3]; 18[label="not (compare2 True True True == LT)",fontsize=16,color="black",shape="box"];18 -> 22[label="",style="solid", color="black", weight=3]; 19[label="not (EQ == LT)",fontsize=16,color="black",shape="triangle"];19 -> 23[label="",style="solid", color="black", weight=3]; 20[label="not (compare1 False True (False <= True) == LT)",fontsize=16,color="black",shape="box"];20 -> 24[label="",style="solid", color="black", weight=3]; 21[label="not (compare1 True False (True <= False) == LT)",fontsize=16,color="black",shape="box"];21 -> 25[label="",style="solid", color="black", weight=3]; 22 -> 19[label="",style="dashed", color="red", weight=0]; 22[label="not (EQ == LT)",fontsize=16,color="magenta"];23[label="not False",fontsize=16,color="black",shape="triangle"];23 -> 26[label="",style="solid", color="black", weight=3]; 24[label="not (compare1 False True True == LT)",fontsize=16,color="black",shape="box"];24 -> 27[label="",style="solid", color="black", weight=3]; 25[label="not (compare1 True False False == LT)",fontsize=16,color="black",shape="box"];25 -> 28[label="",style="solid", color="black", weight=3]; 26[label="True",fontsize=16,color="green",shape="box"];27[label="not (LT == LT)",fontsize=16,color="black",shape="box"];27 -> 29[label="",style="solid", color="black", weight=3]; 28[label="not (compare0 True False otherwise == LT)",fontsize=16,color="black",shape="box"];28 -> 30[label="",style="solid", color="black", weight=3]; 29[label="not True",fontsize=16,color="black",shape="box"];29 -> 31[label="",style="solid", color="black", weight=3]; 30[label="not (compare0 True False True == LT)",fontsize=16,color="black",shape="box"];30 -> 32[label="",style="solid", color="black", weight=3]; 31[label="False",fontsize=16,color="green",shape="box"];32[label="not (GT == LT)",fontsize=16,color="black",shape="box"];32 -> 33[label="",style="solid", color="black", weight=3]; 33 -> 23[label="",style="dashed", color="red", weight=0]; 33[label="not False",fontsize=16,color="magenta"];} ---------------------------------------- (6) YES