%------------------------------------------------------------------------------ % File : CSE---1.7 % Problem : PUZ035-2 : TPTP v8.2.0. Released v2.0.0. % Transfm : none % Format : tptp:raw % Command : java -jar /export/starexec/sandbox2/solver/bin/mcs_scs.jar %d %s % Computer : n022.cluster.edu % Model : x86_64 x86_64 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz % Memory : 8042.1875MB % OS : Linux 3.10.0-693.el7.x86_64 % CPULimit : 300s % WCLimit : 300s % DateTime : Mon Jun 24 13:42:10 EDT 2024 % Result : Unsatisfiable 0.59s 0.71s % Output : CNFRefutation 0.59s % Verified : % SZS Type : - % Comments : %------------------------------------------------------------------------------ %----WARNING: Could not form TPTP format derivation %------------------------------------------------------------------------------ %----ORIGINAL SYSTEM OUTPUT % 0.07/0.12 % Problem : PUZ035-2 : TPTP v8.2.0. Released v2.0.0. % 0.07/0.12 % Command : java -jar /export/starexec/sandbox2/solver/bin/mcs_scs.jar %d %s % 0.12/0.33 % Computer : n022.cluster.edu % 0.12/0.33 % Model : x86_64 x86_64 % 0.12/0.33 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz % 0.12/0.33 % Memory : 8042.1875MB % 0.12/0.33 % OS : Linux 3.10.0-693.el7.x86_64 % 0.12/0.33 % CPULimit : 300 % 0.12/0.33 % WCLimit : 300 % 0.12/0.33 % DateTime : Tue Jun 18 10:49:24 EDT 2024 % 0.12/0.33 % CPUTime : % 0.20/0.57 start to proof:theBenchmark % 0.59/0.70 %------------------------------------------- % 0.59/0.70 % File :CSE---1.7 % 0.59/0.70 % Problem :theBenchmark % 0.59/0.70 % Transform :cnf % 0.59/0.70 % Format :tptp:raw % 0.59/0.70 % Command :java -jar mcs_scs.jar %d %s % 0.59/0.70 % 0.59/0.70 % Result :Theorem 0.090000s % 0.59/0.70 % Output :CNFRefutation 0.090000s % 0.59/0.70 %------------------------------------------- % 0.59/0.70 %-------------------------------------------------------------------------- % 0.59/0.70 % File : PUZ035-2 : TPTP v8.2.0. Released v2.0.0. % 0.59/0.70 % Domain : Puzzles % 0.59/0.70 % Problem : Knights and Knaves #36 % 0.59/0.70 % Version : [Sto95] axioms : Augmented. % 0.59/0.70 % English : On an island, there live exactly two types of people: knights % 0.59/0.70 % and knaves. Knights always tell the truth and knaves always % 0.59/0.70 % lie. I landed on the island, met two inhabitants, asked one of % 0.59/0.70 % them: "Is one of you a knight?" and he answered me. What can % 0.59/0.70 % be said about the types of the asked and the other person % 0.59/0.70 % depending on the answer I get? % 0.59/0.70 % 0.59/0.70 % Refs : [Smu78] Smullyan (1978), What is the Name of This Book? The Ri % 0.59/0.70 % : [Sto95] Stolzenburg (1995), Email to Geoff Sutcliffe. % 0.59/0.70 % : [BFS97] Baumgartner et al. (1997), Computing Answers with Mode % 0.59/0.70 % Source : [Sto95] % 0.59/0.70 % Names : % 0.59/0.70 % 0.59/0.70 % Status : Unsatisfiable % 0.59/0.70 % Rating : 0.00 v2.1.0 % 0.59/0.70 % Syntax : Number of clauses : 16 ( 2 unt; 6 nHn; 16 RR) % 0.59/0.70 % Number of literals : 42 ( 0 equ; 24 neg) % 0.59/0.70 % Maximal clause size : 4 ( 2 avg) % 0.59/0.70 % Maximal term depth : 1 ( 1 avg) % 0.59/0.70 % Number of predicates : 5 ( 5 usr; 0 prp; 1-2 aty) % 0.59/0.70 % Number of functors : 6 ( 6 usr; 6 con; 0-0 aty) % 0.59/0.70 % Number of variables : 12 ( 6 sgn) % 0.59/0.70 % SPC : CNF_UNS_EPR_NEQ_NHN % 0.59/0.70 % 0.59/0.70 % Comments : Contains one redundant clause. The query allows for % 0.59/0.70 % disjunctive answer A/X/Y = no/knave/knight;yes/knave/knave; % 0.59/0.70 % yes/knight/knave;yes/knight/knight % 0.59/0.70 %-------------------------------------------------------------------------- % 0.59/0.70 %----Everyone's either a knight or a knave % 0.59/0.70 cnf(everyone_a_knight_or_knave,axiom, % 0.59/0.70 ( ~ person(X) % 0.59/0.70 | isa(X,knight) % 0.59/0.70 | isa(X,knave) ) ). % 0.59/0.70 % 0.59/0.70 cnf(not_both_a_knight_and_knave,axiom, % 0.59/0.70 ( ~ isa(X,knight) % 0.59/0.70 | ~ isa(X,knave) ) ). % 0.59/0.70 % 0.59/0.70 cnf(knights_make_true_statements,axiom, % 0.59/0.70 ( ~ isa(X,knight) % 0.59/0.70 | tell_the_truth(X) ) ). % 0.59/0.70 % 0.59/0.70 cnf(knaves_make_false_statements,axiom, % 0.59/0.70 ( ~ isa(X,knave) % 0.59/0.70 | lies(X) ) ). % 0.59/0.70 % 0.59/0.70 cnf(statements_are_true_or_false,axiom, % 0.59/0.70 ( ~ tell_the_truth(X) % 0.59/0.70 | ~ lies(X) ) ). % 0.59/0.70 % 0.59/0.70 %----This is redundant % 0.59/0.70 cnf(statements_are_true_or_false2,axiom, % 0.59/0.70 ( ~ person(X) % 0.59/0.70 | tell_the_truth(X) % 0.59/0.70 | lies(X) ) ). % 0.59/0.70 % 0.59/0.70 %----Possible answer scenarios % 0.59/0.70 cnf(true_one_is_a_knight,axiom, % 0.59/0.70 ( isa(asked,knight) % 0.59/0.70 | isa(other,knight) % 0.59/0.70 | ~ response(yes) % 0.59/0.71 | ~ tell_the_truth(asked) ) ). % 0.59/0.71 % 0.59/0.71 cnf(lie_one_is_a_knight,axiom, % 0.59/0.71 ( isa(asked,knight) % 0.59/0.71 | isa(other,knight) % 0.59/0.71 | ~ response(no) % 0.59/0.71 | ~ lies(asked) ) ). % 0.59/0.71 % 0.59/0.71 cnf(knight_answers1,axiom, % 0.59/0.71 ( ~ response(yes) % 0.59/0.71 | ~ lies(asked) % 0.59/0.71 | ~ isa(Anyone,knight) ) ). % 0.59/0.71 % 0.59/0.71 cnf(knight_answers2,axiom, % 0.59/0.71 ( ~ response(no) % 0.59/0.71 | ~ tell_the_truth(asked) % 0.59/0.71 | ~ isa(Anyone,knight) ) ). % 0.59/0.71 % 0.59/0.71 cnf(knight_answers3,axiom, % 0.59/0.71 ( response(yes) % 0.59/0.71 | ~ tell_the_truth(asked) % 0.59/0.71 | ~ isa(Anyone,knight) ) ). % 0.59/0.71 % 0.59/0.71 cnf(truthful_answer,axiom, % 0.59/0.71 ( response(no) % 0.59/0.71 | isa(asked,knight) % 0.59/0.71 | isa(other,knight) % 0.59/0.71 | ~ tell_the_truth(asked) ) ). % 0.59/0.71 % 0.59/0.71 cnf(two_answers,axiom, % 0.59/0.71 ( response(yes) % 0.59/0.71 | response(no) ) ). % 0.59/0.71 % 0.59/0.71 %----Two people % 0.59/0.71 cnf(asked_person,axiom, % 0.59/0.71 person(asked) ). % 0.59/0.71 % 0.59/0.71 cnf(other_person,axiom, % 0.59/0.71 person(other) ). % 0.59/0.71 % 0.59/0.71 cnf(prove_answer,negated_conjecture, % 0.59/0.71 ( ~ response(A) % 0.59/0.71 | ~ isa(asked,X) % 0.59/0.71 | ~ isa(other,Y) ) ). % 0.59/0.71 % 0.59/0.71 %-------------------------------------------------------------------------- % 0.59/0.71 % 0.59/0.71 %------------------------------------------- % 0.59/0.71 % Proof found % 0.59/0.71 % SZS status Theorem for theBenchmark % 0.59/0.71 % SZS output start Proof % 0.59/0.71 %ClaNum:16(EqnAxiom:0) % 0.59/0.71 %VarNum:20(SingletonVarNum:12) % 0.59/0.71 %MaxLitNum:4 % 0.59/0.71 %MaxfuncDepth:0 % 0.59/0.71 %SharedTerms:16 % 0.59/0.71 %goalClause: 16 % 0.59/0.71 [1]P1(a1) % 0.59/0.71 [2]P1(a2) % 0.59/0.71 [3]P4(a6)+P4(a3) % 0.59/0.71 [4]~P2(x41)+~P5(x41) % 0.59/0.71 [6]P5(x61)+~P3(x61,a4) % 0.59/0.71 [7]P2(x71)+~P3(x71,a5) % 0.59/0.71 [15]~P3(x151,a5)+~P3(x151,a4) % 0.59/0.71 [5]P2(x51)+~P1(x51)+P5(x51) % 0.59/0.71 [8]~P3(x81,a4)+P4(a6)+~P5(a1) % 0.59/0.71 [9]~P3(x91,a4)+~P5(a1)+~P4(a3) % 0.59/0.71 [10]~P3(x101,a4)+~P2(a1)+~P4(a6) % 0.59/0.71 [14]~P1(x141)+P3(x141,a5)+P3(x141,a4) % 0.59/0.71 [16]~P4(x161)+~P3(a1,x162)+~P3(a2,x163) % 0.59/0.71 [11]P4(a3)+P3(a1,a4)+P3(a2,a4)+~P5(a1) % 0.59/0.71 [12]P3(a1,a4)+P3(a2,a4)+~P5(a1)+~P4(a6) % 0.59/0.71 [13]P3(a1,a4)+P3(a2,a4)+~P2(a1)+~P4(a3) % 0.59/0.71 %EqnAxiom % 0.59/0.71 % 0.59/0.71 %------------------------------------------- % 0.59/0.71 cnf(17,plain, % 0.59/0.71 (P5(a1)+P2(a1)), % 0.59/0.71 inference(scs_inference,[],[1,5])). % 0.59/0.71 cnf(27,plain, % 0.59/0.71 (~P3(x271,a4)+P4(a3)+~P2(a1)), % 0.59/0.71 inference(scs_inference,[],[3,10])). % 0.59/0.71 cnf(28,plain, % 0.59/0.71 (~P3(x281,a4)+P2(a1)+P4(a6)), % 0.59/0.71 inference(scs_inference,[],[17,8])). % 0.59/0.71 cnf(30,plain, % 0.59/0.71 (~P2(x301)+~P3(x301,a4)), % 0.59/0.71 inference(scs_inference,[],[6,4])). % 0.59/0.71 cnf(31,plain, % 0.59/0.71 (~P5(x311)+~P3(x311,a5)), % 0.59/0.71 inference(scs_inference,[],[7,4])). % 0.59/0.71 cnf(32,plain, % 0.59/0.71 (~P3(a1,a4)+~P3(x321,a4)+P4(a6)), % 0.59/0.71 inference(scs_inference,[],[30,28])). % 0.59/0.71 cnf(33,plain, % 0.59/0.71 (~P3(a1,a4)+P4(a6)), % 0.59/0.71 inference(factoring_inference,[],[32])). % 0.59/0.71 cnf(34,plain, % 0.59/0.71 (~P5(a1)+P3(a1,a4)), % 0.59/0.71 inference(scs_inference,[],[1,31,14])). % 0.59/0.71 cnf(35,plain, % 0.59/0.71 (P3(a1,a5)+P4(a6)), % 0.59/0.71 inference(scs_inference,[],[1,33,14])). % 0.59/0.71 cnf(37,plain, % 0.59/0.71 (P2(a1)+P4(a6)), % 0.59/0.71 inference(scs_inference,[],[35,7])). % 0.59/0.71 cnf(38,plain, % 0.59/0.71 (~P5(a1)+P4(a6)), % 0.59/0.71 inference(scs_inference,[],[37,4])). % 0.59/0.71 cnf(39,plain, % 0.59/0.71 (~P3(a1,x391)+~P3(a2,x392)+~P5(a1)), % 0.59/0.71 inference(scs_inference,[],[38,16])). % 0.59/0.71 cnf(41,plain, % 0.59/0.71 (P3(a2,a5)+P4(a3)+~P2(a1)), % 0.59/0.71 inference(scs_inference,[],[2,27,14])). % 0.59/0.71 cnf(42,plain, % 0.59/0.71 (P2(a2)+P4(a3)+~P2(a1)), % 0.59/0.71 inference(scs_inference,[],[41,7])). % 0.59/0.71 cnf(43,plain, % 0.59/0.71 (~P5(a2)+P4(a3)+~P2(a1)), % 0.59/0.71 inference(scs_inference,[],[42,4])). % 0.59/0.71 cnf(44,plain, % 0.59/0.71 (~P5(a2)+P4(a3)+P5(a1)), % 0.59/0.71 inference(scs_inference,[],[43,17])). % 0.59/0.71 cnf(48,plain, % 0.59/0.71 (~P3(a2,x481)+~P5(a1)), % 0.59/0.71 inference(scs_inference,[],[39,34])). % 0.59/0.71 cnf(49,plain, % 0.59/0.71 (P3(a2,a4)+~P5(a1)), % 0.59/0.71 inference(scs_inference,[],[2,48,14])). % 0.59/0.71 cnf(50,plain, % 0.59/0.71 (P5(a2)+~P5(a1)), % 0.59/0.71 inference(scs_inference,[],[49,6])). % 0.59/0.71 cnf(51,plain, % 0.59/0.71 (~P2(a2)+~P5(a1)), % 0.59/0.71 inference(scs_inference,[],[50,4])). % 0.59/0.71 cnf(52,plain, % 0.59/0.71 (~P2(a2)+P2(a1)), % 0.59/0.71 inference(scs_inference,[],[51,17])). % 0.59/0.71 cnf(53,plain, % 0.59/0.71 (~P3(a2,a5)+P2(a1)), % 0.59/0.71 inference(scs_inference,[],[52,7])). % 0.59/0.71 cnf(54,plain, % 0.59/0.71 (P3(a2,a4)+P2(a1)), % 0.59/0.71 inference(scs_inference,[],[2,53,14])). % 0.59/0.71 cnf(55,plain, % 0.59/0.71 (P5(a2)+P2(a1)), % 0.59/0.71 inference(scs_inference,[],[54,6])). % 0.59/0.71 cnf(56,plain, % 0.59/0.71 (~P3(a1,a4)+P5(a2)), % 0.59/0.71 inference(scs_inference,[],[55,30])). % 0.59/0.71 cnf(57,plain, % 0.59/0.71 (P3(a1,a5)+P5(a2)), % 0.59/0.71 inference(scs_inference,[],[1,56,14])). % 0.59/0.71 cnf(58,plain, % 0.59/0.71 (~P4(x581)+~P3(a2,x582)+P5(a2)), % 0.59/0.71 inference(scs_inference,[],[57,16])). % 0.59/0.71 cnf(59,plain, % 0.59/0.71 (~P3(a2,x591)+P5(a2)+P4(a3)), % 0.59/0.71 inference(scs_inference,[],[58,3])). % 0.59/0.71 cnf(60,plain, % 0.59/0.71 (P3(a2,a4)+P5(a2)+P4(a3)), % 0.59/0.71 inference(scs_inference,[],[2,59,14])). % 0.59/0.71 cnf(61,plain, % 0.59/0.71 (P5(a2)+P4(a3)+~P2(a1)), % 0.59/0.71 inference(scs_inference,[],[60,27])). % 0.59/0.71 cnf(62,plain, % 0.59/0.71 (~P3(a2,a5)+P4(a3)+~P2(a1)), % 0.59/0.71 inference(scs_inference,[],[61,31])). % 0.59/0.71 cnf(63,plain, % 0.59/0.71 (P3(a2,a4)+P4(a3)+~P2(a1)), % 0.59/0.71 inference(scs_inference,[],[2,62,14])). % 0.59/0.71 cnf(64,plain, % 0.59/0.71 (P4(a3)+~P2(a1)+~P4(a6)), % 0.59/0.71 inference(scs_inference,[],[63,10])). % 0.59/0.71 cnf(65,plain, % 0.59/0.71 (~P3(a1,a5)+P4(a3)+~P4(a6)), % 0.59/0.71 inference(scs_inference,[],[64,7])). % 0.59/0.71 cnf(66,plain, % 0.59/0.71 (P4(a3)+~P4(a6)+P5(a2)), % 0.59/0.71 inference(scs_inference,[],[65,57])). % 0.59/0.71 cnf(67,plain, % 0.59/0.71 (P5(a2)+P4(a3)), % 0.59/0.71 inference(scs_inference,[],[66,3])). % 0.59/0.71 cnf(68,plain, % 0.59/0.71 (~P2(a2)+P4(a3)), % 0.59/0.71 inference(scs_inference,[],[67,4])). % 0.59/0.71 cnf(69,plain, % 0.59/0.71 (~P3(a2,a5)+P4(a3)), % 0.59/0.71 inference(scs_inference,[],[68,7])). % 0.59/0.71 cnf(70,plain, % 0.59/0.71 (P3(a2,a4)+P4(a3)), % 0.59/0.71 inference(scs_inference,[],[2,69,14])). % 0.59/0.71 cnf(71,plain, % 0.59/0.71 (P4(a3)+~P5(a1)), % 0.59/0.71 inference(scs_inference,[],[70,48])). % 0.59/0.71 cnf(72,plain, % 0.59/0.71 (~P3(x721,a4)+~P5(a1)), % 0.59/0.71 inference(scs_inference,[],[71,9])). % 0.59/0.71 cnf(73,plain, % 0.59/0.71 (~P5(a1)), % 0.59/0.71 inference(scs_inference,[],[72,34])). % 0.59/0.71 cnf(74,plain, % 0.59/0.71 (P2(a1)), % 0.59/0.71 inference(scs_inference,[],[73,17])). % 0.59/0.71 cnf(75,plain, % 0.59/0.71 (~P5(a2)+P4(a3)), % 0.59/0.71 inference(scs_inference,[],[73,44])). % 0.59/0.71 cnf(79,plain, % 0.59/0.71 (~P3(x791,a4)+~P4(a6)), % 0.59/0.71 inference(scs_inference,[],[74,10])). % 0.59/0.71 cnf(80,plain, % 0.59/0.71 (P3(a2,a4)+P3(a1,a4)+~P4(a3)), % 0.59/0.71 inference(scs_inference,[],[74,13])). % 0.59/0.71 cnf(87,plain, % 0.59/0.71 (P4(a3)), % 0.59/0.71 inference(scs_inference,[],[75,67])). % 0.59/0.71 cnf(88,plain, % 0.59/0.71 (~P3(a1,x881)+~P3(a2,x882)), % 0.59/0.71 inference(scs_inference,[],[87,16])). % 0.59/0.71 cnf(95,plain, % 0.59/0.71 (P3(a2,a4)), % 0.59/0.71 inference(scs_inference,[],[2,87,73,74,80,88,6,30,15,14])). % 0.59/0.71 cnf(98,plain, % 0.59/0.71 (~P4(a6)), % 0.59/0.71 inference(scs_inference,[],[95,79])). % 0.59/0.71 cnf(101,plain, % 0.59/0.71 (P3(a1,a5)), % 0.59/0.71 inference(scs_inference,[],[98,35])). % 0.59/0.71 cnf(103,plain, % 0.59/0.71 (~P3(a1,x1031)), % 0.59/0.71 inference(scs_inference,[],[95,88])). % 0.59/0.71 cnf(109,plain, % 0.59/0.71 ($false), % 0.59/0.71 inference(scs_inference,[],[103,101]), % 0.59/0.72 ['proof']). % 0.59/0.72 % SZS output end Proof % 0.59/0.72 % Total time :0.090000s %------------------------------------------------------------------------------