TSTP Solution File: PUZ027-1 by PyRes---1.3

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : PyRes---1.3
% Problem  : PUZ027-1 : TPTP v8.1.0. Released v1.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s

% Computer : n026.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  : 600s
% DateTime : Mon Jul 18 18:24:11 EDT 2022

% Result   : Unsatisfiable 0.54s 0.74s
% Output   : Refutation 0.54s
% Verified : 
% SZS Type : ERROR: Analysing output (Could not find formula named input)

% Comments : 
%------------------------------------------------------------------------------
cnf(prove_there_is_an_answer,negated_conjecture,
    ~ answer(X2),
    input ).

cnf(a_normal_b_truthteller,plain,
    ( ~ a_truth(normal(a))
    | ~ a_truth(truthteller(b))
    | answer(a_normal_b_truthteller) ),
    input ).

cnf(a_and_b_normal,plain,
    ( ~ a_truth(normal(a))
    | ~ a_truth(normal(b))
    | answer(a_and_b_normal) ),
    input ).

cnf(person_is_one_type,axiom,
    ( a_truth(truthteller(X7))
    | a_truth(liar(X7))
    | a_truth(normal(X7)) ),
    input ).

cnf(b_says_a_not_lower_than_b,plain,
    a_truth(says(b,not_lower(a,b))),
    input ).

cnf(liars_lie,axiom,
    ( ~ a_truth(liar(X24))
    | ~ a_truth(says(X24,X25))
    | ~ a_truth(X25) ),
    input ).

cnf(c11,plain,
    ( ~ a_truth(liar(b))
    | ~ a_truth(not_lower(a,b)) ),
    inference(resolution,status(thm),[liars_lie,b_says_a_not_lower_than_b]) ).

cnf(no_one_lower_than_liars,axiom,
    ( ~ a_truth(lower(X10,X11))
    | ~ a_truth(liar(X11)) ),
    input ).

cnf(not_lower_or_lower,axiom,
    ( a_truth(not_lower(X14,X15))
    | a_truth(lower(X14,X15)) ),
    input ).

cnf(c4,plain,
    ( a_truth(not_lower(X20,X21))
    | ~ a_truth(liar(X21)) ),
    inference(resolution,status(thm),[not_lower_or_lower,no_one_lower_than_liars]) ).

cnf(c7,plain,
    ( a_truth(not_lower(X46,X45))
    | a_truth(truthteller(X45))
    | a_truth(normal(X45)) ),
    inference(resolution,status(thm),[c4,person_is_one_type]) ).

cnf(c51,plain,
    ( a_truth(truthteller(b))
    | a_truth(normal(b))
    | ~ a_truth(liar(b)) ),
    inference(resolution,status(thm),[c7,c11]) ).

cnf(c97,plain,
    ( a_truth(truthteller(b))
    | a_truth(normal(b)) ),
    inference(resolution,status(thm),[c51,person_is_one_type]) ).

cnf(c108,plain,
    ( a_truth(truthteller(b))
    | ~ a_truth(normal(a))
    | answer(a_and_b_normal) ),
    inference(resolution,status(thm),[c97,a_and_b_normal]) ).

cnf(a_liar_b_normal,plain,
    ( ~ a_truth(liar(a))
    | ~ a_truth(normal(b))
    | answer(a_liar_b_normal) ),
    input ).

cnf(c105,plain,
    ( a_truth(truthteller(b))
    | ~ a_truth(liar(a))
    | answer(a_liar_b_normal) ),
    inference(resolution,status(thm),[c97,a_liar_b_normal]) ).

cnf(truthtellers_lower_than_no_one,axiom,
    ( ~ a_truth(lower(X8,X9))
    | ~ a_truth(truthteller(X8)) ),
    input ).

cnf(truthtellers_tell_truth,axiom,
    ( ~ a_truth(truthteller(X18))
    | ~ a_truth(says(X18,X19))
    | a_truth(X19) ),
    input ).

cnf(a_says_a_lower_than_b,plain,
    a_truth(says(a,lower(a,b))),
    input ).

cnf(c8,plain,
    ( ~ a_truth(truthteller(a))
    | a_truth(lower(a,b)) ),
    inference(resolution,status(thm),[a_says_a_lower_than_b,truthtellers_tell_truth]) ).

cnf(c14,plain,
    ( a_truth(lower(a,b))
    | a_truth(liar(a))
    | a_truth(normal(a)) ),
    inference(resolution,status(thm),[c8,person_is_one_type]) ).

cnf(c124,plain,
    ( a_truth(liar(a))
    | a_truth(normal(a))
    | ~ a_truth(truthteller(a)) ),
    inference(resolution,status(thm),[c14,truthtellers_lower_than_no_one]) ).

cnf(c259,plain,
    ( a_truth(liar(a))
    | a_truth(normal(a)) ),
    inference(resolution,status(thm),[c124,person_is_one_type]) ).

cnf(c260,plain,
    ( a_truth(normal(a))
    | a_truth(truthteller(b))
    | answer(a_liar_b_normal) ),
    inference(resolution,status(thm),[c259,c105]) ).

cnf(c302,plain,
    ( a_truth(normal(a))
    | a_truth(truthteller(b)) ),
    inference(resolution,status(thm),[c260,prove_there_is_an_answer]) ).

cnf(c303,plain,
    ( a_truth(truthteller(b))
    | answer(a_and_b_normal) ),
    inference(resolution,status(thm),[c302,c108]) ).

cnf(c318,plain,
    a_truth(truthteller(b)),
    inference(resolution,status(thm),[c303,prove_there_is_an_answer]) ).

cnf(c320,plain,
    ( ~ a_truth(normal(a))
    | answer(a_normal_b_truthteller) ),
    inference(resolution,status(thm),[c318,a_normal_b_truthteller]) ).

cnf(a_liar_b_truthteller,plain,
    ( ~ a_truth(liar(a))
    | ~ a_truth(truthteller(b))
    | answer(a_liar_b_truthteller) ),
    input ).

cnf(c319,plain,
    ( ~ a_truth(liar(a))
    | answer(a_liar_b_truthteller) ),
    inference(resolution,status(thm),[c318,a_liar_b_truthteller]) ).

cnf(c327,plain,
    ( answer(a_liar_b_truthteller)
    | a_truth(normal(a)) ),
    inference(resolution,status(thm),[c319,c259]) ).

cnf(c337,plain,
    a_truth(normal(a)),
    inference(resolution,status(thm),[c327,prove_there_is_an_answer]) ).

cnf(c343,plain,
    answer(a_normal_b_truthteller),
    inference(resolution,status(thm),[c337,c320]) ).

cnf(c348,plain,
    $false,
    inference(resolution,status(thm),[c343,prove_there_is_an_answer]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.11  % Problem  : PUZ027-1 : TPTP v8.1.0. Released v1.0.0.
% 0.00/0.12  % Command  : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s
% 0.12/0.33  % Computer : n026.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  : 600
% 0.12/0.33  % DateTime : Sat May 28 20:25:39 EDT 2022
% 0.12/0.33  % CPUTime  : 
% 0.54/0.74  # Version:  1.3
% 0.54/0.74  # SZS status Unsatisfiable
% 0.54/0.74  # SZS output start CNFRefutation
% See solution above
% 0.54/0.74  
% 0.54/0.74  # Initial clauses    : 32
% 0.54/0.74  # Processed clauses  : 87
% 0.54/0.74  # Factors computed   : 2
% 0.54/0.74  # Resolvents computed: 347
% 0.54/0.74  # Tautologies deleted: 12
% 0.54/0.74  # Forward subsumed   : 34
% 0.54/0.74  # Backward subsumed  : 42
% 0.54/0.74  # -------- CPU Time ---------
% 0.54/0.74  # User time          : 0.385 s
% 0.54/0.74  # System time        : 0.016 s
% 0.54/0.74  # Total time         : 0.401 s
%------------------------------------------------------------------------------