/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: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 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) NumRed [SOUND, 0 ms] (6) HASKELL (7) Narrow [SOUND, 0 ms] (8) AND (9) QDP (10) QDPSizeChangeProof [EQUIVALENT, 0 ms] (11) YES (12) QDP (13) QDPSizeChangeProof [EQUIVALENT, 0 ms] (14) 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 "signumReal x|x == 00|x > 01|otherwise-1; " is transformed to "signumReal x = signumReal3 x; " "signumReal0 x True = -1; " "signumReal1 x True = 1; signumReal1 x False = signumReal0 x otherwise; " "signumReal2 x True = 0; signumReal2 x False = signumReal1 x (x > 0); " "signumReal3 x = signumReal2 x (x == 0); " ---------------------------------------- (4) Obligation: mainModule Main module Main where { import qualified Prelude; } ---------------------------------------- (5) NumRed (SOUND) Num Reduction:All numbers are transformed to their corresponding representation with Succ, Pred and Zero. ---------------------------------------- (6) Obligation: mainModule Main module Main where { import qualified Prelude; } ---------------------------------------- (7) Narrow (SOUND) Haskell To QDPs digraph dp_graph { node [outthreshold=100, inthreshold=100];1[label="signum",fontsize=16,color="grey",shape="box"];1 -> 3[label="",style="dashed", color="grey", weight=3]; 3[label="signum vz3",fontsize=16,color="burlywood",shape="triangle"];363[label="vz3/vz30 :% vz31",fontsize=10,color="white",style="solid",shape="box"];3 -> 363[label="",style="solid", color="burlywood", weight=9]; 363 -> 4[label="",style="solid", color="burlywood", weight=3]; 4[label="signum (vz30 :% vz31)",fontsize=16,color="black",shape="box"];4 -> 5[label="",style="solid", color="black", weight=3]; 5[label="signum vz30 :% fromInt (Pos (Succ Zero))",fontsize=16,color="green",shape="box"];5 -> 6[label="",style="dashed", color="green", weight=3]; 5 -> 7[label="",style="dashed", color="green", weight=3]; 6[label="signum vz30",fontsize=16,color="black",shape="box"];6 -> 8[label="",style="solid", color="black", weight=3]; 7[label="fromInt (Pos (Succ Zero))",fontsize=16,color="black",shape="triangle"];7 -> 9[label="",style="solid", color="black", weight=3]; 8[label="signumReal vz30",fontsize=16,color="black",shape="box"];8 -> 10[label="",style="solid", color="black", weight=3]; 9[label="Pos (Succ Zero)",fontsize=16,color="green",shape="box"];10[label="signumReal3 vz30",fontsize=16,color="black",shape="box"];10 -> 11[label="",style="solid", color="black", weight=3]; 11[label="signumReal2 vz30 (vz30 == fromInt (Pos Zero))",fontsize=16,color="black",shape="box"];11 -> 12[label="",style="solid", color="black", weight=3]; 12[label="signumReal2 vz30 (primEqInt vz30 (fromInt (Pos Zero)))",fontsize=16,color="burlywood",shape="box"];364[label="vz30/Pos vz300",fontsize=10,color="white",style="solid",shape="box"];12 -> 364[label="",style="solid", color="burlywood", weight=9]; 364 -> 13[label="",style="solid", color="burlywood", weight=3]; 365[label="vz30/Neg vz300",fontsize=10,color="white",style="solid",shape="box"];12 -> 365[label="",style="solid", color="burlywood", weight=9]; 365 -> 14[label="",style="solid", color="burlywood", weight=3]; 13[label="signumReal2 (Pos vz300) (primEqInt (Pos vz300) (fromInt (Pos Zero)))",fontsize=16,color="burlywood",shape="box"];366[label="vz300/Succ vz3000",fontsize=10,color="white",style="solid",shape="box"];13 -> 366[label="",style="solid", color="burlywood", weight=9]; 366 -> 15[label="",style="solid", color="burlywood", weight=3]; 367[label="vz300/Zero",fontsize=10,color="white",style="solid",shape="box"];13 -> 367[label="",style="solid", color="burlywood", weight=9]; 367 -> 16[label="",style="solid", color="burlywood", weight=3]; 14[label="signumReal2 (Neg vz300) (primEqInt (Neg vz300) (fromInt (Pos Zero)))",fontsize=16,color="burlywood",shape="box"];368[label="vz300/Succ vz3000",fontsize=10,color="white",style="solid",shape="box"];14 -> 368[label="",style="solid", color="burlywood", weight=9]; 368 -> 17[label="",style="solid", color="burlywood", weight=3]; 369[label="vz300/Zero",fontsize=10,color="white",style="solid",shape="box"];14 -> 369[label="",style="solid", color="burlywood", weight=9]; 369 -> 18[label="",style="solid", color="burlywood", weight=3]; 15[label="signumReal2 (Pos (Succ vz3000)) (primEqInt (Pos (Succ vz3000)) (fromInt (Pos Zero)))",fontsize=16,color="black",shape="box"];15 -> 19[label="",style="solid", color="black", weight=3]; 16[label="signumReal2 (Pos Zero) (primEqInt (Pos Zero) (fromInt (Pos Zero)))",fontsize=16,color="black",shape="box"];16 -> 20[label="",style="solid", color="black", weight=3]; 17[label="signumReal2 (Neg (Succ vz3000)) (primEqInt (Neg (Succ vz3000)) (fromInt (Pos Zero)))",fontsize=16,color="black",shape="box"];17 -> 21[label="",style="solid", color="black", weight=3]; 18[label="signumReal2 (Neg Zero) (primEqInt (Neg Zero) (fromInt (Pos Zero)))",fontsize=16,color="black",shape="box"];18 -> 22[label="",style="solid", color="black", weight=3]; 19[label="signumReal2 (Pos (Succ vz3000)) (primEqInt (Pos (Succ vz3000)) (Pos Zero))",fontsize=16,color="black",shape="box"];19 -> 23[label="",style="solid", color="black", weight=3]; 20[label="signumReal2 (Pos Zero) (primEqInt (Pos Zero) (Pos Zero))",fontsize=16,color="black",shape="box"];20 -> 24[label="",style="solid", color="black", weight=3]; 21[label="signumReal2 (Neg (Succ vz3000)) (primEqInt (Neg (Succ vz3000)) (Pos Zero))",fontsize=16,color="black",shape="box"];21 -> 25[label="",style="solid", color="black", weight=3]; 22[label="signumReal2 (Neg Zero) (primEqInt (Neg Zero) (Pos Zero))",fontsize=16,color="black",shape="box"];22 -> 26[label="",style="solid", color="black", weight=3]; 23[label="signumReal2 (Pos (Succ vz3000)) False",fontsize=16,color="black",shape="box"];23 -> 27[label="",style="solid", color="black", weight=3]; 24[label="signumReal2 (Pos Zero) True",fontsize=16,color="black",shape="box"];24 -> 28[label="",style="solid", color="black", weight=3]; 25[label="signumReal2 (Neg (Succ vz3000)) False",fontsize=16,color="black",shape="box"];25 -> 29[label="",style="solid", color="black", weight=3]; 26[label="signumReal2 (Neg Zero) True",fontsize=16,color="black",shape="box"];26 -> 30[label="",style="solid", color="black", weight=3]; 27[label="signumReal1 (Pos (Succ vz3000)) (Pos (Succ vz3000) > fromInt (Pos Zero))",fontsize=16,color="black",shape="box"];27 -> 31[label="",style="solid", color="black", weight=3]; 28[label="fromInt (Pos Zero)",fontsize=16,color="black",shape="triangle"];28 -> 32[label="",style="solid", color="black", weight=3]; 29 -> 33[label="",style="dashed", color="red", weight=0]; 29[label="signumReal1 (Neg (Succ vz3000)) (Neg (Succ vz3000) > fromInt (Pos Zero))",fontsize=16,color="magenta"];29 -> 34[label="",style="dashed", color="magenta", weight=3]; 30 -> 28[label="",style="dashed", color="red", weight=0]; 30[label="fromInt (Pos Zero)",fontsize=16,color="magenta"];31 -> 35[label="",style="dashed", color="red", weight=0]; 31[label="signumReal1 (Pos (Succ vz3000)) (compare (Pos (Succ vz3000)) (fromInt (Pos Zero)) == GT)",fontsize=16,color="magenta"];31 -> 36[label="",style="dashed", color="magenta", weight=3]; 32[label="Pos Zero",fontsize=16,color="green",shape="box"];34 -> 28[label="",style="dashed", color="red", weight=0]; 34[label="fromInt (Pos Zero)",fontsize=16,color="magenta"];33[label="signumReal1 (Neg (Succ vz3000)) (Neg (Succ vz3000) > vz4)",fontsize=16,color="black",shape="triangle"];33 -> 37[label="",style="solid", color="black", weight=3]; 36 -> 28[label="",style="dashed", color="red", weight=0]; 36[label="fromInt (Pos Zero)",fontsize=16,color="magenta"];35[label="signumReal1 (Pos (Succ vz3000)) (compare (Pos (Succ vz3000)) vz5 == GT)",fontsize=16,color="black",shape="triangle"];35 -> 38[label="",style="solid", color="black", weight=3]; 37[label="signumReal1 (Neg (Succ vz3000)) (compare (Neg (Succ vz3000)) vz4 == GT)",fontsize=16,color="black",shape="box"];37 -> 39[label="",style="solid", color="black", weight=3]; 38[label="signumReal1 (Pos (Succ vz3000)) (primCmpInt (Pos (Succ vz3000)) vz5 == GT)",fontsize=16,color="burlywood",shape="box"];370[label="vz5/Pos vz50",fontsize=10,color="white",style="solid",shape="box"];38 -> 370[label="",style="solid", color="burlywood", weight=9]; 370 -> 40[label="",style="solid", color="burlywood", weight=3]; 371[label="vz5/Neg vz50",fontsize=10,color="white",style="solid",shape="box"];38 -> 371[label="",style="solid", color="burlywood", weight=9]; 371 -> 41[label="",style="solid", color="burlywood", weight=3]; 39[label="signumReal1 (Neg (Succ vz3000)) (primCmpInt (Neg (Succ vz3000)) vz4 == GT)",fontsize=16,color="burlywood",shape="box"];372[label="vz4/Pos vz40",fontsize=10,color="white",style="solid",shape="box"];39 -> 372[label="",style="solid", color="burlywood", weight=9]; 372 -> 42[label="",style="solid", color="burlywood", weight=3]; 373[label="vz4/Neg vz40",fontsize=10,color="white",style="solid",shape="box"];39 -> 373[label="",style="solid", color="burlywood", weight=9]; 373 -> 43[label="",style="solid", color="burlywood", weight=3]; 40[label="signumReal1 (Pos (Succ vz3000)) (primCmpInt (Pos (Succ vz3000)) (Pos vz50) == GT)",fontsize=16,color="black",shape="box"];40 -> 44[label="",style="solid", color="black", weight=3]; 41[label="signumReal1 (Pos (Succ vz3000)) (primCmpInt (Pos (Succ vz3000)) (Neg vz50) == GT)",fontsize=16,color="black",shape="box"];41 -> 45[label="",style="solid", color="black", weight=3]; 42[label="signumReal1 (Neg (Succ vz3000)) (primCmpInt (Neg (Succ vz3000)) (Pos vz40) == GT)",fontsize=16,color="black",shape="box"];42 -> 46[label="",style="solid", color="black", weight=3]; 43[label="signumReal1 (Neg (Succ vz3000)) (primCmpInt (Neg (Succ vz3000)) (Neg vz40) == GT)",fontsize=16,color="black",shape="box"];43 -> 47[label="",style="solid", color="black", weight=3]; 44 -> 206[label="",style="dashed", color="red", weight=0]; 44[label="signumReal1 (Pos (Succ vz3000)) (primCmpNat (Succ vz3000) vz50 == GT)",fontsize=16,color="magenta"];44 -> 207[label="",style="dashed", color="magenta", weight=3]; 44 -> 208[label="",style="dashed", color="magenta", weight=3]; 44 -> 209[label="",style="dashed", color="magenta", weight=3]; 45[label="signumReal1 (Pos (Succ vz3000)) (GT == GT)",fontsize=16,color="black",shape="triangle"];45 -> 50[label="",style="solid", color="black", weight=3]; 46[label="signumReal1 (Neg (Succ vz3000)) (LT == GT)",fontsize=16,color="black",shape="triangle"];46 -> 51[label="",style="solid", color="black", weight=3]; 47 -> 269[label="",style="dashed", color="red", weight=0]; 47[label="signumReal1 (Neg (Succ vz3000)) (primCmpNat vz40 (Succ vz3000) == GT)",fontsize=16,color="magenta"];47 -> 270[label="",style="dashed", color="magenta", weight=3]; 47 -> 271[label="",style="dashed", color="magenta", weight=3]; 47 -> 272[label="",style="dashed", color="magenta", weight=3]; 207[label="vz3000",fontsize=16,color="green",shape="box"];208[label="vz50",fontsize=16,color="green",shape="box"];209[label="Succ vz3000",fontsize=16,color="green",shape="box"];206[label="signumReal1 (Pos (Succ vz7)) (primCmpNat vz8 vz9 == GT)",fontsize=16,color="burlywood",shape="triangle"];374[label="vz8/Succ vz80",fontsize=10,color="white",style="solid",shape="box"];206 -> 374[label="",style="solid", color="burlywood", weight=9]; 374 -> 228[label="",style="solid", color="burlywood", weight=3]; 375[label="vz8/Zero",fontsize=10,color="white",style="solid",shape="box"];206 -> 375[label="",style="solid", color="burlywood", weight=9]; 375 -> 229[label="",style="solid", color="burlywood", weight=3]; 50[label="signumReal1 (Pos (Succ vz3000)) True",fontsize=16,color="black",shape="box"];50 -> 56[label="",style="solid", color="black", weight=3]; 51[label="signumReal1 (Neg (Succ vz3000)) False",fontsize=16,color="black",shape="triangle"];51 -> 57[label="",style="solid", color="black", weight=3]; 270[label="vz3000",fontsize=16,color="green",shape="box"];271[label="Succ vz3000",fontsize=16,color="green",shape="box"];272[label="vz40",fontsize=16,color="green",shape="box"];269[label="signumReal1 (Neg (Succ vz13)) (primCmpNat vz14 vz15 == GT)",fontsize=16,color="burlywood",shape="triangle"];376[label="vz14/Succ vz140",fontsize=10,color="white",style="solid",shape="box"];269 -> 376[label="",style="solid", color="burlywood", weight=9]; 376 -> 294[label="",style="solid", color="burlywood", weight=3]; 377[label="vz14/Zero",fontsize=10,color="white",style="solid",shape="box"];269 -> 377[label="",style="solid", color="burlywood", weight=9]; 377 -> 295[label="",style="solid", color="burlywood", weight=3]; 228[label="signumReal1 (Pos (Succ vz7)) (primCmpNat (Succ vz80) vz9 == GT)",fontsize=16,color="burlywood",shape="box"];378[label="vz9/Succ vz90",fontsize=10,color="white",style="solid",shape="box"];228 -> 378[label="",style="solid", color="burlywood", weight=9]; 378 -> 238[label="",style="solid", color="burlywood", weight=3]; 379[label="vz9/Zero",fontsize=10,color="white",style="solid",shape="box"];228 -> 379[label="",style="solid", color="burlywood", weight=9]; 379 -> 239[label="",style="solid", color="burlywood", weight=3]; 229[label="signumReal1 (Pos (Succ vz7)) (primCmpNat Zero vz9 == GT)",fontsize=16,color="burlywood",shape="box"];380[label="vz9/Succ vz90",fontsize=10,color="white",style="solid",shape="box"];229 -> 380[label="",style="solid", color="burlywood", weight=9]; 380 -> 240[label="",style="solid", color="burlywood", weight=3]; 381[label="vz9/Zero",fontsize=10,color="white",style="solid",shape="box"];229 -> 381[label="",style="solid", color="burlywood", weight=9]; 381 -> 241[label="",style="solid", color="burlywood", weight=3]; 56 -> 7[label="",style="dashed", color="red", weight=0]; 56[label="fromInt (Pos (Succ Zero))",fontsize=16,color="magenta"];57[label="signumReal0 (Neg (Succ vz3000)) otherwise",fontsize=16,color="black",shape="box"];57 -> 62[label="",style="solid", color="black", weight=3]; 294[label="signumReal1 (Neg (Succ vz13)) (primCmpNat (Succ vz140) vz15 == GT)",fontsize=16,color="burlywood",shape="box"];382[label="vz15/Succ vz150",fontsize=10,color="white",style="solid",shape="box"];294 -> 382[label="",style="solid", color="burlywood", weight=9]; 382 -> 298[label="",style="solid", color="burlywood", weight=3]; 383[label="vz15/Zero",fontsize=10,color="white",style="solid",shape="box"];294 -> 383[label="",style="solid", color="burlywood", weight=9]; 383 -> 299[label="",style="solid", color="burlywood", weight=3]; 295[label="signumReal1 (Neg (Succ vz13)) (primCmpNat Zero vz15 == GT)",fontsize=16,color="burlywood",shape="box"];384[label="vz15/Succ vz150",fontsize=10,color="white",style="solid",shape="box"];295 -> 384[label="",style="solid", color="burlywood", weight=9]; 384 -> 300[label="",style="solid", color="burlywood", weight=3]; 385[label="vz15/Zero",fontsize=10,color="white",style="solid",shape="box"];295 -> 385[label="",style="solid", color="burlywood", weight=9]; 385 -> 301[label="",style="solid", color="burlywood", weight=3]; 238[label="signumReal1 (Pos (Succ vz7)) (primCmpNat (Succ vz80) (Succ vz90) == GT)",fontsize=16,color="black",shape="box"];238 -> 249[label="",style="solid", color="black", weight=3]; 239[label="signumReal1 (Pos (Succ vz7)) (primCmpNat (Succ vz80) Zero == GT)",fontsize=16,color="black",shape="box"];239 -> 250[label="",style="solid", color="black", weight=3]; 240[label="signumReal1 (Pos (Succ vz7)) (primCmpNat Zero (Succ vz90) == GT)",fontsize=16,color="black",shape="box"];240 -> 251[label="",style="solid", color="black", weight=3]; 241[label="signumReal1 (Pos (Succ vz7)) (primCmpNat Zero Zero == GT)",fontsize=16,color="black",shape="box"];241 -> 252[label="",style="solid", color="black", weight=3]; 62[label="signumReal0 (Neg (Succ vz3000)) True",fontsize=16,color="black",shape="box"];62 -> 69[label="",style="solid", color="black", weight=3]; 298[label="signumReal1 (Neg (Succ vz13)) (primCmpNat (Succ vz140) (Succ vz150) == GT)",fontsize=16,color="black",shape="box"];298 -> 308[label="",style="solid", color="black", weight=3]; 299[label="signumReal1 (Neg (Succ vz13)) (primCmpNat (Succ vz140) Zero == GT)",fontsize=16,color="black",shape="box"];299 -> 309[label="",style="solid", color="black", weight=3]; 300[label="signumReal1 (Neg (Succ vz13)) (primCmpNat Zero (Succ vz150) == GT)",fontsize=16,color="black",shape="box"];300 -> 310[label="",style="solid", color="black", weight=3]; 301[label="signumReal1 (Neg (Succ vz13)) (primCmpNat Zero Zero == GT)",fontsize=16,color="black",shape="box"];301 -> 311[label="",style="solid", color="black", weight=3]; 249 -> 206[label="",style="dashed", color="red", weight=0]; 249[label="signumReal1 (Pos (Succ vz7)) (primCmpNat vz80 vz90 == GT)",fontsize=16,color="magenta"];249 -> 259[label="",style="dashed", color="magenta", weight=3]; 249 -> 260[label="",style="dashed", color="magenta", weight=3]; 250[label="signumReal1 (Pos (Succ vz7)) (GT == GT)",fontsize=16,color="black",shape="box"];250 -> 261[label="",style="solid", color="black", weight=3]; 251[label="signumReal1 (Pos (Succ vz7)) (LT == GT)",fontsize=16,color="black",shape="box"];251 -> 262[label="",style="solid", color="black", weight=3]; 252[label="signumReal1 (Pos (Succ vz7)) (EQ == GT)",fontsize=16,color="black",shape="box"];252 -> 263[label="",style="solid", color="black", weight=3]; 69[label="fromInt (Neg (Succ Zero))",fontsize=16,color="black",shape="triangle"];69 -> 78[label="",style="solid", color="black", weight=3]; 308 -> 269[label="",style="dashed", color="red", weight=0]; 308[label="signumReal1 (Neg (Succ vz13)) (primCmpNat vz140 vz150 == GT)",fontsize=16,color="magenta"];308 -> 317[label="",style="dashed", color="magenta", weight=3]; 308 -> 318[label="",style="dashed", color="magenta", weight=3]; 309[label="signumReal1 (Neg (Succ vz13)) (GT == GT)",fontsize=16,color="black",shape="box"];309 -> 319[label="",style="solid", color="black", weight=3]; 310[label="signumReal1 (Neg (Succ vz13)) (LT == GT)",fontsize=16,color="black",shape="box"];310 -> 320[label="",style="solid", color="black", weight=3]; 311[label="signumReal1 (Neg (Succ vz13)) (EQ == GT)",fontsize=16,color="black",shape="box"];311 -> 321[label="",style="solid", color="black", weight=3]; 259[label="vz90",fontsize=16,color="green",shape="box"];260[label="vz80",fontsize=16,color="green",shape="box"];261[label="signumReal1 (Pos (Succ vz7)) True",fontsize=16,color="black",shape="box"];261 -> 296[label="",style="solid", color="black", weight=3]; 262[label="signumReal1 (Pos (Succ vz7)) False",fontsize=16,color="black",shape="triangle"];262 -> 297[label="",style="solid", color="black", weight=3]; 263 -> 262[label="",style="dashed", color="red", weight=0]; 263[label="signumReal1 (Pos (Succ vz7)) False",fontsize=16,color="magenta"];78[label="Neg (Succ Zero)",fontsize=16,color="green",shape="box"];317[label="vz150",fontsize=16,color="green",shape="box"];318[label="vz140",fontsize=16,color="green",shape="box"];319[label="signumReal1 (Neg (Succ vz13)) True",fontsize=16,color="black",shape="box"];319 -> 330[label="",style="solid", color="black", weight=3]; 320[label="signumReal1 (Neg (Succ vz13)) False",fontsize=16,color="black",shape="triangle"];320 -> 331[label="",style="solid", color="black", weight=3]; 321 -> 320[label="",style="dashed", color="red", weight=0]; 321[label="signumReal1 (Neg (Succ vz13)) False",fontsize=16,color="magenta"];296[label="fromInt (Pos (Succ Zero))",fontsize=16,color="blue",shape="box"];386[label="fromInt :: -> Int Double",fontsize=10,color="white",style="solid",shape="box"];296 -> 386[label="",style="solid", color="blue", weight=9]; 386 -> 302[label="",style="solid", color="blue", weight=3]; 387[label="fromInt :: -> Int (Ratio a)",fontsize=10,color="white",style="solid",shape="box"];296 -> 387[label="",style="solid", color="blue", weight=9]; 387 -> 303[label="",style="solid", color="blue", weight=3]; 388[label="fromInt :: -> Int Float",fontsize=10,color="white",style="solid",shape="box"];296 -> 388[label="",style="solid", color="blue", weight=9]; 388 -> 304[label="",style="solid", color="blue", weight=3]; 389[label="fromInt :: -> Int Int",fontsize=10,color="white",style="solid",shape="box"];296 -> 389[label="",style="solid", color="blue", weight=9]; 389 -> 305[label="",style="solid", color="blue", weight=3]; 390[label="fromInt :: -> Int Integer",fontsize=10,color="white",style="solid",shape="box"];296 -> 390[label="",style="solid", color="blue", weight=9]; 390 -> 306[label="",style="solid", color="blue", weight=3]; 297[label="signumReal0 (Pos (Succ vz7)) otherwise",fontsize=16,color="black",shape="box"];297 -> 307[label="",style="solid", color="black", weight=3]; 330[label="fromInt (Pos (Succ Zero))",fontsize=16,color="blue",shape="box"];391[label="fromInt :: -> Int Double",fontsize=10,color="white",style="solid",shape="box"];330 -> 391[label="",style="solid", color="blue", weight=9]; 391 -> 338[label="",style="solid", color="blue", weight=3]; 392[label="fromInt :: -> Int (Ratio a)",fontsize=10,color="white",style="solid",shape="box"];330 -> 392[label="",style="solid", color="blue", weight=9]; 392 -> 339[label="",style="solid", color="blue", weight=3]; 393[label="fromInt :: -> Int Float",fontsize=10,color="white",style="solid",shape="box"];330 -> 393[label="",style="solid", color="blue", weight=9]; 393 -> 340[label="",style="solid", color="blue", weight=3]; 394[label="fromInt :: -> Int Int",fontsize=10,color="white",style="solid",shape="box"];330 -> 394[label="",style="solid", color="blue", weight=9]; 394 -> 341[label="",style="solid", color="blue", weight=3]; 395[label="fromInt :: -> Int Integer",fontsize=10,color="white",style="solid",shape="box"];330 -> 395[label="",style="solid", color="blue", weight=9]; 395 -> 342[label="",style="solid", color="blue", weight=3]; 331[label="signumReal0 (Neg (Succ vz13)) otherwise",fontsize=16,color="black",shape="box"];331 -> 343[label="",style="solid", color="black", weight=3]; 302[label="fromInt (Pos (Succ Zero))",fontsize=16,color="black",shape="triangle"];302 -> 312[label="",style="solid", color="black", weight=3]; 303[label="fromInt (Pos (Succ Zero))",fontsize=16,color="black",shape="triangle"];303 -> 313[label="",style="solid", color="black", weight=3]; 304[label="fromInt (Pos (Succ Zero))",fontsize=16,color="black",shape="triangle"];304 -> 314[label="",style="solid", color="black", weight=3]; 305 -> 7[label="",style="dashed", color="red", weight=0]; 305[label="fromInt (Pos (Succ Zero))",fontsize=16,color="magenta"];306[label="fromInt (Pos (Succ Zero))",fontsize=16,color="black",shape="triangle"];306 -> 315[label="",style="solid", color="black", weight=3]; 307[label="signumReal0 (Pos (Succ vz7)) True",fontsize=16,color="black",shape="box"];307 -> 316[label="",style="solid", color="black", weight=3]; 338 -> 302[label="",style="dashed", color="red", weight=0]; 338[label="fromInt (Pos (Succ Zero))",fontsize=16,color="magenta"];339 -> 303[label="",style="dashed", color="red", weight=0]; 339[label="fromInt (Pos (Succ Zero))",fontsize=16,color="magenta"];340 -> 304[label="",style="dashed", color="red", weight=0]; 340[label="fromInt (Pos (Succ Zero))",fontsize=16,color="magenta"];341 -> 7[label="",style="dashed", color="red", weight=0]; 341[label="fromInt (Pos (Succ Zero))",fontsize=16,color="magenta"];342 -> 306[label="",style="dashed", color="red", weight=0]; 342[label="fromInt (Pos (Succ Zero))",fontsize=16,color="magenta"];343[label="signumReal0 (Neg (Succ vz13)) True",fontsize=16,color="black",shape="box"];343 -> 351[label="",style="solid", color="black", weight=3]; 312[label="primIntToDouble (Pos (Succ Zero))",fontsize=16,color="black",shape="box"];312 -> 322[label="",style="solid", color="black", weight=3]; 313[label="intToRatio (Pos (Succ Zero))",fontsize=16,color="black",shape="box"];313 -> 323[label="",style="solid", color="black", weight=3]; 314[label="primIntToFloat (Pos (Succ Zero))",fontsize=16,color="black",shape="box"];314 -> 324[label="",style="solid", color="black", weight=3]; 315[label="Integer (Pos (Succ Zero))",fontsize=16,color="green",shape="box"];316[label="fromInt (Neg (Succ Zero))",fontsize=16,color="blue",shape="box"];396[label="fromInt :: -> Int Double",fontsize=10,color="white",style="solid",shape="box"];316 -> 396[label="",style="solid", color="blue", weight=9]; 396 -> 325[label="",style="solid", color="blue", weight=3]; 397[label="fromInt :: -> Int (Ratio a)",fontsize=10,color="white",style="solid",shape="box"];316 -> 397[label="",style="solid", color="blue", weight=9]; 397 -> 326[label="",style="solid", color="blue", weight=3]; 398[label="fromInt :: -> Int Float",fontsize=10,color="white",style="solid",shape="box"];316 -> 398[label="",style="solid", color="blue", weight=9]; 398 -> 327[label="",style="solid", color="blue", weight=3]; 399[label="fromInt :: -> Int Int",fontsize=10,color="white",style="solid",shape="box"];316 -> 399[label="",style="solid", color="blue", weight=9]; 399 -> 328[label="",style="solid", color="blue", weight=3]; 400[label="fromInt :: -> Int Integer",fontsize=10,color="white",style="solid",shape="box"];316 -> 400[label="",style="solid", color="blue", weight=9]; 400 -> 329[label="",style="solid", color="blue", weight=3]; 351[label="fromInt (Neg (Succ Zero))",fontsize=16,color="blue",shape="box"];401[label="fromInt :: -> Int Double",fontsize=10,color="white",style="solid",shape="box"];351 -> 401[label="",style="solid", color="blue", weight=9]; 401 -> 354[label="",style="solid", color="blue", weight=3]; 402[label="fromInt :: -> Int (Ratio a)",fontsize=10,color="white",style="solid",shape="box"];351 -> 402[label="",style="solid", color="blue", weight=9]; 402 -> 355[label="",style="solid", color="blue", weight=3]; 403[label="fromInt :: -> Int Float",fontsize=10,color="white",style="solid",shape="box"];351 -> 403[label="",style="solid", color="blue", weight=9]; 403 -> 356[label="",style="solid", color="blue", weight=3]; 404[label="fromInt :: -> Int Int",fontsize=10,color="white",style="solid",shape="box"];351 -> 404[label="",style="solid", color="blue", weight=9]; 404 -> 357[label="",style="solid", color="blue", weight=3]; 405[label="fromInt :: -> Int Integer",fontsize=10,color="white",style="solid",shape="box"];351 -> 405[label="",style="solid", color="blue", weight=9]; 405 -> 358[label="",style="solid", color="blue", weight=3]; 322[label="Double (Pos (Succ Zero)) (Pos (Succ Zero))",fontsize=16,color="green",shape="box"];323[label="fromInt (Pos (Succ Zero)) :% fromInt (Pos (Succ Zero))",fontsize=16,color="green",shape="box"];323 -> 332[label="",style="dashed", color="green", weight=3]; 323 -> 333[label="",style="dashed", color="green", weight=3]; 324[label="Float (Pos (Succ Zero)) (Pos (Succ Zero))",fontsize=16,color="green",shape="box"];325[label="fromInt (Neg (Succ Zero))",fontsize=16,color="black",shape="triangle"];325 -> 334[label="",style="solid", color="black", weight=3]; 326[label="fromInt (Neg (Succ Zero))",fontsize=16,color="black",shape="triangle"];326 -> 335[label="",style="solid", color="black", weight=3]; 327[label="fromInt (Neg (Succ Zero))",fontsize=16,color="black",shape="triangle"];327 -> 336[label="",style="solid", color="black", weight=3]; 328 -> 69[label="",style="dashed", color="red", weight=0]; 328[label="fromInt (Neg (Succ Zero))",fontsize=16,color="magenta"];329[label="fromInt (Neg (Succ Zero))",fontsize=16,color="black",shape="triangle"];329 -> 337[label="",style="solid", color="black", weight=3]; 354 -> 325[label="",style="dashed", color="red", weight=0]; 354[label="fromInt (Neg (Succ Zero))",fontsize=16,color="magenta"];355 -> 326[label="",style="dashed", color="red", weight=0]; 355[label="fromInt (Neg (Succ Zero))",fontsize=16,color="magenta"];356 -> 327[label="",style="dashed", color="red", weight=0]; 356[label="fromInt (Neg (Succ Zero))",fontsize=16,color="magenta"];357 -> 69[label="",style="dashed", color="red", weight=0]; 357[label="fromInt (Neg (Succ Zero))",fontsize=16,color="magenta"];358 -> 329[label="",style="dashed", color="red", weight=0]; 358[label="fromInt (Neg (Succ Zero))",fontsize=16,color="magenta"];332[label="fromInt (Pos (Succ Zero))",fontsize=16,color="blue",shape="box"];406[label="fromInt :: Int -> Int",fontsize=10,color="white",style="solid",shape="box"];332 -> 406[label="",style="solid", color="blue", weight=9]; 406 -> 344[label="",style="solid", color="blue", weight=3]; 407[label="fromInt :: Int -> Integer",fontsize=10,color="white",style="solid",shape="box"];332 -> 407[label="",style="solid", color="blue", weight=9]; 407 -> 345[label="",style="solid", color="blue", weight=3]; 333[label="fromInt (Pos (Succ Zero))",fontsize=16,color="blue",shape="box"];408[label="fromInt :: -> Int Int",fontsize=10,color="white",style="solid",shape="box"];333 -> 408[label="",style="solid", color="blue", weight=9]; 408 -> 346[label="",style="solid", color="blue", weight=3]; 409[label="fromInt :: -> Int Integer",fontsize=10,color="white",style="solid",shape="box"];333 -> 409[label="",style="solid", color="blue", weight=9]; 409 -> 347[label="",style="solid", color="blue", weight=3]; 334[label="primIntToDouble (Neg (Succ Zero))",fontsize=16,color="black",shape="box"];334 -> 348[label="",style="solid", color="black", weight=3]; 335[label="intToRatio (Neg (Succ Zero))",fontsize=16,color="black",shape="box"];335 -> 349[label="",style="solid", color="black", weight=3]; 336[label="primIntToFloat (Neg (Succ Zero))",fontsize=16,color="black",shape="box"];336 -> 350[label="",style="solid", color="black", weight=3]; 337[label="Integer (Neg (Succ Zero))",fontsize=16,color="green",shape="box"];344 -> 7[label="",style="dashed", color="red", weight=0]; 344[label="fromInt (Pos (Succ Zero))",fontsize=16,color="magenta"];345 -> 306[label="",style="dashed", color="red", weight=0]; 345[label="fromInt (Pos (Succ Zero))",fontsize=16,color="magenta"];346 -> 7[label="",style="dashed", color="red", weight=0]; 346[label="fromInt (Pos (Succ Zero))",fontsize=16,color="magenta"];347 -> 306[label="",style="dashed", color="red", weight=0]; 347[label="fromInt (Pos (Succ Zero))",fontsize=16,color="magenta"];348[label="Double (Neg (Succ Zero)) (Pos (Succ Zero))",fontsize=16,color="green",shape="box"];349[label="fromInt (Neg (Succ Zero)) :% fromInt (Pos (Succ Zero))",fontsize=16,color="green",shape="box"];349 -> 352[label="",style="dashed", color="green", weight=3]; 349 -> 353[label="",style="dashed", color="green", weight=3]; 350[label="Float (Neg (Succ Zero)) (Pos (Succ Zero))",fontsize=16,color="green",shape="box"];352[label="fromInt (Neg (Succ Zero))",fontsize=16,color="blue",shape="box"];410[label="fromInt :: Int -> Int",fontsize=10,color="white",style="solid",shape="box"];352 -> 410[label="",style="solid", color="blue", weight=9]; 410 -> 359[label="",style="solid", color="blue", weight=3]; 411[label="fromInt :: Int -> Integer",fontsize=10,color="white",style="solid",shape="box"];352 -> 411[label="",style="solid", color="blue", weight=9]; 411 -> 360[label="",style="solid", color="blue", weight=3]; 353[label="fromInt (Pos (Succ Zero))",fontsize=16,color="blue",shape="box"];412[label="fromInt :: -> Int Int",fontsize=10,color="white",style="solid",shape="box"];353 -> 412[label="",style="solid", color="blue", weight=9]; 412 -> 361[label="",style="solid", color="blue", weight=3]; 413[label="fromInt :: -> Int Integer",fontsize=10,color="white",style="solid",shape="box"];353 -> 413[label="",style="solid", color="blue", weight=9]; 413 -> 362[label="",style="solid", color="blue", weight=3]; 359 -> 69[label="",style="dashed", color="red", weight=0]; 359[label="fromInt (Neg (Succ Zero))",fontsize=16,color="magenta"];360 -> 329[label="",style="dashed", color="red", weight=0]; 360[label="fromInt (Neg (Succ Zero))",fontsize=16,color="magenta"];361 -> 7[label="",style="dashed", color="red", weight=0]; 361[label="fromInt (Pos (Succ Zero))",fontsize=16,color="magenta"];362 -> 306[label="",style="dashed", color="red", weight=0]; 362[label="fromInt (Pos (Succ Zero))",fontsize=16,color="magenta"];} ---------------------------------------- (8) Complex Obligation (AND) ---------------------------------------- (9) Obligation: Q DP problem: The TRS P consists of the following rules: new_signumReal1(vz13, Succ(vz140), Succ(vz150), h) -> new_signumReal1(vz13, vz140, vz150, h) R is empty. Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (10) QDPSizeChangeProof (EQUIVALENT) By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem. From the DPs we obtained the following set of size-change graphs: *new_signumReal1(vz13, Succ(vz140), Succ(vz150), h) -> new_signumReal1(vz13, vz140, vz150, h) The graph contains the following edges 1 >= 1, 2 > 2, 3 > 3, 4 >= 4 ---------------------------------------- (11) YES ---------------------------------------- (12) Obligation: Q DP problem: The TRS P consists of the following rules: new_signumReal10(vz7, Succ(vz80), Succ(vz90), h) -> new_signumReal10(vz7, vz80, vz90, h) R is empty. Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (13) QDPSizeChangeProof (EQUIVALENT) By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem. From the DPs we obtained the following set of size-change graphs: *new_signumReal10(vz7, Succ(vz80), Succ(vz90), h) -> new_signumReal10(vz7, vz80, vz90, h) The graph contains the following edges 1 >= 1, 2 > 2, 3 > 3, 4 >= 4 ---------------------------------------- (14) YES