20.032/20.032 NO 20.032/20.032 20.032/20.032 Problem 1: 20.032/20.032 20.032/20.032 20.032/20.032 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 20.032/20.032 Confluence Problem: 20.032/20.032 (VAR vNonEmpty:S x:S y:S z:S) 20.032/20.032 (STRATEGY CONTEXTSENSITIVE 20.032/20.032 (gcd 1 2) 20.032/20.032 (iadd 1) 20.032/20.032 (u1 1) 20.032/20.032 (0) 20.032/20.032 (add 1 2) 20.032/20.032 (fSNonEmpty) 20.032/20.032 (s 1) 20.032/20.032 (tp2 1 2) 20.032/20.032 ) 20.032/20.032 (RULES 20.032/20.032 gcd(0,x:S) -> x:S 20.032/20.032 gcd(x:S,0) -> x:S 20.032/20.032 gcd(y:S,z:S) -> gcd(x:S,y:S) | iadd(z:S) ->* tp2(x:S,y:S) 20.032/20.032 gcd(z:S,y:S) -> gcd(x:S,y:S) | iadd(z:S) ->* tp2(x:S,y:S) 20.032/20.032 iadd(add(x:S,y:S)) -> tp2(x:S,y:S) 20.032/20.032 iadd(s(z:S)) -> u1(iadd(z:S)) 20.032/20.032 iadd(y:S) -> tp2(0,y:S) 20.032/20.032 u1(tp2(x:S,y:S)) -> tp2(s(x:S),y:S) 20.032/20.032 ) 20.032/20.032 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 20.032/20.032 20.032/20.032 20.032/20.032 Problem 1: 20.032/20.032 20.032/20.032 Inlining of Conditions Processor [STERN17]: 20.032/20.032 20.032/20.032 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 20.032/20.032 Confluence Problem: 20.032/20.032 (VAR vNonEmpty:S x:S y:S z:S) 20.032/20.032 (STRATEGY CONTEXTSENSITIVE 20.032/20.032 (gcd 1 2) 20.032/20.032 (iadd 1) 20.032/20.032 (u1 1) 20.032/20.032 (0) 20.032/20.032 (add 1 2) 20.032/20.032 (fSNonEmpty) 20.032/20.032 (s 1) 20.032/20.032 (tp2 1 2) 20.032/20.032 ) 20.032/20.032 (RULES 20.032/20.032 gcd(0,x:S) -> x:S 20.032/20.032 gcd(x:S,0) -> x:S 20.032/20.032 gcd(y:S,z:S) -> gcd(x:S,y:S) | iadd(z:S) ->* tp2(x:S,y:S) 20.032/20.032 gcd(z:S,y:S) -> gcd(x:S,y:S) | iadd(z:S) ->* tp2(x:S,y:S) 20.032/20.032 iadd(add(x:S,y:S)) -> tp2(x:S,y:S) 20.032/20.032 iadd(s(z:S)) -> u1(iadd(z:S)) 20.032/20.032 iadd(y:S) -> tp2(0,y:S) 20.032/20.032 u1(tp2(x:S,y:S)) -> tp2(s(x:S),y:S) 20.032/20.032 ) 20.032/20.032 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 20.032/20.032 20.032/20.032 20.032/20.032 Problem 1: 20.032/20.032 20.032/20.032 Clean CTRS Processor: 20.032/20.032 20.032/20.032 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 20.032/20.032 Confluence Problem: 20.032/20.032 (VAR x:S y:S z:S) 20.032/20.032 (STRATEGY CONTEXTSENSITIVE 20.032/20.032 (gcd 1 2) 20.032/20.032 (iadd 1) 20.032/20.032 (u1 1) 20.032/20.032 (0) 20.032/20.032 (add 1 2) 20.032/20.032 (fSNonEmpty) 20.032/20.032 (s 1) 20.032/20.032 (tp2 1 2) 20.032/20.032 ) 20.032/20.032 (RULES 20.032/20.032 gcd(0,x:S) -> x:S 20.032/20.032 gcd(x:S,0) -> x:S 20.032/20.032 gcd(y:S,z:S) -> gcd(x:S,y:S) | iadd(z:S) ->* tp2(x:S,y:S) 20.032/20.032 gcd(z:S,y:S) -> gcd(x:S,y:S) | iadd(z:S) ->* tp2(x:S,y:S) 20.032/20.032 iadd(add(x:S,y:S)) -> tp2(x:S,y:S) 20.032/20.032 iadd(s(z:S)) -> u1(iadd(z:S)) 20.032/20.032 iadd(y:S) -> tp2(0,y:S) 20.032/20.032 u1(tp2(x:S,y:S)) -> tp2(s(x:S),y:S) 20.032/20.032 ) 20.032/20.032 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 20.032/20.032 20.032/20.032 CRule InfChecker Info: 20.032/20.032 gcd(0,x:S) -> x:S 20.032/20.032 Rule remains 20.032/20.032 Proof: 20.032/20.032 NO_CONDS 20.032/20.032 20.032/20.032 CRule InfChecker Info: 20.032/20.032 gcd(x:S,0) -> x:S 20.032/20.032 Rule remains 20.032/20.032 Proof: 20.032/20.032 NO_CONDS 20.032/20.032 20.032/20.032 CRule InfChecker Info: 20.032/20.032 gcd(y:S,z:S) -> gcd(x:S,y:S) | iadd(z:S) ->* tp2(x:S,y:S) 20.032/20.032 Rule remains 20.032/20.032 Proof: 20.032/20.032 NO 20.032/20.032 20.032/20.032 Problem 1: 20.032/20.032 20.032/20.032 Infeasibility Problem: 20.032/20.032 [(VAR vNonEmpty:S vNonEmpty:S:S x:S:S y:S:S z:S:S) 20.032/20.032 (STRATEGY CONTEXTSENSITIVE 20.032/20.032 (gcd 1 2) 20.032/20.032 (iadd 1) 20.032/20.032 (u1 1) 20.032/20.032 (0) 20.032/20.032 (add 1 2) 20.032/20.032 (fSNonEmpty) 20.032/20.032 (s 1) 20.032/20.032 (tp2 1 2) 20.032/20.032 ) 20.032/20.032 (RULES 20.032/20.032 gcd(0,x:S:S) -> x:S:S 20.032/20.032 gcd(x:S:S,0) -> x:S:S 20.032/20.032 gcd(y:S:S,z:S:S) -> gcd(x:S:S,y:S:S) | iadd(z:S:S) ->* tp2(x:S:S,y:S:S) 20.032/20.032 gcd(z:S:S,y:S:S) -> gcd(x:S:S,y:S:S) | iadd(z:S:S) ->* tp2(x:S:S,y:S:S) 20.032/20.032 iadd(add(x:S:S,y:S:S)) -> tp2(x:S:S,y:S:S) 20.032/20.032 iadd(s(z:S:S)) -> u1(iadd(z:S:S)) 20.032/20.032 iadd(y:S:S) -> tp2(0,y:S:S) 20.032/20.032 u1(tp2(x:S:S,y:S:S)) -> tp2(s(x:S:S),y:S:S) 20.032/20.032 )] 20.032/20.032 20.032/20.032 Infeasibility Conditions: 20.032/20.032 iadd(z:S:S) ->* tp2(x:S:S,y:S:S) 20.032/20.032 20.032/20.032 Problem 1: 20.032/20.032 20.032/20.032 Obtaining a proof using Prover9: 20.032/20.032 20.032/20.032 -> Prover9 Output: 20.032/20.032 ============================== Prover9 =============================== 20.032/20.032 Prover9 (64) version 2009-11A, November 2009. 20.032/20.032 Process 102215 was started by ubuntu on ubuntu, 20.032/20.032 Fri Jul 16 14:40:39 2021 20.032/20.032 The command was "./prover9 -f /tmp/prover9102208-0.in". 20.032/20.032 ============================== end of head =========================== 20.032/20.032 20.032/20.032 ============================== INPUT ================================= 20.032/20.032 20.032/20.032 % Reading from file /tmp/prover9102208-0.in 20.032/20.032 20.032/20.032 assign(max_seconds,20). 20.032/20.032 20.032/20.032 formulas(assumptions). 20.032/20.032 ->*_s0(x,x) # label(reflexivity). 20.032/20.032 ->_s0(x,y) & ->*_s0(y,z) -> ->*_s0(x,z) # label(transitivity). 20.032/20.032 ->_s0(x1,y) -> ->_s0(gcd(x1,x2),gcd(y,x2)) # label(congruence). 20.032/20.032 ->_s0(x2,y) -> ->_s0(gcd(x1,x2),gcd(x1,y)) # label(congruence). 20.032/20.032 ->_s0(x1,y) -> ->_s0(iadd(x1),iadd(y)) # label(congruence). 20.032/20.032 ->_s0(x1,y) -> ->_s0(u1(x1),u1(y)) # label(congruence). 20.032/20.032 ->_s0(x1,y) -> ->_s0(add(x1,x2),add(y,x2)) # label(congruence). 20.032/20.032 ->_s0(x2,y) -> ->_s0(add(x1,x2),add(x1,y)) # label(congruence). 20.032/20.032 ->_s0(x1,y) -> ->_s0(s(x1),s(y)) # label(congruence). 20.032/20.032 ->_s0(x1,y) -> ->_s0(tp2(x1,x2),tp2(y,x2)) # label(congruence). 20.032/20.032 ->_s0(x2,y) -> ->_s0(tp2(x1,x2),tp2(x1,y)) # label(congruence). 20.032/20.032 ->_s0(gcd(0,x2),x2) # label(replacement). 20.032/20.032 ->_s0(gcd(x2,0),x2) # label(replacement). 20.032/20.032 ->*_s0(iadd(x4),tp2(x2,x3)) -> ->_s0(gcd(x3,x4),gcd(x2,x3)) # label(replacement). 20.032/20.032 ->*_s0(iadd(x4),tp2(x2,x3)) -> ->_s0(gcd(x4,x3),gcd(x2,x3)) # label(replacement). 20.032/20.032 ->_s0(iadd(add(x2,x3)),tp2(x2,x3)) # label(replacement). 20.032/20.032 ->_s0(iadd(s(x4)),u1(iadd(x4))) # label(replacement). 20.032/20.032 ->_s0(iadd(x3),tp2(0,x3)) # label(replacement). 20.032/20.032 ->_s0(u1(tp2(x2,x3)),tp2(s(x2),x3)) # label(replacement). 20.032/20.032 end_of_list. 20.032/20.032 20.032/20.032 formulas(goals). 20.032/20.032 (exists x2 exists x3 exists x4 ->*_s0(iadd(x4),tp2(x2,x3))) # label(goal). 20.032/20.032 end_of_list. 20.032/20.032 20.032/20.032 ============================== end of input ========================== 20.032/20.032 20.032/20.032 ============================== PROCESS NON-CLAUSAL FORMULAS ========== 20.032/20.032 20.032/20.032 % Formulas that are not ordinary clauses: 20.032/20.032 1 ->_s0(x,y) & ->*_s0(y,z) -> ->*_s0(x,z) # label(transitivity) # label(non_clause). [assumption]. 20.032/20.032 2 ->_s0(x1,y) -> ->_s0(gcd(x1,x2),gcd(y,x2)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 3 ->_s0(x2,y) -> ->_s0(gcd(x1,x2),gcd(x1,y)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 4 ->_s0(x1,y) -> ->_s0(iadd(x1),iadd(y)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 5 ->_s0(x1,y) -> ->_s0(u1(x1),u1(y)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 6 ->_s0(x1,y) -> ->_s0(add(x1,x2),add(y,x2)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 7 ->_s0(x2,y) -> ->_s0(add(x1,x2),add(x1,y)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 8 ->_s0(x1,y) -> ->_s0(s(x1),s(y)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 9 ->_s0(x1,y) -> ->_s0(tp2(x1,x2),tp2(y,x2)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 10 ->_s0(x2,y) -> ->_s0(tp2(x1,x2),tp2(x1,y)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 11 ->*_s0(iadd(x4),tp2(x2,x3)) -> ->_s0(gcd(x3,x4),gcd(x2,x3)) # label(replacement) # label(non_clause). [assumption]. 20.032/20.032 12 ->*_s0(iadd(x4),tp2(x2,x3)) -> ->_s0(gcd(x4,x3),gcd(x2,x3)) # label(replacement) # label(non_clause). [assumption]. 20.032/20.032 13 (exists x2 exists x3 exists x4 ->*_s0(iadd(x4),tp2(x2,x3))) # label(goal) # label(non_clause) # label(goal). [goal]. 20.032/20.032 20.032/20.032 ============================== end of process non-clausal formulas === 20.032/20.032 20.032/20.032 ============================== PROCESS INITIAL CLAUSES =============== 20.032/20.032 20.032/20.032 % Clauses before input processing: 20.032/20.032 20.032/20.032 formulas(usable). 20.032/20.032 end_of_list. 20.032/20.032 20.032/20.032 formulas(sos). 20.032/20.032 ->*_s0(x,x) # label(reflexivity). [assumption]. 20.032/20.032 -->_s0(x,y) | -->*_s0(y,z) | ->*_s0(x,z) # label(transitivity). [clausify(1)]. 20.032/20.032 -->_s0(x,y) | ->_s0(gcd(x,z),gcd(y,z)) # label(congruence). [clausify(2)]. 20.032/20.032 -->_s0(x,y) | ->_s0(gcd(z,x),gcd(z,y)) # label(congruence). [clausify(3)]. 20.032/20.032 -->_s0(x,y) | ->_s0(iadd(x),iadd(y)) # label(congruence). [clausify(4)]. 20.032/20.032 -->_s0(x,y) | ->_s0(u1(x),u1(y)) # label(congruence). [clausify(5)]. 20.032/20.032 -->_s0(x,y) | ->_s0(add(x,z),add(y,z)) # label(congruence). [clausify(6)]. 20.032/20.032 -->_s0(x,y) | ->_s0(add(z,x),add(z,y)) # label(congruence). [clausify(7)]. 20.032/20.032 -->_s0(x,y) | ->_s0(s(x),s(y)) # label(congruence). [clausify(8)]. 20.032/20.032 -->_s0(x,y) | ->_s0(tp2(x,z),tp2(y,z)) # label(congruence). [clausify(9)]. 20.032/20.032 -->_s0(x,y) | ->_s0(tp2(z,x),tp2(z,y)) # label(congruence). [clausify(10)]. 20.032/20.032 ->_s0(gcd(0,x),x) # label(replacement). [assumption]. 20.032/20.032 ->_s0(gcd(x,0),x) # label(replacement). [assumption]. 20.032/20.032 -->*_s0(iadd(x),tp2(y,z)) | ->_s0(gcd(z,x),gcd(y,z)) # label(replacement). [clausify(11)]. 20.032/20.032 -->*_s0(iadd(x),tp2(y,z)) | ->_s0(gcd(x,z),gcd(y,z)) # label(replacement). [clausify(12)]. 20.032/20.032 ->_s0(iadd(add(x,y)),tp2(x,y)) # label(replacement). [assumption]. 20.032/20.032 ->_s0(iadd(s(x)),u1(iadd(x))) # label(replacement). [assumption]. 20.032/20.032 ->_s0(iadd(x),tp2(0,x)) # label(replacement). [assumption]. 20.032/20.032 ->_s0(u1(tp2(x,y)),tp2(s(x),y)) # label(replacement). [assumption]. 20.032/20.032 -->*_s0(iadd(x),tp2(y,z)) # label(goal). [deny(13)]. 20.032/20.032 end_of_list. 20.032/20.032 20.032/20.032 formulas(demodulators). 20.032/20.032 end_of_list. 20.032/20.032 20.032/20.032 ============================== PREDICATE ELIMINATION ================= 20.032/20.032 20.032/20.032 No predicates eliminated. 20.032/20.032 20.032/20.032 ============================== end predicate elimination ============= 20.032/20.032 20.032/20.032 Auto_denials: 20.032/20.032 % copying label goal to answer in negative clause 20.032/20.032 20.032/20.032 Term ordering decisions: 20.032/20.032 Predicate symbol precedence: predicate_order([ ->_s0, ->*_s0 ]). 20.032/20.032 Function symbol precedence: function_order([ 0, gcd, tp2, add, iadd, u1, s ]). 20.032/20.032 After inverse_order: (no changes). 20.032/20.032 Unfolding symbols: (none). 20.032/20.032 20.032/20.032 Auto_inference settings: 20.032/20.032 % set(neg_binary_resolution). % (HNE depth_diff=-9) 20.032/20.032 % clear(ordered_res). % (HNE depth_diff=-9) 20.032/20.032 % set(ur_resolution). % (HNE depth_diff=-9) 20.032/20.032 % set(ur_resolution) -> set(pos_ur_resolution). 20.032/20.032 % set(ur_resolution) -> set(neg_ur_resolution). 20.032/20.032 20.032/20.032 Auto_process settings: (no changes). 20.032/20.032 20.032/20.032 kept: 14 ->*_s0(x,x) # label(reflexivity). [assumption]. 20.032/20.032 kept: 15 -->_s0(x,y) | -->*_s0(y,z) | ->*_s0(x,z) # label(transitivity). [clausify(1)]. 20.032/20.032 kept: 16 -->_s0(x,y) | ->_s0(gcd(x,z),gcd(y,z)) # label(congruence). [clausify(2)]. 20.032/20.032 kept: 17 -->_s0(x,y) | ->_s0(gcd(z,x),gcd(z,y)) # label(congruence). [clausify(3)]. 20.032/20.032 kept: 18 -->_s0(x,y) | ->_s0(iadd(x),iadd(y)) # label(congruence). [clausify(4)]. 20.032/20.032 kept: 19 -->_s0(x,y) | ->_s0(u1(x),u1(y)) # label(congruence). [clausify(5)]. 20.032/20.032 kept: 20 -->_s0(x,y) | ->_s0(add(x,z),add(y,z)) # label(congruence). [clausify(6)]. 20.032/20.032 kept: 21 -->_s0(x,y) | ->_s0(add(z,x),add(z,y)) # label(congruence). [clausify(7)]. 20.032/20.032 kept: 22 -->_s0(x,y) | ->_s0(s(x),s(y)) # label(congruence). [clausify(8)]. 20.032/20.032 kept: 23 -->_s0(x,y) | ->_s0(tp2(x,z),tp2(y,z)) # label(congruence). [clausify(9)]. 20.032/20.032 kept: 24 -->_s0(x,y) | ->_s0(tp2(z,x),tp2(z,y)) # label(congruence). [clausify(10)]. 20.032/20.032 kept: 25 ->_s0(gcd(0,x),x) # label(replacement). [assumption]. 20.032/20.032 kept: 26 ->_s0(gcd(x,0),x) # label(replacement). [assumption]. 20.032/20.032 kept: 27 -->*_s0(iadd(x),tp2(y,z)) | ->_s0(gcd(z,x),gcd(y,z)) # label(replacement). [clausify(11)]. 20.032/20.032 kept: 28 -->*_s0(iadd(x),tp2(y,z)) | ->_s0(gcd(x,z),gcd(y,z)) # label(replacement). [clausify(12)]. 20.032/20.032 kept: 29 ->_s0(iadd(add(x,y)),tp2(x,y)) # label(replacement). [assumption]. 20.032/20.032 kept: 30 ->_s0(iadd(s(x)),u1(iadd(x))) # label(replacement). [assumption]. 20.032/20.032 kept: 31 ->_s0(iadd(x),tp2(0,x)) # label(replacement). [assumption]. 20.032/20.032 kept: 32 ->_s0(u1(tp2(x,y)),tp2(s(x),y)) # label(replacement). [assumption]. 20.032/20.032 kept: 33 -->*_s0(iadd(x),tp2(y,z)) # label(goal) # answer(goal). [deny(13)]. 20.032/20.032 20.032/20.032 ============================== end of process initial clauses ======== 20.032/20.032 20.032/20.032 ============================== CLAUSES FOR SEARCH ==================== 20.032/20.032 20.032/20.032 % Clauses after input processing: 20.032/20.032 20.032/20.032 formulas(usable). 20.032/20.032 end_of_list. 20.032/20.032 20.032/20.032 formulas(sos). 20.032/20.032 14 ->*_s0(x,x) # label(reflexivity). [assumption]. 20.032/20.032 15 -->_s0(x,y) | -->*_s0(y,z) | ->*_s0(x,z) # label(transitivity). [clausify(1)]. 20.032/20.032 16 -->_s0(x,y) | ->_s0(gcd(x,z),gcd(y,z)) # label(congruence). [clausify(2)]. 20.032/20.032 17 -->_s0(x,y) | ->_s0(gcd(z,x),gcd(z,y)) # label(congruence). [clausify(3)]. 20.032/20.032 18 -->_s0(x,y) | ->_s0(iadd(x),iadd(y)) # label(congruence). [clausify(4)]. 20.032/20.032 19 -->_s0(x,y) | ->_s0(u1(x),u1(y)) # label(congruence). [clausify(5)]. 20.032/20.032 20 -->_s0(x,y) | ->_s0(add(x,z),add(y,z)) # label(congruence). [clausify(6)]. 20.032/20.032 21 -->_s0(x,y) | ->_s0(add(z,x),add(z,y)) # label(congruence). [clausify(7)]. 20.032/20.032 22 -->_s0(x,y) | ->_s0(s(x),s(y)) # label(congruence). [clausify(8)]. 20.032/20.032 23 -->_s0(x,y) | ->_s0(tp2(x,z),tp2(y,z)) # label(congruence). [clausify(9)]. 20.032/20.032 24 -->_s0(x,y) | ->_s0(tp2(z,x),tp2(z,y)) # label(congruence). [clausify(10)]. 20.032/20.032 25 ->_s0(gcd(0,x),x) # label(replacement). [assumption]. 20.032/20.032 26 ->_s0(gcd(x,0),x) # label(replacement). [assumption]. 20.032/20.032 29 ->_s0(iadd(add(x,y)),tp2(x,y)) # label(replacement). [assumption]. 20.032/20.032 30 ->_s0(iadd(s(x)),u1(iadd(x))) # label(replacement). [assumption]. 20.032/20.032 31 ->_s0(iadd(x),tp2(0,x)) # label(replacement). [assumption]. 20.032/20.032 32 ->_s0(u1(tp2(x,y)),tp2(s(x),y)) # label(replacement). [assumption]. 20.032/20.032 33 -->*_s0(iadd(x),tp2(y,z)) # label(goal) # answer(goal). [deny(13)]. 20.032/20.032 end_of_list. 20.032/20.032 20.032/20.032 formulas(demodulators). 20.032/20.032 end_of_list. 20.032/20.032 20.032/20.032 ============================== end of clauses for search ============= 20.032/20.032 20.032/20.032 ============================== SEARCH ================================ 20.032/20.032 20.032/20.032 % Starting search at 0.00 seconds. 20.032/20.032 20.032/20.032 given #1 (I,wt=3): 14 ->*_s0(x,x) # label(reflexivity). [assumption]. 20.032/20.032 20.032/20.032 given #2 (I,wt=9): 15 -->_s0(x,y) | -->*_s0(y,z) | ->*_s0(x,z) # label(transitivity). [clausify(1)]. 20.032/20.032 20.032/20.032 given #3 (I,wt=10): 16 -->_s0(x,y) | ->_s0(gcd(x,z),gcd(y,z)) # label(congruence). [clausify(2)]. 20.032/20.032 20.032/20.032 given #4 (I,wt=10): 17 -->_s0(x,y) | ->_s0(gcd(z,x),gcd(z,y)) # label(congruence). [clausify(3)]. 20.032/20.032 20.032/20.032 given #5 (I,wt=8): 18 -->_s0(x,y) | ->_s0(iadd(x),iadd(y)) # label(congruence). [clausify(4)]. 20.032/20.032 20.032/20.032 given #6 (I,wt=8): 19 -->_s0(x,y) | ->_s0(u1(x),u1(y)) # label(congruence). [clausify(5)]. 20.032/20.032 20.032/20.032 given #7 (I,wt=10): 20 -->_s0(x,y) | ->_s0(add(x,z),add(y,z)) # label(congruence). [clausify(6)]. 20.032/20.032 20.032/20.032 given #8 (I,wt=10): 21 -->_s0(x,y) | ->_s0(add(z,x),add(z,y)) # label(congruence). [clausify(7)]. 20.032/20.032 20.032/20.032 given #9 (I,wt=8): 22 -->_s0(x,y) | ->_s0(s(x),s(y)) # label(congruence). [clausify(8)]. 20.032/20.032 20.032/20.032 given #10 (I,wt=10): 23 -->_s0(x,y) | ->_s0(tp2(x,z),tp2(y,z)) # label(congruence). [clausify(9)]. 20.032/20.032 20.032/20.032 given #11 (I,wt=10): 24 -->_s0(x,y) | ->_s0(tp2(z,x),tp2(z,y)) # label(congruence). [clausify(10)]. 20.032/20.032 20.032/20.032 given #12 (I,wt=5): 25 ->_s0(gcd(0,x),x) # label(replacement). [assumption]. 20.032/20.032 20.032/20.032 given #13 (I,wt=5): 26 ->_s0(gcd(x,0),x) # label(replacement). [assumption]. 20.032/20.032 20.032/20.032 given #14 (I,wt=8): 29 ->_s0(iadd(add(x,y)),tp2(x,y)) # label(replacement). [assumption]. 20.032/20.032 20.032/20.032 ============================== PROOF ================================= 20.032/20.032 20.032/20.032 % Proof 1 at 0.00 (+ 0.00) seconds: goal. 20.032/20.032 % Length of proof is 8. 20.032/20.032 % Level of proof is 3. 20.032/20.032 % Maximum clause weight is 9.000. 20.032/20.032 % Given clauses 14. 20.032/20.032 20.032/20.032 1 ->_s0(x,y) & ->*_s0(y,z) -> ->*_s0(x,z) # label(transitivity) # label(non_clause). [assumption]. 20.032/20.032 13 (exists x2 exists x3 exists x4 ->*_s0(iadd(x4),tp2(x2,x3))) # label(goal) # label(non_clause) # label(goal). [goal]. 20.032/20.032 14 ->*_s0(x,x) # label(reflexivity). [assumption]. 20.032/20.032 15 -->_s0(x,y) | -->*_s0(y,z) | ->*_s0(x,z) # label(transitivity). [clausify(1)]. 20.032/20.032 29 ->_s0(iadd(add(x,y)),tp2(x,y)) # label(replacement). [assumption]. 20.032/20.032 33 -->*_s0(iadd(x),tp2(y,z)) # label(goal) # answer(goal). [deny(13)]. 20.032/20.032 63 ->*_s0(iadd(add(x,y)),tp2(x,y)). [ur(15,a,29,a,b,14,a)]. 20.032/20.032 64 $F # answer(goal). [resolve(63,a,33,a)]. 20.032/20.032 20.032/20.032 ============================== end of proof ========================== 20.032/20.032 20.032/20.032 ============================== STATISTICS ============================ 20.032/20.032 20.032/20.032 Given=14. Generated=50. Kept=50. proofs=1. 20.032/20.032 Usable=14. Sos=24. Demods=0. Limbo=9, Disabled=22. Hints=0. 20.032/20.032 Kept_by_rule=0, Deleted_by_rule=0. 20.032/20.032 Forward_subsumed=0. Back_subsumed=2. 20.032/20.032 Sos_limit_deleted=0. Sos_displaced=0. Sos_removed=0. 20.032/20.032 New_demodulators=0 (0 lex), Back_demodulated=0. Back_unit_deleted=0. 20.032/20.032 Demod_attempts=0. Demod_rewrites=0. 20.032/20.032 Res_instance_prunes=0. Para_instance_prunes=0. Basic_paramod_prunes=0. 20.032/20.032 Nonunit_fsub_feature_tests=4. Nonunit_bsub_feature_tests=23. 20.032/20.032 Megabytes=0.14. 20.032/20.032 User_CPU=0.00, System_CPU=0.00, Wall_clock=0. 20.032/20.032 20.032/20.032 ============================== end of statistics ===================== 20.032/20.032 20.032/20.032 ============================== end of search ========================= 20.032/20.032 20.032/20.032 THEOREM PROVED 20.032/20.032 20.032/20.032 Exiting with 1 proof. 20.032/20.032 20.032/20.032 Process 102215 exit (max_proofs) Fri Jul 16 14:40:39 2021 20.032/20.032 20.032/20.032 20.032/20.032 The problem is feasible. 20.032/20.032 20.032/20.032 20.032/20.032 CRule InfChecker Info: 20.032/20.032 gcd(z:S,y:S) -> gcd(x:S,y:S) | iadd(z:S) ->* tp2(x:S,y:S) 20.032/20.032 Rule remains 20.032/20.032 Proof: 20.032/20.032 NO 20.032/20.032 20.032/20.032 Problem 1: 20.032/20.032 20.032/20.032 Infeasibility Problem: 20.032/20.032 [(VAR vNonEmpty:S vNonEmpty:S:S x:S:S y:S:S z:S:S) 20.032/20.032 (STRATEGY CONTEXTSENSITIVE 20.032/20.032 (gcd 1 2) 20.032/20.032 (iadd 1) 20.032/20.032 (u1 1) 20.032/20.032 (0) 20.032/20.032 (add 1 2) 20.032/20.032 (fSNonEmpty) 20.032/20.032 (s 1) 20.032/20.032 (tp2 1 2) 20.032/20.032 ) 20.032/20.032 (RULES 20.032/20.032 gcd(0,x:S:S) -> x:S:S 20.032/20.032 gcd(x:S:S,0) -> x:S:S 20.032/20.032 gcd(y:S:S,z:S:S) -> gcd(x:S:S,y:S:S) | iadd(z:S:S) ->* tp2(x:S:S,y:S:S) 20.032/20.032 gcd(z:S:S,y:S:S) -> gcd(x:S:S,y:S:S) | iadd(z:S:S) ->* tp2(x:S:S,y:S:S) 20.032/20.032 iadd(add(x:S:S,y:S:S)) -> tp2(x:S:S,y:S:S) 20.032/20.032 iadd(s(z:S:S)) -> u1(iadd(z:S:S)) 20.032/20.032 iadd(y:S:S) -> tp2(0,y:S:S) 20.032/20.032 u1(tp2(x:S:S,y:S:S)) -> tp2(s(x:S:S),y:S:S) 20.032/20.032 )] 20.032/20.032 20.032/20.032 Infeasibility Conditions: 20.032/20.032 iadd(z:S:S) ->* tp2(x:S:S,y:S:S) 20.032/20.032 20.032/20.032 Problem 1: 20.032/20.032 20.032/20.032 Obtaining a proof using Prover9: 20.032/20.032 20.032/20.032 -> Prover9 Output: 20.032/20.032 ============================== Prover9 =============================== 20.032/20.032 Prover9 (64) version 2009-11A, November 2009. 20.032/20.032 Process 102238 was started by ubuntu on ubuntu, 20.032/20.032 Fri Jul 16 14:40:39 2021 20.032/20.032 The command was "./prover9 -f /tmp/prover9102230-0.in". 20.032/20.032 ============================== end of head =========================== 20.032/20.032 20.032/20.032 ============================== INPUT ================================= 20.032/20.032 20.032/20.032 % Reading from file /tmp/prover9102230-0.in 20.032/20.032 20.032/20.032 assign(max_seconds,20). 20.032/20.032 20.032/20.032 formulas(assumptions). 20.032/20.032 ->*_s0(x,x) # label(reflexivity). 20.032/20.032 ->_s0(x,y) & ->*_s0(y,z) -> ->*_s0(x,z) # label(transitivity). 20.032/20.032 ->_s0(x1,y) -> ->_s0(gcd(x1,x2),gcd(y,x2)) # label(congruence). 20.032/20.032 ->_s0(x2,y) -> ->_s0(gcd(x1,x2),gcd(x1,y)) # label(congruence). 20.032/20.032 ->_s0(x1,y) -> ->_s0(iadd(x1),iadd(y)) # label(congruence). 20.032/20.032 ->_s0(x1,y) -> ->_s0(u1(x1),u1(y)) # label(congruence). 20.032/20.032 ->_s0(x1,y) -> ->_s0(add(x1,x2),add(y,x2)) # label(congruence). 20.032/20.032 ->_s0(x2,y) -> ->_s0(add(x1,x2),add(x1,y)) # label(congruence). 20.032/20.032 ->_s0(x1,y) -> ->_s0(s(x1),s(y)) # label(congruence). 20.032/20.032 ->_s0(x1,y) -> ->_s0(tp2(x1,x2),tp2(y,x2)) # label(congruence). 20.032/20.032 ->_s0(x2,y) -> ->_s0(tp2(x1,x2),tp2(x1,y)) # label(congruence). 20.032/20.032 ->_s0(gcd(0,x2),x2) # label(replacement). 20.032/20.032 ->_s0(gcd(x2,0),x2) # label(replacement). 20.032/20.032 ->*_s0(iadd(x4),tp2(x2,x3)) -> ->_s0(gcd(x3,x4),gcd(x2,x3)) # label(replacement). 20.032/20.032 ->*_s0(iadd(x4),tp2(x2,x3)) -> ->_s0(gcd(x4,x3),gcd(x2,x3)) # label(replacement). 20.032/20.032 ->_s0(iadd(add(x2,x3)),tp2(x2,x3)) # label(replacement). 20.032/20.032 ->_s0(iadd(s(x4)),u1(iadd(x4))) # label(replacement). 20.032/20.032 ->_s0(iadd(x3),tp2(0,x3)) # label(replacement). 20.032/20.032 ->_s0(u1(tp2(x2,x3)),tp2(s(x2),x3)) # label(replacement). 20.032/20.032 end_of_list. 20.032/20.032 20.032/20.032 formulas(goals). 20.032/20.032 (exists x2 exists x3 exists x4 ->*_s0(iadd(x4),tp2(x2,x3))) # label(goal). 20.032/20.032 end_of_list. 20.032/20.032 20.032/20.032 ============================== end of input ========================== 20.032/20.032 20.032/20.032 ============================== PROCESS NON-CLAUSAL FORMULAS ========== 20.032/20.032 20.032/20.032 % Formulas that are not ordinary clauses: 20.032/20.032 1 ->_s0(x,y) & ->*_s0(y,z) -> ->*_s0(x,z) # label(transitivity) # label(non_clause). [assumption]. 20.032/20.032 2 ->_s0(x1,y) -> ->_s0(gcd(x1,x2),gcd(y,x2)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 3 ->_s0(x2,y) -> ->_s0(gcd(x1,x2),gcd(x1,y)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 4 ->_s0(x1,y) -> ->_s0(iadd(x1),iadd(y)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 5 ->_s0(x1,y) -> ->_s0(u1(x1),u1(y)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 6 ->_s0(x1,y) -> ->_s0(add(x1,x2),add(y,x2)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 7 ->_s0(x2,y) -> ->_s0(add(x1,x2),add(x1,y)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 8 ->_s0(x1,y) -> ->_s0(s(x1),s(y)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 9 ->_s0(x1,y) -> ->_s0(tp2(x1,x2),tp2(y,x2)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 10 ->_s0(x2,y) -> ->_s0(tp2(x1,x2),tp2(x1,y)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 11 ->*_s0(iadd(x4),tp2(x2,x3)) -> ->_s0(gcd(x3,x4),gcd(x2,x3)) # label(replacement) # label(non_clause). [assumption]. 20.032/20.032 12 ->*_s0(iadd(x4),tp2(x2,x3)) -> ->_s0(gcd(x4,x3),gcd(x2,x3)) # label(replacement) # label(non_clause). [assumption]. 20.032/20.032 13 (exists x2 exists x3 exists x4 ->*_s0(iadd(x4),tp2(x2,x3))) # label(goal) # label(non_clause) # label(goal). [goal]. 20.032/20.032 20.032/20.032 ============================== end of process non-clausal formulas === 20.032/20.032 20.032/20.032 ============================== PROCESS INITIAL CLAUSES =============== 20.032/20.032 20.032/20.032 % Clauses before input processing: 20.032/20.032 20.032/20.032 formulas(usable). 20.032/20.032 end_of_list. 20.032/20.032 20.032/20.032 formulas(sos). 20.032/20.032 ->*_s0(x,x) # label(reflexivity). [assumption]. 20.032/20.032 -->_s0(x,y) | -->*_s0(y,z) | ->*_s0(x,z) # label(transitivity). [clausify(1)]. 20.032/20.032 -->_s0(x,y) | ->_s0(gcd(x,z),gcd(y,z)) # label(congruence). [clausify(2)]. 20.032/20.032 -->_s0(x,y) | ->_s0(gcd(z,x),gcd(z,y)) # label(congruence). [clausify(3)]. 20.032/20.032 -->_s0(x,y) | ->_s0(iadd(x),iadd(y)) # label(congruence). [clausify(4)]. 20.032/20.032 -->_s0(x,y) | ->_s0(u1(x),u1(y)) # label(congruence). [clausify(5)]. 20.032/20.032 -->_s0(x,y) | ->_s0(add(x,z),add(y,z)) # label(congruence). [clausify(6)]. 20.032/20.032 -->_s0(x,y) | ->_s0(add(z,x),add(z,y)) # label(congruence). [clausify(7)]. 20.032/20.032 -->_s0(x,y) | ->_s0(s(x),s(y)) # label(congruence). [clausify(8)]. 20.032/20.032 -->_s0(x,y) | ->_s0(tp2(x,z),tp2(y,z)) # label(congruence). [clausify(9)]. 20.032/20.032 -->_s0(x,y) | ->_s0(tp2(z,x),tp2(z,y)) # label(congruence). [clausify(10)]. 20.032/20.032 ->_s0(gcd(0,x),x) # label(replacement). [assumption]. 20.032/20.032 ->_s0(gcd(x,0),x) # label(replacement). [assumption]. 20.032/20.032 -->*_s0(iadd(x),tp2(y,z)) | ->_s0(gcd(z,x),gcd(y,z)) # label(replacement). [clausify(11)]. 20.032/20.032 -->*_s0(iadd(x),tp2(y,z)) | ->_s0(gcd(x,z),gcd(y,z)) # label(replacement). [clausify(12)]. 20.032/20.032 ->_s0(iadd(add(x,y)),tp2(x,y)) # label(replacement). [assumption]. 20.032/20.032 ->_s0(iadd(s(x)),u1(iadd(x))) # label(replacement). [assumption]. 20.032/20.032 ->_s0(iadd(x),tp2(0,x)) # label(replacement). [assumption]. 20.032/20.032 ->_s0(u1(tp2(x,y)),tp2(s(x),y)) # label(replacement). [assumption]. 20.032/20.032 -->*_s0(iadd(x),tp2(y,z)) # label(goal). [deny(13)]. 20.032/20.032 end_of_list. 20.032/20.032 20.032/20.032 formulas(demodulators). 20.032/20.032 end_of_list. 20.032/20.032 20.032/20.032 ============================== PREDICATE ELIMINATION ================= 20.032/20.032 20.032/20.032 No predicates eliminated. 20.032/20.032 20.032/20.032 ============================== end predicate elimination ============= 20.032/20.032 20.032/20.032 Auto_denials: 20.032/20.032 % copying label goal to answer in negative clause 20.032/20.032 20.032/20.032 Term ordering decisions: 20.032/20.032 Predicate symbol precedence: predicate_order([ ->_s0, ->*_s0 ]). 20.032/20.032 Function symbol precedence: function_order([ 0, gcd, tp2, add, iadd, u1, s ]). 20.032/20.032 After inverse_order: (no changes). 20.032/20.032 Unfolding symbols: (none). 20.032/20.032 20.032/20.032 Auto_inference settings: 20.032/20.032 % set(neg_binary_resolution). % (HNE depth_diff=-9) 20.032/20.032 % clear(ordered_res). % (HNE depth_diff=-9) 20.032/20.032 % set(ur_resolution). % (HNE depth_diff=-9) 20.032/20.032 % set(ur_resolution) -> set(pos_ur_resolution). 20.032/20.032 % set(ur_resolution) -> set(neg_ur_resolution). 20.032/20.032 20.032/20.032 Auto_process settings: (no changes). 20.032/20.032 20.032/20.032 kept: 14 ->*_s0(x,x) # label(reflexivity). [assumption]. 20.032/20.032 kept: 15 -->_s0(x,y) | -->*_s0(y,z) | ->*_s0(x,z) # label(transitivity). [clausify(1)]. 20.032/20.032 kept: 16 -->_s0(x,y) | ->_s0(gcd(x,z),gcd(y,z)) # label(congruence). [clausify(2)]. 20.032/20.032 kept: 17 -->_s0(x,y) | ->_s0(gcd(z,x),gcd(z,y)) # label(congruence). [clausify(3)]. 20.032/20.032 kept: 18 -->_s0(x,y) | ->_s0(iadd(x),iadd(y)) # label(congruence). [clausify(4)]. 20.032/20.032 kept: 19 -->_s0(x,y) | ->_s0(u1(x),u1(y)) # label(congruence). [clausify(5)]. 20.032/20.032 kept: 20 -->_s0(x,y) | ->_s0(add(x,z),add(y,z)) # label(congruence). [clausify(6)]. 20.032/20.032 kept: 21 -->_s0(x,y) | ->_s0(add(z,x),add(z,y)) # label(congruence). [clausify(7)]. 20.032/20.032 kept: 22 -->_s0(x,y) | ->_s0(s(x),s(y)) # label(congruence). [clausify(8)]. 20.032/20.032 kept: 23 -->_s0(x,y) | ->_s0(tp2(x,z),tp2(y,z)) # label(congruence). [clausify(9)]. 20.032/20.032 kept: 24 -->_s0(x,y) | ->_s0(tp2(z,x),tp2(z,y)) # label(congruence). [clausify(10)]. 20.032/20.032 kept: 25 ->_s0(gcd(0,x),x) # label(replacement). [assumption]. 20.032/20.032 kept: 26 ->_s0(gcd(x,0),x) # label(replacement). [assumption]. 20.032/20.032 kept: 27 -->*_s0(iadd(x),tp2(y,z)) | ->_s0(gcd(z,x),gcd(y,z)) # label(replacement). [clausify(11)]. 20.032/20.032 kept: 28 -->*_s0(iadd(x),tp2(y,z)) | ->_s0(gcd(x,z),gcd(y,z)) # label(replacement). [clausify(12)]. 20.032/20.032 kept: 29 ->_s0(iadd(add(x,y)),tp2(x,y)) # label(replacement). [assumption]. 20.032/20.032 kept: 30 ->_s0(iadd(s(x)),u1(iadd(x))) # label(replacement). [assumption]. 20.032/20.032 kept: 31 ->_s0(iadd(x),tp2(0,x)) # label(replacement). [assumption]. 20.032/20.032 kept: 32 ->_s0(u1(tp2(x,y)),tp2(s(x),y)) # label(replacement). [assumption]. 20.032/20.032 kept: 33 -->*_s0(iadd(x),tp2(y,z)) # label(goal) # answer(goal). [deny(13)]. 20.032/20.032 20.032/20.032 ============================== end of process initial clauses ======== 20.032/20.032 20.032/20.032 ============================== CLAUSES FOR SEARCH ==================== 20.032/20.032 20.032/20.032 % Clauses after input processing: 20.032/20.032 20.032/20.032 formulas(usable). 20.032/20.032 end_of_list. 20.032/20.032 20.032/20.032 formulas(sos). 20.032/20.032 14 ->*_s0(x,x) # label(reflexivity). [assumption]. 20.032/20.032 15 -->_s0(x,y) | -->*_s0(y,z) | ->*_s0(x,z) # label(transitivity). [clausify(1)]. 20.032/20.032 16 -->_s0(x,y) | ->_s0(gcd(x,z),gcd(y,z)) # label(congruence). [clausify(2)]. 20.032/20.032 17 -->_s0(x,y) | ->_s0(gcd(z,x),gcd(z,y)) # label(congruence). [clausify(3)]. 20.032/20.032 18 -->_s0(x,y) | ->_s0(iadd(x),iadd(y)) # label(congruence). [clausify(4)]. 20.032/20.032 19 -->_s0(x,y) | ->_s0(u1(x),u1(y)) # label(congruence). [clausify(5)]. 20.032/20.032 20 -->_s0(x,y) | ->_s0(add(x,z),add(y,z)) # label(congruence). [clausify(6)]. 20.032/20.032 21 -->_s0(x,y) | ->_s0(add(z,x),add(z,y)) # label(congruence). [clausify(7)]. 20.032/20.032 22 -->_s0(x,y) | ->_s0(s(x),s(y)) # label(congruence). [clausify(8)]. 20.032/20.032 23 -->_s0(x,y) | ->_s0(tp2(x,z),tp2(y,z)) # label(congruence). [clausify(9)]. 20.032/20.032 24 -->_s0(x,y) | ->_s0(tp2(z,x),tp2(z,y)) # label(congruence). [clausify(10)]. 20.032/20.032 25 ->_s0(gcd(0,x),x) # label(replacement). [assumption]. 20.032/20.032 26 ->_s0(gcd(x,0),x) # label(replacement). [assumption]. 20.032/20.032 29 ->_s0(iadd(add(x,y)),tp2(x,y)) # label(replacement). [assumption]. 20.032/20.032 30 ->_s0(iadd(s(x)),u1(iadd(x))) # label(replacement). [assumption]. 20.032/20.032 31 ->_s0(iadd(x),tp2(0,x)) # label(replacement). [assumption]. 20.032/20.032 32 ->_s0(u1(tp2(x,y)),tp2(s(x),y)) # label(replacement). [assumption]. 20.032/20.032 33 -->*_s0(iadd(x),tp2(y,z)) # label(goal) # answer(goal). [deny(13)]. 20.032/20.032 end_of_list. 20.032/20.032 20.032/20.032 formulas(demodulators). 20.032/20.032 end_of_list. 20.032/20.032 20.032/20.032 ============================== end of clauses for search ============= 20.032/20.032 20.032/20.032 ============================== SEARCH ================================ 20.032/20.032 20.032/20.032 % Starting search at 0.00 seconds. 20.032/20.032 20.032/20.032 given #1 (I,wt=3): 14 ->*_s0(x,x) # label(reflexivity). [assumption]. 20.032/20.032 20.032/20.032 given #2 (I,wt=9): 15 -->_s0(x,y) | -->*_s0(y,z) | ->*_s0(x,z) # label(transitivity). [clausify(1)]. 20.032/20.032 20.032/20.032 given #3 (I,wt=10): 16 -->_s0(x,y) | ->_s0(gcd(x,z),gcd(y,z)) # label(congruence). [clausify(2)]. 20.032/20.032 20.032/20.032 given #4 (I,wt=10): 17 -->_s0(x,y) | ->_s0(gcd(z,x),gcd(z,y)) # label(congruence). [clausify(3)]. 20.032/20.032 20.032/20.032 given #5 (I,wt=8): 18 -->_s0(x,y) | ->_s0(iadd(x),iadd(y)) # label(congruence). [clausify(4)]. 20.032/20.032 20.032/20.032 given #6 (I,wt=8): 19 -->_s0(x,y) | ->_s0(u1(x),u1(y)) # label(congruence). [clausify(5)]. 20.032/20.032 20.032/20.032 given #7 (I,wt=10): 20 -->_s0(x,y) | ->_s0(add(x,z),add(y,z)) # label(congruence). [clausify(6)]. 20.032/20.032 20.032/20.032 given #8 (I,wt=10): 21 -->_s0(x,y) | ->_s0(add(z,x),add(z,y)) # label(congruence). [clausify(7)]. 20.032/20.032 20.032/20.032 given #9 (I,wt=8): 22 -->_s0(x,y) | ->_s0(s(x),s(y)) # label(congruence). [clausify(8)]. 20.032/20.032 20.032/20.032 given #10 (I,wt=10): 23 -->_s0(x,y) | ->_s0(tp2(x,z),tp2(y,z)) # label(congruence). [clausify(9)]. 20.032/20.032 20.032/20.032 given #11 (I,wt=10): 24 -->_s0(x,y) | ->_s0(tp2(z,x),tp2(z,y)) # label(congruence). [clausify(10)]. 20.032/20.032 20.032/20.032 given #12 (I,wt=5): 25 ->_s0(gcd(0,x),x) # label(replacement). [assumption]. 20.032/20.032 20.032/20.032 given #13 (I,wt=5): 26 ->_s0(gcd(x,0),x) # label(replacement). [assumption]. 20.032/20.032 20.032/20.032 given #14 (I,wt=8): 29 ->_s0(iadd(add(x,y)),tp2(x,y)) # label(replacement). [assumption]. 20.032/20.032 20.032/20.032 ============================== PROOF ================================= 20.032/20.032 20.032/20.032 % Proof 1 at 0.00 (+ 0.00) seconds: goal. 20.032/20.032 % Length of proof is 8. 20.032/20.032 % Level of proof is 3. 20.032/20.032 % Maximum clause weight is 9.000. 20.032/20.032 % Given clauses 14. 20.032/20.032 20.032/20.032 1 ->_s0(x,y) & ->*_s0(y,z) -> ->*_s0(x,z) # label(transitivity) # label(non_clause). [assumption]. 20.032/20.032 13 (exists x2 exists x3 exists x4 ->*_s0(iadd(x4),tp2(x2,x3))) # label(goal) # label(non_clause) # label(goal). [goal]. 20.032/20.032 14 ->*_s0(x,x) # label(reflexivity). [assumption]. 20.032/20.032 15 -->_s0(x,y) | -->*_s0(y,z) | ->*_s0(x,z) # label(transitivity). [clausify(1)]. 20.032/20.032 29 ->_s0(iadd(add(x,y)),tp2(x,y)) # label(replacement). [assumption]. 20.032/20.032 33 -->*_s0(iadd(x),tp2(y,z)) # label(goal) # answer(goal). [deny(13)]. 20.032/20.032 63 ->*_s0(iadd(add(x,y)),tp2(x,y)). [ur(15,a,29,a,b,14,a)]. 20.032/20.032 64 $F # answer(goal). [resolve(63,a,33,a)]. 20.032/20.032 20.032/20.032 ============================== end of proof ========================== 20.032/20.032 20.032/20.032 ============================== STATISTICS ============================ 20.032/20.032 20.032/20.032 Given=14. Generated=50. Kept=50. proofs=1. 20.032/20.032 Usable=14. Sos=24. Demods=0. Limbo=9, Disabled=22. Hints=0. 20.032/20.032 Kept_by_rule=0, Deleted_by_rule=0. 20.032/20.032 Forward_subsumed=0. Back_subsumed=2. 20.032/20.032 Sos_limit_deleted=0. Sos_displaced=0. Sos_removed=0. 20.032/20.032 New_demodulators=0 (0 lex), Back_demodulated=0. Back_unit_deleted=0. 20.032/20.032 Demod_attempts=0. Demod_rewrites=0. 20.032/20.032 Res_instance_prunes=0. Para_instance_prunes=0. Basic_paramod_prunes=0. 20.032/20.032 Nonunit_fsub_feature_tests=4. Nonunit_bsub_feature_tests=23. 20.032/20.032 Megabytes=0.14. 20.032/20.032 User_CPU=0.00, System_CPU=0.00, Wall_clock=0. 20.032/20.032 20.032/20.032 ============================== end of statistics ===================== 20.032/20.032 20.032/20.032 ============================== end of search ========================= 20.032/20.032 20.032/20.032 THEOREM PROVED 20.032/20.032 20.032/20.032 Exiting with 1 proof. 20.032/20.032 20.032/20.032 Process 102238 exit (max_proofs) Fri Jul 16 14:40:39 2021 20.032/20.032 20.032/20.032 20.032/20.032 The problem is feasible. 20.032/20.032 20.032/20.032 20.032/20.032 CRule InfChecker Info: 20.032/20.032 iadd(add(x:S,y:S)) -> tp2(x:S,y:S) 20.032/20.032 Rule remains 20.032/20.032 Proof: 20.032/20.032 NO_CONDS 20.032/20.032 20.032/20.032 CRule InfChecker Info: 20.032/20.032 iadd(s(z:S)) -> u1(iadd(z:S)) 20.032/20.032 Rule remains 20.032/20.032 Proof: 20.032/20.032 NO_CONDS 20.032/20.032 20.032/20.032 CRule InfChecker Info: 20.032/20.032 iadd(y:S) -> tp2(0,y:S) 20.032/20.032 Rule remains 20.032/20.032 Proof: 20.032/20.032 NO_CONDS 20.032/20.032 20.032/20.032 CRule InfChecker Info: 20.032/20.032 u1(tp2(x:S,y:S)) -> tp2(s(x:S),y:S) 20.032/20.032 Rule remains 20.032/20.032 Proof: 20.032/20.032 NO_CONDS 20.032/20.032 20.032/20.032 Problem 1: 20.032/20.032 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 20.032/20.032 Confluence Problem: 20.032/20.032 (VAR x:S y:S z:S) 20.032/20.032 (STRATEGY CONTEXTSENSITIVE 20.032/20.032 (gcd 1 2) 20.032/20.032 (iadd 1) 20.032/20.032 (u1 1) 20.032/20.032 (0) 20.032/20.032 (add 1 2) 20.032/20.032 (fSNonEmpty) 20.032/20.032 (s 1) 20.032/20.032 (tp2 1 2) 20.032/20.032 ) 20.032/20.032 (RULES 20.032/20.032 gcd(0,x:S) -> x:S 20.032/20.032 gcd(x:S,0) -> x:S 20.032/20.032 gcd(y:S,z:S) -> gcd(x:S,y:S) | iadd(z:S) ->* tp2(x:S,y:S) 20.032/20.032 gcd(z:S,y:S) -> gcd(x:S,y:S) | iadd(z:S) ->* tp2(x:S,y:S) 20.032/20.032 iadd(add(x:S,y:S)) -> tp2(x:S,y:S) 20.032/20.032 iadd(s(z:S)) -> u1(iadd(z:S)) 20.032/20.032 iadd(y:S) -> tp2(0,y:S) 20.032/20.032 u1(tp2(x:S,y:S)) -> tp2(s(x:S),y:S) 20.032/20.032 ) 20.032/20.032 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 20.032/20.032 20.032/20.032 Critical Pairs Processor: 20.032/20.032 -> Rules: 20.032/20.032 gcd(0,x:S) -> x:S 20.032/20.032 gcd(x:S,0) -> x:S 20.032/20.032 gcd(y:S,z:S) -> gcd(x:S,y:S) | iadd(z:S) ->* tp2(x:S,y:S) 20.032/20.032 gcd(z:S,y:S) -> gcd(x:S,y:S) | iadd(z:S) ->* tp2(x:S,y:S) 20.032/20.032 iadd(add(x:S,y:S)) -> tp2(x:S,y:S) 20.032/20.032 iadd(s(z:S)) -> u1(iadd(z:S)) 20.032/20.032 iadd(y:S) -> tp2(0,y:S) 20.032/20.032 u1(tp2(x:S,y:S)) -> tp2(s(x:S),y:S) 20.032/20.032 -> Vars: 20.032/20.032 "x", "x", "x", "y", "z", "x", "y", "z", "x", "y", "z", "y", "x", "y" 20.032/20.032 -> FVars: 20.032/20.032 "x4", "x5", "x6", "x7", "x8", "x9", "x10", "x11", "x12", "x13", "x14", "x15", "x16", "x17" 20.032/20.032 -> PVars: 20.032/20.032 "x": ["x4", "x5", "x6", "x9", "x12", "x16"], "y": ["x7", "x10", "x13", "x15", "x17"], "z": ["x8", "x11", "x14"] 20.032/20.032 20.032/20.032 -> Rlps: 20.032/20.032 crule: gcd(0,x4:S) -> x4:S, id: 1, possubterms: gcd(0,x4:S)-> [], 0-> [1] 20.032/20.032 crule: gcd(x5:S,0) -> x5:S, id: 2, possubterms: gcd(x5:S,0)-> [], 0-> [2] 20.032/20.032 crule: gcd(x7:S,x8:S) -> gcd(x6:S,x7:S) | iadd(x8:S) ->* tp2(x6:S,x7:S), id: 3, possubterms: gcd(x7:S,x8:S)-> [] 20.032/20.032 crule: gcd(x11:S,x10:S) -> gcd(x9:S,x10:S) | iadd(x11:S) ->* tp2(x9:S,x10:S), id: 4, possubterms: gcd(x11:S,x10:S)-> [] 20.032/20.032 crule: iadd(add(x12:S,x13:S)) -> tp2(x12:S,x13:S), id: 5, possubterms: iadd(add(x12:S,x13:S))-> [], add(x12:S,x13:S)-> [1] 20.032/20.032 crule: iadd(s(x14:S)) -> u1(iadd(x14:S)), id: 6, possubterms: iadd(s(x14:S))-> [], s(x14:S)-> [1] 20.032/20.032 crule: iadd(x15:S) -> tp2(0,x15:S), id: 7, possubterms: iadd(x15:S)-> [] 20.032/20.032 crule: u1(tp2(x16:S,x17:S)) -> tp2(s(x16:S),x17:S), id: 8, possubterms: u1(tp2(x16:S,x17:S))-> [], tp2(x16:S,x17:S)-> [1] 20.032/20.032 20.032/20.032 -> Unifications: 20.032/20.032 R2 unifies with R1 at p: [], l: gcd(x5:S,0), lp: gcd(x5:S,0), conds: {}, sig: {x:S -> 0,x5:S -> 0}, l': gcd(0,x:S), r: x5:S, r': x:S 20.032/20.032 R3 unifies with R1 at p: [], l: gcd(x7:S,x8:S), lp: gcd(x7:S,x8:S), conds: {iadd(x8:S) ->* tp2(x6:S,x7:S)}, sig: {x7:S -> 0,x8:S -> x:S}, l': gcd(0,x:S), r: gcd(x6:S,x7:S), r': x:S 20.032/20.032 R3 unifies with R2 at p: [], l: gcd(x7:S,x8:S), lp: gcd(x7:S,x8:S), conds: {iadd(x8:S) ->* tp2(x6:S,x7:S)}, sig: {x7:S -> x:S,x8:S -> 0}, l': gcd(x:S,0), r: gcd(x6:S,x7:S), r': x:S 20.032/20.032 R4 unifies with R1 at p: [], l: gcd(x11:S,x10:S), lp: gcd(x11:S,x10:S), conds: {iadd(x11:S) ->* tp2(x9:S,x10:S)}, sig: {x10:S -> x:S,x11:S -> 0}, l': gcd(0,x:S), r: gcd(x9:S,x10:S), r': x:S 20.032/20.032 R4 unifies with R2 at p: [], l: gcd(x11:S,x10:S), lp: gcd(x11:S,x10:S), conds: {iadd(x11:S) ->* tp2(x9:S,x10:S)}, sig: {x10:S -> 0,x11:S -> x:S}, l': gcd(x:S,0), r: gcd(x9:S,x10:S), r': x:S 20.032/20.032 R4 unifies with R3 at p: [], l: gcd(x11:S,x10:S), lp: gcd(x11:S,x10:S), conds: {iadd(x11:S) ->* tp2(x9:S,x10:S), iadd(z:S) ->* tp2(x:S,y:S)}, sig: {x10:S -> z:S,x11:S -> y:S}, l': gcd(y:S,z:S), r: gcd(x9:S,x10:S), r': gcd(x:S,y:S) 20.032/20.032 R7 unifies with R5 at p: [], l: iadd(x15:S), lp: iadd(x15:S), conds: {}, sig: {x15:S -> add(x:S,y:S)}, l': iadd(add(x:S,y:S)), r: tp2(0,x15:S), r': tp2(x:S,y:S) 20.032/20.032 R7 unifies with R6 at p: [], l: iadd(x15:S), lp: iadd(x15:S), conds: {}, sig: {x15:S -> s(z:S)}, l': iadd(s(z:S)), r: tp2(0,x15:S), r': u1(iadd(z:S)) 20.032/20.032 20.032/20.032 -> Critical pairs info: 20.032/20.032 <0,0> => Trivial, Overlay, N1 20.032/20.032 => Not trivial, Overlay, N2 20.032/20.032 | iadd(x:S) ->* tp2(x:S,0) => Not trivial, Overlay, N3 20.032/20.032 | iadd(0) ->* tp2(x:S,x:S) => Not trivial, Overlay, N4 20.032/20.032 => Not trivial, Overlay, N5 20.032/20.032 | iadd(y:S) ->* tp2(x:S,z:S), iadd(z:S) ->* tp2(x:S,y:S) => Not trivial, Overlay, N6 20.032/20.032 20.032/20.032 -> Problem conclusions: 20.032/20.032 Left linear, Right linear, Linear 20.032/20.032 Not weakly orthogonal, Not almost orthogonal, Not orthogonal 20.032/20.032 CTRS Type: 3 20.032/20.032 Deterministic, Strongly deterministic 20.032/20.032 Oriented CTRS, Properly oriented CTRS, Not join CTRS 20.032/20.032 Maybe right-stable CTRS, Overlay CTRS 20.032/20.032 Maybe normal CTRS, Maybe almost normal CTRS 20.032/20.032 Maybe terminating CTRS, Maybe joinable CCPs 20.032/20.032 Maybe level confluent 20.032/20.032 Maybe confluent 20.032/20.032 20.032/20.032 Problem 1: 20.032/20.032 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 20.032/20.032 Confluence Problem: 20.032/20.032 (VAR x:S y:S z:S) 20.032/20.032 (STRATEGY CONTEXTSENSITIVE 20.032/20.032 (gcd 1 2) 20.032/20.032 (iadd 1) 20.032/20.032 (u1 1) 20.032/20.032 (0) 20.032/20.032 (add 1 2) 20.032/20.032 (fSNonEmpty) 20.032/20.032 (s 1) 20.032/20.032 (tp2 1 2) 20.032/20.032 ) 20.032/20.032 (RULES 20.032/20.032 gcd(0,x:S) -> x:S 20.032/20.032 gcd(x:S,0) -> x:S 20.032/20.032 gcd(y:S,z:S) -> gcd(x:S,y:S) | iadd(z:S) ->* tp2(x:S,y:S) 20.032/20.032 gcd(z:S,y:S) -> gcd(x:S,y:S) | iadd(z:S) ->* tp2(x:S,y:S) 20.032/20.032 iadd(add(x:S,y:S)) -> tp2(x:S,y:S) 20.032/20.032 iadd(s(z:S)) -> u1(iadd(z:S)) 20.032/20.032 iadd(y:S) -> tp2(0,y:S) 20.032/20.032 u1(tp2(x:S,y:S)) -> tp2(s(x:S),y:S) 20.032/20.032 ) 20.032/20.032 Critical Pairs: 20.032/20.032 => Not trivial, Overlay, N2 20.032/20.032 | iadd(x:S) ->* tp2(x:S,0) => Not trivial, Overlay, N3 20.032/20.032 | iadd(0) ->* tp2(x:S,x:S) => Not trivial, Overlay, N4 20.032/20.032 => Not trivial, Overlay, N5 20.032/20.032 | iadd(y:S) ->* tp2(x:S,z:S), iadd(z:S) ->* tp2(x:S,y:S) => Not trivial, Overlay, N6 20.032/20.032 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 20.032/20.032 20.032/20.032 Conditional Critical Pairs Distributor Processor 20.032/20.032 20.032/20.032 Problem 1: 20.032/20.032 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 20.032/20.032 Confluence Problem: 20.032/20.032 (VAR x:S y:S z:S) 20.032/20.032 (STRATEGY CONTEXTSENSITIVE 20.032/20.032 (gcd 1 2) 20.032/20.032 (iadd 1) 20.032/20.032 (u1 1) 20.032/20.032 (0) 20.032/20.032 (add 1 2) 20.032/20.032 (fSNonEmpty) 20.032/20.032 (s 1) 20.032/20.032 (tp2 1 2) 20.032/20.032 ) 20.032/20.032 (RULES 20.032/20.032 gcd(0,x:S) -> x:S 20.032/20.032 gcd(x:S,0) -> x:S 20.032/20.032 gcd(y:S,z:S) -> gcd(x:S,y:S) | iadd(z:S) ->* tp2(x:S,y:S) 20.032/20.032 gcd(z:S,y:S) -> gcd(x:S,y:S) | iadd(z:S) ->* tp2(x:S,y:S) 20.032/20.032 iadd(add(x:S,y:S)) -> tp2(x:S,y:S) 20.032/20.032 iadd(s(z:S)) -> u1(iadd(z:S)) 20.032/20.032 iadd(y:S) -> tp2(0,y:S) 20.032/20.032 u1(tp2(x:S,y:S)) -> tp2(s(x:S),y:S) 20.032/20.032 ) 20.032/20.032 Critical Pairs: 20.032/20.032 => Not trivial, Overlay, N2 20.032/20.032 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 20.032/20.032 20.032/20.032 Infeasible Convergence No Conditions CCP Processor: 20.032/20.032 Infeasible convergence? 20.032/20.032 YES 20.032/20.032 20.032/20.032 Problem 1: 20.032/20.032 20.032/20.032 Infeasibility Problem: 20.032/20.032 [(VAR vNonEmpty:S x:S y:S z:S) 20.032/20.032 (STRATEGY CONTEXTSENSITIVE 20.032/20.032 (gcd 1 2) 20.032/20.032 (iadd 1) 20.032/20.032 (u1 1) 20.032/20.032 (0) 20.032/20.032 (add 1 2) 20.032/20.032 (cz) 20.032/20.032 (fSNonEmpty) 20.032/20.032 (s 1) 20.032/20.032 (tp2 1 2) 20.032/20.032 ) 20.032/20.032 (RULES 20.032/20.032 gcd(0,x:S) -> x:S 20.032/20.032 gcd(x:S,0) -> x:S 20.032/20.032 gcd(y:S,z:S) -> gcd(x:S,y:S) | iadd(z:S) ->* tp2(x:S,y:S) 20.032/20.032 gcd(z:S,y:S) -> gcd(x:S,y:S) | iadd(z:S) ->* tp2(x:S,y:S) 20.032/20.032 iadd(add(x:S,y:S)) -> tp2(x:S,y:S) 20.032/20.032 iadd(s(z:S)) -> u1(iadd(z:S)) 20.032/20.032 iadd(y:S) -> tp2(0,y:S) 20.032/20.032 u1(tp2(x:S,y:S)) -> tp2(s(x:S),y:S) 20.032/20.032 )] 20.032/20.032 20.032/20.032 Infeasibility Conditions: 20.032/20.032 u1(iadd(cz)) ->* z:S, tp2(0,s(cz)) ->* z:S 20.032/20.032 20.032/20.032 Problem 1: 20.032/20.032 20.032/20.032 Obtaining a model using Mace4: 20.032/20.032 20.032/20.032 -> Usable Rules: 20.032/20.032 iadd(add(x:S,y:S)) -> tp2(x:S,y:S) 20.032/20.032 iadd(s(z:S)) -> u1(iadd(z:S)) 20.032/20.032 iadd(y:S) -> tp2(0,y:S) 20.032/20.032 u1(tp2(x:S,y:S)) -> tp2(s(x:S),y:S) 20.032/20.032 20.032/20.032 -> Mace4 Output: 20.032/20.032 ============================== Mace4 ================================= 20.032/20.032 Mace4 (64) version 2009-11A, November 2009. 20.032/20.032 Process 102265 was started by ubuntu on ubuntu, 20.032/20.032 Fri Jul 16 14:40:39 2021 20.032/20.032 The command was "./mace4 -c -f /tmp/mace4102252-2.in". 20.032/20.032 ============================== end of head =========================== 20.032/20.032 20.032/20.032 ============================== INPUT ================================= 20.032/20.032 20.032/20.032 % Reading from file /tmp/mace4102252-2.in 20.032/20.032 20.032/20.032 assign(max_seconds,10). 20.032/20.032 20.032/20.032 formulas(assumptions). 20.032/20.032 ->(x1,y) -> ->(gcd(x1,x2),gcd(y,x2)) # label(congruence). 20.032/20.032 ->(x2,y) -> ->(gcd(x1,x2),gcd(x1,y)) # label(congruence). 20.032/20.032 ->(x1,y) -> ->(iadd(x1),iadd(y)) # label(congruence). 20.032/20.032 ->(x1,y) -> ->(u1(x1),u1(y)) # label(congruence). 20.032/20.032 ->(x1,y) -> ->(add(x1,x2),add(y,x2)) # label(congruence). 20.032/20.032 ->(x2,y) -> ->(add(x1,x2),add(x1,y)) # label(congruence). 20.032/20.032 ->(x1,y) -> ->(s(x1),s(y)) # label(congruence). 20.032/20.032 ->(x1,y) -> ->(tp2(x1,x2),tp2(y,x2)) # label(congruence). 20.032/20.032 ->(x2,y) -> ->(tp2(x1,x2),tp2(x1,y)) # label(congruence). 20.032/20.032 ->(iadd(add(x1,x2)),tp2(x1,x2)) # label(replacement). 20.032/20.032 ->(iadd(s(x3)),u1(iadd(x3))) # label(replacement). 20.032/20.032 ->(iadd(x2),tp2(0,x2)) # label(replacement). 20.032/20.032 ->(u1(tp2(x1,x2)),tp2(s(x1),x2)) # label(replacement). 20.032/20.032 ->*(x,x) # label(reflexivity). 20.032/20.032 ->(x,y) & ->*(y,z) -> ->*(x,z) # label(transitivity). 20.032/20.032 end_of_list. 20.032/20.032 20.032/20.032 formulas(goals). 20.032/20.032 (exists x3 (->*(u1(iadd(cz)),x3) & ->*(tp2(0,s(cz)),x3))) # label(goal). 20.032/20.032 end_of_list. 20.032/20.032 20.032/20.032 ============================== end of input ========================== 20.032/20.032 20.032/20.032 ============================== PROCESS NON-CLAUSAL FORMULAS ========== 20.032/20.032 20.032/20.032 % Formulas that are not ordinary clauses: 20.032/20.032 1 ->(x1,y) -> ->(gcd(x1,x2),gcd(y,x2)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 2 ->(x2,y) -> ->(gcd(x1,x2),gcd(x1,y)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 3 ->(x1,y) -> ->(iadd(x1),iadd(y)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 4 ->(x1,y) -> ->(u1(x1),u1(y)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 5 ->(x1,y) -> ->(add(x1,x2),add(y,x2)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 6 ->(x2,y) -> ->(add(x1,x2),add(x1,y)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 7 ->(x1,y) -> ->(s(x1),s(y)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 8 ->(x1,y) -> ->(tp2(x1,x2),tp2(y,x2)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 9 ->(x2,y) -> ->(tp2(x1,x2),tp2(x1,y)) # label(congruence) # label(non_clause). [assumption]. 20.032/20.032 10 ->(x,y) & ->*(y,z) -> ->*(x,z) # label(transitivity) # label(non_clause). [assumption]. 20.032/20.032 11 (exists x3 (->*(u1(iadd(cz)),x3) & ->*(tp2(0,s(cz)),x3))) # label(goal) # label(non_clause) # label(goal). [goal]. 20.032/20.032 20.032/20.032 ============================== end of process non-clausal formulas === 20.032/20.032 20.032/20.032 ============================== CLAUSES FOR SEARCH ==================== 20.032/20.032 20.032/20.032 formulas(mace4_clauses). 20.032/20.032 -->(x,y) | ->(gcd(x,z),gcd(y,z)) # label(congruence). 20.032/20.032 -->(x,y) | ->(gcd(z,x),gcd(z,y)) # label(congruence). 20.032/20.032 -->(x,y) | ->(iadd(x),iadd(y)) # label(congruence). 20.032/20.032 -->(x,y) | ->(u1(x),u1(y)) # label(congruence). 20.032/20.032 -->(x,y) | ->(add(x,z),add(y,z)) # label(congruence). 20.032/20.032 -->(x,y) | ->(add(z,x),add(z,y)) # label(congruence). 20.032/20.032 -->(x,y) | ->(s(x),s(y)) # label(congruence). 20.032/20.032 -->(x,y) | ->(tp2(x,z),tp2(y,z)) # label(congruence). 20.032/20.032 -->(x,y) | ->(tp2(z,x),tp2(z,y)) # label(congruence). 20.032/20.032 ->(iadd(add(x,y)),tp2(x,y)) # label(replacement). 20.032/20.032 ->(iadd(s(x)),u1(iadd(x))) # label(replacement). 20.032/20.032 ->(iadd(x),tp2(0,x)) # label(replacement). 20.032/20.032 ->(u1(tp2(x,y)),tp2(s(x),y)) # label(replacement). 20.032/20.032 ->*(x,x) # label(reflexivity). 20.032/20.032 -->(x,y) | -->*(y,z) | ->*(x,z) # label(transitivity). 20.032/20.032 -->*(u1(iadd(cz)),x) | -->*(tp2(0,s(cz)),x) # label(goal). 20.032/20.032 end_of_list. 20.032/20.032 20.032/20.032 ============================== end of clauses for search ============= 20.032/20.032 20.032/20.032 % There are no natural numbers in the input. 20.032/20.032 20.032/20.032 ============================== DOMAIN SIZE 2 ========================= 20.032/20.032 20.032/20.032 ============================== STATISTICS ============================ 20.032/20.032 20.032/20.032 For domain size 2. 20.032/20.032 20.032/20.032 Current CPU time: 0.00 seconds (total CPU time: 0.01 seconds). 20.032/20.032 Ground clauses: seen=84, kept=80. 20.032/20.032 Selections=738, assignments=1475, propagations=1410, current_models=0. 20.032/20.032 Rewrite_terms=12542, rewrite_bools=11320, indexes=3181. 20.032/20.032 Rules_from_neg_clauses=537, cross_offs=537. 20.032/20.032 20.032/20.032 ============================== end of statistics ===================== 20.032/20.032 20.032/20.032 ============================== DOMAIN SIZE 3 ========================= 20.032/20.032 20.032/20.032 ============================== MODEL ================================= 20.032/20.032 20.032/20.032 interpretation( 3, [number=1, seconds=0], [ 20.032/20.032 20.032/20.032 function(0, [ 0 ]), 20.032/20.032 20.032/20.032 function(cz, [ 0 ]), 20.032/20.032 20.032/20.032 function(iadd(_), [ 0, 2, 2 ]), 20.032/20.032 20.032/20.032 function(u1(_), [ 0, 0, 0 ]), 20.032/20.032 20.032/20.032 function(s(_), [ 1, 1, 1 ]), 20.032/20.032 20.032/20.032 function(tp2(_,_), [ 20.032/20.032 0, 1, 2, 20.032/20.032 0, 0, 0, 20.032/20.032 0, 2, 2 ]), 20.032/20.032 20.032/20.032 function(gcd(_,_), [ 20.032/20.032 0, 0, 0, 20.032/20.032 0, 0, 0, 20.032/20.032 0, 0, 0 ]), 20.032/20.032 20.032/20.032 function(add(_,_), [ 20.032/20.032 0, 1, 2, 20.032/20.032 0, 0, 0, 20.032/20.032 0, 2, 2 ]), 20.032/20.032 20.032/20.032 relation(->*(_,_), [ 20.032/20.032 1, 0, 0, 20.032/20.032 0, 1, 0, 20.032/20.032 1, 1, 1 ]), 20.032/20.032 20.032/20.032 relation(->(_,_), [ 20.032/20.032 1, 0, 0, 20.032/20.032 0, 1, 0, 20.032/20.032 1, 1, 1 ]) 20.032/20.032 ]). 20.032/20.032 20.032/20.032 ============================== end of model ========================== 20.032/20.032 20.032/20.032 ============================== STATISTICS ============================ 20.032/20.032 20.032/20.032 For domain size 3. 20.032/20.032 20.032/20.032 Current CPU time: 0.00 seconds (total CPU time: 0.01 seconds). 20.032/20.032 Ground clauses: seen=246, kept=237. 20.032/20.032 Selections=29, assignments=35, propagations=33, current_models=1. 20.032/20.032 Rewrite_terms=531, rewrite_bools=411, indexes=58. 20.032/20.032 Rules_from_neg_clauses=12, cross_offs=36. 20.032/20.032 20.032/20.032 ============================== end of statistics ===================== 20.032/20.032 20.032/20.032 User_CPU=0.01, System_CPU=0.00, Wall_clock=0. 20.032/20.032 20.032/20.032 Exiting with 1 model. 20.032/20.032 20.032/20.032 Process 102265 exit (max_models) Fri Jul 16 14:40:39 2021 20.032/20.032 The process finished Fri Jul 16 14:40:39 2021 20.032/20.032 20.032/20.032 20.032/20.032 Mace4 cooked interpretation: 20.032/20.032 20.032/20.032 20.032/20.032 20.032/20.032 The problem is infeasible. 20.032/20.032 20.032/20.032 20.032/20.032 The problem is not joinable. 20.032/20.032 20.10user 0.58system 0:20.32elapsed 101%CPU (0avgtext+0avgdata 116484maxresident)k 20.032/20.032 8inputs+0outputs (0major+48801minor)pagefaults 0swaps