MAYBE proof of /export/starexec/sandbox/benchmark/theBenchmark.pl # AProVE Commit ID: 794c25de1cacf0d048858bcd21c9a779e1221865 marcel 20200619 unpublished dirty Left Termination of the query pattern subset1(a,g) w.r.t. the given Prolog program could not be shown: (0) Prolog (1) PrologToPiTRSProof [SOUND, 0 ms] (2) PiTRS (3) DependencyPairsProof [EQUIVALENT, 0 ms] (4) PiDP (5) DependencyGraphProof [EQUIVALENT, 0 ms] (6) AND (7) PiDP (8) UsableRulesProof [EQUIVALENT, 0 ms] (9) PiDP (10) PiDPToQDPProof [SOUND, 0 ms] (11) QDP (12) QDPSizeChangeProof [EQUIVALENT, 0 ms] (13) YES (14) PiDP (15) UsableRulesProof [EQUIVALENT, 0 ms] (16) PiDP (17) PiDPToQDPProof [SOUND, 0 ms] (18) QDP (19) TransformationProof [SOUND, 0 ms] (20) QDP (21) TransformationProof [EQUIVALENT, 0 ms] (22) QDP (23) PrologToPiTRSProof [SOUND, 0 ms] (24) PiTRS (25) DependencyPairsProof [EQUIVALENT, 0 ms] (26) PiDP (27) DependencyGraphProof [EQUIVALENT, 0 ms] (28) AND (29) PiDP (30) UsableRulesProof [EQUIVALENT, 0 ms] (31) PiDP (32) PiDPToQDPProof [SOUND, 0 ms] (33) QDP (34) QDPSizeChangeProof [EQUIVALENT, 0 ms] (35) YES (36) PiDP (37) UsableRulesProof [EQUIVALENT, 0 ms] (38) PiDP (39) PiDPToQDPProof [SOUND, 0 ms] (40) QDP (41) PrologToTRSTransformerProof [SOUND, 0 ms] (42) QTRS (43) DependencyPairsProof [EQUIVALENT, 0 ms] (44) QDP (45) DependencyGraphProof [EQUIVALENT, 0 ms] (46) AND (47) QDP (48) UsableRulesProof [EQUIVALENT, 0 ms] (49) QDP (50) QDPSizeChangeProof [EQUIVALENT, 0 ms] (51) YES (52) QDP (53) NonTerminationLoopProof [COMPLETE, 0 ms] (54) NO (55) PrologToDTProblemTransformerProof [SOUND, 0 ms] (56) TRIPLES (57) TriplesToPiDPProof [SOUND, 17 ms] (58) PiDP (59) DependencyGraphProof [EQUIVALENT, 0 ms] (60) AND (61) PiDP (62) UsableRulesProof [EQUIVALENT, 0 ms] (63) PiDP (64) PiDPToQDPProof [SOUND, 0 ms] (65) QDP (66) QDPSizeChangeProof [EQUIVALENT, 0 ms] (67) YES (68) PiDP (69) PiDPToQDPProof [SOUND, 0 ms] (70) QDP (71) PrologToIRSwTTransformerProof [SOUND, 0 ms] (72) AND (73) IRSwT (74) IRSwTSimpleDependencyGraphProof [EQUIVALENT, 0 ms] (75) IRSwT (76) IntTRSCompressionProof [EQUIVALENT, 21 ms] (77) IRSwT (78) IRSFormatTransformerProof [EQUIVALENT, 0 ms] (79) IRSwT (80) IRSwTTerminationDigraphProof [EQUIVALENT, 0 ms] (81) IRSwT (82) IntTRSUnneededArgumentFilterProof [EQUIVALENT, 0 ms] (83) IRSwT (84) TempFilterProof [SOUND, 2 ms] (85) IRSwT (86) IRSwTToQDPProof [SOUND, 0 ms] (87) QDP (88) QDPSizeChangeProof [EQUIVALENT, 0 ms] (89) YES (90) IRSwT (91) IRSwTSimpleDependencyGraphProof [EQUIVALENT, 0 ms] (92) IRSwT (93) IntTRSCompressionProof [EQUIVALENT, 8 ms] (94) IRSwT (95) IRSFormatTransformerProof [EQUIVALENT, 0 ms] (96) IRSwT ---------------------------------------- (0) Obligation: Clauses: member(X, .(Y, Xs)) :- member(X, Xs). member(X, .(X, Xs)). subset(.(X, Xs), Ys) :- ','(member(X, Ys), subset(Xs, Ys)). subset([], Ys). member1(X, .(Y, Xs)) :- member1(X, Xs). member1(X, .(X, Xs)). subset1(.(X, Xs), Ys) :- ','(member1(X, Ys), subset1(Xs, Ys)). subset1([], Ys). Query: subset1(a,g) ---------------------------------------- (1) PrologToPiTRSProof (SOUND) We use the technique of [TOCL09]. With regard to the inferred argument filtering the predicates were used in the following modes: subset1_in_2: (f,b) member1_in_2: (f,b) Transforming Prolog into the following Term Rewriting System: Pi-finite rewrite system: The TRS R consists of the following rules: subset1_in_ag(.(X, Xs), Ys) -> U5_ag(X, Xs, Ys, member1_in_ag(X, Ys)) member1_in_ag(X, .(Y, Xs)) -> U4_ag(X, Y, Xs, member1_in_ag(X, Xs)) member1_in_ag(X, .(X, Xs)) -> member1_out_ag(X, .(X, Xs)) U4_ag(X, Y, Xs, member1_out_ag(X, Xs)) -> member1_out_ag(X, .(Y, Xs)) U5_ag(X, Xs, Ys, member1_out_ag(X, Ys)) -> U6_ag(X, Xs, Ys, subset1_in_ag(Xs, Ys)) subset1_in_ag([], Ys) -> subset1_out_ag([], Ys) U6_ag(X, Xs, Ys, subset1_out_ag(Xs, Ys)) -> subset1_out_ag(.(X, Xs), Ys) The argument filtering Pi contains the following mapping: subset1_in_ag(x1, x2) = subset1_in_ag(x2) U5_ag(x1, x2, x3, x4) = U5_ag(x3, x4) member1_in_ag(x1, x2) = member1_in_ag(x2) .(x1, x2) = .(x1, x2) U4_ag(x1, x2, x3, x4) = U4_ag(x4) member1_out_ag(x1, x2) = member1_out_ag(x1) U6_ag(x1, x2, x3, x4) = U6_ag(x1, x4) subset1_out_ag(x1, x2) = subset1_out_ag(x1) Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog ---------------------------------------- (2) Obligation: Pi-finite rewrite system: The TRS R consists of the following rules: subset1_in_ag(.(X, Xs), Ys) -> U5_ag(X, Xs, Ys, member1_in_ag(X, Ys)) member1_in_ag(X, .(Y, Xs)) -> U4_ag(X, Y, Xs, member1_in_ag(X, Xs)) member1_in_ag(X, .(X, Xs)) -> member1_out_ag(X, .(X, Xs)) U4_ag(X, Y, Xs, member1_out_ag(X, Xs)) -> member1_out_ag(X, .(Y, Xs)) U5_ag(X, Xs, Ys, member1_out_ag(X, Ys)) -> U6_ag(X, Xs, Ys, subset1_in_ag(Xs, Ys)) subset1_in_ag([], Ys) -> subset1_out_ag([], Ys) U6_ag(X, Xs, Ys, subset1_out_ag(Xs, Ys)) -> subset1_out_ag(.(X, Xs), Ys) The argument filtering Pi contains the following mapping: subset1_in_ag(x1, x2) = subset1_in_ag(x2) U5_ag(x1, x2, x3, x4) = U5_ag(x3, x4) member1_in_ag(x1, x2) = member1_in_ag(x2) .(x1, x2) = .(x1, x2) U4_ag(x1, x2, x3, x4) = U4_ag(x4) member1_out_ag(x1, x2) = member1_out_ag(x1) U6_ag(x1, x2, x3, x4) = U6_ag(x1, x4) subset1_out_ag(x1, x2) = subset1_out_ag(x1) ---------------------------------------- (3) DependencyPairsProof (EQUIVALENT) Using Dependency Pairs [AG00,LOPSTR] we result in the following initial DP problem: Pi DP problem: The TRS P consists of the following rules: SUBSET1_IN_AG(.(X, Xs), Ys) -> U5_AG(X, Xs, Ys, member1_in_ag(X, Ys)) SUBSET1_IN_AG(.(X, Xs), Ys) -> MEMBER1_IN_AG(X, Ys) MEMBER1_IN_AG(X, .(Y, Xs)) -> U4_AG(X, Y, Xs, member1_in_ag(X, Xs)) MEMBER1_IN_AG(X, .(Y, Xs)) -> MEMBER1_IN_AG(X, Xs) U5_AG(X, Xs, Ys, member1_out_ag(X, Ys)) -> U6_AG(X, Xs, Ys, subset1_in_ag(Xs, Ys)) U5_AG(X, Xs, Ys, member1_out_ag(X, Ys)) -> SUBSET1_IN_AG(Xs, Ys) The TRS R consists of the following rules: subset1_in_ag(.(X, Xs), Ys) -> U5_ag(X, Xs, Ys, member1_in_ag(X, Ys)) member1_in_ag(X, .(Y, Xs)) -> U4_ag(X, Y, Xs, member1_in_ag(X, Xs)) member1_in_ag(X, .(X, Xs)) -> member1_out_ag(X, .(X, Xs)) U4_ag(X, Y, Xs, member1_out_ag(X, Xs)) -> member1_out_ag(X, .(Y, Xs)) U5_ag(X, Xs, Ys, member1_out_ag(X, Ys)) -> U6_ag(X, Xs, Ys, subset1_in_ag(Xs, Ys)) subset1_in_ag([], Ys) -> subset1_out_ag([], Ys) U6_ag(X, Xs, Ys, subset1_out_ag(Xs, Ys)) -> subset1_out_ag(.(X, Xs), Ys) The argument filtering Pi contains the following mapping: subset1_in_ag(x1, x2) = subset1_in_ag(x2) U5_ag(x1, x2, x3, x4) = U5_ag(x3, x4) member1_in_ag(x1, x2) = member1_in_ag(x2) .(x1, x2) = .(x1, x2) U4_ag(x1, x2, x3, x4) = U4_ag(x4) member1_out_ag(x1, x2) = member1_out_ag(x1) U6_ag(x1, x2, x3, x4) = U6_ag(x1, x4) subset1_out_ag(x1, x2) = subset1_out_ag(x1) SUBSET1_IN_AG(x1, x2) = SUBSET1_IN_AG(x2) U5_AG(x1, x2, x3, x4) = U5_AG(x3, x4) MEMBER1_IN_AG(x1, x2) = MEMBER1_IN_AG(x2) U4_AG(x1, x2, x3, x4) = U4_AG(x4) U6_AG(x1, x2, x3, x4) = U6_AG(x1, x4) We have to consider all (P,R,Pi)-chains ---------------------------------------- (4) Obligation: Pi DP problem: The TRS P consists of the following rules: SUBSET1_IN_AG(.(X, Xs), Ys) -> U5_AG(X, Xs, Ys, member1_in_ag(X, Ys)) SUBSET1_IN_AG(.(X, Xs), Ys) -> MEMBER1_IN_AG(X, Ys) MEMBER1_IN_AG(X, .(Y, Xs)) -> U4_AG(X, Y, Xs, member1_in_ag(X, Xs)) MEMBER1_IN_AG(X, .(Y, Xs)) -> MEMBER1_IN_AG(X, Xs) U5_AG(X, Xs, Ys, member1_out_ag(X, Ys)) -> U6_AG(X, Xs, Ys, subset1_in_ag(Xs, Ys)) U5_AG(X, Xs, Ys, member1_out_ag(X, Ys)) -> SUBSET1_IN_AG(Xs, Ys) The TRS R consists of the following rules: subset1_in_ag(.(X, Xs), Ys) -> U5_ag(X, Xs, Ys, member1_in_ag(X, Ys)) member1_in_ag(X, .(Y, Xs)) -> U4_ag(X, Y, Xs, member1_in_ag(X, Xs)) member1_in_ag(X, .(X, Xs)) -> member1_out_ag(X, .(X, Xs)) U4_ag(X, Y, Xs, member1_out_ag(X, Xs)) -> member1_out_ag(X, .(Y, Xs)) U5_ag(X, Xs, Ys, member1_out_ag(X, Ys)) -> U6_ag(X, Xs, Ys, subset1_in_ag(Xs, Ys)) subset1_in_ag([], Ys) -> subset1_out_ag([], Ys) U6_ag(X, Xs, Ys, subset1_out_ag(Xs, Ys)) -> subset1_out_ag(.(X, Xs), Ys) The argument filtering Pi contains the following mapping: subset1_in_ag(x1, x2) = subset1_in_ag(x2) U5_ag(x1, x2, x3, x4) = U5_ag(x3, x4) member1_in_ag(x1, x2) = member1_in_ag(x2) .(x1, x2) = .(x1, x2) U4_ag(x1, x2, x3, x4) = U4_ag(x4) member1_out_ag(x1, x2) = member1_out_ag(x1) U6_ag(x1, x2, x3, x4) = U6_ag(x1, x4) subset1_out_ag(x1, x2) = subset1_out_ag(x1) SUBSET1_IN_AG(x1, x2) = SUBSET1_IN_AG(x2) U5_AG(x1, x2, x3, x4) = U5_AG(x3, x4) MEMBER1_IN_AG(x1, x2) = MEMBER1_IN_AG(x2) U4_AG(x1, x2, x3, x4) = U4_AG(x4) U6_AG(x1, x2, x3, x4) = U6_AG(x1, x4) We have to consider all (P,R,Pi)-chains ---------------------------------------- (5) DependencyGraphProof (EQUIVALENT) The approximation of the Dependency Graph [LOPSTR] contains 2 SCCs with 3 less nodes. ---------------------------------------- (6) Complex Obligation (AND) ---------------------------------------- (7) Obligation: Pi DP problem: The TRS P consists of the following rules: MEMBER1_IN_AG(X, .(Y, Xs)) -> MEMBER1_IN_AG(X, Xs) The TRS R consists of the following rules: subset1_in_ag(.(X, Xs), Ys) -> U5_ag(X, Xs, Ys, member1_in_ag(X, Ys)) member1_in_ag(X, .(Y, Xs)) -> U4_ag(X, Y, Xs, member1_in_ag(X, Xs)) member1_in_ag(X, .(X, Xs)) -> member1_out_ag(X, .(X, Xs)) U4_ag(X, Y, Xs, member1_out_ag(X, Xs)) -> member1_out_ag(X, .(Y, Xs)) U5_ag(X, Xs, Ys, member1_out_ag(X, Ys)) -> U6_ag(X, Xs, Ys, subset1_in_ag(Xs, Ys)) subset1_in_ag([], Ys) -> subset1_out_ag([], Ys) U6_ag(X, Xs, Ys, subset1_out_ag(Xs, Ys)) -> subset1_out_ag(.(X, Xs), Ys) The argument filtering Pi contains the following mapping: subset1_in_ag(x1, x2) = subset1_in_ag(x2) U5_ag(x1, x2, x3, x4) = U5_ag(x3, x4) member1_in_ag(x1, x2) = member1_in_ag(x2) .(x1, x2) = .(x1, x2) U4_ag(x1, x2, x3, x4) = U4_ag(x4) member1_out_ag(x1, x2) = member1_out_ag(x1) U6_ag(x1, x2, x3, x4) = U6_ag(x1, x4) subset1_out_ag(x1, x2) = subset1_out_ag(x1) MEMBER1_IN_AG(x1, x2) = MEMBER1_IN_AG(x2) We have to consider all (P,R,Pi)-chains ---------------------------------------- (8) UsableRulesProof (EQUIVALENT) For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R. ---------------------------------------- (9) Obligation: Pi DP problem: The TRS P consists of the following rules: MEMBER1_IN_AG(X, .(Y, Xs)) -> MEMBER1_IN_AG(X, Xs) R is empty. The argument filtering Pi contains the following mapping: .(x1, x2) = .(x1, x2) MEMBER1_IN_AG(x1, x2) = MEMBER1_IN_AG(x2) We have to consider all (P,R,Pi)-chains ---------------------------------------- (10) PiDPToQDPProof (SOUND) Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi. ---------------------------------------- (11) Obligation: Q DP problem: The TRS P consists of the following rules: MEMBER1_IN_AG(.(Y, Xs)) -> MEMBER1_IN_AG(Xs) R is empty. Q is empty. We have to consider all (P,Q,R)-chains. ---------------------------------------- (12) 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: *MEMBER1_IN_AG(.(Y, Xs)) -> MEMBER1_IN_AG(Xs) The graph contains the following edges 1 > 1 ---------------------------------------- (13) YES ---------------------------------------- (14) Obligation: Pi DP problem: The TRS P consists of the following rules: U5_AG(X, Xs, Ys, member1_out_ag(X, Ys)) -> SUBSET1_IN_AG(Xs, Ys) SUBSET1_IN_AG(.(X, Xs), Ys) -> U5_AG(X, Xs, Ys, member1_in_ag(X, Ys)) The TRS R consists of the following rules: subset1_in_ag(.(X, Xs), Ys) -> U5_ag(X, Xs, Ys, member1_in_ag(X, Ys)) member1_in_ag(X, .(Y, Xs)) -> U4_ag(X, Y, Xs, member1_in_ag(X, Xs)) member1_in_ag(X, .(X, Xs)) -> member1_out_ag(X, .(X, Xs)) U4_ag(X, Y, Xs, member1_out_ag(X, Xs)) -> member1_out_ag(X, .(Y, Xs)) U5_ag(X, Xs, Ys, member1_out_ag(X, Ys)) -> U6_ag(X, Xs, Ys, subset1_in_ag(Xs, Ys)) subset1_in_ag([], Ys) -> subset1_out_ag([], Ys) U6_ag(X, Xs, Ys, subset1_out_ag(Xs, Ys)) -> subset1_out_ag(.(X, Xs), Ys) The argument filtering Pi contains the following mapping: subset1_in_ag(x1, x2) = subset1_in_ag(x2) U5_ag(x1, x2, x3, x4) = U5_ag(x3, x4) member1_in_ag(x1, x2) = member1_in_ag(x2) .(x1, x2) = .(x1, x2) U4_ag(x1, x2, x3, x4) = U4_ag(x4) member1_out_ag(x1, x2) = member1_out_ag(x1) U6_ag(x1, x2, x3, x4) = U6_ag(x1, x4) subset1_out_ag(x1, x2) = subset1_out_ag(x1) SUBSET1_IN_AG(x1, x2) = SUBSET1_IN_AG(x2) U5_AG(x1, x2, x3, x4) = U5_AG(x3, x4) We have to consider all (P,R,Pi)-chains ---------------------------------------- (15) UsableRulesProof (EQUIVALENT) For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R. ---------------------------------------- (16) Obligation: Pi DP problem: The TRS P consists of the following rules: U5_AG(X, Xs, Ys, member1_out_ag(X, Ys)) -> SUBSET1_IN_AG(Xs, Ys) SUBSET1_IN_AG(.(X, Xs), Ys) -> U5_AG(X, Xs, Ys, member1_in_ag(X, Ys)) The TRS R consists of the following rules: member1_in_ag(X, .(Y, Xs)) -> U4_ag(X, Y, Xs, member1_in_ag(X, Xs)) member1_in_ag(X, .(X, Xs)) -> member1_out_ag(X, .(X, Xs)) U4_ag(X, Y, Xs, member1_out_ag(X, Xs)) -> member1_out_ag(X, .(Y, Xs)) The argument filtering Pi contains the following mapping: member1_in_ag(x1, x2) = member1_in_ag(x2) .(x1, x2) = .(x1, x2) U4_ag(x1, x2, x3, x4) = U4_ag(x4) member1_out_ag(x1, x2) = member1_out_ag(x1) SUBSET1_IN_AG(x1, x2) = SUBSET1_IN_AG(x2) U5_AG(x1, x2, x3, x4) = U5_AG(x3, x4) We have to consider all (P,R,Pi)-chains ---------------------------------------- (17) PiDPToQDPProof (SOUND) Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi. ---------------------------------------- (18) Obligation: Q DP problem: The TRS P consists of the following rules: U5_AG(Ys, member1_out_ag(X)) -> SUBSET1_IN_AG(Ys) SUBSET1_IN_AG(Ys) -> U5_AG(Ys, member1_in_ag(Ys)) The TRS R consists of the following rules: member1_in_ag(.(Y, Xs)) -> U4_ag(member1_in_ag(Xs)) member1_in_ag(.(X, Xs)) -> member1_out_ag(X) U4_ag(member1_out_ag(X)) -> member1_out_ag(X) The set Q consists of the following terms: member1_in_ag(x0) U4_ag(x0) We have to consider all (P,Q,R)-chains. ---------------------------------------- (19) TransformationProof (SOUND) By narrowing [LPAR04] the rule SUBSET1_IN_AG(Ys) -> U5_AG(Ys, member1_in_ag(Ys)) at position [1] we obtained the following new rules [LPAR04]: (SUBSET1_IN_AG(.(x0, x1)) -> U5_AG(.(x0, x1), U4_ag(member1_in_ag(x1))),SUBSET1_IN_AG(.(x0, x1)) -> U5_AG(.(x0, x1), U4_ag(member1_in_ag(x1)))) (SUBSET1_IN_AG(.(x0, x1)) -> U5_AG(.(x0, x1), member1_out_ag(x0)),SUBSET1_IN_AG(.(x0, x1)) -> U5_AG(.(x0, x1), member1_out_ag(x0))) ---------------------------------------- (20) Obligation: Q DP problem: The TRS P consists of the following rules: U5_AG(Ys, member1_out_ag(X)) -> SUBSET1_IN_AG(Ys) SUBSET1_IN_AG(.(x0, x1)) -> U5_AG(.(x0, x1), U4_ag(member1_in_ag(x1))) SUBSET1_IN_AG(.(x0, x1)) -> U5_AG(.(x0, x1), member1_out_ag(x0)) The TRS R consists of the following rules: member1_in_ag(.(Y, Xs)) -> U4_ag(member1_in_ag(Xs)) member1_in_ag(.(X, Xs)) -> member1_out_ag(X) U4_ag(member1_out_ag(X)) -> member1_out_ag(X) The set Q consists of the following terms: member1_in_ag(x0) U4_ag(x0) We have to consider all (P,Q,R)-chains. ---------------------------------------- (21) TransformationProof (EQUIVALENT) By instantiating [LPAR04] the rule U5_AG(Ys, member1_out_ag(X)) -> SUBSET1_IN_AG(Ys) we obtained the following new rules [LPAR04]: (U5_AG(.(z0, z1), member1_out_ag(x1)) -> SUBSET1_IN_AG(.(z0, z1)),U5_AG(.(z0, z1), member1_out_ag(x1)) -> SUBSET1_IN_AG(.(z0, z1))) (U5_AG(.(z0, z1), member1_out_ag(z0)) -> SUBSET1_IN_AG(.(z0, z1)),U5_AG(.(z0, z1), member1_out_ag(z0)) -> SUBSET1_IN_AG(.(z0, z1))) ---------------------------------------- (22) Obligation: Q DP problem: The TRS P consists of the following rules: SUBSET1_IN_AG(.(x0, x1)) -> U5_AG(.(x0, x1), U4_ag(member1_in_ag(x1))) SUBSET1_IN_AG(.(x0, x1)) -> U5_AG(.(x0, x1), member1_out_ag(x0)) U5_AG(.(z0, z1), member1_out_ag(x1)) -> SUBSET1_IN_AG(.(z0, z1)) U5_AG(.(z0, z1), member1_out_ag(z0)) -> SUBSET1_IN_AG(.(z0, z1)) The TRS R consists of the following rules: member1_in_ag(.(Y, Xs)) -> U4_ag(member1_in_ag(Xs)) member1_in_ag(.(X, Xs)) -> member1_out_ag(X) U4_ag(member1_out_ag(X)) -> member1_out_ag(X) The set Q consists of the following terms: member1_in_ag(x0) U4_ag(x0) We have to consider all (P,Q,R)-chains. ---------------------------------------- (23) PrologToPiTRSProof (SOUND) We use the technique of [TOCL09]. With regard to the inferred argument filtering the predicates were used in the following modes: subset1_in_2: (f,b) member1_in_2: (f,b) Transforming Prolog into the following Term Rewriting System: Pi-finite rewrite system: The TRS R consists of the following rules: subset1_in_ag(.(X, Xs), Ys) -> U5_ag(X, Xs, Ys, member1_in_ag(X, Ys)) member1_in_ag(X, .(Y, Xs)) -> U4_ag(X, Y, Xs, member1_in_ag(X, Xs)) member1_in_ag(X, .(X, Xs)) -> member1_out_ag(X, .(X, Xs)) U4_ag(X, Y, Xs, member1_out_ag(X, Xs)) -> member1_out_ag(X, .(Y, Xs)) U5_ag(X, Xs, Ys, member1_out_ag(X, Ys)) -> U6_ag(X, Xs, Ys, subset1_in_ag(Xs, Ys)) subset1_in_ag([], Ys) -> subset1_out_ag([], Ys) U6_ag(X, Xs, Ys, subset1_out_ag(Xs, Ys)) -> subset1_out_ag(.(X, Xs), Ys) The argument filtering Pi contains the following mapping: subset1_in_ag(x1, x2) = subset1_in_ag(x2) U5_ag(x1, x2, x3, x4) = U5_ag(x3, x4) member1_in_ag(x1, x2) = member1_in_ag(x2) .(x1, x2) = .(x1, x2) U4_ag(x1, x2, x3, x4) = U4_ag(x2, x3, x4) member1_out_ag(x1, x2) = member1_out_ag(x1, x2) U6_ag(x1, x2, x3, x4) = U6_ag(x1, x3, x4) subset1_out_ag(x1, x2) = subset1_out_ag(x1, x2) Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog ---------------------------------------- (24) Obligation: Pi-finite rewrite system: The TRS R consists of the following rules: subset1_in_ag(.(X, Xs), Ys) -> U5_ag(X, Xs, Ys, member1_in_ag(X, Ys)) member1_in_ag(X, .(Y, Xs)) -> U4_ag(X, Y, Xs, member1_in_ag(X, Xs)) member1_in_ag(X, .(X, Xs)) -> member1_out_ag(X, .(X, Xs)) U4_ag(X, Y, Xs, member1_out_ag(X, Xs)) -> member1_out_ag(X, .(Y, Xs)) U5_ag(X, Xs, Ys, member1_out_ag(X, Ys)) -> U6_ag(X, Xs, Ys, subset1_in_ag(Xs, Ys)) subset1_in_ag([], Ys) -> subset1_out_ag([], Ys) U6_ag(X, Xs, Ys, subset1_out_ag(Xs, Ys)) -> subset1_out_ag(.(X, Xs), Ys) The argument filtering Pi contains the following mapping: subset1_in_ag(x1, x2) = subset1_in_ag(x2) U5_ag(x1, x2, x3, x4) = U5_ag(x3, x4) member1_in_ag(x1, x2) = member1_in_ag(x2) .(x1, x2) = .(x1, x2) U4_ag(x1, x2, x3, x4) = U4_ag(x2, x3, x4) member1_out_ag(x1, x2) = member1_out_ag(x1, x2) U6_ag(x1, x2, x3, x4) = U6_ag(x1, x3, x4) subset1_out_ag(x1, x2) = subset1_out_ag(x1, x2) ---------------------------------------- (25) DependencyPairsProof (EQUIVALENT) Using Dependency Pairs [AG00,LOPSTR] we result in the following initial DP problem: Pi DP problem: The TRS P consists of the following rules: SUBSET1_IN_AG(.(X, Xs), Ys) -> U5_AG(X, Xs, Ys, member1_in_ag(X, Ys)) SUBSET1_IN_AG(.(X, Xs), Ys) -> MEMBER1_IN_AG(X, Ys) MEMBER1_IN_AG(X, .(Y, Xs)) -> U4_AG(X, Y, Xs, member1_in_ag(X, Xs)) MEMBER1_IN_AG(X, .(Y, Xs)) -> MEMBER1_IN_AG(X, Xs) U5_AG(X, Xs, Ys, member1_out_ag(X, Ys)) -> U6_AG(X, Xs, Ys, subset1_in_ag(Xs, Ys)) U5_AG(X, Xs, Ys, member1_out_ag(X, Ys)) -> SUBSET1_IN_AG(Xs, Ys) The TRS R consists of the following rules: subset1_in_ag(.(X, Xs), Ys) -> U5_ag(X, Xs, Ys, member1_in_ag(X, Ys)) member1_in_ag(X, .(Y, Xs)) -> U4_ag(X, Y, Xs, member1_in_ag(X, Xs)) member1_in_ag(X, .(X, Xs)) -> member1_out_ag(X, .(X, Xs)) U4_ag(X, Y, Xs, member1_out_ag(X, Xs)) -> member1_out_ag(X, .(Y, Xs)) U5_ag(X, Xs, Ys, member1_out_ag(X, Ys)) -> U6_ag(X, Xs, Ys, subset1_in_ag(Xs, Ys)) subset1_in_ag([], Ys) -> subset1_out_ag([], Ys) U6_ag(X, Xs, Ys, subset1_out_ag(Xs, Ys)) -> subset1_out_ag(.(X, Xs), Ys) The argument filtering Pi contains the following mapping: subset1_in_ag(x1, x2) = subset1_in_ag(x2) U5_ag(x1, x2, x3, x4) = U5_ag(x3, x4) member1_in_ag(x1, x2) = member1_in_ag(x2) .(x1, x2) = .(x1, x2) U4_ag(x1, x2, x3, x4) = U4_ag(x2, x3, x4) member1_out_ag(x1, x2) = member1_out_ag(x1, x2) U6_ag(x1, x2, x3, x4) = U6_ag(x1, x3, x4) subset1_out_ag(x1, x2) = subset1_out_ag(x1, x2) SUBSET1_IN_AG(x1, x2) = SUBSET1_IN_AG(x2) U5_AG(x1, x2, x3, x4) = U5_AG(x3, x4) MEMBER1_IN_AG(x1, x2) = MEMBER1_IN_AG(x2) U4_AG(x1, x2, x3, x4) = U4_AG(x2, x3, x4) U6_AG(x1, x2, x3, x4) = U6_AG(x1, x3, x4) We have to consider all (P,R,Pi)-chains ---------------------------------------- (26) Obligation: Pi DP problem: The TRS P consists of the following rules: SUBSET1_IN_AG(.(X, Xs), Ys) -> U5_AG(X, Xs, Ys, member1_in_ag(X, Ys)) SUBSET1_IN_AG(.(X, Xs), Ys) -> MEMBER1_IN_AG(X, Ys) MEMBER1_IN_AG(X, .(Y, Xs)) -> U4_AG(X, Y, Xs, member1_in_ag(X, Xs)) MEMBER1_IN_AG(X, .(Y, Xs)) -> MEMBER1_IN_AG(X, Xs) U5_AG(X, Xs, Ys, member1_out_ag(X, Ys)) -> U6_AG(X, Xs, Ys, subset1_in_ag(Xs, Ys)) U5_AG(X, Xs, Ys, member1_out_ag(X, Ys)) -> SUBSET1_IN_AG(Xs, Ys) The TRS R consists of the following rules: subset1_in_ag(.(X, Xs), Ys) -> U5_ag(X, Xs, Ys, member1_in_ag(X, Ys)) member1_in_ag(X, .(Y, Xs)) -> U4_ag(X, Y, Xs, member1_in_ag(X, Xs)) member1_in_ag(X, .(X, Xs)) -> member1_out_ag(X, .(X, Xs)) U4_ag(X, Y, Xs, member1_out_ag(X, Xs)) -> member1_out_ag(X, .(Y, Xs)) U5_ag(X, Xs, Ys, member1_out_ag(X, Ys)) -> U6_ag(X, Xs, Ys, subset1_in_ag(Xs, Ys)) subset1_in_ag([], Ys) -> subset1_out_ag([], Ys) U6_ag(X, Xs, Ys, subset1_out_ag(Xs, Ys)) -> subset1_out_ag(.(X, Xs), Ys) The argument filtering Pi contains the following mapping: subset1_in_ag(x1, x2) = subset1_in_ag(x2) U5_ag(x1, x2, x3, x4) = U5_ag(x3, x4) member1_in_ag(x1, x2) = member1_in_ag(x2) .(x1, x2) = .(x1, x2) U4_ag(x1, x2, x3, x4) = U4_ag(x2, x3, x4) member1_out_ag(x1, x2) = member1_out_ag(x1, x2) U6_ag(x1, x2, x3, x4) = U6_ag(x1, x3, x4) subset1_out_ag(x1, x2) = subset1_out_ag(x1, x2) SUBSET1_IN_AG(x1, x2) = SUBSET1_IN_AG(x2) U5_AG(x1, x2, x3, x4) = U5_AG(x3, x4) MEMBER1_IN_AG(x1, x2) = MEMBER1_IN_AG(x2) U4_AG(x1, x2, x3, x4) = U4_AG(x2, x3, x4) U6_AG(x1, x2, x3, x4) = U6_AG(x1, x3, x4) We have to consider all (P,R,Pi)-chains ---------------------------------------- (27) DependencyGraphProof (EQUIVALENT) The approximation of the Dependency Graph [LOPSTR] contains 2 SCCs with 3 less nodes. ---------------------------------------- (28) Complex Obligation (AND) ---------------------------------------- (29) Obligation: Pi DP problem: The TRS P consists of the following rules: MEMBER1_IN_AG(X, .(Y, Xs)) -> MEMBER1_IN_AG(X, Xs) The TRS R consists of the following rules: subset1_in_ag(.(X, Xs), Ys) -> U5_ag(X, Xs, Ys, member1_in_ag(X, Ys)) member1_in_ag(X, .(Y, Xs)) -> U4_ag(X, Y, Xs, member1_in_ag(X, Xs)) member1_in_ag(X, .(X, Xs)) -> member1_out_ag(X, .(X, Xs)) U4_ag(X, Y, Xs, member1_out_ag(X, Xs)) -> member1_out_ag(X, .(Y, Xs)) U5_ag(X, Xs, Ys, member1_out_ag(X, Ys)) -> U6_ag(X, Xs, Ys, subset1_in_ag(Xs, Ys)) subset1_in_ag([], Ys) -> subset1_out_ag([], Ys) U6_ag(X, Xs, Ys, subset1_out_ag(Xs, Ys)) -> subset1_out_ag(.(X, Xs), Ys) The argument filtering Pi contains the following mapping: subset1_in_ag(x1, x2) = subset1_in_ag(x2) U5_ag(x1, x2, x3, x4) = U5_ag(x3, x4) member1_in_ag(x1, x2) = member1_in_ag(x2) .(x1, x2) = .(x1, x2) U4_ag(x1, x2, x3, x4) = U4_ag(x2, x3, x4) member1_out_ag(x1, x2) = member1_out_ag(x1, x2) U6_ag(x1, x2, x3, x4) = U6_ag(x1, x3, x4) subset1_out_ag(x1, x2) = subset1_out_ag(x1, x2) MEMBER1_IN_AG(x1, x2) = MEMBER1_IN_AG(x2) We have to consider all (P,R,Pi)-chains ---------------------------------------- (30) UsableRulesProof (EQUIVALENT) For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R. ---------------------------------------- (31) Obligation: Pi DP problem: The TRS P consists of the following rules: MEMBER1_IN_AG(X, .(Y, Xs)) -> MEMBER1_IN_AG(X, Xs) R is empty. The argument filtering Pi contains the following mapping: .(x1, x2) = .(x1, x2) MEMBER1_IN_AG(x1, x2) = MEMBER1_IN_AG(x2) We have to consider all (P,R,Pi)-chains ---------------------------------------- (32) PiDPToQDPProof (SOUND) Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi. ---------------------------------------- (33) Obligation: Q DP problem: The TRS P consists of the following rules: MEMBER1_IN_AG(.(Y, Xs)) -> MEMBER1_IN_AG(Xs) R is empty. Q is empty. We have to consider all (P,Q,R)-chains. ---------------------------------------- (34) 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: *MEMBER1_IN_AG(.(Y, Xs)) -> MEMBER1_IN_AG(Xs) The graph contains the following edges 1 > 1 ---------------------------------------- (35) YES ---------------------------------------- (36) Obligation: Pi DP problem: The TRS P consists of the following rules: U5_AG(X, Xs, Ys, member1_out_ag(X, Ys)) -> SUBSET1_IN_AG(Xs, Ys) SUBSET1_IN_AG(.(X, Xs), Ys) -> U5_AG(X, Xs, Ys, member1_in_ag(X, Ys)) The TRS R consists of the following rules: subset1_in_ag(.(X, Xs), Ys) -> U5_ag(X, Xs, Ys, member1_in_ag(X, Ys)) member1_in_ag(X, .(Y, Xs)) -> U4_ag(X, Y, Xs, member1_in_ag(X, Xs)) member1_in_ag(X, .(X, Xs)) -> member1_out_ag(X, .(X, Xs)) U4_ag(X, Y, Xs, member1_out_ag(X, Xs)) -> member1_out_ag(X, .(Y, Xs)) U5_ag(X, Xs, Ys, member1_out_ag(X, Ys)) -> U6_ag(X, Xs, Ys, subset1_in_ag(Xs, Ys)) subset1_in_ag([], Ys) -> subset1_out_ag([], Ys) U6_ag(X, Xs, Ys, subset1_out_ag(Xs, Ys)) -> subset1_out_ag(.(X, Xs), Ys) The argument filtering Pi contains the following mapping: subset1_in_ag(x1, x2) = subset1_in_ag(x2) U5_ag(x1, x2, x3, x4) = U5_ag(x3, x4) member1_in_ag(x1, x2) = member1_in_ag(x2) .(x1, x2) = .(x1, x2) U4_ag(x1, x2, x3, x4) = U4_ag(x2, x3, x4) member1_out_ag(x1, x2) = member1_out_ag(x1, x2) U6_ag(x1, x2, x3, x4) = U6_ag(x1, x3, x4) subset1_out_ag(x1, x2) = subset1_out_ag(x1, x2) SUBSET1_IN_AG(x1, x2) = SUBSET1_IN_AG(x2) U5_AG(x1, x2, x3, x4) = U5_AG(x3, x4) We have to consider all (P,R,Pi)-chains ---------------------------------------- (37) UsableRulesProof (EQUIVALENT) For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R. ---------------------------------------- (38) Obligation: Pi DP problem: The TRS P consists of the following rules: U5_AG(X, Xs, Ys, member1_out_ag(X, Ys)) -> SUBSET1_IN_AG(Xs, Ys) SUBSET1_IN_AG(.(X, Xs), Ys) -> U5_AG(X, Xs, Ys, member1_in_ag(X, Ys)) The TRS R consists of the following rules: member1_in_ag(X, .(Y, Xs)) -> U4_ag(X, Y, Xs, member1_in_ag(X, Xs)) member1_in_ag(X, .(X, Xs)) -> member1_out_ag(X, .(X, Xs)) U4_ag(X, Y, Xs, member1_out_ag(X, Xs)) -> member1_out_ag(X, .(Y, Xs)) The argument filtering Pi contains the following mapping: member1_in_ag(x1, x2) = member1_in_ag(x2) .(x1, x2) = .(x1, x2) U4_ag(x1, x2, x3, x4) = U4_ag(x2, x3, x4) member1_out_ag(x1, x2) = member1_out_ag(x1, x2) SUBSET1_IN_AG(x1, x2) = SUBSET1_IN_AG(x2) U5_AG(x1, x2, x3, x4) = U5_AG(x3, x4) We have to consider all (P,R,Pi)-chains ---------------------------------------- (39) PiDPToQDPProof (SOUND) Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi. ---------------------------------------- (40) Obligation: Q DP problem: The TRS P consists of the following rules: U5_AG(Ys, member1_out_ag(X, Ys)) -> SUBSET1_IN_AG(Ys) SUBSET1_IN_AG(Ys) -> U5_AG(Ys, member1_in_ag(Ys)) The TRS R consists of the following rules: member1_in_ag(.(Y, Xs)) -> U4_ag(Y, Xs, member1_in_ag(Xs)) member1_in_ag(.(X, Xs)) -> member1_out_ag(X, .(X, Xs)) U4_ag(Y, Xs, member1_out_ag(X, Xs)) -> member1_out_ag(X, .(Y, Xs)) The set Q consists of the following terms: member1_in_ag(x0) U4_ag(x0, x1, x2) We have to consider all (P,Q,R)-chains. ---------------------------------------- (41) PrologToTRSTransformerProof (SOUND) Transformed Prolog program to TRS. { "root": 1, "program": { "directives": [], "clauses": [ [ "(member X (. Y Xs))", "(member X Xs)" ], [ "(member X (. X Xs))", null ], [ "(subset (. X Xs) Ys)", "(',' (member X Ys) (subset Xs Ys))" ], [ "(subset ([]) Ys)", null ], [ "(member1 X (. Y Xs))", "(member1 X Xs)" ], [ "(member1 X (. X Xs))", null ], [ "(subset1 (. X Xs) Ys)", "(',' (member1 X Ys) (subset1 Xs Ys))" ], [ "(subset1 ([]) Ys)", null ] ] }, "graph": { "nodes": { "type": "Nodes", "183": { "goal": [{ "clause": -1, "scope": -1, "term": "(',' (member1 T18 T17) (subset1 T19 T17))" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T17"], "free": [], "exprvars": [] } }, "282": { "goal": [{ "clause": -1, "scope": -1, "term": "(true)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "184": { "goal": [], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "283": { "goal": [], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "185": { "goal": [{ "clause": -1, "scope": -1, "term": "(member1 T18 T17)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T17"], "free": [], "exprvars": [] } }, "284": { "goal": [], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "186": { "goal": [{ "clause": -1, "scope": -1, "term": "(subset1 T23 T17)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T17"], "free": [], "exprvars": [] } }, "197": { "goal": [ { "clause": 4, "scope": 2, "term": "(member1 T18 T17)" }, { "clause": 5, "scope": 2, "term": "(member1 T18 T17)" } ], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T17"], "free": [], "exprvars": [] } }, "1": { "goal": [{ "clause": -1, "scope": -1, "term": "(subset1 T1 T2)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T2"], "free": [], "exprvars": [] } }, "276": { "goal": [{ "clause": -1, "scope": -1, "term": "(true)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "2": { "goal": [ { "clause": 6, "scope": 1, "term": "(subset1 T1 T2)" }, { "clause": 7, "scope": 1, "term": "(subset1 T1 T2)" } ], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T2"], "free": [], "exprvars": [] } }, "277": { "goal": [], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "223": { "goal": [{ "clause": 4, "scope": 2, "term": "(member1 T18 T17)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T17"], "free": [], "exprvars": [] } }, "278": { "goal": [], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "268": { "goal": [{ "clause": -1, "scope": -1, "term": "(member1 T42 T41)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T41"], "free": [], "exprvars": [] } }, "269": { "goal": [], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "6": { "goal": [{ "clause": 6, "scope": 1, "term": "(subset1 T1 T2)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T2"], "free": [], "exprvars": [] } }, "7": { "goal": [{ "clause": 7, "scope": 1, "term": "(subset1 T1 T2)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T2"], "free": [], "exprvars": [] } }, "228": { "goal": [{ "clause": 5, "scope": 2, "term": "(member1 T18 T17)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T17"], "free": [], "exprvars": [] } } }, "edges": [ { "from": 1, "to": 2, "label": "CASE" }, { "from": 2, "to": 6, "label": "PARALLEL" }, { "from": 2, "to": 7, "label": "PARALLEL" }, { "from": 6, "to": 183, "label": "EVAL with clause\nsubset1(.(X13, X14), X15) :- ','(member1(X13, X15), subset1(X14, X15)).\nand substitutionX13 -> T18,\nX14 -> T19,\nT1 -> .(T18, T19),\nT2 -> T17,\nX15 -> T17,\nT15 -> T18,\nT16 -> T19" }, { "from": 6, "to": 184, "label": "EVAL-BACKTRACK" }, { "from": 7, "to": 282, "label": "EVAL with clause\nsubset1([], X51).\nand substitutionT1 -> [],\nT2 -> T57,\nX51 -> T57" }, { "from": 7, "to": 283, "label": "EVAL-BACKTRACK" }, { "from": 183, "to": 185, "label": "SPLIT 1" }, { "from": 183, "to": 186, "label": "SPLIT 2\nnew knowledge:\nT18 is ground\nT17 is ground\nreplacements:T19 -> T23" }, { "from": 185, "to": 197, "label": "CASE" }, { "from": 186, "to": 1, "label": "INSTANCE with matching:\nT1 -> T23\nT2 -> T17" }, { "from": 197, "to": 223, "label": "PARALLEL" }, { "from": 197, "to": 228, "label": "PARALLEL" }, { "from": 223, "to": 268, "label": "EVAL with clause\nmember1(X34, .(X35, X36)) :- member1(X34, X36).\nand substitutionT18 -> T42,\nX34 -> T42,\nX35 -> T40,\nX36 -> T41,\nT17 -> .(T40, T41),\nT39 -> T42" }, { "from": 223, "to": 269, "label": "EVAL-BACKTRACK" }, { "from": 228, "to": 276, "label": "EVAL with clause\nmember1(X44, .(X44, X45)).\nand substitutionT18 -> T50,\nX44 -> T50,\nX45 -> T51,\nT17 -> .(T50, T51)" }, { "from": 228, "to": 277, "label": "EVAL-BACKTRACK" }, { "from": 268, "to": 185, "label": "INSTANCE with matching:\nT18 -> T42\nT17 -> T41" }, { "from": 276, "to": 278, "label": "SUCCESS" }, { "from": 282, "to": 284, "label": "SUCCESS" } ], "type": "Graph" } } ---------------------------------------- (42) Obligation: Q restricted rewrite system: The TRS R consists of the following rules: f1_in(T17) -> U1(f183_in(T17), T17) U1(f183_out1(T18, T19), T17) -> f1_out1(.(T18, T19)) f1_in(T57) -> f1_out1([]) f185_in(.(T40, T41)) -> U2(f185_in(T41), .(T40, T41)) U2(f185_out1(T42), .(T40, T41)) -> f185_out1(T42) f185_in(.(T50, T51)) -> f185_out1(T50) f183_in(T17) -> U3(f185_in(T17), T17) U3(f185_out1(T18), T17) -> U4(f1_in(T17), T17, T18) U4(f1_out1(T23), T17, T18) -> f183_out1(T18, T23) Q is empty. ---------------------------------------- (43) DependencyPairsProof (EQUIVALENT) Using Dependency Pairs [AG00,LPAR04] we result in the following initial DP problem. ---------------------------------------- (44) Obligation: Q DP problem: The TRS P consists of the following rules: F1_IN(T17) -> U1^1(f183_in(T17), T17) F1_IN(T17) -> F183_IN(T17) F185_IN(.(T40, T41)) -> U2^1(f185_in(T41), .(T40, T41)) F185_IN(.(T40, T41)) -> F185_IN(T41) F183_IN(T17) -> U3^1(f185_in(T17), T17) F183_IN(T17) -> F185_IN(T17) U3^1(f185_out1(T18), T17) -> U4^1(f1_in(T17), T17, T18) U3^1(f185_out1(T18), T17) -> F1_IN(T17) The TRS R consists of the following rules: f1_in(T17) -> U1(f183_in(T17), T17) U1(f183_out1(T18, T19), T17) -> f1_out1(.(T18, T19)) f1_in(T57) -> f1_out1([]) f185_in(.(T40, T41)) -> U2(f185_in(T41), .(T40, T41)) U2(f185_out1(T42), .(T40, T41)) -> f185_out1(T42) f185_in(.(T50, T51)) -> f185_out1(T50) f183_in(T17) -> U3(f185_in(T17), T17) U3(f185_out1(T18), T17) -> U4(f1_in(T17), T17, T18) U4(f1_out1(T23), T17, T18) -> f183_out1(T18, T23) Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (45) DependencyGraphProof (EQUIVALENT) The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 2 SCCs with 4 less nodes. ---------------------------------------- (46) Complex Obligation (AND) ---------------------------------------- (47) Obligation: Q DP problem: The TRS P consists of the following rules: F185_IN(.(T40, T41)) -> F185_IN(T41) The TRS R consists of the following rules: f1_in(T17) -> U1(f183_in(T17), T17) U1(f183_out1(T18, T19), T17) -> f1_out1(.(T18, T19)) f1_in(T57) -> f1_out1([]) f185_in(.(T40, T41)) -> U2(f185_in(T41), .(T40, T41)) U2(f185_out1(T42), .(T40, T41)) -> f185_out1(T42) f185_in(.(T50, T51)) -> f185_out1(T50) f183_in(T17) -> U3(f185_in(T17), T17) U3(f185_out1(T18), T17) -> U4(f1_in(T17), T17, T18) U4(f1_out1(T23), T17, T18) -> f183_out1(T18, T23) Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (48) UsableRulesProof (EQUIVALENT) We can use the usable rules and reduction pair processor [LPAR04] with the Ce-compatible extension of the polynomial order that maps every function symbol to the sum of its arguments. Then, we can delete all non-usable rules [FROCOS05] from R. ---------------------------------------- (49) Obligation: Q DP problem: The TRS P consists of the following rules: F185_IN(.(T40, T41)) -> F185_IN(T41) R is empty. Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (50) 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: *F185_IN(.(T40, T41)) -> F185_IN(T41) The graph contains the following edges 1 > 1 ---------------------------------------- (51) YES ---------------------------------------- (52) Obligation: Q DP problem: The TRS P consists of the following rules: F1_IN(T17) -> F183_IN(T17) F183_IN(T17) -> U3^1(f185_in(T17), T17) U3^1(f185_out1(T18), T17) -> F1_IN(T17) The TRS R consists of the following rules: f1_in(T17) -> U1(f183_in(T17), T17) U1(f183_out1(T18, T19), T17) -> f1_out1(.(T18, T19)) f1_in(T57) -> f1_out1([]) f185_in(.(T40, T41)) -> U2(f185_in(T41), .(T40, T41)) U2(f185_out1(T42), .(T40, T41)) -> f185_out1(T42) f185_in(.(T50, T51)) -> f185_out1(T50) f183_in(T17) -> U3(f185_in(T17), T17) U3(f185_out1(T18), T17) -> U4(f1_in(T17), T17, T18) U4(f1_out1(T23), T17, T18) -> f183_out1(T18, T23) Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (53) NonTerminationLoopProof (COMPLETE) We used the non-termination processor [FROCOS05] to show that the DP problem is infinite. Found a loop by narrowing to the left: s = F183_IN(.(T50, T51)) evaluates to t =F183_IN(.(T50, T51)) Thus s starts an infinite chain as s semiunifies with t with the following substitutions: * Matcher: [ ] * Semiunifier: [ ] -------------------------------------------------------------------------------- Rewriting sequence F183_IN(.(T50, T51)) -> U3^1(f185_in(.(T50, T51)), .(T50, T51)) with rule F183_IN(T17) -> U3^1(f185_in(T17), T17) at position [] and matcher [T17 / .(T50, T51)] U3^1(f185_in(.(T50, T51)), .(T50, T51)) -> U3^1(f185_out1(T50), .(T50, T51)) with rule f185_in(.(T50', T51')) -> f185_out1(T50') at position [0] and matcher [T50' / T50, T51' / T51] U3^1(f185_out1(T50), .(T50, T51)) -> F1_IN(.(T50, T51)) with rule U3^1(f185_out1(T18), T17') -> F1_IN(T17') at position [] and matcher [T18 / T50, T17' / .(T50, T51)] F1_IN(.(T50, T51)) -> F183_IN(.(T50, T51)) with rule F1_IN(T17) -> F183_IN(T17) Now applying the matcher to the start term leads to a term which is equal to the last term in the rewriting sequence All these steps are and every following step will be a correct step w.r.t to Q. ---------------------------------------- (54) NO ---------------------------------------- (55) PrologToDTProblemTransformerProof (SOUND) Built DT problem from termination graph DT10. { "root": 165, "program": { "directives": [], "clauses": [ [ "(member X (. Y Xs))", "(member X Xs)" ], [ "(member X (. X Xs))", null ], [ "(subset (. X Xs) Ys)", "(',' (member X Ys) (subset Xs Ys))" ], [ "(subset ([]) Ys)", null ], [ "(member1 X (. Y Xs))", "(member1 X Xs)" ], [ "(member1 X (. X Xs))", null ], [ "(subset1 (. X Xs) Ys)", "(',' (member1 X Ys) (subset1 Xs Ys))" ], [ "(subset1 ([]) Ys)", null ] ] }, "graph": { "nodes": { "290": { "goal": [{ "clause": -1, "scope": -1, "term": "(true)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "170": { "goal": [{ "clause": 4, "scope": 2, "term": "(',' (member1 T9 T8) (subset1 T10 T8))" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T8"], "free": [], "exprvars": [] } }, "291": { "goal": [], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "171": { "goal": [ { "clause": 5, "scope": 2, "term": "(',' (member1 T9 T8) (subset1 T10 T8))" }, { "clause": -1, "scope": 2, "term": null }, { "clause": 7, "scope": 1, "term": "(subset1 T1 T8)" } ], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T8"], "free": [], "exprvars": [] } }, "292": { "goal": [], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "type": "Nodes", "172": { "goal": [{ "clause": -1, "scope": -1, "term": "(',' (member1 T26 T25) (subset1 T27 (. T24 T25)))" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [ "T24", "T25" ], "free": [], "exprvars": [] } }, "293": { "goal": [{ "clause": -1, "scope": -1, "term": "(true)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "173": { "goal": [], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "294": { "goal": [], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "174": { "goal": [{ "clause": -1, "scope": -1, "term": "(member1 T26 T25)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T25"], "free": [], "exprvars": [] } }, "295": { "goal": [], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "175": { "goal": [{ "clause": -1, "scope": -1, "term": "(subset1 T31 (. T24 T25))" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [ "T24", "T25" ], "free": [], "exprvars": [] } }, "176": { "goal": [ { "clause": 4, "scope": 3, "term": "(member1 T26 T25)" }, { "clause": 5, "scope": 3, "term": "(member1 T26 T25)" } ], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T25"], "free": [], "exprvars": [] } }, "179": { "goal": [{ "clause": 4, "scope": 3, "term": "(member1 T26 T25)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T25"], "free": [], "exprvars": [] } }, "279": { "goal": [{ "clause": -1, "scope": -1, "term": "(true)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "180": { "goal": [{ "clause": 5, "scope": 3, "term": "(member1 T26 T25)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T25"], "free": [], "exprvars": [] } }, "181": { "goal": [{ "clause": -1, "scope": -1, "term": "(member1 T50 T49)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T49"], "free": [], "exprvars": [] } }, "280": { "goal": [], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "182": { "goal": [], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "281": { "goal": [], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "285": { "goal": [{ "clause": 5, "scope": 2, "term": "(',' (member1 T9 T8) (subset1 T10 T8))" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T8"], "free": [], "exprvars": [] } }, "165": { "goal": [{ "clause": -1, "scope": -1, "term": "(subset1 T1 T2)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T2"], "free": [], "exprvars": [] } }, "286": { "goal": [ { "clause": -1, "scope": 2, "term": null }, { "clause": 7, "scope": 1, "term": "(subset1 T1 T8)" } ], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T8"], "free": [], "exprvars": [] } }, "166": { "goal": [ { "clause": 6, "scope": 1, "term": "(subset1 T1 T2)" }, { "clause": 7, "scope": 1, "term": "(subset1 T1 T2)" } ], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T2"], "free": [], "exprvars": [] } }, "287": { "goal": [{ "clause": -1, "scope": -1, "term": "(subset1 T74 (. T72 T73))" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [ "T72", "T73" ], "free": [], "exprvars": [] } }, "167": { "goal": [ { "clause": -1, "scope": -1, "term": "(',' (member1 T9 T8) (subset1 T10 T8))" }, { "clause": 7, "scope": 1, "term": "(subset1 T1 T8)" } ], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T8"], "free": [], "exprvars": [] } }, "288": { "goal": [], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "168": { "goal": [{ "clause": 7, "scope": 1, "term": "(subset1 T1 T2)" }], "kb": { "nonunifying": [[ "(subset1 T1 T2)", "(subset1 (. X4 X5) X6)" ]], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T2"], "free": [ "X4", "X5", "X6" ], "exprvars": [] } }, "289": { "goal": [{ "clause": 7, "scope": 1, "term": "(subset1 T1 T8)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T8"], "free": [], "exprvars": [] } }, "169": { "goal": [ { "clause": 4, "scope": 2, "term": "(',' (member1 T9 T8) (subset1 T10 T8))" }, { "clause": 5, "scope": 2, "term": "(',' (member1 T9 T8) (subset1 T10 T8))" }, { "clause": -1, "scope": 2, "term": null }, { "clause": 7, "scope": 1, "term": "(subset1 T1 T8)" } ], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T8"], "free": [], "exprvars": [] } } }, "edges": [ { "from": 165, "to": 166, "label": "CASE" }, { "from": 166, "to": 167, "label": "EVAL with clause\nsubset1(.(X4, X5), X6) :- ','(member1(X4, X6), subset1(X5, X6)).\nand substitutionX4 -> T9,\nX5 -> T10,\nT1 -> .(T9, T10),\nT2 -> T8,\nX6 -> T8,\nT6 -> T9,\nT7 -> T10" }, { "from": 166, "to": 168, "label": "EVAL-BACKTRACK" }, { "from": 167, "to": 169, "label": "CASE" }, { "from": 168, "to": 293, "label": "EVAL with clause\nsubset1([], X72).\nand substitutionT1 -> [],\nT2 -> T83,\nX72 -> T83" }, { "from": 168, "to": 294, "label": "EVAL-BACKTRACK" }, { "from": 169, "to": 170, "label": "PARALLEL" }, { "from": 169, "to": 171, "label": "PARALLEL" }, { "from": 170, "to": 172, "label": "EVAL with clause\nmember1(X19, .(X20, X21)) :- member1(X19, X21).\nand substitutionT9 -> T26,\nX19 -> T26,\nX20 -> T24,\nX21 -> T25,\nT8 -> .(T24, T25),\nT23 -> T26,\nT10 -> T27" }, { "from": 170, "to": 173, "label": "EVAL-BACKTRACK" }, { "from": 171, "to": 285, "label": "PARALLEL" }, { "from": 171, "to": 286, "label": "PARALLEL" }, { "from": 172, "to": 174, "label": "SPLIT 1" }, { "from": 172, "to": 175, "label": "SPLIT 2\nnew knowledge:\nT26 is ground\nT25 is ground\nreplacements:T27 -> T31" }, { "from": 174, "to": 176, "label": "CASE" }, { "from": 175, "to": 165, "label": "INSTANCE with matching:\nT1 -> T31\nT2 -> .(T24, T25)" }, { "from": 176, "to": 179, "label": "PARALLEL" }, { "from": 176, "to": 180, "label": "PARALLEL" }, { "from": 179, "to": 181, "label": "EVAL with clause\nmember1(X40, .(X41, X42)) :- member1(X40, X42).\nand substitutionT26 -> T50,\nX40 -> T50,\nX41 -> T48,\nX42 -> T49,\nT25 -> .(T48, T49),\nT47 -> T50" }, { "from": 179, "to": 182, "label": "EVAL-BACKTRACK" }, { "from": 180, "to": 279, "label": "EVAL with clause\nmember1(X50, .(X50, X51)).\nand substitutionT26 -> T58,\nX50 -> T58,\nX51 -> T59,\nT25 -> .(T58, T59)" }, { "from": 180, "to": 280, "label": "EVAL-BACKTRACK" }, { "from": 181, "to": 174, "label": "INSTANCE with matching:\nT26 -> T50\nT25 -> T49" }, { "from": 279, "to": 281, "label": "SUCCESS" }, { "from": 285, "to": 287, "label": "EVAL with clause\nmember1(X63, .(X63, X64)).\nand substitutionT9 -> T72,\nX63 -> T72,\nX64 -> T73,\nT8 -> .(T72, T73),\nT10 -> T74" }, { "from": 285, "to": 288, "label": "EVAL-BACKTRACK" }, { "from": 286, "to": 289, "label": "FAILURE" }, { "from": 287, "to": 165, "label": "INSTANCE with matching:\nT1 -> T74\nT2 -> .(T72, T73)" }, { "from": 289, "to": 290, "label": "EVAL with clause\nsubset1([], X70).\nand substitutionT1 -> [],\nT8 -> T81,\nX70 -> T81" }, { "from": 289, "to": 291, "label": "EVAL-BACKTRACK" }, { "from": 290, "to": 292, "label": "SUCCESS" }, { "from": 293, "to": 295, "label": "SUCCESS" } ], "type": "Graph" } } ---------------------------------------- (56) Obligation: Triples: member1B(X1, .(X2, X3)) :- member1B(X1, X3). subset1A(.(X1, X2), .(X3, X4)) :- member1B(X1, X4). subset1A(.(X1, X2), .(X3, X4)) :- ','(member1cB(X1, X4), subset1A(X2, .(X3, X4))). subset1A(.(X1, X2), .(X1, X3)) :- subset1A(X2, .(X1, X3)). Clauses: subset1cA(.(X1, X2), .(X3, X4)) :- ','(member1cB(X1, X4), subset1cA(X2, .(X3, X4))). subset1cA(.(X1, X2), .(X1, X3)) :- subset1cA(X2, .(X1, X3)). subset1cA([], X1). subset1cA([], X1). member1cB(X1, .(X2, X3)) :- member1cB(X1, X3). member1cB(X1, .(X1, X2)). Afs: subset1A(x1, x2) = subset1A(x2) ---------------------------------------- (57) TriplesToPiDPProof (SOUND) We use the technique of [DT09]. With regard to the inferred argument filtering the predicates were used in the following modes: subset1A_in_2: (f,b) member1B_in_2: (f,b) member1cB_in_2: (f,b) Transforming TRIPLES into the following Term Rewriting System: Pi DP problem: The TRS P consists of the following rules: SUBSET1A_IN_AG(.(X1, X2), .(X3, X4)) -> U2_AG(X1, X2, X3, X4, member1B_in_ag(X1, X4)) SUBSET1A_IN_AG(.(X1, X2), .(X3, X4)) -> MEMBER1B_IN_AG(X1, X4) MEMBER1B_IN_AG(X1, .(X2, X3)) -> U1_AG(X1, X2, X3, member1B_in_ag(X1, X3)) MEMBER1B_IN_AG(X1, .(X2, X3)) -> MEMBER1B_IN_AG(X1, X3) SUBSET1A_IN_AG(.(X1, X2), .(X3, X4)) -> U3_AG(X1, X2, X3, X4, member1cB_in_ag(X1, X4)) U3_AG(X1, X2, X3, X4, member1cB_out_ag(X1, X4)) -> U4_AG(X1, X2, X3, X4, subset1A_in_ag(X2, .(X3, X4))) U3_AG(X1, X2, X3, X4, member1cB_out_ag(X1, X4)) -> SUBSET1A_IN_AG(X2, .(X3, X4)) SUBSET1A_IN_AG(.(X1, X2), .(X1, X3)) -> U5_AG(X1, X2, X3, subset1A_in_ag(X2, .(X1, X3))) SUBSET1A_IN_AG(.(X1, X2), .(X1, X3)) -> SUBSET1A_IN_AG(X2, .(X1, X3)) The TRS R consists of the following rules: member1cB_in_ag(X1, .(X2, X3)) -> U10_ag(X1, X2, X3, member1cB_in_ag(X1, X3)) member1cB_in_ag(X1, .(X1, X2)) -> member1cB_out_ag(X1, .(X1, X2)) U10_ag(X1, X2, X3, member1cB_out_ag(X1, X3)) -> member1cB_out_ag(X1, .(X2, X3)) The argument filtering Pi contains the following mapping: subset1A_in_ag(x1, x2) = subset1A_in_ag(x2) .(x1, x2) = .(x1, x2) member1B_in_ag(x1, x2) = member1B_in_ag(x2) member1cB_in_ag(x1, x2) = member1cB_in_ag(x2) U10_ag(x1, x2, x3, x4) = U10_ag(x2, x3, x4) member1cB_out_ag(x1, x2) = member1cB_out_ag(x1, x2) SUBSET1A_IN_AG(x1, x2) = SUBSET1A_IN_AG(x2) U2_AG(x1, x2, x3, x4, x5) = U2_AG(x3, x4, x5) MEMBER1B_IN_AG(x1, x2) = MEMBER1B_IN_AG(x2) U1_AG(x1, x2, x3, x4) = U1_AG(x2, x3, x4) U3_AG(x1, x2, x3, x4, x5) = U3_AG(x3, x4, x5) U4_AG(x1, x2, x3, x4, x5) = U4_AG(x3, x4, x5) U5_AG(x1, x2, x3, x4) = U5_AG(x1, x3, x4) We have to consider all (P,R,Pi)-chains Infinitary Constructor Rewriting Termination of PiDP implies Termination of TRIPLES ---------------------------------------- (58) Obligation: Pi DP problem: The TRS P consists of the following rules: SUBSET1A_IN_AG(.(X1, X2), .(X3, X4)) -> U2_AG(X1, X2, X3, X4, member1B_in_ag(X1, X4)) SUBSET1A_IN_AG(.(X1, X2), .(X3, X4)) -> MEMBER1B_IN_AG(X1, X4) MEMBER1B_IN_AG(X1, .(X2, X3)) -> U1_AG(X1, X2, X3, member1B_in_ag(X1, X3)) MEMBER1B_IN_AG(X1, .(X2, X3)) -> MEMBER1B_IN_AG(X1, X3) SUBSET1A_IN_AG(.(X1, X2), .(X3, X4)) -> U3_AG(X1, X2, X3, X4, member1cB_in_ag(X1, X4)) U3_AG(X1, X2, X3, X4, member1cB_out_ag(X1, X4)) -> U4_AG(X1, X2, X3, X4, subset1A_in_ag(X2, .(X3, X4))) U3_AG(X1, X2, X3, X4, member1cB_out_ag(X1, X4)) -> SUBSET1A_IN_AG(X2, .(X3, X4)) SUBSET1A_IN_AG(.(X1, X2), .(X1, X3)) -> U5_AG(X1, X2, X3, subset1A_in_ag(X2, .(X1, X3))) SUBSET1A_IN_AG(.(X1, X2), .(X1, X3)) -> SUBSET1A_IN_AG(X2, .(X1, X3)) The TRS R consists of the following rules: member1cB_in_ag(X1, .(X2, X3)) -> U10_ag(X1, X2, X3, member1cB_in_ag(X1, X3)) member1cB_in_ag(X1, .(X1, X2)) -> member1cB_out_ag(X1, .(X1, X2)) U10_ag(X1, X2, X3, member1cB_out_ag(X1, X3)) -> member1cB_out_ag(X1, .(X2, X3)) The argument filtering Pi contains the following mapping: subset1A_in_ag(x1, x2) = subset1A_in_ag(x2) .(x1, x2) = .(x1, x2) member1B_in_ag(x1, x2) = member1B_in_ag(x2) member1cB_in_ag(x1, x2) = member1cB_in_ag(x2) U10_ag(x1, x2, x3, x4) = U10_ag(x2, x3, x4) member1cB_out_ag(x1, x2) = member1cB_out_ag(x1, x2) SUBSET1A_IN_AG(x1, x2) = SUBSET1A_IN_AG(x2) U2_AG(x1, x2, x3, x4, x5) = U2_AG(x3, x4, x5) MEMBER1B_IN_AG(x1, x2) = MEMBER1B_IN_AG(x2) U1_AG(x1, x2, x3, x4) = U1_AG(x2, x3, x4) U3_AG(x1, x2, x3, x4, x5) = U3_AG(x3, x4, x5) U4_AG(x1, x2, x3, x4, x5) = U4_AG(x3, x4, x5) U5_AG(x1, x2, x3, x4) = U5_AG(x1, x3, x4) We have to consider all (P,R,Pi)-chains ---------------------------------------- (59) DependencyGraphProof (EQUIVALENT) The approximation of the Dependency Graph [LOPSTR] contains 2 SCCs with 5 less nodes. ---------------------------------------- (60) Complex Obligation (AND) ---------------------------------------- (61) Obligation: Pi DP problem: The TRS P consists of the following rules: MEMBER1B_IN_AG(X1, .(X2, X3)) -> MEMBER1B_IN_AG(X1, X3) The TRS R consists of the following rules: member1cB_in_ag(X1, .(X2, X3)) -> U10_ag(X1, X2, X3, member1cB_in_ag(X1, X3)) member1cB_in_ag(X1, .(X1, X2)) -> member1cB_out_ag(X1, .(X1, X2)) U10_ag(X1, X2, X3, member1cB_out_ag(X1, X3)) -> member1cB_out_ag(X1, .(X2, X3)) The argument filtering Pi contains the following mapping: .(x1, x2) = .(x1, x2) member1cB_in_ag(x1, x2) = member1cB_in_ag(x2) U10_ag(x1, x2, x3, x4) = U10_ag(x2, x3, x4) member1cB_out_ag(x1, x2) = member1cB_out_ag(x1, x2) MEMBER1B_IN_AG(x1, x2) = MEMBER1B_IN_AG(x2) We have to consider all (P,R,Pi)-chains ---------------------------------------- (62) UsableRulesProof (EQUIVALENT) For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R. ---------------------------------------- (63) Obligation: Pi DP problem: The TRS P consists of the following rules: MEMBER1B_IN_AG(X1, .(X2, X3)) -> MEMBER1B_IN_AG(X1, X3) R is empty. The argument filtering Pi contains the following mapping: .(x1, x2) = .(x1, x2) MEMBER1B_IN_AG(x1, x2) = MEMBER1B_IN_AG(x2) We have to consider all (P,R,Pi)-chains ---------------------------------------- (64) PiDPToQDPProof (SOUND) Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi. ---------------------------------------- (65) Obligation: Q DP problem: The TRS P consists of the following rules: MEMBER1B_IN_AG(.(X2, X3)) -> MEMBER1B_IN_AG(X3) R is empty. Q is empty. We have to consider all (P,Q,R)-chains. ---------------------------------------- (66) 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: *MEMBER1B_IN_AG(.(X2, X3)) -> MEMBER1B_IN_AG(X3) The graph contains the following edges 1 > 1 ---------------------------------------- (67) YES ---------------------------------------- (68) Obligation: Pi DP problem: The TRS P consists of the following rules: SUBSET1A_IN_AG(.(X1, X2), .(X3, X4)) -> U3_AG(X1, X2, X3, X4, member1cB_in_ag(X1, X4)) U3_AG(X1, X2, X3, X4, member1cB_out_ag(X1, X4)) -> SUBSET1A_IN_AG(X2, .(X3, X4)) SUBSET1A_IN_AG(.(X1, X2), .(X1, X3)) -> SUBSET1A_IN_AG(X2, .(X1, X3)) The TRS R consists of the following rules: member1cB_in_ag(X1, .(X2, X3)) -> U10_ag(X1, X2, X3, member1cB_in_ag(X1, X3)) member1cB_in_ag(X1, .(X1, X2)) -> member1cB_out_ag(X1, .(X1, X2)) U10_ag(X1, X2, X3, member1cB_out_ag(X1, X3)) -> member1cB_out_ag(X1, .(X2, X3)) The argument filtering Pi contains the following mapping: .(x1, x2) = .(x1, x2) member1cB_in_ag(x1, x2) = member1cB_in_ag(x2) U10_ag(x1, x2, x3, x4) = U10_ag(x2, x3, x4) member1cB_out_ag(x1, x2) = member1cB_out_ag(x1, x2) SUBSET1A_IN_AG(x1, x2) = SUBSET1A_IN_AG(x2) U3_AG(x1, x2, x3, x4, x5) = U3_AG(x3, x4, x5) We have to consider all (P,R,Pi)-chains ---------------------------------------- (69) PiDPToQDPProof (SOUND) Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi. ---------------------------------------- (70) Obligation: Q DP problem: The TRS P consists of the following rules: SUBSET1A_IN_AG(.(X3, X4)) -> U3_AG(X3, X4, member1cB_in_ag(X4)) U3_AG(X3, X4, member1cB_out_ag(X1, X4)) -> SUBSET1A_IN_AG(.(X3, X4)) SUBSET1A_IN_AG(.(X1, X3)) -> SUBSET1A_IN_AG(.(X1, X3)) The TRS R consists of the following rules: member1cB_in_ag(.(X2, X3)) -> U10_ag(X2, X3, member1cB_in_ag(X3)) member1cB_in_ag(.(X1, X2)) -> member1cB_out_ag(X1, .(X1, X2)) U10_ag(X2, X3, member1cB_out_ag(X1, X3)) -> member1cB_out_ag(X1, .(X2, X3)) The set Q consists of the following terms: member1cB_in_ag(x0) U10_ag(x0, x1, x2) We have to consider all (P,Q,R)-chains. ---------------------------------------- (71) PrologToIRSwTTransformerProof (SOUND) Transformed Prolog program to IRSwT according to method in Master Thesis of A. Weinert { "root": 3, "program": { "directives": [], "clauses": [ [ "(member X (. Y Xs))", "(member X Xs)" ], [ "(member X (. X Xs))", null ], [ "(subset (. X Xs) Ys)", "(',' (member X Ys) (subset Xs Ys))" ], [ "(subset ([]) Ys)", null ], [ "(member1 X (. Y Xs))", "(member1 X Xs)" ], [ "(member1 X (. X Xs))", null ], [ "(subset1 (. X Xs) Ys)", "(',' (member1 X Ys) (subset1 Xs Ys))" ], [ "(subset1 ([]) Ys)", null ] ] }, "graph": { "nodes": { "type": "Nodes", "296": { "goal": [{ "clause": -1, "scope": -1, "term": "(true)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "297": { "goal": [], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "177": { "goal": [{ "clause": -1, "scope": -1, "term": "(member1 T42 T41)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T41"], "free": [], "exprvars": [] } }, "298": { "goal": [], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "145": { "goal": [ { "clause": 4, "scope": 2, "term": "(member1 T18 T17)" }, { "clause": 5, "scope": 2, "term": "(member1 T18 T17)" } ], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T17"], "free": [], "exprvars": [] } }, "178": { "goal": [], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "299": { "goal": [{ "clause": -1, "scope": -1, "term": "(true)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "3": { "goal": [{ "clause": -1, "scope": -1, "term": "(subset1 T1 T2)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T2"], "free": [], "exprvars": [] } }, "135": { "goal": [{ "clause": -1, "scope": -1, "term": "(member1 T18 T17)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T17"], "free": [], "exprvars": [] } }, "146": { "goal": [{ "clause": 4, "scope": 2, "term": "(member1 T18 T17)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T17"], "free": [], "exprvars": [] } }, "300": { "goal": [], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "4": { "goal": [ { "clause": 6, "scope": 1, "term": "(subset1 T1 T2)" }, { "clause": 7, "scope": 1, "term": "(subset1 T1 T2)" } ], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T2"], "free": [], "exprvars": [] } }, "147": { "goal": [{ "clause": 5, "scope": 2, "term": "(member1 T18 T17)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T17"], "free": [], "exprvars": [] } }, "301": { "goal": [], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "115": { "goal": [{ "clause": -1, "scope": -1, "term": "(',' (member1 T18 T17) (subset1 T19 T17))" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T17"], "free": [], "exprvars": [] } }, "126": { "goal": [], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": [], "free": [], "exprvars": [] } }, "137": { "goal": [{ "clause": -1, "scope": -1, "term": "(subset1 T23 T17)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T17"], "free": [], "exprvars": [] } }, "8": { "goal": [{ "clause": 6, "scope": 1, "term": "(subset1 T1 T2)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T2"], "free": [], "exprvars": [] } }, "9": { "goal": [{ "clause": 7, "scope": 1, "term": "(subset1 T1 T2)" }], "kb": { "nonunifying": [], "intvars": {}, "arithmetic": { "type": "PlainIntegerRelationState", "relations": [] }, "ground": ["T2"], "free": [], "exprvars": [] } } }, "edges": [ { "from": 3, "to": 4, "label": "CASE" }, { "from": 4, "to": 8, "label": "PARALLEL" }, { "from": 4, "to": 9, "label": "PARALLEL" }, { "from": 8, "to": 115, "label": "EVAL with clause\nsubset1(.(X13, X14), X15) :- ','(member1(X13, X15), subset1(X14, X15)).\nand substitutionX13 -> T18,\nX14 -> T19,\nT1 -> .(T18, T19),\nT2 -> T17,\nX15 -> T17,\nT15 -> T18,\nT16 -> T19" }, { "from": 8, "to": 126, "label": "EVAL-BACKTRACK" }, { "from": 9, "to": 299, "label": "EVAL with clause\nsubset1([], X51).\nand substitutionT1 -> [],\nT2 -> T57,\nX51 -> T57" }, { "from": 9, "to": 300, "label": "EVAL-BACKTRACK" }, { "from": 115, "to": 135, "label": "SPLIT 1" }, { "from": 115, "to": 137, "label": "SPLIT 2\nnew knowledge:\nT18 is ground\nT17 is ground\nreplacements:T19 -> T23" }, { "from": 135, "to": 145, "label": "CASE" }, { "from": 137, "to": 3, "label": "INSTANCE with matching:\nT1 -> T23\nT2 -> T17" }, { "from": 145, "to": 146, "label": "PARALLEL" }, { "from": 145, "to": 147, "label": "PARALLEL" }, { "from": 146, "to": 177, "label": "EVAL with clause\nmember1(X34, .(X35, X36)) :- member1(X34, X36).\nand substitutionT18 -> T42,\nX34 -> T42,\nX35 -> T40,\nX36 -> T41,\nT17 -> .(T40, T41),\nT39 -> T42" }, { "from": 146, "to": 178, "label": "EVAL-BACKTRACK" }, { "from": 147, "to": 296, "label": "EVAL with clause\nmember1(X44, .(X44, X45)).\nand substitutionT18 -> T50,\nX44 -> T50,\nX45 -> T51,\nT17 -> .(T50, T51)" }, { "from": 147, "to": 297, "label": "EVAL-BACKTRACK" }, { "from": 177, "to": 135, "label": "INSTANCE with matching:\nT18 -> T42\nT17 -> T41" }, { "from": 296, "to": 298, "label": "SUCCESS" }, { "from": 299, "to": 301, "label": "SUCCESS" } ], "type": "Graph" } } ---------------------------------------- (72) Complex Obligation (AND) ---------------------------------------- (73) Obligation: Rules: f146_in(T17) -> f178_in :|: TRUE f178_out -> f146_out(x) :|: TRUE f177_out(T41) -> f146_out(.(T40, T41)) :|: TRUE f146_in(.(x1, x2)) -> f177_in(x2) :|: TRUE f177_in(x3) -> f135_in(x3) :|: TRUE f135_out(x4) -> f177_out(x4) :|: TRUE f145_in(x5) -> f147_in(x5) :|: TRUE f145_in(x6) -> f146_in(x6) :|: TRUE f146_out(x7) -> f145_out(x7) :|: TRUE f147_out(x8) -> f145_out(x8) :|: TRUE f145_out(x9) -> f135_out(x9) :|: TRUE f135_in(x10) -> f145_in(x10) :|: TRUE f4_out(T2) -> f3_out(T2) :|: TRUE f3_in(x11) -> f4_in(x11) :|: TRUE f4_in(x12) -> f9_in(x12) :|: TRUE f9_out(x13) -> f4_out(x13) :|: TRUE f4_in(x14) -> f8_in(x14) :|: TRUE f8_out(x15) -> f4_out(x15) :|: TRUE f8_in(x16) -> f126_in :|: TRUE f126_out -> f8_out(x17) :|: TRUE f115_out(x18) -> f8_out(x18) :|: TRUE f8_in(x19) -> f115_in(x19) :|: TRUE f135_out(x20) -> f137_in(x20) :|: TRUE f137_out(x21) -> f115_out(x21) :|: TRUE f115_in(x22) -> f135_in(x22) :|: TRUE Start term: f3_in(T2) ---------------------------------------- (74) IRSwTSimpleDependencyGraphProof (EQUIVALENT) Constructed simple dependency graph. Simplified to the following IRSwTs: intTRSProblem: f146_in(.(x1, x2)) -> f177_in(x2) :|: TRUE f177_in(x3) -> f135_in(x3) :|: TRUE f145_in(x6) -> f146_in(x6) :|: TRUE f135_in(x10) -> f145_in(x10) :|: TRUE ---------------------------------------- (75) Obligation: Rules: f146_in(.(x1, x2)) -> f177_in(x2) :|: TRUE f177_in(x3) -> f135_in(x3) :|: TRUE f145_in(x6) -> f146_in(x6) :|: TRUE f135_in(x10) -> f145_in(x10) :|: TRUE ---------------------------------------- (76) IntTRSCompressionProof (EQUIVALENT) Compressed rules. ---------------------------------------- (77) Obligation: Rules: f145_in(.(x1:0, x2:0)) -> f145_in(x2:0) :|: TRUE ---------------------------------------- (78) IRSFormatTransformerProof (EQUIVALENT) Reformatted IRS to match normalized format (transformed away non-linear left-hand sides, !=, / and %). ---------------------------------------- (79) Obligation: Rules: f145_in(.(x1:0, x2:0)) -> f145_in(x2:0) :|: TRUE ---------------------------------------- (80) IRSwTTerminationDigraphProof (EQUIVALENT) Constructed termination digraph! Nodes: (1) f145_in(.(x1:0, x2:0)) -> f145_in(x2:0) :|: TRUE Arcs: (1) -> (1) This digraph is fully evaluated! ---------------------------------------- (81) Obligation: Termination digraph: Nodes: (1) f145_in(.(x1:0, x2:0)) -> f145_in(x2:0) :|: TRUE Arcs: (1) -> (1) This digraph is fully evaluated! ---------------------------------------- (82) IntTRSUnneededArgumentFilterProof (EQUIVALENT) Some arguments are removed because they cannot influence termination. We removed arguments according to the following replacements: .(x1, x2) -> .(x2) ---------------------------------------- (83) Obligation: Rules: f145_in(.(x2:0)) -> f145_in(x2:0) :|: TRUE ---------------------------------------- (84) TempFilterProof (SOUND) Used the following sort dictionary for filtering: f145_in(VARIABLE) .(VARIABLE) Removed predefined arithmetic. ---------------------------------------- (85) Obligation: Rules: f145_in(.(x2:0)) -> f145_in(x2:0) ---------------------------------------- (86) IRSwTToQDPProof (SOUND) Removed the integers and created a QDP-Problem. ---------------------------------------- (87) Obligation: Q DP problem: The TRS P consists of the following rules: f145_in(.(x2:0)) -> f145_in(x2:0) R is empty. Q is empty. We have to consider all (P,Q,R)-chains. ---------------------------------------- (88) 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: *f145_in(.(x2:0)) -> f145_in(x2:0) The graph contains the following edges 1 > 1 ---------------------------------------- (89) YES ---------------------------------------- (90) Obligation: Rules: f135_out(T17) -> f137_in(T17) :|: TRUE f137_out(x) -> f115_out(x) :|: TRUE f115_in(x1) -> f135_in(x1) :|: TRUE f146_in(x2) -> f178_in :|: TRUE f178_out -> f146_out(x3) :|: TRUE f177_out(T41) -> f146_out(.(T40, T41)) :|: TRUE f146_in(.(x4, x5)) -> f177_in(x5) :|: TRUE f3_out(x6) -> f137_out(x6) :|: TRUE f137_in(x7) -> f3_in(x7) :|: TRUE f145_in(x8) -> f147_in(x8) :|: TRUE f145_in(x9) -> f146_in(x9) :|: TRUE f146_out(x10) -> f145_out(x10) :|: TRUE f147_out(x11) -> f145_out(x11) :|: TRUE f296_in -> f296_out :|: TRUE f4_in(T2) -> f9_in(T2) :|: TRUE f9_out(x12) -> f4_out(x12) :|: TRUE f4_in(x13) -> f8_in(x13) :|: TRUE f8_out(x14) -> f4_out(x14) :|: TRUE f8_in(x15) -> f126_in :|: TRUE f126_out -> f8_out(x16) :|: TRUE f115_out(x17) -> f8_out(x17) :|: TRUE f8_in(x18) -> f115_in(x18) :|: TRUE f296_out -> f147_out(.(T50, T51)) :|: TRUE f297_out -> f147_out(x19) :|: TRUE f147_in(.(x20, x21)) -> f296_in :|: TRUE f147_in(x22) -> f297_in :|: TRUE f177_in(x23) -> f135_in(x23) :|: TRUE f135_out(x24) -> f177_out(x24) :|: TRUE f4_out(x25) -> f3_out(x25) :|: TRUE f3_in(x26) -> f4_in(x26) :|: TRUE f145_out(x27) -> f135_out(x27) :|: TRUE f135_in(x28) -> f145_in(x28) :|: TRUE Start term: f3_in(T2) ---------------------------------------- (91) IRSwTSimpleDependencyGraphProof (EQUIVALENT) Constructed simple dependency graph. Simplified to the following IRSwTs: intTRSProblem: f135_out(T17) -> f137_in(T17) :|: TRUE f115_in(x1) -> f135_in(x1) :|: TRUE f177_out(T41) -> f146_out(.(T40, T41)) :|: TRUE f146_in(.(x4, x5)) -> f177_in(x5) :|: TRUE f137_in(x7) -> f3_in(x7) :|: TRUE f145_in(x8) -> f147_in(x8) :|: TRUE f145_in(x9) -> f146_in(x9) :|: TRUE f146_out(x10) -> f145_out(x10) :|: TRUE f147_out(x11) -> f145_out(x11) :|: TRUE f296_in -> f296_out :|: TRUE f4_in(x13) -> f8_in(x13) :|: TRUE f8_in(x18) -> f115_in(x18) :|: TRUE f296_out -> f147_out(.(T50, T51)) :|: TRUE f147_in(.(x20, x21)) -> f296_in :|: TRUE f177_in(x23) -> f135_in(x23) :|: TRUE f135_out(x24) -> f177_out(x24) :|: TRUE f3_in(x26) -> f4_in(x26) :|: TRUE f145_out(x27) -> f135_out(x27) :|: TRUE f135_in(x28) -> f145_in(x28) :|: TRUE ---------------------------------------- (92) Obligation: Rules: f135_out(T17) -> f137_in(T17) :|: TRUE f115_in(x1) -> f135_in(x1) :|: TRUE f177_out(T41) -> f146_out(.(T40, T41)) :|: TRUE f146_in(.(x4, x5)) -> f177_in(x5) :|: TRUE f137_in(x7) -> f3_in(x7) :|: TRUE f145_in(x8) -> f147_in(x8) :|: TRUE f145_in(x9) -> f146_in(x9) :|: TRUE f146_out(x10) -> f145_out(x10) :|: TRUE f147_out(x11) -> f145_out(x11) :|: TRUE f296_in -> f296_out :|: TRUE f4_in(x13) -> f8_in(x13) :|: TRUE f8_in(x18) -> f115_in(x18) :|: TRUE f296_out -> f147_out(.(T50, T51)) :|: TRUE f147_in(.(x20, x21)) -> f296_in :|: TRUE f177_in(x23) -> f135_in(x23) :|: TRUE f135_out(x24) -> f177_out(x24) :|: TRUE f3_in(x26) -> f4_in(x26) :|: TRUE f145_out(x27) -> f135_out(x27) :|: TRUE f135_in(x28) -> f145_in(x28) :|: TRUE ---------------------------------------- (93) IntTRSCompressionProof (EQUIVALENT) Compressed rules. ---------------------------------------- (94) Obligation: Rules: f135_out(T17:0) -> f145_in(T17:0) :|: TRUE f145_in(.(x20:0, x21:0)) -> f135_out(.(T50:0, T51:0)) :|: TRUE f135_out(x24:0) -> f135_out(.(T40:0, x24:0)) :|: TRUE f145_in(.(x4:0, x5:0)) -> f145_in(x5:0) :|: TRUE ---------------------------------------- (95) IRSFormatTransformerProof (EQUIVALENT) Reformatted IRS to match normalized format (transformed away non-linear left-hand sides, !=, / and %). ---------------------------------------- (96) Obligation: Rules: f135_out(T17:0) -> f145_in(T17:0) :|: TRUE f145_in(.(x20:0, x21:0)) -> f135_out(.(T50:0, T51:0)) :|: TRUE f135_out(x24:0) -> f135_out(.(T40:0, x24:0)) :|: TRUE f145_in(.(x4:0, x5:0)) -> f145_in(x5:0) :|: TRUE