TSTP Solution File: PUZ001-2 by Metis---2.4

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Metis---2.4
% Problem  : PUZ001-2 : TPTP v8.1.0. Released v1.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : metis --show proof --show saturation %s

% Computer : n021.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:20:24 EDT 2022

% Result   : Unsatisfiable 0.12s 0.35s
% Output   : CNFRefutation 0.12s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   13
%            Number of leaves      :   16
% Syntax   : Number of clauses     :   46 (  15 unt;  15 nHn;  41 RR)
%            Number of literals    :   90 (  30 equ;  34 neg)
%            Maximal clause size   :    4 (   1 avg)
%            Maximal term depth    :    2 (   1 avg)
%            Number of predicates  :    7 (   4 usr;   1 prp; 0-2 aty)
%            Number of functors    :    5 (   5 usr;   4 con; 0-1 aty)
%            Number of variables   :   16 (   0 sgn)

% Comments : 
%------------------------------------------------------------------------------
cnf(someone_in_mansion,axiom,
    lives_at_dreadsbury(someone) ).

cnf(someone_killed_agatha,axiom,
    killed(someone,aunt_agatha) ).

cnf(noone_else_lives_at_mansion,axiom,
    ( ~ lives_at_dreadsbury(Person)
    | Person = aunt_agatha
    | Person = butler
    | Person = charles ) ).

cnf(killer_hates_victim,axiom,
    ( ~ killed(Killer,Victim)
    | hates(Killer,Victim) ) ).

cnf(killer_poorer_than_victim,axiom,
    ( ~ killed(Killer,Victim)
    | ~ richer(Killer,Victim) ) ).

cnf(charles_and_agatha_hate_different_people,axiom,
    ( ~ hates(aunt_agatha,Person)
    | ~ hates(charles,Person) ) ).

cnf(agatha_likes_only_butler,axiom,
    ( Person = butler
    | hates(aunt_agatha,Person) ) ).

cnf(butler_hates_poor_people,axiom,
    ( richer(Person,aunt_agatha)
    | hates(butler,Person) ) ).

cnf(butler_and_agatha_hate_the_same_people,axiom,
    ( ~ hates(aunt_agatha,Person)
    | hates(butler,Person) ) ).

cnf(noone_hates_everyone,axiom,
    ~ hates(Person,every_one_but(Person)) ).

cnf(agatha_is_not_the_butler,axiom,
    aunt_agatha != butler ).

cnf(prove_agatha_killed_herself,negated_conjecture,
    ~ killed(aunt_agatha,aunt_agatha) ).

cnf(refute_0_0,plain,
    ( aunt_agatha = butler
    | hates(aunt_agatha,aunt_agatha) ),
    inference(subst,[],[agatha_likes_only_butler:[bind(Person,$fot(aunt_agatha))]]) ).

cnf(refute_0_1,plain,
    ( ~ hates(aunt_agatha,aunt_agatha)
    | ~ hates(charles,aunt_agatha) ),
    inference(subst,[],[charles_and_agatha_hate_different_people:[bind(Person,$fot(aunt_agatha))]]) ).

cnf(refute_0_2,plain,
    ( ~ killed(someone,aunt_agatha)
    | hates(someone,aunt_agatha) ),
    inference(subst,[],[killer_hates_victim:[bind(Killer,$fot(someone)),bind(Victim,$fot(aunt_agatha))]]) ).

cnf(refute_0_3,plain,
    hates(someone,aunt_agatha),
    inference(resolve,[$cnf( killed(someone,aunt_agatha) )],[someone_killed_agatha,refute_0_2]) ).

cnf(refute_0_4,plain,
    ( hates(butler,X_8)
    | richer(X_8,aunt_agatha) ),
    inference(subst,[],[butler_hates_poor_people:[bind(Person,$fot(X_8))]]) ).

cnf(refute_0_5,plain,
    ( ~ killed(X_8,aunt_agatha)
    | ~ richer(X_8,aunt_agatha) ),
    inference(subst,[],[killer_poorer_than_victim:[bind(Killer,$fot(X_8)),bind(Victim,$fot(aunt_agatha))]]) ).

cnf(refute_0_6,plain,
    ( ~ killed(X_8,aunt_agatha)
    | hates(butler,X_8) ),
    inference(resolve,[$cnf( richer(X_8,aunt_agatha) )],[refute_0_4,refute_0_5]) ).

cnf(refute_0_7,plain,
    ( ~ killed(someone,aunt_agatha)
    | hates(butler,someone) ),
    inference(subst,[],[refute_0_6:[bind(X_8,$fot(someone))]]) ).

cnf(refute_0_8,plain,
    hates(butler,someone),
    inference(resolve,[$cnf( killed(someone,aunt_agatha) )],[someone_killed_agatha,refute_0_7]) ).

cnf(refute_0_9,plain,
    ( ~ lives_at_dreadsbury(someone)
    | someone = aunt_agatha
    | someone = butler
    | someone = charles ),
    inference(subst,[],[noone_else_lives_at_mansion:[bind(Person,$fot(someone))]]) ).

cnf(refute_0_10,plain,
    ( someone = aunt_agatha
    | someone = butler
    | someone = charles ),
    inference(resolve,[$cnf( lives_at_dreadsbury(someone) )],[someone_in_mansion,refute_0_9]) ).

cnf(refute_0_11,plain,
    ( someone != aunt_agatha
    | ~ killed(someone,aunt_agatha)
    | killed(aunt_agatha,aunt_agatha) ),
    introduced(tautology,[equality,[$cnf( killed(someone,aunt_agatha) ),[0],$fot(aunt_agatha)]]) ).

cnf(refute_0_12,plain,
    ( ~ killed(someone,aunt_agatha)
    | someone = butler
    | someone = charles
    | killed(aunt_agatha,aunt_agatha) ),
    inference(resolve,[$cnf( $equal(someone,aunt_agatha) )],[refute_0_10,refute_0_11]) ).

cnf(refute_0_13,plain,
    ( someone = butler
    | someone = charles
    | killed(aunt_agatha,aunt_agatha) ),
    inference(resolve,[$cnf( killed(someone,aunt_agatha) )],[someone_killed_agatha,refute_0_12]) ).

cnf(refute_0_14,plain,
    ( someone = butler
    | someone = charles ),
    inference(resolve,[$cnf( killed(aunt_agatha,aunt_agatha) )],[refute_0_13,prove_agatha_killed_herself]) ).

cnf(refute_0_15,plain,
    ( someone != butler
    | ~ hates(butler,someone)
    | hates(butler,butler) ),
    introduced(tautology,[equality,[$cnf( hates(butler,someone) ),[1],$fot(butler)]]) ).

cnf(refute_0_16,plain,
    ( ~ hates(butler,someone)
    | someone = charles
    | hates(butler,butler) ),
    inference(resolve,[$cnf( $equal(someone,butler) )],[refute_0_14,refute_0_15]) ).

cnf(refute_0_17,plain,
    ( someone = charles
    | hates(butler,butler) ),
    inference(resolve,[$cnf( hates(butler,someone) )],[refute_0_8,refute_0_16]) ).

cnf(refute_0_18,plain,
    ~ hates(butler,every_one_but(butler)),
    inference(subst,[],[noone_hates_everyone:[bind(Person,$fot(butler))]]) ).

cnf(refute_0_19,plain,
    ( X_2 = butler
    | hates(aunt_agatha,X_2) ),
    inference(subst,[],[agatha_likes_only_butler:[bind(Person,$fot(X_2))]]) ).

cnf(refute_0_20,plain,
    ( ~ hates(aunt_agatha,X_2)
    | hates(butler,X_2) ),
    inference(subst,[],[butler_and_agatha_hate_the_same_people:[bind(Person,$fot(X_2))]]) ).

cnf(refute_0_21,plain,
    ( X_2 = butler
    | hates(butler,X_2) ),
    inference(resolve,[$cnf( hates(aunt_agatha,X_2) )],[refute_0_19,refute_0_20]) ).

cnf(refute_0_22,plain,
    ( every_one_but(butler) = butler
    | hates(butler,every_one_but(butler)) ),
    inference(subst,[],[refute_0_21:[bind(X_2,$fot(every_one_but(butler)))]]) ).

cnf(refute_0_23,plain,
    every_one_but(butler) = butler,
    inference(resolve,[$cnf( hates(butler,every_one_but(butler)) )],[refute_0_22,refute_0_18]) ).

cnf(refute_0_24,plain,
    ( every_one_but(butler) != butler
    | ~ hates(butler,butler)
    | hates(butler,every_one_but(butler)) ),
    introduced(tautology,[equality,[$cnf( ~ hates(butler,every_one_but(butler)) ),[1],$fot(butler)]]) ).

cnf(refute_0_25,plain,
    ( ~ hates(butler,butler)
    | hates(butler,every_one_but(butler)) ),
    inference(resolve,[$cnf( $equal(every_one_but(butler),butler) )],[refute_0_23,refute_0_24]) ).

cnf(refute_0_26,plain,
    ~ hates(butler,butler),
    inference(resolve,[$cnf( hates(butler,every_one_but(butler)) )],[refute_0_25,refute_0_18]) ).

cnf(refute_0_27,plain,
    someone = charles,
    inference(resolve,[$cnf( hates(butler,butler) )],[refute_0_17,refute_0_26]) ).

cnf(refute_0_28,plain,
    ( someone != charles
    | ~ hates(someone,aunt_agatha)
    | hates(charles,aunt_agatha) ),
    introduced(tautology,[equality,[$cnf( hates(someone,aunt_agatha) ),[0],$fot(charles)]]) ).

cnf(refute_0_29,plain,
    ( ~ hates(someone,aunt_agatha)
    | hates(charles,aunt_agatha) ),
    inference(resolve,[$cnf( $equal(someone,charles) )],[refute_0_27,refute_0_28]) ).

cnf(refute_0_30,plain,
    hates(charles,aunt_agatha),
    inference(resolve,[$cnf( hates(someone,aunt_agatha) )],[refute_0_3,refute_0_29]) ).

cnf(refute_0_31,plain,
    ~ hates(aunt_agatha,aunt_agatha),
    inference(resolve,[$cnf( hates(charles,aunt_agatha) )],[refute_0_30,refute_0_1]) ).

cnf(refute_0_32,plain,
    aunt_agatha = butler,
    inference(resolve,[$cnf( hates(aunt_agatha,aunt_agatha) )],[refute_0_0,refute_0_31]) ).

cnf(refute_0_33,plain,
    $false,
    inference(resolve,[$cnf( $equal(aunt_agatha,butler) )],[refute_0_32,agatha_is_not_the_butler]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.03/0.11  % Problem  : PUZ001-2 : TPTP v8.1.0. Released v1.0.0.
% 0.03/0.12  % Command  : metis --show proof --show saturation %s
% 0.12/0.33  % Computer : n021.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 : Sun May 29 02:51:42 EDT 2022
% 0.12/0.33  % CPUTime  : 
% 0.12/0.34  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 0.12/0.35  % SZS status Unsatisfiable for /export/starexec/sandbox/benchmark/theBenchmark.p
% 0.12/0.35  
% 0.12/0.35  % SZS output start CNFRefutation for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
% 0.12/0.35  
%------------------------------------------------------------------------------