/export/starexec/sandbox/solver/bin/starexec_run_standard /export/starexec/sandbox/benchmark/theBenchmark.hs /export/starexec/sandbox/output/output_files -------------------------------------------------------------------------------- YES proof of /export/starexec/sandbox/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) IFR [EQUIVALENT, 0 ms] (2) HASKELL (3) BR [EQUIVALENT, 0 ms] (4) HASKELL (5) COR [EQUIVALENT, 0 ms] (6) HASKELL (7) NumRed [SOUND, 0 ms] (8) HASKELL (9) Narrow [EQUIVALENT, 31 ms] (10) YES ---------------------------------------- (0) Obligation: mainModule Main module Main where { import qualified Prelude; } ---------------------------------------- (1) IFR (EQUIVALENT) If Reductions: The following If expression "if b then (showChar '(') . p . showChar ')' else p" is transformed to "showParen0 p True = (showChar '(') . p . showChar ')'; showParen0 p False = p; " ---------------------------------------- (2) Obligation: mainModule Main module Main where { import qualified Prelude; } ---------------------------------------- (3) BR (EQUIVALENT) Replaced joker patterns by fresh variables and removed binding patterns. ---------------------------------------- (4) Obligation: mainModule Main module Main where { import qualified Prelude; } ---------------------------------------- (5) COR (EQUIVALENT) Cond Reductions: The following Function with conditions "undefined |Falseundefined; " is transformed to "undefined = undefined1; " "undefined0 True = undefined; " "undefined1 = undefined0 False; " ---------------------------------------- (6) Obligation: mainModule Main module Main where { import qualified Prelude; } ---------------------------------------- (7) NumRed (SOUND) Num Reduction:All numbers are transformed to their corresponding representation with Succ, Pred and Zero. ---------------------------------------- (8) Obligation: mainModule Main module Main where { import qualified Prelude; } ---------------------------------------- (9) Narrow (EQUIVALENT) Haskell To QDPs digraph dp_graph { node [outthreshold=100, inthreshold=100];1[label="showParen",fontsize=16,color="grey",shape="box"];1 -> 3[label="",style="dashed", color="grey", weight=3]; 3[label="showParen vx3",fontsize=16,color="grey",shape="box"];3 -> 4[label="",style="dashed", color="grey", weight=3]; 4[label="showParen vx3 vx4",fontsize=16,color="grey",shape="box"];4 -> 5[label="",style="dashed", color="grey", weight=3]; 5[label="showParen vx3 vx4 vx5",fontsize=16,color="black",shape="triangle"];5 -> 6[label="",style="solid", color="black", weight=3]; 6[label="showParen0 vx4 vx3 vx5",fontsize=16,color="burlywood",shape="box"];31[label="vx3/False",fontsize=10,color="white",style="solid",shape="box"];6 -> 31[label="",style="solid", color="burlywood", weight=9]; 31 -> 7[label="",style="solid", color="burlywood", weight=3]; 32[label="vx3/True",fontsize=10,color="white",style="solid",shape="box"];6 -> 32[label="",style="solid", color="burlywood", weight=9]; 32 -> 8[label="",style="solid", color="burlywood", weight=3]; 7[label="showParen0 vx4 False vx5",fontsize=16,color="black",shape="box"];7 -> 9[label="",style="solid", color="black", weight=3]; 8[label="showParen0 vx4 True vx5",fontsize=16,color="black",shape="box"];8 -> 10[label="",style="solid", color="black", weight=3]; 9[label="vx4 vx5",fontsize=16,color="green",shape="box"];9 -> 11[label="",style="dashed", color="green", weight=3]; 10 -> 16[label="",style="dashed", color="red", weight=0]; 10[label="(showChar (Char (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ Zero)))))))))))))))))))))))))))))))))))))))))) . vx4 . showChar (Char (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ Zero))))))))))))))))))))))))))))))))))))))))))",fontsize=16,color="magenta"];10 -> 17[label="",style="dashed", color="magenta", weight=3]; 10 -> 18[label="",style="dashed", color="magenta", weight=3]; 10 -> 19[label="",style="dashed", color="magenta", weight=3]; 10 -> 20[label="",style="dashed", color="magenta", weight=3]; 11[label="vx5",fontsize=16,color="green",shape="box"];17[label="vx5",fontsize=16,color="green",shape="box"];18[label="vx4",fontsize=16,color="green",shape="box"];19[label="Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ Zero))))))))))))))))))))))))))))))))))))))",fontsize=16,color="green",shape="box"];20[label="Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ Zero)))))))))))))))))))))))))))))))))))))))",fontsize=16,color="green",shape="box"];16[label="(showChar (Char (Succ vx11))) . vx12 . showChar (Char (Succ vx13))",fontsize=16,color="black",shape="triangle"];16 -> 25[label="",style="solid", color="black", weight=3]; 25[label="showChar (Char (Succ vx11)) (vx12 . showChar (Char (Succ vx13)))",fontsize=16,color="black",shape="box"];25 -> 26[label="",style="solid", color="black", weight=3]; 26[label="(:) Char (Succ vx11) vx12 . showChar (Char (Succ vx13))",fontsize=16,color="green",shape="box"];26 -> 27[label="",style="dashed", color="green", weight=3]; 27[label="vx12 . showChar (Char (Succ vx13))",fontsize=16,color="black",shape="box"];27 -> 28[label="",style="solid", color="black", weight=3]; 28[label="vx12 (showChar (Char (Succ vx13)) vx14)",fontsize=16,color="green",shape="box"];28 -> 29[label="",style="dashed", color="green", weight=3]; 29[label="showChar (Char (Succ vx13)) vx14",fontsize=16,color="black",shape="box"];29 -> 30[label="",style="solid", color="black", weight=3]; 30[label="(:) Char (Succ vx13) vx14",fontsize=16,color="green",shape="box"];} ---------------------------------------- (10) YES