YES Problem 1: Infeasibility Problem: [(VAR vNonEmpty x vNonEmpty x1) (STRATEGY CONTEXTSENSITIVE (e 1) (0) (fSNonEmpty) (false) (s 1) (true) ) (RULES e(0) -> true e(s(x)) -> false | e(x) ->* true e(s(x)) -> true | e(x) ->* false ) ] Infeasibility Conditions: e(x1) ->* false, e(x1) ->* true Problem 1: Obtaining a model using Mace4: -> Usable Rules: e(0) -> true e(s(x)) -> false | e(x) ->* true e(s(x)) -> true | e(x) ->* false -> Mace4 Output: ============================== Mace4 ================================= Mace4 (64) version 2009-11A, November 2009. Process 3161313 was started by sandbox on z018.star.cs.uiowa.edu, Tue Jul 30 08:24:25 2024 The command was "./mace4 -c -f /tmp/mace43161300-2.in". ============================== end of head =========================== ============================== INPUT ================================= % Reading from file /tmp/mace43161300-2.in assign(max_seconds,100). formulas(assumptions). ->(x1,y) -> ->(e(x1),e(y)) # label(congruence). ->(x1,y) -> ->(s(x1),s(y)) # label(congruence). ->(e(0),true) # label(replacement). ->*(e(x1),true) -> ->(e(s(x1)),false) # label(replacement). ->*(e(x1),false) -> ->(e(s(x1)),true) # label(replacement). ->*(x,x) # label(reflexivity). ->(x,y) & ->*(y,z) -> ->*(x,z) # label(transitivity). end_of_list. formulas(goals). (exists x3 (->*(e(x3),false) & ->*(e(x3),true))) # label(goal). end_of_list. ============================== end of input ========================== ============================== PROCESS NON-CLAUSAL FORMULAS ========== % Formulas that are not ordinary clauses: 1 ->(x1,y) -> ->(e(x1),e(y)) # label(congruence) # label(non_clause). [assumption]. 2 ->(x1,y) -> ->(s(x1),s(y)) # label(congruence) # label(non_clause). [assumption]. 3 ->*(e(x1),true) -> ->(e(s(x1)),false) # label(replacement) # label(non_clause). [assumption]. 4 ->*(e(x1),false) -> ->(e(s(x1)),true) # label(replacement) # label(non_clause). [assumption]. 5 ->(x,y) & ->*(y,z) -> ->*(x,z) # label(transitivity) # label(non_clause). [assumption]. 6 (exists x3 (->*(e(x3),false) & ->*(e(x3),true))) # label(goal) # label(non_clause) # label(goal). [goal]. ============================== end of process non-clausal formulas === ============================== CLAUSES FOR SEARCH ==================== formulas(mace4_clauses). -->(x,y) | ->(e(x),e(y)) # label(congruence). -->(x,y) | ->(s(x),s(y)) # label(congruence). ->(e(0),true) # label(replacement). -->*(e(x),true) | ->(e(s(x)),false) # label(replacement). -->*(e(x),false) | ->(e(s(x)),true) # label(replacement). ->*(x,x) # label(reflexivity). -->(x,y) | -->*(y,z) | ->*(x,z) # label(transitivity). -->*(e(x),false) | -->*(e(x),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(0, [ 0 ]), function(false, [ 0 ]), function(true, [ 1 ]), function(e(_), [ 1, 0 ]), function(s(_), [ 1, 0 ]), relation(->*(_,_), [ 1, 0, 0, 1 ]), relation(->(_,_), [ 1, 0, 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=25, kept=21. Selections=7, assignments=11, propagations=14, current_models=1. Rewrite_terms=79, rewrite_bools=46, indexes=19. Rules_from_neg_clauses=1, cross_offs=1. ============================== end of statistics ===================== User_CPU=0.01, System_CPU=0.00, Wall_clock=0. Exiting with 1 model. Process 3161313 exit (max_models) Tue Jul 30 08:24:25 2024 The process finished Tue Jul 30 08:24:25 2024 Mace4 cooked interpretation: % number = 1 % seconds = 0 % Interpretation of size 2 0 = 0. false = 0. true = 1. e(0) = 1. e(1) = 0. s(0) = 1. s(1) = 0. ->*(0,0). - ->*(0,1). - ->*(1,0). ->*(1,1). ->(0,0). - ->(0,1). - ->(1,0). ->(1,1). The problem is infeasible.