YES Problem 1: Infeasibility Problem: [(VAR vNonEmpty x y l vNonEmpty x1) (STRATEGY CONTEXTSENSITIVE (le 1 2) (min 1) (0) (cons 1 2) (fSNonEmpty) (false) (nil) (s 1) (true) ) (RULES le(0,s(x)) -> true le(s(x),s(y)) -> le(x,y) le(x,0) -> false min(cons(x,nil)) -> x min(cons(x,l)) -> min(l) | le(x,min(l)) ->* false min(cons(x,l)) -> min(l) | min(l) ->* x min(cons(x,l)) -> x | le(x,min(l)) ->* true ) ] Infeasibility Conditions: le(x1,min(nil)) ->* true Problem 1: Obtaining a model using Mace4: -> Usable Rules: le(0,s(x)) -> true le(s(x),s(y)) -> le(x,y) le(x,0) -> false min(cons(x,nil)) -> x min(cons(x,l)) -> min(l) | le(x,min(l)) ->* false min(cons(x,l)) -> min(l) | min(l) ->* x min(cons(x,l)) -> x | le(x,min(l)) ->* true -> Mace4 Output: ============================== Mace4 ================================= Mace4 (64) version 2009-11A, November 2009. Process 3427706 was started by sandbox2 on z016.star.cs.uiowa.edu, Tue Jul 30 09:54:40 2024 The command was "./mace4 -c -f /tmp/mace43427692-2.in". ============================== end of head =========================== ============================== INPUT ================================= % Reading from file /tmp/mace43427692-2.in assign(max_seconds,100). formulas(assumptions). ->(x1,y) -> ->(le(x1,x2),le(y,x2)) # label(congruence). ->(x2,y) -> ->(le(x1,x2),le(x1,y)) # label(congruence). ->(x1,y) -> ->(min(x1),min(y)) # label(congruence). ->(x1,y) -> ->(cons(x1,x2),cons(y,x2)) # label(congruence). ->(x2,y) -> ->(cons(x1,x2),cons(x1,y)) # label(congruence). ->(x1,y) -> ->(s(x1),s(y)) # label(congruence). ->(le(0,s(x1)),true) # label(replacement). ->(le(s(x1),s(x2)),le(x1,x2)) # label(replacement). ->(le(x1,0),false) # label(replacement). ->(min(cons(x1,nil)),x1) # label(replacement). ->*(le(x1,min(x3)),false) -> ->(min(cons(x1,x3)),min(x3)) # label(replacement). ->*(min(x3),x1) -> ->(min(cons(x1,x3)),min(x3)) # label(replacement). ->*(le(x1,min(x3)),true) -> ->(min(cons(x1,x3)),x1) # label(replacement). ->*(x,x) # label(reflexivity). ->(x,y) & ->*(y,z) -> ->*(x,z) # label(transitivity). end_of_list. formulas(goals). (exists x5 ->*(le(x5,min(nil)),true)) # label(goal). end_of_list. ============================== end of input ========================== ============================== PROCESS NON-CLAUSAL FORMULAS ========== % Formulas that are not ordinary clauses: 1 ->(x1,y) -> ->(le(x1,x2),le(y,x2)) # label(congruence) # label(non_clause). [assumption]. 2 ->(x2,y) -> ->(le(x1,x2),le(x1,y)) # label(congruence) # label(non_clause). [assumption]. 3 ->(x1,y) -> ->(min(x1),min(y)) # label(congruence) # label(non_clause). [assumption]. 4 ->(x1,y) -> ->(cons(x1,x2),cons(y,x2)) # label(congruence) # label(non_clause). [assumption]. 5 ->(x2,y) -> ->(cons(x1,x2),cons(x1,y)) # label(congruence) # label(non_clause). [assumption]. 6 ->(x1,y) -> ->(s(x1),s(y)) # label(congruence) # label(non_clause). [assumption]. 7 ->*(le(x1,min(x3)),false) -> ->(min(cons(x1,x3)),min(x3)) # label(replacement) # label(non_clause). [assumption]. 8 ->*(min(x3),x1) -> ->(min(cons(x1,x3)),min(x3)) # label(replacement) # label(non_clause). [assumption]. 9 ->*(le(x1,min(x3)),true) -> ->(min(cons(x1,x3)),x1) # label(replacement) # label(non_clause). [assumption]. 10 ->(x,y) & ->*(y,z) -> ->*(x,z) # label(transitivity) # label(non_clause). [assumption]. 11 (exists x5 ->*(le(x5,min(nil)),true)) # label(goal) # label(non_clause) # label(goal). [goal]. ============================== end of process non-clausal formulas === ============================== CLAUSES FOR SEARCH ==================== formulas(mace4_clauses). -->(x,y) | ->(le(x,z),le(y,z)) # label(congruence). -->(x,y) | ->(le(z,x),le(z,y)) # label(congruence). -->(x,y) | ->(min(x),min(y)) # label(congruence). -->(x,y) | ->(cons(x,z),cons(y,z)) # label(congruence). -->(x,y) | ->(cons(z,x),cons(z,y)) # label(congruence). -->(x,y) | ->(s(x),s(y)) # label(congruence). ->(le(0,s(x)),true) # label(replacement). ->(le(s(x),s(y)),le(x,y)) # label(replacement). ->(le(x,0),false) # label(replacement). ->(min(cons(x,nil)),x) # label(replacement). -->*(le(x,min(y)),false) | ->(min(cons(x,y)),min(y)) # label(replacement). -->*(min(x),y) | ->(min(cons(y,x)),min(x)) # label(replacement). -->*(le(x,min(y)),true) | ->(min(cons(x,y)),x) # label(replacement). ->*(x,x) # label(reflexivity). -->(x,y) | -->*(y,z) | ->*(x,z) # label(transitivity). -->*(le(x,min(nil)),true) # label(goal). end_of_list. ============================== end of clauses for search ============= % There are no natural numbers in the input. ============================== DOMAIN SIZE 2 ========================= ============================== MODEL ================================= interpretation( 2, [number=1, seconds=0], [ function(true, [ 0 ]), function(0, [ 0 ]), function(false, [ 0 ]), function(nil, [ 1 ]), function(min(_), [ 0, 1 ]), function(s(_), [ 0, 0 ]), function(le(_,_), [ 0, 1, 0, 1 ]), function(cons(_,_), [ 0, 0, 0, 0 ]), relation(->*(_,_), [ 1, 1, 0, 1 ]), relation(->(_,_), [ 1, 1, 0, 1 ]) ]). ============================== end of model ========================== ============================== STATISTICS ============================ For domain size 2. Current CPU time: 0.00 seconds (total CPU time: 0.01 seconds). Ground clauses: seen=74, kept=70. Selections=18, assignments=24, propagations=23, current_models=1. Rewrite_terms=343, rewrite_bools=187, indexes=79. Rules_from_neg_clauses=8, cross_offs=8. ============================== end of statistics ===================== User_CPU=0.01, System_CPU=0.00, Wall_clock=0. Exiting with 1 model. Process 3427706 exit (max_models) Tue Jul 30 09:54:40 2024 The process finished Tue Jul 30 09:54:40 2024 Mace4 cooked interpretation: % number = 1 % seconds = 0 % Interpretation of size 2 true = 0. 0 = 0. false = 0. nil = 1. min(0) = 0. min(1) = 1. s(0) = 0. s(1) = 0. le(0,0) = 0. le(0,1) = 1. le(1,0) = 0. le(1,1) = 1. cons(0,0) = 0. cons(0,1) = 0. cons(1,0) = 0. cons(1,1) = 0. ->*(0,0). ->*(0,1). - ->*(1,0). ->*(1,1). ->(0,0). ->(0,1). - ->(1,0). ->(1,1). The problem is infeasible.