YES proof of prog.inttrs # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty Termination of the given IRSwT could be proven: (0) IRSwT (1) IRSFormatTransformerProof [EQUIVALENT, 0 ms] (2) IRSwT (3) IRSwTTerminationDigraphProof [EQUIVALENT, 137 ms] (4) IRSwT (5) IntTRSCompressionProof [EQUIVALENT, 28 ms] (6) IRSwT (7) TempFilterProof [SOUND, 15 ms] (8) IntTRS (9) PolynomialOrderProcessor [EQUIVALENT, 0 ms] (10) YES ---------------------------------------- (0) Obligation: Rules: l0(__const_20HAT0, iHAT0) -> l1(__const_20HATpost, iHATpost) :|: iHAT0 = iHATpost && __const_20HAT0 = __const_20HATpost l2(x, x1) -> l0(x2, x3) :|: x1 = x3 && x = x2 && x <= x1 l2(x4, x5) -> l3(x6, x7) :|: x4 = x6 && x7 = 1 + x5 && 1 + x5 <= x4 l4(x8, x9) -> l0(x10, x11) :|: x9 = x11 && x8 = x10 && x9 <= 0 l4(x12, x13) -> l3(x14, x15) :|: x13 = x15 && x12 = x14 && 1 <= x13 l3(x16, x17) -> l2(x18, x19) :|: x17 = x19 && x16 = x18 l5(x20, x21) -> l4(x22, x23) :|: x24 = 0 && x23 = x23 && x20 = x22 l6(x25, x26) -> l5(x27, x28) :|: x26 = x28 && x25 = x27 Start term: l6(__const_20HAT0, iHAT0) ---------------------------------------- (1) IRSFormatTransformerProof (EQUIVALENT) Reformatted IRS to match normalized format (transformed away non-linear left-hand sides, !=, / and %). ---------------------------------------- (2) Obligation: Rules: l0(__const_20HAT0, iHAT0) -> l1(__const_20HATpost, iHATpost) :|: iHAT0 = iHATpost && __const_20HAT0 = __const_20HATpost l2(x, x1) -> l0(x2, x3) :|: x1 = x3 && x = x2 && x <= x1 l2(x4, x5) -> l3(x6, x7) :|: x4 = x6 && x7 = 1 + x5 && 1 + x5 <= x4 l4(x8, x9) -> l0(x10, x11) :|: x9 = x11 && x8 = x10 && x9 <= 0 l4(x12, x13) -> l3(x14, x15) :|: x13 = x15 && x12 = x14 && 1 <= x13 l3(x16, x17) -> l2(x18, x19) :|: x17 = x19 && x16 = x18 l5(x20, x21) -> l4(x22, x23) :|: x24 = 0 && x23 = x23 && x20 = x22 l6(x25, x26) -> l5(x27, x28) :|: x26 = x28 && x25 = x27 Start term: l6(__const_20HAT0, iHAT0) ---------------------------------------- (3) IRSwTTerminationDigraphProof (EQUIVALENT) Constructed termination digraph! Nodes: (1) l0(__const_20HAT0, iHAT0) -> l1(__const_20HATpost, iHATpost) :|: iHAT0 = iHATpost && __const_20HAT0 = __const_20HATpost (2) l2(x, x1) -> l0(x2, x3) :|: x1 = x3 && x = x2 && x <= x1 (3) l2(x4, x5) -> l3(x6, x7) :|: x4 = x6 && x7 = 1 + x5 && 1 + x5 <= x4 (4) l4(x8, x9) -> l0(x10, x11) :|: x9 = x11 && x8 = x10 && x9 <= 0 (5) l4(x12, x13) -> l3(x14, x15) :|: x13 = x15 && x12 = x14 && 1 <= x13 (6) l3(x16, x17) -> l2(x18, x19) :|: x17 = x19 && x16 = x18 (7) l5(x20, x21) -> l4(x22, x23) :|: x24 = 0 && x23 = x23 && x20 = x22 (8) l6(x25, x26) -> l5(x27, x28) :|: x26 = x28 && x25 = x27 Arcs: (2) -> (1) (3) -> (6) (4) -> (1) (5) -> (6) (6) -> (2), (3) (7) -> (4), (5) (8) -> (7) This digraph is fully evaluated! ---------------------------------------- (4) Obligation: Termination digraph: Nodes: (1) l2(x4, x5) -> l3(x6, x7) :|: x4 = x6 && x7 = 1 + x5 && 1 + x5 <= x4 (2) l3(x16, x17) -> l2(x18, x19) :|: x17 = x19 && x16 = x18 Arcs: (1) -> (2) (2) -> (1) This digraph is fully evaluated! ---------------------------------------- (5) IntTRSCompressionProof (EQUIVALENT) Compressed rules. ---------------------------------------- (6) Obligation: Rules: l2(x18:0, x5:0) -> l2(x18:0, 1 + x5:0) :|: x18:0 >= 1 + x5:0 ---------------------------------------- (7) TempFilterProof (SOUND) Used the following sort dictionary for filtering: l2(INTEGER, INTEGER) Replaced non-predefined constructor symbols by 0. ---------------------------------------- (8) Obligation: Rules: l2(x18:0, x5:0) -> l2(x18:0, c) :|: c = 1 + x5:0 && x18:0 >= 1 + x5:0 ---------------------------------------- (9) PolynomialOrderProcessor (EQUIVALENT) Found the following polynomial interpretation: [l2(x, x1)] = x - x1 The following rules are decreasing: l2(x18:0, x5:0) -> l2(x18:0, c) :|: c = 1 + x5:0 && x18:0 >= 1 + x5:0 The following rules are bounded: l2(x18:0, x5:0) -> l2(x18:0, c) :|: c = 1 + x5:0 && x18:0 >= 1 + x5:0 ---------------------------------------- (10) YES