8.26/3.70 YES 10.12/4.18 proof of /export/starexec/sandbox/benchmark/theBenchmark.hs 10.12/4.18 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 10.12/4.18 10.12/4.18 10.12/4.18 H-Termination with start terms of the given HASKELL could be proven: 10.12/4.18 10.12/4.18 (0) HASKELL 10.12/4.18 (1) BR [EQUIVALENT, 0 ms] 10.12/4.18 (2) HASKELL 10.12/4.18 (3) COR [EQUIVALENT, 0 ms] 10.12/4.18 (4) HASKELL 10.12/4.18 (5) Narrow [SOUND, 0 ms] 10.12/4.18 (6) AND 10.12/4.18 (7) QDP 10.12/4.18 (8) QDPSizeChangeProof [EQUIVALENT, 0 ms] 10.12/4.18 (9) YES 10.12/4.18 (10) QDP 10.12/4.18 (11) QDPSizeChangeProof [EQUIVALENT, 0 ms] 10.12/4.18 (12) YES 10.12/4.18 10.12/4.18 10.12/4.18 ---------------------------------------- 10.12/4.18 10.12/4.18 (0) 10.12/4.18 Obligation: 10.12/4.18 mainModule Main 10.12/4.18 module Main where { 10.12/4.18 import qualified Prelude; 10.12/4.18 data MyBool = MyTrue | MyFalse ; 10.12/4.18 10.12/4.18 data MyInt = Pos Main.Nat | Neg Main.Nat ; 10.12/4.18 10.12/4.18 data Main.Nat = Succ Main.Nat | Zero ; 10.12/4.18 10.12/4.18 data Ordering = LT | EQ | GT ; 10.12/4.18 10.12/4.18 compareMyInt :: MyInt -> MyInt -> Ordering; 10.12/4.18 compareMyInt = primCmpInt; 10.12/4.18 10.12/4.18 esEsOrdering :: Ordering -> Ordering -> MyBool; 10.12/4.18 esEsOrdering LT LT = MyTrue; 10.12/4.18 esEsOrdering LT EQ = MyFalse; 10.12/4.18 esEsOrdering LT GT = MyFalse; 10.12/4.18 esEsOrdering EQ LT = MyFalse; 10.12/4.18 esEsOrdering EQ EQ = MyTrue; 10.12/4.18 esEsOrdering EQ GT = MyFalse; 10.12/4.18 esEsOrdering GT LT = MyFalse; 10.12/4.18 esEsOrdering GT EQ = MyFalse; 10.12/4.18 esEsOrdering GT GT = MyTrue; 10.12/4.18 10.12/4.18 fsEsOrdering :: Ordering -> Ordering -> MyBool; 10.12/4.18 fsEsOrdering x y = not (esEsOrdering x y); 10.12/4.18 10.12/4.18 ltEsMyInt :: MyInt -> MyInt -> MyBool; 10.12/4.18 ltEsMyInt x y = fsEsOrdering (compareMyInt x y) GT; 10.12/4.18 10.12/4.18 min0 x y MyTrue = y; 10.12/4.18 10.12/4.18 min1 x y MyTrue = x; 10.12/4.18 min1 x y MyFalse = min0 x y otherwise; 10.12/4.18 10.12/4.18 min2 x y = min1 x y (ltEsMyInt x y); 10.12/4.18 10.12/4.18 minMyInt :: MyInt -> MyInt -> MyInt; 10.12/4.18 minMyInt x y = min2 x y; 10.12/4.18 10.12/4.18 not :: MyBool -> MyBool; 10.12/4.18 not MyTrue = MyFalse; 10.12/4.18 not MyFalse = MyTrue; 10.12/4.18 10.12/4.18 otherwise :: MyBool; 10.12/4.18 otherwise = MyTrue; 10.12/4.18 10.12/4.18 primCmpInt :: MyInt -> MyInt -> Ordering; 10.12/4.18 primCmpInt (Main.Pos Main.Zero) (Main.Pos Main.Zero) = EQ; 10.12/4.18 primCmpInt (Main.Pos Main.Zero) (Main.Neg Main.Zero) = EQ; 10.12/4.18 primCmpInt (Main.Neg Main.Zero) (Main.Pos Main.Zero) = EQ; 10.12/4.18 primCmpInt (Main.Neg Main.Zero) (Main.Neg Main.Zero) = EQ; 10.12/4.18 primCmpInt (Main.Pos x) (Main.Pos y) = primCmpNat x y; 10.12/4.18 primCmpInt (Main.Pos x) (Main.Neg y) = GT; 10.12/4.18 primCmpInt (Main.Neg x) (Main.Pos y) = LT; 10.12/4.18 primCmpInt (Main.Neg x) (Main.Neg y) = primCmpNat y x; 10.12/4.18 10.12/4.18 primCmpNat :: Main.Nat -> Main.Nat -> Ordering; 10.12/4.18 primCmpNat Main.Zero Main.Zero = EQ; 10.12/4.18 primCmpNat Main.Zero (Main.Succ y) = LT; 10.12/4.18 primCmpNat (Main.Succ x) Main.Zero = GT; 10.12/4.18 primCmpNat (Main.Succ x) (Main.Succ y) = primCmpNat x y; 10.12/4.18 10.12/4.18 } 10.12/4.18 10.12/4.18 ---------------------------------------- 10.12/4.18 10.12/4.18 (1) BR (EQUIVALENT) 10.12/4.18 Replaced joker patterns by fresh variables and removed binding patterns. 10.12/4.18 ---------------------------------------- 10.12/4.18 10.12/4.18 (2) 10.12/4.18 Obligation: 10.12/4.18 mainModule Main 10.12/4.18 module Main where { 10.12/4.18 import qualified Prelude; 10.12/4.18 data MyBool = MyTrue | MyFalse ; 10.12/4.18 10.12/4.18 data MyInt = Pos Main.Nat | Neg Main.Nat ; 10.12/4.18 10.12/4.18 data Main.Nat = Succ Main.Nat | Zero ; 10.12/4.18 10.12/4.18 data Ordering = LT | EQ | GT ; 10.12/4.18 10.12/4.18 compareMyInt :: MyInt -> MyInt -> Ordering; 10.12/4.18 compareMyInt = primCmpInt; 10.12/4.18 10.12/4.18 esEsOrdering :: Ordering -> Ordering -> MyBool; 10.12/4.18 esEsOrdering LT LT = MyTrue; 10.12/4.18 esEsOrdering LT EQ = MyFalse; 10.12/4.18 esEsOrdering LT GT = MyFalse; 10.12/4.18 esEsOrdering EQ LT = MyFalse; 10.12/4.18 esEsOrdering EQ EQ = MyTrue; 10.12/4.18 esEsOrdering EQ GT = MyFalse; 10.12/4.18 esEsOrdering GT LT = MyFalse; 10.12/4.18 esEsOrdering GT EQ = MyFalse; 10.12/4.18 esEsOrdering GT GT = MyTrue; 10.12/4.18 10.12/4.18 fsEsOrdering :: Ordering -> Ordering -> MyBool; 10.12/4.18 fsEsOrdering x y = not (esEsOrdering x y); 10.12/4.18 10.12/4.18 ltEsMyInt :: MyInt -> MyInt -> MyBool; 10.12/4.18 ltEsMyInt x y = fsEsOrdering (compareMyInt x y) GT; 10.12/4.18 10.12/4.18 min0 x y MyTrue = y; 10.12/4.18 10.12/4.18 min1 x y MyTrue = x; 10.12/4.18 min1 x y MyFalse = min0 x y otherwise; 10.12/4.18 10.12/4.18 min2 x y = min1 x y (ltEsMyInt x y); 10.12/4.18 10.12/4.18 minMyInt :: MyInt -> MyInt -> MyInt; 10.12/4.18 minMyInt x y = min2 x y; 10.12/4.18 10.12/4.18 not :: MyBool -> MyBool; 10.12/4.18 not MyTrue = MyFalse; 10.12/4.18 not MyFalse = MyTrue; 10.12/4.18 10.12/4.18 otherwise :: MyBool; 10.12/4.18 otherwise = MyTrue; 10.12/4.18 10.12/4.18 primCmpInt :: MyInt -> MyInt -> Ordering; 10.12/4.18 primCmpInt (Main.Pos Main.Zero) (Main.Pos Main.Zero) = EQ; 10.12/4.18 primCmpInt (Main.Pos Main.Zero) (Main.Neg Main.Zero) = EQ; 10.12/4.18 primCmpInt (Main.Neg Main.Zero) (Main.Pos Main.Zero) = EQ; 10.12/4.18 primCmpInt (Main.Neg Main.Zero) (Main.Neg Main.Zero) = EQ; 10.12/4.18 primCmpInt (Main.Pos x) (Main.Pos y) = primCmpNat x y; 10.12/4.18 primCmpInt (Main.Pos x) (Main.Neg y) = GT; 10.12/4.18 primCmpInt (Main.Neg x) (Main.Pos y) = LT; 10.12/4.18 primCmpInt (Main.Neg x) (Main.Neg y) = primCmpNat y x; 10.12/4.18 10.12/4.18 primCmpNat :: Main.Nat -> Main.Nat -> Ordering; 10.12/4.18 primCmpNat Main.Zero Main.Zero = EQ; 10.12/4.18 primCmpNat Main.Zero (Main.Succ y) = LT; 10.12/4.18 primCmpNat (Main.Succ x) Main.Zero = GT; 10.12/4.18 primCmpNat (Main.Succ x) (Main.Succ y) = primCmpNat x y; 10.12/4.18 10.12/4.18 } 10.12/4.18 10.12/4.18 ---------------------------------------- 10.12/4.18 10.12/4.18 (3) COR (EQUIVALENT) 10.12/4.18 Cond Reductions: 10.12/4.18 The following Function with conditions 10.12/4.18 "undefined |Falseundefined; 10.12/4.18 " 10.12/4.18 is transformed to 10.12/4.18 "undefined = undefined1; 10.12/4.18 " 10.12/4.18 "undefined0 True = undefined; 10.12/4.18 " 10.12/4.18 "undefined1 = undefined0 False; 10.12/4.18 " 10.12/4.18 10.12/4.18 ---------------------------------------- 10.12/4.18 10.12/4.18 (4) 10.12/4.18 Obligation: 10.12/4.18 mainModule Main 10.12/4.18 module Main where { 10.12/4.18 import qualified Prelude; 10.12/4.18 data MyBool = MyTrue | MyFalse ; 10.12/4.18 10.12/4.18 data MyInt = Pos Main.Nat | Neg Main.Nat ; 10.12/4.18 10.12/4.18 data Main.Nat = Succ Main.Nat | Zero ; 10.12/4.18 10.12/4.18 data Ordering = LT | EQ | GT ; 10.12/4.18 10.12/4.18 compareMyInt :: MyInt -> MyInt -> Ordering; 10.12/4.18 compareMyInt = primCmpInt; 10.12/4.18 10.12/4.18 esEsOrdering :: Ordering -> Ordering -> MyBool; 10.12/4.18 esEsOrdering LT LT = MyTrue; 10.12/4.18 esEsOrdering LT EQ = MyFalse; 10.12/4.18 esEsOrdering LT GT = MyFalse; 10.12/4.18 esEsOrdering EQ LT = MyFalse; 10.12/4.18 esEsOrdering EQ EQ = MyTrue; 10.12/4.18 esEsOrdering EQ GT = MyFalse; 10.12/4.18 esEsOrdering GT LT = MyFalse; 10.12/4.18 esEsOrdering GT EQ = MyFalse; 10.12/4.18 esEsOrdering GT GT = MyTrue; 10.12/4.18 10.12/4.18 fsEsOrdering :: Ordering -> Ordering -> MyBool; 10.12/4.18 fsEsOrdering x y = not (esEsOrdering x y); 10.12/4.18 10.12/4.18 ltEsMyInt :: MyInt -> MyInt -> MyBool; 10.12/4.18 ltEsMyInt x y = fsEsOrdering (compareMyInt x y) GT; 10.12/4.18 10.12/4.18 min0 x y MyTrue = y; 10.12/4.18 10.12/4.18 min1 x y MyTrue = x; 10.12/4.18 min1 x y MyFalse = min0 x y otherwise; 10.12/4.18 10.12/4.18 min2 x y = min1 x y (ltEsMyInt x y); 10.12/4.18 10.12/4.18 minMyInt :: MyInt -> MyInt -> MyInt; 10.12/4.18 minMyInt x y = min2 x y; 10.12/4.18 10.12/4.18 not :: MyBool -> MyBool; 10.12/4.18 not MyTrue = MyFalse; 10.12/4.18 not MyFalse = MyTrue; 10.12/4.18 10.12/4.18 otherwise :: MyBool; 10.12/4.18 otherwise = MyTrue; 10.12/4.18 10.12/4.18 primCmpInt :: MyInt -> MyInt -> Ordering; 10.12/4.18 primCmpInt (Main.Pos Main.Zero) (Main.Pos Main.Zero) = EQ; 10.12/4.18 primCmpInt (Main.Pos Main.Zero) (Main.Neg Main.Zero) = EQ; 10.12/4.18 primCmpInt (Main.Neg Main.Zero) (Main.Pos Main.Zero) = EQ; 10.12/4.18 primCmpInt (Main.Neg Main.Zero) (Main.Neg Main.Zero) = EQ; 10.12/4.18 primCmpInt (Main.Pos x) (Main.Pos y) = primCmpNat x y; 10.12/4.18 primCmpInt (Main.Pos x) (Main.Neg y) = GT; 10.12/4.18 primCmpInt (Main.Neg x) (Main.Pos y) = LT; 10.12/4.18 primCmpInt (Main.Neg x) (Main.Neg y) = primCmpNat y x; 10.12/4.18 10.12/4.18 primCmpNat :: Main.Nat -> Main.Nat -> Ordering; 10.12/4.18 primCmpNat Main.Zero Main.Zero = EQ; 10.12/4.18 primCmpNat Main.Zero (Main.Succ y) = LT; 10.12/4.18 primCmpNat (Main.Succ x) Main.Zero = GT; 10.12/4.18 primCmpNat (Main.Succ x) (Main.Succ y) = primCmpNat x y; 10.12/4.18 10.12/4.18 } 10.12/4.18 10.12/4.18 ---------------------------------------- 10.12/4.18 10.12/4.18 (5) Narrow (SOUND) 10.12/4.18 Haskell To QDPs 10.12/4.18 10.12/4.18 digraph dp_graph { 10.12/4.18 node [outthreshold=100, inthreshold=100];1[label="minMyInt",fontsize=16,color="grey",shape="box"];1 -> 3[label="",style="dashed", color="grey", weight=3]; 10.12/4.18 3[label="minMyInt vx3",fontsize=16,color="grey",shape="box"];3 -> 4[label="",style="dashed", color="grey", weight=3]; 10.12/4.18 4[label="minMyInt vx3 vx4",fontsize=16,color="black",shape="triangle"];4 -> 5[label="",style="solid", color="black", weight=3]; 10.12/4.18 5[label="min2 vx3 vx4",fontsize=16,color="black",shape="box"];5 -> 6[label="",style="solid", color="black", weight=3]; 10.12/4.18 6[label="min1 vx3 vx4 (ltEsMyInt vx3 vx4)",fontsize=16,color="black",shape="box"];6 -> 7[label="",style="solid", color="black", weight=3]; 10.12/4.18 7[label="min1 vx3 vx4 (fsEsOrdering (compareMyInt vx3 vx4) GT)",fontsize=16,color="black",shape="box"];7 -> 8[label="",style="solid", color="black", weight=3]; 10.12/4.18 8[label="min1 vx3 vx4 (not (esEsOrdering (compareMyInt vx3 vx4) GT))",fontsize=16,color="black",shape="box"];8 -> 9[label="",style="solid", color="black", weight=3]; 10.12/4.18 9[label="min1 vx3 vx4 (not (esEsOrdering (primCmpInt vx3 vx4) GT))",fontsize=16,color="burlywood",shape="box"];591[label="vx3/Pos vx30",fontsize=10,color="white",style="solid",shape="box"];9 -> 591[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 591 -> 10[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 592[label="vx3/Neg vx30",fontsize=10,color="white",style="solid",shape="box"];9 -> 592[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 592 -> 11[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 10[label="min1 (Pos vx30) vx4 (not (esEsOrdering (primCmpInt (Pos vx30) vx4) GT))",fontsize=16,color="burlywood",shape="box"];593[label="vx30/Succ vx300",fontsize=10,color="white",style="solid",shape="box"];10 -> 593[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 593 -> 12[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 594[label="vx30/Zero",fontsize=10,color="white",style="solid",shape="box"];10 -> 594[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 594 -> 13[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 11[label="min1 (Neg vx30) vx4 (not (esEsOrdering (primCmpInt (Neg vx30) vx4) GT))",fontsize=16,color="burlywood",shape="box"];595[label="vx30/Succ vx300",fontsize=10,color="white",style="solid",shape="box"];11 -> 595[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 595 -> 14[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 596[label="vx30/Zero",fontsize=10,color="white",style="solid",shape="box"];11 -> 596[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 596 -> 15[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 12[label="min1 (Pos (Succ vx300)) vx4 (not (esEsOrdering (primCmpInt (Pos (Succ vx300)) vx4) GT))",fontsize=16,color="burlywood",shape="box"];597[label="vx4/Pos vx40",fontsize=10,color="white",style="solid",shape="box"];12 -> 597[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 597 -> 16[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 598[label="vx4/Neg vx40",fontsize=10,color="white",style="solid",shape="box"];12 -> 598[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 598 -> 17[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 13[label="min1 (Pos Zero) vx4 (not (esEsOrdering (primCmpInt (Pos Zero) vx4) GT))",fontsize=16,color="burlywood",shape="box"];599[label="vx4/Pos vx40",fontsize=10,color="white",style="solid",shape="box"];13 -> 599[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 599 -> 18[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 600[label="vx4/Neg vx40",fontsize=10,color="white",style="solid",shape="box"];13 -> 600[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 600 -> 19[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 14[label="min1 (Neg (Succ vx300)) vx4 (not (esEsOrdering (primCmpInt (Neg (Succ vx300)) vx4) GT))",fontsize=16,color="burlywood",shape="box"];601[label="vx4/Pos vx40",fontsize=10,color="white",style="solid",shape="box"];14 -> 601[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 601 -> 20[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 602[label="vx4/Neg vx40",fontsize=10,color="white",style="solid",shape="box"];14 -> 602[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 602 -> 21[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 15[label="min1 (Neg Zero) vx4 (not (esEsOrdering (primCmpInt (Neg Zero) vx4) GT))",fontsize=16,color="burlywood",shape="box"];603[label="vx4/Pos vx40",fontsize=10,color="white",style="solid",shape="box"];15 -> 603[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 603 -> 22[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 604[label="vx4/Neg vx40",fontsize=10,color="white",style="solid",shape="box"];15 -> 604[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 604 -> 23[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 16[label="min1 (Pos (Succ vx300)) (Pos vx40) (not (esEsOrdering (primCmpInt (Pos (Succ vx300)) (Pos vx40)) GT))",fontsize=16,color="black",shape="box"];16 -> 24[label="",style="solid", color="black", weight=3]; 10.12/4.18 17[label="min1 (Pos (Succ vx300)) (Neg vx40) (not (esEsOrdering (primCmpInt (Pos (Succ vx300)) (Neg vx40)) GT))",fontsize=16,color="black",shape="box"];17 -> 25[label="",style="solid", color="black", weight=3]; 10.12/4.18 18[label="min1 (Pos Zero) (Pos vx40) (not (esEsOrdering (primCmpInt (Pos Zero) (Pos vx40)) GT))",fontsize=16,color="burlywood",shape="box"];605[label="vx40/Succ vx400",fontsize=10,color="white",style="solid",shape="box"];18 -> 605[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 605 -> 26[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 606[label="vx40/Zero",fontsize=10,color="white",style="solid",shape="box"];18 -> 606[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 606 -> 27[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 19[label="min1 (Pos Zero) (Neg vx40) (not (esEsOrdering (primCmpInt (Pos Zero) (Neg vx40)) GT))",fontsize=16,color="burlywood",shape="box"];607[label="vx40/Succ vx400",fontsize=10,color="white",style="solid",shape="box"];19 -> 607[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 607 -> 28[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 608[label="vx40/Zero",fontsize=10,color="white",style="solid",shape="box"];19 -> 608[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 608 -> 29[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 20[label="min1 (Neg (Succ vx300)) (Pos vx40) (not (esEsOrdering (primCmpInt (Neg (Succ vx300)) (Pos vx40)) GT))",fontsize=16,color="black",shape="box"];20 -> 30[label="",style="solid", color="black", weight=3]; 10.12/4.18 21[label="min1 (Neg (Succ vx300)) (Neg vx40) (not (esEsOrdering (primCmpInt (Neg (Succ vx300)) (Neg vx40)) GT))",fontsize=16,color="black",shape="box"];21 -> 31[label="",style="solid", color="black", weight=3]; 10.12/4.18 22[label="min1 (Neg Zero) (Pos vx40) (not (esEsOrdering (primCmpInt (Neg Zero) (Pos vx40)) GT))",fontsize=16,color="burlywood",shape="box"];609[label="vx40/Succ vx400",fontsize=10,color="white",style="solid",shape="box"];22 -> 609[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 609 -> 32[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 610[label="vx40/Zero",fontsize=10,color="white",style="solid",shape="box"];22 -> 610[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 610 -> 33[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 23[label="min1 (Neg Zero) (Neg vx40) (not (esEsOrdering (primCmpInt (Neg Zero) (Neg vx40)) GT))",fontsize=16,color="burlywood",shape="box"];611[label="vx40/Succ vx400",fontsize=10,color="white",style="solid",shape="box"];23 -> 611[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 611 -> 34[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 612[label="vx40/Zero",fontsize=10,color="white",style="solid",shape="box"];23 -> 612[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 612 -> 35[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 24[label="min1 (Pos (Succ vx300)) (Pos vx40) (not (esEsOrdering (primCmpNat (Succ vx300) vx40) GT))",fontsize=16,color="burlywood",shape="box"];613[label="vx40/Succ vx400",fontsize=10,color="white",style="solid",shape="box"];24 -> 613[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 613 -> 36[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 614[label="vx40/Zero",fontsize=10,color="white",style="solid",shape="box"];24 -> 614[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 614 -> 37[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 25[label="min1 (Pos (Succ vx300)) (Neg vx40) (not (esEsOrdering GT GT))",fontsize=16,color="black",shape="box"];25 -> 38[label="",style="solid", color="black", weight=3]; 10.12/4.18 26[label="min1 (Pos Zero) (Pos (Succ vx400)) (not (esEsOrdering (primCmpInt (Pos Zero) (Pos (Succ vx400))) GT))",fontsize=16,color="black",shape="box"];26 -> 39[label="",style="solid", color="black", weight=3]; 10.12/4.18 27[label="min1 (Pos Zero) (Pos Zero) (not (esEsOrdering (primCmpInt (Pos Zero) (Pos Zero)) GT))",fontsize=16,color="black",shape="box"];27 -> 40[label="",style="solid", color="black", weight=3]; 10.12/4.18 28[label="min1 (Pos Zero) (Neg (Succ vx400)) (not (esEsOrdering (primCmpInt (Pos Zero) (Neg (Succ vx400))) GT))",fontsize=16,color="black",shape="box"];28 -> 41[label="",style="solid", color="black", weight=3]; 10.12/4.18 29[label="min1 (Pos Zero) (Neg Zero) (not (esEsOrdering (primCmpInt (Pos Zero) (Neg Zero)) GT))",fontsize=16,color="black",shape="box"];29 -> 42[label="",style="solid", color="black", weight=3]; 10.12/4.18 30[label="min1 (Neg (Succ vx300)) (Pos vx40) (not (esEsOrdering LT GT))",fontsize=16,color="black",shape="box"];30 -> 43[label="",style="solid", color="black", weight=3]; 10.12/4.18 31[label="min1 (Neg (Succ vx300)) (Neg vx40) (not (esEsOrdering (primCmpNat vx40 (Succ vx300)) GT))",fontsize=16,color="burlywood",shape="box"];615[label="vx40/Succ vx400",fontsize=10,color="white",style="solid",shape="box"];31 -> 615[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 615 -> 44[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 616[label="vx40/Zero",fontsize=10,color="white",style="solid",shape="box"];31 -> 616[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 616 -> 45[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 32[label="min1 (Neg Zero) (Pos (Succ vx400)) (not (esEsOrdering (primCmpInt (Neg Zero) (Pos (Succ vx400))) GT))",fontsize=16,color="black",shape="box"];32 -> 46[label="",style="solid", color="black", weight=3]; 10.12/4.18 33[label="min1 (Neg Zero) (Pos Zero) (not (esEsOrdering (primCmpInt (Neg Zero) (Pos Zero)) GT))",fontsize=16,color="black",shape="box"];33 -> 47[label="",style="solid", color="black", weight=3]; 10.12/4.18 34[label="min1 (Neg Zero) (Neg (Succ vx400)) (not (esEsOrdering (primCmpInt (Neg Zero) (Neg (Succ vx400))) GT))",fontsize=16,color="black",shape="box"];34 -> 48[label="",style="solid", color="black", weight=3]; 10.12/4.18 35[label="min1 (Neg Zero) (Neg Zero) (not (esEsOrdering (primCmpInt (Neg Zero) (Neg Zero)) GT))",fontsize=16,color="black",shape="box"];35 -> 49[label="",style="solid", color="black", weight=3]; 10.12/4.18 36[label="min1 (Pos (Succ vx300)) (Pos (Succ vx400)) (not (esEsOrdering (primCmpNat (Succ vx300) (Succ vx400)) GT))",fontsize=16,color="black",shape="box"];36 -> 50[label="",style="solid", color="black", weight=3]; 10.12/4.18 37[label="min1 (Pos (Succ vx300)) (Pos Zero) (not (esEsOrdering (primCmpNat (Succ vx300) Zero) GT))",fontsize=16,color="black",shape="box"];37 -> 51[label="",style="solid", color="black", weight=3]; 10.12/4.18 38[label="min1 (Pos (Succ vx300)) (Neg vx40) (not MyTrue)",fontsize=16,color="black",shape="box"];38 -> 52[label="",style="solid", color="black", weight=3]; 10.12/4.18 39[label="min1 (Pos Zero) (Pos (Succ vx400)) (not (esEsOrdering (primCmpNat Zero (Succ vx400)) GT))",fontsize=16,color="black",shape="box"];39 -> 53[label="",style="solid", color="black", weight=3]; 10.12/4.18 40[label="min1 (Pos Zero) (Pos Zero) (not (esEsOrdering EQ GT))",fontsize=16,color="black",shape="box"];40 -> 54[label="",style="solid", color="black", weight=3]; 10.12/4.18 41[label="min1 (Pos Zero) (Neg (Succ vx400)) (not (esEsOrdering GT GT))",fontsize=16,color="black",shape="box"];41 -> 55[label="",style="solid", color="black", weight=3]; 10.12/4.18 42[label="min1 (Pos Zero) (Neg Zero) (not (esEsOrdering EQ GT))",fontsize=16,color="black",shape="box"];42 -> 56[label="",style="solid", color="black", weight=3]; 10.12/4.18 43[label="min1 (Neg (Succ vx300)) (Pos vx40) (not MyFalse)",fontsize=16,color="black",shape="box"];43 -> 57[label="",style="solid", color="black", weight=3]; 10.12/4.18 44[label="min1 (Neg (Succ vx300)) (Neg (Succ vx400)) (not (esEsOrdering (primCmpNat (Succ vx400) (Succ vx300)) GT))",fontsize=16,color="black",shape="box"];44 -> 58[label="",style="solid", color="black", weight=3]; 10.12/4.18 45[label="min1 (Neg (Succ vx300)) (Neg Zero) (not (esEsOrdering (primCmpNat Zero (Succ vx300)) GT))",fontsize=16,color="black",shape="box"];45 -> 59[label="",style="solid", color="black", weight=3]; 10.12/4.18 46[label="min1 (Neg Zero) (Pos (Succ vx400)) (not (esEsOrdering LT GT))",fontsize=16,color="black",shape="box"];46 -> 60[label="",style="solid", color="black", weight=3]; 10.12/4.18 47[label="min1 (Neg Zero) (Pos Zero) (not (esEsOrdering EQ GT))",fontsize=16,color="black",shape="box"];47 -> 61[label="",style="solid", color="black", weight=3]; 10.12/4.18 48[label="min1 (Neg Zero) (Neg (Succ vx400)) (not (esEsOrdering (primCmpNat (Succ vx400) Zero) GT))",fontsize=16,color="black",shape="box"];48 -> 62[label="",style="solid", color="black", weight=3]; 10.12/4.18 49[label="min1 (Neg Zero) (Neg Zero) (not (esEsOrdering EQ GT))",fontsize=16,color="black",shape="box"];49 -> 63[label="",style="solid", color="black", weight=3]; 10.12/4.18 50 -> 453[label="",style="dashed", color="red", weight=0]; 10.12/4.18 50[label="min1 (Pos (Succ vx300)) (Pos (Succ vx400)) (not (esEsOrdering (primCmpNat vx300 vx400) GT))",fontsize=16,color="magenta"];50 -> 454[label="",style="dashed", color="magenta", weight=3]; 10.12/4.18 50 -> 455[label="",style="dashed", color="magenta", weight=3]; 10.12/4.18 50 -> 456[label="",style="dashed", color="magenta", weight=3]; 10.12/4.18 50 -> 457[label="",style="dashed", color="magenta", weight=3]; 10.12/4.18 51[label="min1 (Pos (Succ vx300)) (Pos Zero) (not (esEsOrdering GT GT))",fontsize=16,color="black",shape="box"];51 -> 66[label="",style="solid", color="black", weight=3]; 10.12/4.18 52[label="min1 (Pos (Succ vx300)) (Neg vx40) MyFalse",fontsize=16,color="black",shape="box"];52 -> 67[label="",style="solid", color="black", weight=3]; 10.12/4.18 53[label="min1 (Pos Zero) (Pos (Succ vx400)) (not (esEsOrdering LT GT))",fontsize=16,color="black",shape="box"];53 -> 68[label="",style="solid", color="black", weight=3]; 10.12/4.18 54[label="min1 (Pos Zero) (Pos Zero) (not MyFalse)",fontsize=16,color="black",shape="box"];54 -> 69[label="",style="solid", color="black", weight=3]; 10.12/4.18 55[label="min1 (Pos Zero) (Neg (Succ vx400)) (not MyTrue)",fontsize=16,color="black",shape="box"];55 -> 70[label="",style="solid", color="black", weight=3]; 10.12/4.18 56[label="min1 (Pos Zero) (Neg Zero) (not MyFalse)",fontsize=16,color="black",shape="box"];56 -> 71[label="",style="solid", color="black", weight=3]; 10.12/4.18 57[label="min1 (Neg (Succ vx300)) (Pos vx40) MyTrue",fontsize=16,color="black",shape="box"];57 -> 72[label="",style="solid", color="black", weight=3]; 10.12/4.18 58 -> 523[label="",style="dashed", color="red", weight=0]; 10.12/4.18 58[label="min1 (Neg (Succ vx300)) (Neg (Succ vx400)) (not (esEsOrdering (primCmpNat vx400 vx300) GT))",fontsize=16,color="magenta"];58 -> 524[label="",style="dashed", color="magenta", weight=3]; 10.12/4.18 58 -> 525[label="",style="dashed", color="magenta", weight=3]; 10.12/4.18 58 -> 526[label="",style="dashed", color="magenta", weight=3]; 10.12/4.18 58 -> 527[label="",style="dashed", color="magenta", weight=3]; 10.12/4.18 59[label="min1 (Neg (Succ vx300)) (Neg Zero) (not (esEsOrdering LT GT))",fontsize=16,color="black",shape="box"];59 -> 75[label="",style="solid", color="black", weight=3]; 10.12/4.18 60[label="min1 (Neg Zero) (Pos (Succ vx400)) (not MyFalse)",fontsize=16,color="black",shape="box"];60 -> 76[label="",style="solid", color="black", weight=3]; 10.12/4.18 61[label="min1 (Neg Zero) (Pos Zero) (not MyFalse)",fontsize=16,color="black",shape="box"];61 -> 77[label="",style="solid", color="black", weight=3]; 10.12/4.18 62[label="min1 (Neg Zero) (Neg (Succ vx400)) (not (esEsOrdering GT GT))",fontsize=16,color="black",shape="box"];62 -> 78[label="",style="solid", color="black", weight=3]; 10.12/4.18 63[label="min1 (Neg Zero) (Neg Zero) (not MyFalse)",fontsize=16,color="black",shape="box"];63 -> 79[label="",style="solid", color="black", weight=3]; 10.12/4.18 454[label="vx300",fontsize=16,color="green",shape="box"];455[label="vx300",fontsize=16,color="green",shape="box"];456[label="vx400",fontsize=16,color="green",shape="box"];457[label="vx400",fontsize=16,color="green",shape="box"];453[label="min1 (Pos (Succ vx41)) (Pos (Succ vx42)) (not (esEsOrdering (primCmpNat vx43 vx44) GT))",fontsize=16,color="burlywood",shape="triangle"];617[label="vx43/Succ vx430",fontsize=10,color="white",style="solid",shape="box"];453 -> 617[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 617 -> 490[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 618[label="vx43/Zero",fontsize=10,color="white",style="solid",shape="box"];453 -> 618[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 618 -> 491[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 66[label="min1 (Pos (Succ vx300)) (Pos Zero) (not MyTrue)",fontsize=16,color="black",shape="box"];66 -> 84[label="",style="solid", color="black", weight=3]; 10.12/4.18 67[label="min0 (Pos (Succ vx300)) (Neg vx40) otherwise",fontsize=16,color="black",shape="box"];67 -> 85[label="",style="solid", color="black", weight=3]; 10.12/4.18 68[label="min1 (Pos Zero) (Pos (Succ vx400)) (not MyFalse)",fontsize=16,color="black",shape="box"];68 -> 86[label="",style="solid", color="black", weight=3]; 10.12/4.18 69[label="min1 (Pos Zero) (Pos Zero) MyTrue",fontsize=16,color="black",shape="box"];69 -> 87[label="",style="solid", color="black", weight=3]; 10.12/4.18 70[label="min1 (Pos Zero) (Neg (Succ vx400)) MyFalse",fontsize=16,color="black",shape="box"];70 -> 88[label="",style="solid", color="black", weight=3]; 10.12/4.18 71[label="min1 (Pos Zero) (Neg Zero) MyTrue",fontsize=16,color="black",shape="box"];71 -> 89[label="",style="solid", color="black", weight=3]; 10.12/4.18 72[label="Neg (Succ vx300)",fontsize=16,color="green",shape="box"];524[label="vx300",fontsize=16,color="green",shape="box"];525[label="vx300",fontsize=16,color="green",shape="box"];526[label="vx400",fontsize=16,color="green",shape="box"];527[label="vx400",fontsize=16,color="green",shape="box"];523[label="min1 (Neg (Succ vx50)) (Neg (Succ vx51)) (not (esEsOrdering (primCmpNat vx52 vx53) GT))",fontsize=16,color="burlywood",shape="triangle"];619[label="vx52/Succ vx520",fontsize=10,color="white",style="solid",shape="box"];523 -> 619[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 619 -> 564[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 620[label="vx52/Zero",fontsize=10,color="white",style="solid",shape="box"];523 -> 620[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 620 -> 565[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 75[label="min1 (Neg (Succ vx300)) (Neg Zero) (not MyFalse)",fontsize=16,color="black",shape="box"];75 -> 94[label="",style="solid", color="black", weight=3]; 10.12/4.18 76[label="min1 (Neg Zero) (Pos (Succ vx400)) MyTrue",fontsize=16,color="black",shape="box"];76 -> 95[label="",style="solid", color="black", weight=3]; 10.12/4.18 77[label="min1 (Neg Zero) (Pos Zero) MyTrue",fontsize=16,color="black",shape="box"];77 -> 96[label="",style="solid", color="black", weight=3]; 10.12/4.18 78[label="min1 (Neg Zero) (Neg (Succ vx400)) (not MyTrue)",fontsize=16,color="black",shape="box"];78 -> 97[label="",style="solid", color="black", weight=3]; 10.12/4.18 79[label="min1 (Neg Zero) (Neg Zero) MyTrue",fontsize=16,color="black",shape="box"];79 -> 98[label="",style="solid", color="black", weight=3]; 10.12/4.18 490[label="min1 (Pos (Succ vx41)) (Pos (Succ vx42)) (not (esEsOrdering (primCmpNat (Succ vx430) vx44) GT))",fontsize=16,color="burlywood",shape="box"];621[label="vx44/Succ vx440",fontsize=10,color="white",style="solid",shape="box"];490 -> 621[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 621 -> 496[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 622[label="vx44/Zero",fontsize=10,color="white",style="solid",shape="box"];490 -> 622[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 622 -> 497[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 491[label="min1 (Pos (Succ vx41)) (Pos (Succ vx42)) (not (esEsOrdering (primCmpNat Zero vx44) GT))",fontsize=16,color="burlywood",shape="box"];623[label="vx44/Succ vx440",fontsize=10,color="white",style="solid",shape="box"];491 -> 623[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 623 -> 498[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 624[label="vx44/Zero",fontsize=10,color="white",style="solid",shape="box"];491 -> 624[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 624 -> 499[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 84[label="min1 (Pos (Succ vx300)) (Pos Zero) MyFalse",fontsize=16,color="black",shape="box"];84 -> 103[label="",style="solid", color="black", weight=3]; 10.12/4.18 85[label="min0 (Pos (Succ vx300)) (Neg vx40) MyTrue",fontsize=16,color="black",shape="box"];85 -> 104[label="",style="solid", color="black", weight=3]; 10.12/4.18 86[label="min1 (Pos Zero) (Pos (Succ vx400)) MyTrue",fontsize=16,color="black",shape="box"];86 -> 105[label="",style="solid", color="black", weight=3]; 10.12/4.18 87[label="Pos Zero",fontsize=16,color="green",shape="box"];88[label="min0 (Pos Zero) (Neg (Succ vx400)) otherwise",fontsize=16,color="black",shape="box"];88 -> 106[label="",style="solid", color="black", weight=3]; 10.12/4.18 89[label="Pos Zero",fontsize=16,color="green",shape="box"];564[label="min1 (Neg (Succ vx50)) (Neg (Succ vx51)) (not (esEsOrdering (primCmpNat (Succ vx520) vx53) GT))",fontsize=16,color="burlywood",shape="box"];625[label="vx53/Succ vx530",fontsize=10,color="white",style="solid",shape="box"];564 -> 625[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 625 -> 568[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 626[label="vx53/Zero",fontsize=10,color="white",style="solid",shape="box"];564 -> 626[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 626 -> 569[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 565[label="min1 (Neg (Succ vx50)) (Neg (Succ vx51)) (not (esEsOrdering (primCmpNat Zero vx53) GT))",fontsize=16,color="burlywood",shape="box"];627[label="vx53/Succ vx530",fontsize=10,color="white",style="solid",shape="box"];565 -> 627[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 627 -> 570[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 628[label="vx53/Zero",fontsize=10,color="white",style="solid",shape="box"];565 -> 628[label="",style="solid", color="burlywood", weight=9]; 10.12/4.18 628 -> 571[label="",style="solid", color="burlywood", weight=3]; 10.12/4.18 94[label="min1 (Neg (Succ vx300)) (Neg Zero) MyTrue",fontsize=16,color="black",shape="box"];94 -> 111[label="",style="solid", color="black", weight=3]; 10.12/4.18 95[label="Neg Zero",fontsize=16,color="green",shape="box"];96[label="Neg Zero",fontsize=16,color="green",shape="box"];97[label="min1 (Neg Zero) (Neg (Succ vx400)) MyFalse",fontsize=16,color="black",shape="box"];97 -> 112[label="",style="solid", color="black", weight=3]; 10.12/4.18 98[label="Neg Zero",fontsize=16,color="green",shape="box"];496[label="min1 (Pos (Succ vx41)) (Pos (Succ vx42)) (not (esEsOrdering (primCmpNat (Succ vx430) (Succ vx440)) GT))",fontsize=16,color="black",shape="box"];496 -> 504[label="",style="solid", color="black", weight=3]; 10.12/4.18 497[label="min1 (Pos (Succ vx41)) (Pos (Succ vx42)) (not (esEsOrdering (primCmpNat (Succ vx430) Zero) GT))",fontsize=16,color="black",shape="box"];497 -> 505[label="",style="solid", color="black", weight=3]; 10.12/4.18 498[label="min1 (Pos (Succ vx41)) (Pos (Succ vx42)) (not (esEsOrdering (primCmpNat Zero (Succ vx440)) GT))",fontsize=16,color="black",shape="box"];498 -> 506[label="",style="solid", color="black", weight=3]; 10.12/4.18 499[label="min1 (Pos (Succ vx41)) (Pos (Succ vx42)) (not (esEsOrdering (primCmpNat Zero Zero) GT))",fontsize=16,color="black",shape="box"];499 -> 507[label="",style="solid", color="black", weight=3]; 10.12/4.18 103[label="min0 (Pos (Succ vx300)) (Pos Zero) otherwise",fontsize=16,color="black",shape="box"];103 -> 118[label="",style="solid", color="black", weight=3]; 10.12/4.18 104[label="Neg vx40",fontsize=16,color="green",shape="box"];105[label="Pos Zero",fontsize=16,color="green",shape="box"];106[label="min0 (Pos Zero) (Neg (Succ vx400)) MyTrue",fontsize=16,color="black",shape="box"];106 -> 119[label="",style="solid", color="black", weight=3]; 10.12/4.18 568[label="min1 (Neg (Succ vx50)) (Neg (Succ vx51)) (not (esEsOrdering (primCmpNat (Succ vx520) (Succ vx530)) GT))",fontsize=16,color="black",shape="box"];568 -> 574[label="",style="solid", color="black", weight=3]; 10.12/4.18 569[label="min1 (Neg (Succ vx50)) (Neg (Succ vx51)) (not (esEsOrdering (primCmpNat (Succ vx520) Zero) GT))",fontsize=16,color="black",shape="box"];569 -> 575[label="",style="solid", color="black", weight=3]; 10.12/4.18 570[label="min1 (Neg (Succ vx50)) (Neg (Succ vx51)) (not (esEsOrdering (primCmpNat Zero (Succ vx530)) GT))",fontsize=16,color="black",shape="box"];570 -> 576[label="",style="solid", color="black", weight=3]; 10.12/4.18 571[label="min1 (Neg (Succ vx50)) (Neg (Succ vx51)) (not (esEsOrdering (primCmpNat Zero Zero) GT))",fontsize=16,color="black",shape="box"];571 -> 577[label="",style="solid", color="black", weight=3]; 10.12/4.18 111[label="Neg (Succ vx300)",fontsize=16,color="green",shape="box"];112[label="min0 (Neg Zero) (Neg (Succ vx400)) otherwise",fontsize=16,color="black",shape="box"];112 -> 125[label="",style="solid", color="black", weight=3]; 10.12/4.18 504 -> 453[label="",style="dashed", color="red", weight=0]; 10.12/4.18 504[label="min1 (Pos (Succ vx41)) (Pos (Succ vx42)) (not (esEsOrdering (primCmpNat vx430 vx440) GT))",fontsize=16,color="magenta"];504 -> 512[label="",style="dashed", color="magenta", weight=3]; 10.12/4.18 504 -> 513[label="",style="dashed", color="magenta", weight=3]; 10.12/4.18 505[label="min1 (Pos (Succ vx41)) (Pos (Succ vx42)) (not (esEsOrdering GT GT))",fontsize=16,color="black",shape="box"];505 -> 514[label="",style="solid", color="black", weight=3]; 10.12/4.18 506[label="min1 (Pos (Succ vx41)) (Pos (Succ vx42)) (not (esEsOrdering LT GT))",fontsize=16,color="black",shape="box"];506 -> 515[label="",style="solid", color="black", weight=3]; 10.12/4.18 507[label="min1 (Pos (Succ vx41)) (Pos (Succ vx42)) (not (esEsOrdering EQ GT))",fontsize=16,color="black",shape="box"];507 -> 516[label="",style="solid", color="black", weight=3]; 10.12/4.18 118[label="min0 (Pos (Succ vx300)) (Pos Zero) MyTrue",fontsize=16,color="black",shape="box"];118 -> 133[label="",style="solid", color="black", weight=3]; 10.12/4.18 119[label="Neg (Succ vx400)",fontsize=16,color="green",shape="box"];574 -> 523[label="",style="dashed", color="red", weight=0]; 10.12/4.18 574[label="min1 (Neg (Succ vx50)) (Neg (Succ vx51)) (not (esEsOrdering (primCmpNat vx520 vx530) GT))",fontsize=16,color="magenta"];574 -> 579[label="",style="dashed", color="magenta", weight=3]; 10.12/4.18 574 -> 580[label="",style="dashed", color="magenta", weight=3]; 10.12/4.18 575[label="min1 (Neg (Succ vx50)) (Neg (Succ vx51)) (not (esEsOrdering GT GT))",fontsize=16,color="black",shape="box"];575 -> 581[label="",style="solid", color="black", weight=3]; 10.12/4.18 576[label="min1 (Neg (Succ vx50)) (Neg (Succ vx51)) (not (esEsOrdering LT GT))",fontsize=16,color="black",shape="box"];576 -> 582[label="",style="solid", color="black", weight=3]; 10.12/4.18 577[label="min1 (Neg (Succ vx50)) (Neg (Succ vx51)) (not (esEsOrdering EQ GT))",fontsize=16,color="black",shape="box"];577 -> 583[label="",style="solid", color="black", weight=3]; 10.12/4.18 125[label="min0 (Neg Zero) (Neg (Succ vx400)) MyTrue",fontsize=16,color="black",shape="box"];125 -> 141[label="",style="solid", color="black", weight=3]; 10.12/4.18 512[label="vx430",fontsize=16,color="green",shape="box"];513[label="vx440",fontsize=16,color="green",shape="box"];514[label="min1 (Pos (Succ vx41)) (Pos (Succ vx42)) (not MyTrue)",fontsize=16,color="black",shape="box"];514 -> 566[label="",style="solid", color="black", weight=3]; 10.12/4.18 515[label="min1 (Pos (Succ vx41)) (Pos (Succ vx42)) (not MyFalse)",fontsize=16,color="black",shape="triangle"];515 -> 567[label="",style="solid", color="black", weight=3]; 10.12/4.18 516 -> 515[label="",style="dashed", color="red", weight=0]; 10.12/4.18 516[label="min1 (Pos (Succ vx41)) (Pos (Succ vx42)) (not MyFalse)",fontsize=16,color="magenta"];133[label="Pos Zero",fontsize=16,color="green",shape="box"];579[label="vx530",fontsize=16,color="green",shape="box"];580[label="vx520",fontsize=16,color="green",shape="box"];581[label="min1 (Neg (Succ vx50)) (Neg (Succ vx51)) (not MyTrue)",fontsize=16,color="black",shape="box"];581 -> 585[label="",style="solid", color="black", weight=3]; 10.12/4.18 582[label="min1 (Neg (Succ vx50)) (Neg (Succ vx51)) (not MyFalse)",fontsize=16,color="black",shape="triangle"];582 -> 586[label="",style="solid", color="black", weight=3]; 10.12/4.18 583 -> 582[label="",style="dashed", color="red", weight=0]; 10.12/4.18 583[label="min1 (Neg (Succ vx50)) (Neg (Succ vx51)) (not MyFalse)",fontsize=16,color="magenta"];141[label="Neg (Succ vx400)",fontsize=16,color="green",shape="box"];566[label="min1 (Pos (Succ vx41)) (Pos (Succ vx42)) MyFalse",fontsize=16,color="black",shape="box"];566 -> 572[label="",style="solid", color="black", weight=3]; 10.12/4.18 567[label="min1 (Pos (Succ vx41)) (Pos (Succ vx42)) MyTrue",fontsize=16,color="black",shape="box"];567 -> 573[label="",style="solid", color="black", weight=3]; 10.12/4.18 585[label="min1 (Neg (Succ vx50)) (Neg (Succ vx51)) MyFalse",fontsize=16,color="black",shape="box"];585 -> 587[label="",style="solid", color="black", weight=3]; 10.12/4.18 586[label="min1 (Neg (Succ vx50)) (Neg (Succ vx51)) MyTrue",fontsize=16,color="black",shape="box"];586 -> 588[label="",style="solid", color="black", weight=3]; 10.12/4.18 572[label="min0 (Pos (Succ vx41)) (Pos (Succ vx42)) otherwise",fontsize=16,color="black",shape="box"];572 -> 578[label="",style="solid", color="black", weight=3]; 10.12/4.18 573[label="Pos (Succ vx41)",fontsize=16,color="green",shape="box"];587[label="min0 (Neg (Succ vx50)) (Neg (Succ vx51)) otherwise",fontsize=16,color="black",shape="box"];587 -> 589[label="",style="solid", color="black", weight=3]; 10.12/4.18 588[label="Neg (Succ vx50)",fontsize=16,color="green",shape="box"];578[label="min0 (Pos (Succ vx41)) (Pos (Succ vx42)) MyTrue",fontsize=16,color="black",shape="box"];578 -> 584[label="",style="solid", color="black", weight=3]; 10.12/4.18 589[label="min0 (Neg (Succ vx50)) (Neg (Succ vx51)) MyTrue",fontsize=16,color="black",shape="box"];589 -> 590[label="",style="solid", color="black", weight=3]; 10.12/4.18 584[label="Pos (Succ vx42)",fontsize=16,color="green",shape="box"];590[label="Neg (Succ vx51)",fontsize=16,color="green",shape="box"];} 10.12/4.18 10.12/4.18 ---------------------------------------- 10.12/4.18 10.12/4.18 (6) 10.12/4.18 Complex Obligation (AND) 10.12/4.18 10.12/4.18 ---------------------------------------- 10.12/4.18 10.12/4.18 (7) 10.12/4.18 Obligation: 10.12/4.18 Q DP problem: 10.12/4.18 The TRS P consists of the following rules: 10.12/4.18 10.12/4.18 new_min1(vx50, vx51, Main.Succ(vx520), Main.Succ(vx530)) -> new_min1(vx50, vx51, vx520, vx530) 10.12/4.18 10.12/4.18 R is empty. 10.12/4.18 Q is empty. 10.12/4.18 We have to consider all minimal (P,Q,R)-chains. 10.12/4.18 ---------------------------------------- 10.12/4.18 10.12/4.18 (8) QDPSizeChangeProof (EQUIVALENT) 10.12/4.18 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. 10.12/4.18 10.12/4.18 From the DPs we obtained the following set of size-change graphs: 10.12/4.18 *new_min1(vx50, vx51, Main.Succ(vx520), Main.Succ(vx530)) -> new_min1(vx50, vx51, vx520, vx530) 10.12/4.18 The graph contains the following edges 1 >= 1, 2 >= 2, 3 > 3, 4 > 4 10.12/4.18 10.12/4.18 10.12/4.18 ---------------------------------------- 10.12/4.18 10.12/4.18 (9) 10.12/4.18 YES 10.12/4.18 10.12/4.18 ---------------------------------------- 10.12/4.18 10.12/4.18 (10) 10.12/4.18 Obligation: 10.12/4.18 Q DP problem: 10.12/4.18 The TRS P consists of the following rules: 10.12/4.18 10.12/4.18 new_min10(vx41, vx42, Main.Succ(vx430), Main.Succ(vx440)) -> new_min10(vx41, vx42, vx430, vx440) 10.12/4.18 10.12/4.18 R is empty. 10.12/4.18 Q is empty. 10.12/4.18 We have to consider all minimal (P,Q,R)-chains. 10.12/4.18 ---------------------------------------- 10.12/4.18 10.12/4.18 (11) QDPSizeChangeProof (EQUIVALENT) 10.12/4.18 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. 10.12/4.18 10.12/4.18 From the DPs we obtained the following set of size-change graphs: 10.12/4.18 *new_min10(vx41, vx42, Main.Succ(vx430), Main.Succ(vx440)) -> new_min10(vx41, vx42, vx430, vx440) 10.12/4.18 The graph contains the following edges 1 >= 1, 2 >= 2, 3 > 3, 4 > 4 10.12/4.18 10.12/4.18 10.12/4.18 ---------------------------------------- 10.12/4.18 10.12/4.18 (12) 10.12/4.18 YES 10.25/4.23 EOF