10.14/4.47 YES 12.12/5.02 proof of /export/starexec/sandbox/benchmark/theBenchmark.hs 12.12/5.02 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 12.12/5.02 12.12/5.02 12.12/5.02 H-Termination with start terms of the given HASKELL could be proven: 12.12/5.02 12.12/5.02 (0) HASKELL 12.12/5.02 (1) BR [EQUIVALENT, 0 ms] 12.12/5.02 (2) HASKELL 12.12/5.02 (3) COR [EQUIVALENT, 0 ms] 12.12/5.02 (4) HASKELL 12.12/5.02 (5) Narrow [SOUND, 0 ms] 12.12/5.02 (6) QDP 12.12/5.02 (7) DependencyGraphProof [EQUIVALENT, 0 ms] 12.12/5.02 (8) AND 12.12/5.02 (9) QDP 12.12/5.02 (10) QDPSizeChangeProof [EQUIVALENT, 0 ms] 12.12/5.02 (11) YES 12.12/5.02 (12) QDP 12.12/5.02 (13) QDPSizeChangeProof [EQUIVALENT, 0 ms] 12.12/5.02 (14) YES 12.12/5.02 12.12/5.02 12.12/5.02 ---------------------------------------- 12.12/5.02 12.12/5.02 (0) 12.12/5.02 Obligation: 12.12/5.02 mainModule Main 12.12/5.02 module FiniteMap where { 12.12/5.02 import qualified Main; 12.12/5.02 import qualified Maybe; 12.12/5.02 import qualified Prelude; 12.12/5.02 data FiniteMap b a = EmptyFM | Branch b a Int (FiniteMap b a) (FiniteMap b a) ; 12.12/5.02 12.12/5.02 instance (Eq a, Eq b) => Eq FiniteMap b a where { 12.12/5.02 } 12.12/5.02 foldFM_GE :: Ord a => (a -> c -> b -> b) -> b -> a -> FiniteMap a c -> b; 12.12/5.02 foldFM_GE k z fr EmptyFM = z; 12.12/5.02 foldFM_GE k z fr (Branch key elt _ fm_l fm_r) | key >= fr = foldFM_GE k (k key elt (foldFM_GE k z fr fm_r)) fr fm_l 12.12/5.02 | otherwise = foldFM_GE k z fr fm_r; 12.12/5.02 12.12/5.02 } 12.12/5.02 module Maybe where { 12.12/5.02 import qualified FiniteMap; 12.12/5.02 import qualified Main; 12.12/5.02 import qualified Prelude; 12.12/5.02 } 12.12/5.02 module Main where { 12.12/5.02 import qualified FiniteMap; 12.12/5.02 import qualified Maybe; 12.12/5.02 import qualified Prelude; 12.12/5.02 } 12.12/5.02 12.12/5.02 ---------------------------------------- 12.12/5.02 12.12/5.02 (1) BR (EQUIVALENT) 12.12/5.02 Replaced joker patterns by fresh variables and removed binding patterns. 12.12/5.02 ---------------------------------------- 12.12/5.02 12.12/5.02 (2) 12.12/5.02 Obligation: 12.12/5.02 mainModule Main 12.12/5.02 module FiniteMap where { 12.12/5.02 import qualified Main; 12.12/5.02 import qualified Maybe; 12.12/5.02 import qualified Prelude; 12.12/5.02 data FiniteMap b a = EmptyFM | Branch b a Int (FiniteMap b a) (FiniteMap b a) ; 12.12/5.02 12.12/5.02 instance (Eq a, Eq b) => Eq FiniteMap a b where { 12.12/5.02 } 12.12/5.02 foldFM_GE :: Ord b => (b -> a -> c -> c) -> c -> b -> FiniteMap b a -> c; 12.12/5.02 foldFM_GE k z fr EmptyFM = z; 12.12/5.02 foldFM_GE k z fr (Branch key elt vy fm_l fm_r) | key >= fr = foldFM_GE k (k key elt (foldFM_GE k z fr fm_r)) fr fm_l 12.12/5.02 | otherwise = foldFM_GE k z fr fm_r; 12.12/5.02 12.12/5.02 } 12.12/5.02 module Maybe where { 12.12/5.02 import qualified FiniteMap; 12.12/5.02 import qualified Main; 12.12/5.02 import qualified Prelude; 12.12/5.02 } 12.12/5.02 module Main where { 12.12/5.02 import qualified FiniteMap; 12.12/5.02 import qualified Maybe; 12.12/5.02 import qualified Prelude; 12.12/5.02 } 12.12/5.02 12.12/5.02 ---------------------------------------- 12.12/5.02 12.12/5.02 (3) COR (EQUIVALENT) 12.12/5.02 Cond Reductions: 12.12/5.02 The following Function with conditions 12.12/5.02 "compare x y|x == yEQ|x <= yLT|otherwiseGT; 12.12/5.02 " 12.12/5.02 is transformed to 12.12/5.02 "compare x y = compare3 x y; 12.12/5.02 " 12.12/5.02 "compare0 x y True = GT; 12.12/5.02 " 12.12/5.02 "compare2 x y True = EQ; 12.12/5.02 compare2 x y False = compare1 x y (x <= y); 12.12/5.02 " 12.12/5.02 "compare1 x y True = LT; 12.12/5.02 compare1 x y False = compare0 x y otherwise; 12.12/5.02 " 12.12/5.02 "compare3 x y = compare2 x y (x == y); 12.12/5.02 " 12.12/5.02 The following Function with conditions 12.12/5.02 "undefined |Falseundefined; 12.12/5.02 " 12.12/5.02 is transformed to 12.12/5.02 "undefined = undefined1; 12.12/5.02 " 12.12/5.02 "undefined0 True = undefined; 12.12/5.02 " 12.12/5.02 "undefined1 = undefined0 False; 12.12/5.02 " 12.12/5.02 The following Function with conditions 12.12/5.02 "foldFM_GE k z fr EmptyFM = z; 12.12/5.02 foldFM_GE k z fr (Branch key elt vy fm_l fm_r)|key >= frfoldFM_GE k (k key elt (foldFM_GE k z fr fm_r)) fr fm_l|otherwisefoldFM_GE k z fr fm_r; 12.12/5.02 " 12.12/5.02 is transformed to 12.12/5.02 "foldFM_GE k z fr EmptyFM = foldFM_GE3 k z fr EmptyFM; 12.12/5.02 foldFM_GE k z fr (Branch key elt vy fm_l fm_r) = foldFM_GE2 k z fr (Branch key elt vy fm_l fm_r); 12.12/5.02 " 12.12/5.02 "foldFM_GE0 k z fr key elt vy fm_l fm_r True = foldFM_GE k z fr fm_r; 12.12/5.02 " 12.12/5.02 "foldFM_GE1 k z fr key elt vy fm_l fm_r True = foldFM_GE k (k key elt (foldFM_GE k z fr fm_r)) fr fm_l; 12.12/5.02 foldFM_GE1 k z fr key elt vy fm_l fm_r False = foldFM_GE0 k z fr key elt vy fm_l fm_r otherwise; 12.12/5.02 " 12.12/5.02 "foldFM_GE2 k z fr (Branch key elt vy fm_l fm_r) = foldFM_GE1 k z fr key elt vy fm_l fm_r (key >= fr); 12.12/5.02 " 12.12/5.02 "foldFM_GE3 k z fr EmptyFM = z; 12.12/5.02 foldFM_GE3 wv ww wx wy = foldFM_GE2 wv ww wx wy; 12.12/5.02 " 12.12/5.02 12.12/5.02 ---------------------------------------- 12.12/5.02 12.12/5.02 (4) 12.12/5.02 Obligation: 12.12/5.02 mainModule Main 12.12/5.02 module FiniteMap where { 12.12/5.02 import qualified Main; 12.12/5.02 import qualified Maybe; 12.12/5.02 import qualified Prelude; 12.12/5.02 data FiniteMap b a = EmptyFM | Branch b a Int (FiniteMap b a) (FiniteMap b a) ; 12.12/5.02 12.12/5.02 instance (Eq a, Eq b) => Eq FiniteMap a b where { 12.12/5.02 } 12.12/5.02 foldFM_GE :: Ord b => (b -> a -> c -> c) -> c -> b -> FiniteMap b a -> c; 12.12/5.02 foldFM_GE k z fr EmptyFM = foldFM_GE3 k z fr EmptyFM; 12.12/5.02 foldFM_GE k z fr (Branch key elt vy fm_l fm_r) = foldFM_GE2 k z fr (Branch key elt vy fm_l fm_r); 12.12/5.02 12.12/5.02 foldFM_GE0 k z fr key elt vy fm_l fm_r True = foldFM_GE k z fr fm_r; 12.12/5.02 12.12/5.02 foldFM_GE1 k z fr key elt vy fm_l fm_r True = foldFM_GE k (k key elt (foldFM_GE k z fr fm_r)) fr fm_l; 12.12/5.02 foldFM_GE1 k z fr key elt vy fm_l fm_r False = foldFM_GE0 k z fr key elt vy fm_l fm_r otherwise; 12.12/5.02 12.12/5.02 foldFM_GE2 k z fr (Branch key elt vy fm_l fm_r) = foldFM_GE1 k z fr key elt vy fm_l fm_r (key >= fr); 12.12/5.02 12.12/5.02 foldFM_GE3 k z fr EmptyFM = z; 12.12/5.02 foldFM_GE3 wv ww wx wy = foldFM_GE2 wv ww wx wy; 12.12/5.02 12.12/5.02 } 12.12/5.02 module Maybe where { 12.12/5.02 import qualified FiniteMap; 12.12/5.02 import qualified Main; 12.12/5.02 import qualified Prelude; 12.12/5.02 } 12.12/5.02 module Main where { 12.12/5.02 import qualified FiniteMap; 12.12/5.02 import qualified Maybe; 12.12/5.02 import qualified Prelude; 12.12/5.02 } 12.12/5.02 12.12/5.02 ---------------------------------------- 12.12/5.02 12.12/5.02 (5) Narrow (SOUND) 12.12/5.02 Haskell To QDPs 12.12/5.02 12.12/5.02 digraph dp_graph { 12.12/5.02 node [outthreshold=100, inthreshold=100];1[label="FiniteMap.foldFM_GE",fontsize=16,color="grey",shape="box"];1 -> 3[label="",style="dashed", color="grey", weight=3]; 12.12/5.02 3[label="FiniteMap.foldFM_GE wz3",fontsize=16,color="grey",shape="box"];3 -> 4[label="",style="dashed", color="grey", weight=3]; 12.12/5.02 4[label="FiniteMap.foldFM_GE wz3 wz4",fontsize=16,color="grey",shape="box"];4 -> 5[label="",style="dashed", color="grey", weight=3]; 12.12/5.02 5[label="FiniteMap.foldFM_GE wz3 wz4 wz5",fontsize=16,color="grey",shape="box"];5 -> 6[label="",style="dashed", color="grey", weight=3]; 12.12/5.02 6[label="FiniteMap.foldFM_GE wz3 wz4 wz5 wz6",fontsize=16,color="burlywood",shape="triangle"];77[label="wz6/FiniteMap.EmptyFM",fontsize=10,color="white",style="solid",shape="box"];6 -> 77[label="",style="solid", color="burlywood", weight=9]; 12.12/5.02 77 -> 7[label="",style="solid", color="burlywood", weight=3]; 12.12/5.02 78[label="wz6/FiniteMap.Branch wz60 wz61 wz62 wz63 wz64",fontsize=10,color="white",style="solid",shape="box"];6 -> 78[label="",style="solid", color="burlywood", weight=9]; 12.12/5.02 78 -> 8[label="",style="solid", color="burlywood", weight=3]; 12.12/5.02 7[label="FiniteMap.foldFM_GE wz3 wz4 wz5 FiniteMap.EmptyFM",fontsize=16,color="black",shape="box"];7 -> 9[label="",style="solid", color="black", weight=3]; 12.12/5.02 8[label="FiniteMap.foldFM_GE wz3 wz4 wz5 (FiniteMap.Branch wz60 wz61 wz62 wz63 wz64)",fontsize=16,color="black",shape="box"];8 -> 10[label="",style="solid", color="black", weight=3]; 12.12/5.02 9[label="FiniteMap.foldFM_GE3 wz3 wz4 wz5 FiniteMap.EmptyFM",fontsize=16,color="black",shape="box"];9 -> 11[label="",style="solid", color="black", weight=3]; 12.12/5.02 10[label="FiniteMap.foldFM_GE2 wz3 wz4 wz5 (FiniteMap.Branch wz60 wz61 wz62 wz63 wz64)",fontsize=16,color="black",shape="box"];10 -> 12[label="",style="solid", color="black", weight=3]; 12.12/5.02 11[label="wz4",fontsize=16,color="green",shape="box"];12[label="FiniteMap.foldFM_GE1 wz3 wz4 wz5 wz60 wz61 wz62 wz63 wz64 (wz60 >= wz5)",fontsize=16,color="black",shape="box"];12 -> 13[label="",style="solid", color="black", weight=3]; 12.12/5.02 13[label="FiniteMap.foldFM_GE1 wz3 wz4 wz5 wz60 wz61 wz62 wz63 wz64 (compare wz60 wz5 /= LT)",fontsize=16,color="black",shape="box"];13 -> 14[label="",style="solid", color="black", weight=3]; 12.12/5.02 14[label="FiniteMap.foldFM_GE1 wz3 wz4 wz5 wz60 wz61 wz62 wz63 wz64 (not (compare wz60 wz5 == LT))",fontsize=16,color="black",shape="box"];14 -> 15[label="",style="solid", color="black", weight=3]; 12.12/5.02 15[label="FiniteMap.foldFM_GE1 wz3 wz4 wz5 wz60 wz61 wz62 wz63 wz64 (not (compare3 wz60 wz5 == LT))",fontsize=16,color="black",shape="box"];15 -> 16[label="",style="solid", color="black", weight=3]; 12.12/5.02 16[label="FiniteMap.foldFM_GE1 wz3 wz4 wz5 wz60 wz61 wz62 wz63 wz64 (not (compare2 wz60 wz5 (wz60 == wz5) == LT))",fontsize=16,color="burlywood",shape="box"];79[label="wz60/False",fontsize=10,color="white",style="solid",shape="box"];16 -> 79[label="",style="solid", color="burlywood", weight=9]; 12.12/5.02 79 -> 17[label="",style="solid", color="burlywood", weight=3]; 12.12/5.02 80[label="wz60/True",fontsize=10,color="white",style="solid",shape="box"];16 -> 80[label="",style="solid", color="burlywood", weight=9]; 12.12/5.02 80 -> 18[label="",style="solid", color="burlywood", weight=3]; 12.12/5.02 17[label="FiniteMap.foldFM_GE1 wz3 wz4 wz5 False wz61 wz62 wz63 wz64 (not (compare2 False wz5 (False == wz5) == LT))",fontsize=16,color="burlywood",shape="box"];81[label="wz5/False",fontsize=10,color="white",style="solid",shape="box"];17 -> 81[label="",style="solid", color="burlywood", weight=9]; 12.12/5.02 81 -> 19[label="",style="solid", color="burlywood", weight=3]; 12.12/5.02 82[label="wz5/True",fontsize=10,color="white",style="solid",shape="box"];17 -> 82[label="",style="solid", color="burlywood", weight=9]; 12.12/5.02 82 -> 20[label="",style="solid", color="burlywood", weight=3]; 12.12/5.02 18[label="FiniteMap.foldFM_GE1 wz3 wz4 wz5 True wz61 wz62 wz63 wz64 (not (compare2 True wz5 (True == wz5) == LT))",fontsize=16,color="burlywood",shape="box"];83[label="wz5/False",fontsize=10,color="white",style="solid",shape="box"];18 -> 83[label="",style="solid", color="burlywood", weight=9]; 12.12/5.02 83 -> 21[label="",style="solid", color="burlywood", weight=3]; 12.12/5.02 84[label="wz5/True",fontsize=10,color="white",style="solid",shape="box"];18 -> 84[label="",style="solid", color="burlywood", weight=9]; 12.12/5.02 84 -> 22[label="",style="solid", color="burlywood", weight=3]; 12.12/5.02 19[label="FiniteMap.foldFM_GE1 wz3 wz4 False False wz61 wz62 wz63 wz64 (not (compare2 False False (False == False) == LT))",fontsize=16,color="black",shape="box"];19 -> 23[label="",style="solid", color="black", weight=3]; 12.12/5.02 20[label="FiniteMap.foldFM_GE1 wz3 wz4 True False wz61 wz62 wz63 wz64 (not (compare2 False True (False == True) == LT))",fontsize=16,color="black",shape="box"];20 -> 24[label="",style="solid", color="black", weight=3]; 12.12/5.02 21[label="FiniteMap.foldFM_GE1 wz3 wz4 False True wz61 wz62 wz63 wz64 (not (compare2 True False (True == False) == LT))",fontsize=16,color="black",shape="box"];21 -> 25[label="",style="solid", color="black", weight=3]; 12.12/5.02 22[label="FiniteMap.foldFM_GE1 wz3 wz4 True True wz61 wz62 wz63 wz64 (not (compare2 True True (True == True) == LT))",fontsize=16,color="black",shape="box"];22 -> 26[label="",style="solid", color="black", weight=3]; 12.12/5.02 23[label="FiniteMap.foldFM_GE1 wz3 wz4 False False wz61 wz62 wz63 wz64 (not (compare2 False False True == LT))",fontsize=16,color="black",shape="box"];23 -> 27[label="",style="solid", color="black", weight=3]; 12.12/5.02 24[label="FiniteMap.foldFM_GE1 wz3 wz4 True False wz61 wz62 wz63 wz64 (not (compare2 False True False == LT))",fontsize=16,color="black",shape="box"];24 -> 28[label="",style="solid", color="black", weight=3]; 12.12/5.02 25[label="FiniteMap.foldFM_GE1 wz3 wz4 False True wz61 wz62 wz63 wz64 (not (compare2 True False False == LT))",fontsize=16,color="black",shape="box"];25 -> 29[label="",style="solid", color="black", weight=3]; 12.12/5.02 26[label="FiniteMap.foldFM_GE1 wz3 wz4 True True wz61 wz62 wz63 wz64 (not (compare2 True True True == LT))",fontsize=16,color="black",shape="box"];26 -> 30[label="",style="solid", color="black", weight=3]; 12.12/5.02 27[label="FiniteMap.foldFM_GE1 wz3 wz4 False False wz61 wz62 wz63 wz64 (not (EQ == LT))",fontsize=16,color="black",shape="box"];27 -> 31[label="",style="solid", color="black", weight=3]; 12.12/5.02 28[label="FiniteMap.foldFM_GE1 wz3 wz4 True False wz61 wz62 wz63 wz64 (not (compare1 False True (False <= True) == LT))",fontsize=16,color="black",shape="box"];28 -> 32[label="",style="solid", color="black", weight=3]; 12.12/5.02 29[label="FiniteMap.foldFM_GE1 wz3 wz4 False True wz61 wz62 wz63 wz64 (not (compare1 True False (True <= False) == LT))",fontsize=16,color="black",shape="box"];29 -> 33[label="",style="solid", color="black", weight=3]; 12.12/5.02 30[label="FiniteMap.foldFM_GE1 wz3 wz4 True True wz61 wz62 wz63 wz64 (not (EQ == LT))",fontsize=16,color="black",shape="box"];30 -> 34[label="",style="solid", color="black", weight=3]; 12.12/5.02 31[label="FiniteMap.foldFM_GE1 wz3 wz4 False False wz61 wz62 wz63 wz64 (not False)",fontsize=16,color="black",shape="box"];31 -> 35[label="",style="solid", color="black", weight=3]; 12.12/5.02 32[label="FiniteMap.foldFM_GE1 wz3 wz4 True False wz61 wz62 wz63 wz64 (not (compare1 False True True == LT))",fontsize=16,color="black",shape="box"];32 -> 36[label="",style="solid", color="black", weight=3]; 12.12/5.02 33[label="FiniteMap.foldFM_GE1 wz3 wz4 False True wz61 wz62 wz63 wz64 (not (compare1 True False False == LT))",fontsize=16,color="black",shape="box"];33 -> 37[label="",style="solid", color="black", weight=3]; 12.12/5.02 34[label="FiniteMap.foldFM_GE1 wz3 wz4 True True wz61 wz62 wz63 wz64 (not False)",fontsize=16,color="black",shape="box"];34 -> 38[label="",style="solid", color="black", weight=3]; 12.12/5.02 35[label="FiniteMap.foldFM_GE1 wz3 wz4 False False wz61 wz62 wz63 wz64 True",fontsize=16,color="black",shape="box"];35 -> 39[label="",style="solid", color="black", weight=3]; 12.12/5.02 36[label="FiniteMap.foldFM_GE1 wz3 wz4 True False wz61 wz62 wz63 wz64 (not (LT == LT))",fontsize=16,color="black",shape="box"];36 -> 40[label="",style="solid", color="black", weight=3]; 12.12/5.02 37[label="FiniteMap.foldFM_GE1 wz3 wz4 False True wz61 wz62 wz63 wz64 (not (compare0 True False otherwise == LT))",fontsize=16,color="black",shape="box"];37 -> 41[label="",style="solid", color="black", weight=3]; 12.12/5.02 38[label="FiniteMap.foldFM_GE1 wz3 wz4 True True wz61 wz62 wz63 wz64 True",fontsize=16,color="black",shape="box"];38 -> 42[label="",style="solid", color="black", weight=3]; 12.12/5.02 39 -> 6[label="",style="dashed", color="red", weight=0]; 12.12/5.02 39[label="FiniteMap.foldFM_GE wz3 (wz3 False wz61 (FiniteMap.foldFM_GE wz3 wz4 False wz64)) False wz63",fontsize=16,color="magenta"];39 -> 43[label="",style="dashed", color="magenta", weight=3]; 12.12/5.02 39 -> 44[label="",style="dashed", color="magenta", weight=3]; 12.12/5.02 39 -> 45[label="",style="dashed", color="magenta", weight=3]; 12.12/5.02 40[label="FiniteMap.foldFM_GE1 wz3 wz4 True False wz61 wz62 wz63 wz64 (not True)",fontsize=16,color="black",shape="box"];40 -> 46[label="",style="solid", color="black", weight=3]; 12.12/5.02 41[label="FiniteMap.foldFM_GE1 wz3 wz4 False True wz61 wz62 wz63 wz64 (not (compare0 True False True == LT))",fontsize=16,color="black",shape="box"];41 -> 47[label="",style="solid", color="black", weight=3]; 12.12/5.02 42 -> 6[label="",style="dashed", color="red", weight=0]; 12.12/5.02 42[label="FiniteMap.foldFM_GE wz3 (wz3 True wz61 (FiniteMap.foldFM_GE wz3 wz4 True wz64)) True wz63",fontsize=16,color="magenta"];42 -> 48[label="",style="dashed", color="magenta", weight=3]; 12.12/5.02 42 -> 49[label="",style="dashed", color="magenta", weight=3]; 12.12/5.02 42 -> 50[label="",style="dashed", color="magenta", weight=3]; 12.12/5.02 43[label="False",fontsize=16,color="green",shape="box"];44[label="wz3 False wz61 (FiniteMap.foldFM_GE wz3 wz4 False wz64)",fontsize=16,color="green",shape="box"];44 -> 51[label="",style="dashed", color="green", weight=3]; 12.12/5.02 44 -> 52[label="",style="dashed", color="green", weight=3]; 12.12/5.02 44 -> 53[label="",style="dashed", color="green", weight=3]; 12.12/5.02 45[label="wz63",fontsize=16,color="green",shape="box"];46[label="FiniteMap.foldFM_GE1 wz3 wz4 True False wz61 wz62 wz63 wz64 False",fontsize=16,color="black",shape="box"];46 -> 54[label="",style="solid", color="black", weight=3]; 12.12/5.02 47[label="FiniteMap.foldFM_GE1 wz3 wz4 False True wz61 wz62 wz63 wz64 (not (GT == LT))",fontsize=16,color="black",shape="box"];47 -> 55[label="",style="solid", color="black", weight=3]; 12.12/5.02 48[label="True",fontsize=16,color="green",shape="box"];49[label="wz3 True wz61 (FiniteMap.foldFM_GE wz3 wz4 True wz64)",fontsize=16,color="green",shape="box"];49 -> 56[label="",style="dashed", color="green", weight=3]; 12.12/5.02 49 -> 57[label="",style="dashed", color="green", weight=3]; 12.12/5.02 49 -> 58[label="",style="dashed", color="green", weight=3]; 12.12/5.02 50[label="wz63",fontsize=16,color="green",shape="box"];51[label="False",fontsize=16,color="green",shape="box"];52[label="wz61",fontsize=16,color="green",shape="box"];53 -> 6[label="",style="dashed", color="red", weight=0]; 12.12/5.02 53[label="FiniteMap.foldFM_GE wz3 wz4 False wz64",fontsize=16,color="magenta"];53 -> 59[label="",style="dashed", color="magenta", weight=3]; 12.12/5.02 53 -> 60[label="",style="dashed", color="magenta", weight=3]; 12.12/5.02 54[label="FiniteMap.foldFM_GE0 wz3 wz4 True False wz61 wz62 wz63 wz64 otherwise",fontsize=16,color="black",shape="box"];54 -> 61[label="",style="solid", color="black", weight=3]; 12.12/5.02 55[label="FiniteMap.foldFM_GE1 wz3 wz4 False True wz61 wz62 wz63 wz64 (not False)",fontsize=16,color="black",shape="box"];55 -> 62[label="",style="solid", color="black", weight=3]; 12.12/5.02 56[label="True",fontsize=16,color="green",shape="box"];57[label="wz61",fontsize=16,color="green",shape="box"];58 -> 6[label="",style="dashed", color="red", weight=0]; 12.12/5.02 58[label="FiniteMap.foldFM_GE wz3 wz4 True wz64",fontsize=16,color="magenta"];58 -> 63[label="",style="dashed", color="magenta", weight=3]; 12.12/5.02 58 -> 64[label="",style="dashed", color="magenta", weight=3]; 12.12/5.02 59[label="False",fontsize=16,color="green",shape="box"];60[label="wz64",fontsize=16,color="green",shape="box"];61[label="FiniteMap.foldFM_GE0 wz3 wz4 True False wz61 wz62 wz63 wz64 True",fontsize=16,color="black",shape="box"];61 -> 65[label="",style="solid", color="black", weight=3]; 12.12/5.02 62[label="FiniteMap.foldFM_GE1 wz3 wz4 False True wz61 wz62 wz63 wz64 True",fontsize=16,color="black",shape="box"];62 -> 66[label="",style="solid", color="black", weight=3]; 12.12/5.02 63[label="True",fontsize=16,color="green",shape="box"];64[label="wz64",fontsize=16,color="green",shape="box"];65 -> 6[label="",style="dashed", color="red", weight=0]; 12.12/5.02 65[label="FiniteMap.foldFM_GE wz3 wz4 True wz64",fontsize=16,color="magenta"];65 -> 67[label="",style="dashed", color="magenta", weight=3]; 12.12/5.02 65 -> 68[label="",style="dashed", color="magenta", weight=3]; 12.12/5.02 66 -> 6[label="",style="dashed", color="red", weight=0]; 12.12/5.02 66[label="FiniteMap.foldFM_GE wz3 (wz3 True wz61 (FiniteMap.foldFM_GE wz3 wz4 False wz64)) False wz63",fontsize=16,color="magenta"];66 -> 69[label="",style="dashed", color="magenta", weight=3]; 12.12/5.02 66 -> 70[label="",style="dashed", color="magenta", weight=3]; 12.12/5.02 66 -> 71[label="",style="dashed", color="magenta", weight=3]; 12.12/5.02 67[label="True",fontsize=16,color="green",shape="box"];68[label="wz64",fontsize=16,color="green",shape="box"];69[label="False",fontsize=16,color="green",shape="box"];70[label="wz3 True wz61 (FiniteMap.foldFM_GE wz3 wz4 False wz64)",fontsize=16,color="green",shape="box"];70 -> 72[label="",style="dashed", color="green", weight=3]; 12.12/5.02 70 -> 73[label="",style="dashed", color="green", weight=3]; 12.12/5.02 70 -> 74[label="",style="dashed", color="green", weight=3]; 12.12/5.02 71[label="wz63",fontsize=16,color="green",shape="box"];72[label="True",fontsize=16,color="green",shape="box"];73[label="wz61",fontsize=16,color="green",shape="box"];74 -> 6[label="",style="dashed", color="red", weight=0]; 12.12/5.02 74[label="FiniteMap.foldFM_GE wz3 wz4 False wz64",fontsize=16,color="magenta"];74 -> 75[label="",style="dashed", color="magenta", weight=3]; 12.12/5.02 74 -> 76[label="",style="dashed", color="magenta", weight=3]; 12.12/5.02 75[label="False",fontsize=16,color="green",shape="box"];76[label="wz64",fontsize=16,color="green",shape="box"];} 12.12/5.02 12.12/5.02 ---------------------------------------- 12.12/5.02 12.12/5.02 (6) 12.12/5.02 Obligation: 12.12/5.02 Q DP problem: 12.12/5.02 The TRS P consists of the following rules: 12.12/5.02 12.12/5.02 new_foldFM_GE(wz3, False, Branch(True, wz61, wz62, wz63, wz64), h, ba) -> new_foldFM_GE(wz3, False, wz63, h, ba) 12.12/5.02 new_foldFM_GE(wz3, True, Branch(True, wz61, wz62, wz63, wz64), h, ba) -> new_foldFM_GE(wz3, True, wz64, h, ba) 12.12/5.02 new_foldFM_GE(wz3, False, Branch(False, wz61, wz62, wz63, wz64), h, ba) -> new_foldFM_GE(wz3, False, wz63, h, ba) 12.12/5.02 new_foldFM_GE(wz3, True, Branch(False, wz61, wz62, wz63, wz64), h, ba) -> new_foldFM_GE(wz3, True, wz64, h, ba) 12.12/5.02 new_foldFM_GE(wz3, True, Branch(True, wz61, wz62, wz63, wz64), h, ba) -> new_foldFM_GE(wz3, True, wz63, h, ba) 12.12/5.02 new_foldFM_GE(wz3, False, Branch(False, wz61, wz62, wz63, wz64), h, ba) -> new_foldFM_GE(wz3, False, wz64, h, ba) 12.12/5.02 new_foldFM_GE(wz3, False, Branch(True, wz61, wz62, wz63, wz64), h, ba) -> new_foldFM_GE(wz3, False, wz64, h, ba) 12.12/5.02 12.12/5.02 R is empty. 12.12/5.02 Q is empty. 12.12/5.02 We have to consider all minimal (P,Q,R)-chains. 12.12/5.02 ---------------------------------------- 12.12/5.02 12.12/5.02 (7) DependencyGraphProof (EQUIVALENT) 12.12/5.02 The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 2 SCCs. 12.12/5.02 ---------------------------------------- 12.12/5.02 12.12/5.02 (8) 12.12/5.02 Complex Obligation (AND) 12.12/5.02 12.12/5.02 ---------------------------------------- 12.12/5.02 12.12/5.02 (9) 12.12/5.02 Obligation: 12.12/5.02 Q DP problem: 12.12/5.02 The TRS P consists of the following rules: 12.12/5.02 12.12/5.02 new_foldFM_GE(wz3, True, Branch(False, wz61, wz62, wz63, wz64), h, ba) -> new_foldFM_GE(wz3, True, wz64, h, ba) 12.12/5.02 new_foldFM_GE(wz3, True, Branch(True, wz61, wz62, wz63, wz64), h, ba) -> new_foldFM_GE(wz3, True, wz64, h, ba) 12.12/5.02 new_foldFM_GE(wz3, True, Branch(True, wz61, wz62, wz63, wz64), h, ba) -> new_foldFM_GE(wz3, True, wz63, h, ba) 12.12/5.02 12.12/5.02 R is empty. 12.12/5.02 Q is empty. 12.12/5.02 We have to consider all minimal (P,Q,R)-chains. 12.12/5.02 ---------------------------------------- 12.12/5.02 12.12/5.02 (10) QDPSizeChangeProof (EQUIVALENT) 12.12/5.02 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. 12.12/5.02 12.12/5.02 From the DPs we obtained the following set of size-change graphs: 12.12/5.02 *new_foldFM_GE(wz3, True, Branch(False, wz61, wz62, wz63, wz64), h, ba) -> new_foldFM_GE(wz3, True, wz64, h, ba) 12.12/5.02 The graph contains the following edges 1 >= 1, 2 >= 2, 3 > 3, 4 >= 4, 5 >= 5 12.12/5.02 12.12/5.02 12.12/5.02 *new_foldFM_GE(wz3, True, Branch(True, wz61, wz62, wz63, wz64), h, ba) -> new_foldFM_GE(wz3, True, wz64, h, ba) 12.12/5.02 The graph contains the following edges 1 >= 1, 2 >= 2, 3 > 2, 3 > 3, 4 >= 4, 5 >= 5 12.12/5.02 12.12/5.02 12.12/5.02 *new_foldFM_GE(wz3, True, Branch(True, wz61, wz62, wz63, wz64), h, ba) -> new_foldFM_GE(wz3, True, wz63, h, ba) 12.12/5.02 The graph contains the following edges 1 >= 1, 2 >= 2, 3 > 2, 3 > 3, 4 >= 4, 5 >= 5 12.12/5.02 12.12/5.02 12.12/5.02 ---------------------------------------- 12.12/5.02 12.12/5.02 (11) 12.12/5.02 YES 12.12/5.02 12.12/5.02 ---------------------------------------- 12.12/5.02 12.12/5.02 (12) 12.12/5.02 Obligation: 12.12/5.02 Q DP problem: 12.12/5.02 The TRS P consists of the following rules: 12.12/5.02 12.12/5.02 new_foldFM_GE(wz3, False, Branch(False, wz61, wz62, wz63, wz64), h, ba) -> new_foldFM_GE(wz3, False, wz63, h, ba) 12.12/5.02 new_foldFM_GE(wz3, False, Branch(True, wz61, wz62, wz63, wz64), h, ba) -> new_foldFM_GE(wz3, False, wz63, h, ba) 12.12/5.02 new_foldFM_GE(wz3, False, Branch(False, wz61, wz62, wz63, wz64), h, ba) -> new_foldFM_GE(wz3, False, wz64, h, ba) 12.12/5.02 new_foldFM_GE(wz3, False, Branch(True, wz61, wz62, wz63, wz64), h, ba) -> new_foldFM_GE(wz3, False, wz64, h, ba) 12.12/5.02 12.12/5.02 R is empty. 12.12/5.02 Q is empty. 12.12/5.02 We have to consider all minimal (P,Q,R)-chains. 12.12/5.02 ---------------------------------------- 12.12/5.02 12.12/5.02 (13) QDPSizeChangeProof (EQUIVALENT) 12.12/5.02 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. 12.12/5.02 12.12/5.02 From the DPs we obtained the following set of size-change graphs: 12.12/5.02 *new_foldFM_GE(wz3, False, Branch(False, wz61, wz62, wz63, wz64), h, ba) -> new_foldFM_GE(wz3, False, wz63, h, ba) 12.12/5.02 The graph contains the following edges 1 >= 1, 2 >= 2, 3 > 2, 3 > 3, 4 >= 4, 5 >= 5 12.12/5.02 12.12/5.02 12.12/5.02 *new_foldFM_GE(wz3, False, Branch(True, wz61, wz62, wz63, wz64), h, ba) -> new_foldFM_GE(wz3, False, wz63, h, ba) 12.12/5.02 The graph contains the following edges 1 >= 1, 2 >= 2, 3 > 3, 4 >= 4, 5 >= 5 12.12/5.02 12.12/5.02 12.12/5.02 *new_foldFM_GE(wz3, False, Branch(False, wz61, wz62, wz63, wz64), h, ba) -> new_foldFM_GE(wz3, False, wz64, h, ba) 12.12/5.02 The graph contains the following edges 1 >= 1, 2 >= 2, 3 > 2, 3 > 3, 4 >= 4, 5 >= 5 12.12/5.02 12.12/5.02 12.12/5.02 *new_foldFM_GE(wz3, False, Branch(True, wz61, wz62, wz63, wz64), h, ba) -> new_foldFM_GE(wz3, False, wz64, h, ba) 12.12/5.02 The graph contains the following edges 1 >= 1, 2 >= 2, 3 > 3, 4 >= 4, 5 >= 5 12.12/5.02 12.12/5.02 12.12/5.02 ---------------------------------------- 12.12/5.02 12.12/5.02 (14) 12.12/5.02 YES 12.24/5.06 EOF