↑ Up

Z3---4.15.1.THM-Prf.s

View TPTP
Problem
Process solution in
SystemOnTSTP
Download .tgz
%------------------------------------------------------------------------------
% File     : Z3---4.15.1
% Problem  : PUZ130_1 : TPTP v9.0.0. Released v5.5.0.
% Transfm  : none
% Format   : tptp
% Command  : run_E %s %d THM

% Computer : n008.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 : Sat Jun 21 05:23:28 AM UTC 2025

% Result   : Theorem 0.18s 0.35s
% Output   : Proof 0.18s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    7
%            Number of leaves      :   14
% Syntax   : Number of formulae    :   33 (  15 unt;   0 typ;   0 def)
%            Number of atoms       :   75 (  10 equ)
%            Maximal formula atoms :    8 (   2 avg)
%            Number of connectives :   71 (  31   ~;  24   |;   0   &)
%                                         (  13 <=>;   3  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    8 (   3 avg)
%            Maximal term depth    :    3 (   2 avg)
%            Number of FOOLs       :    2 (   2 fml;   0 var)
%            Number of types       :    1 (   0 usr)
%            Number of type conns  :    0 (   0   >;   0   *;   0   +;   0  <<)
%            Number of predicates  :   10 (   8 usr;   5 prp; 0-2 aty)
%            Number of functors    :    6 (   6 usr;   3 con; 0-1 aty)
%            Number of variables   :   34 (  30   !;   0   ?;  34   :)

% Comments : 
%------------------------------------------------------------------------------
tff(hates_type,type,
    hates: ( human * human ) > $o ).

tff(owner_of_type,type,
    owner_of: animal > human ).

tff(dog_to_animal_type,type,
    dog_to_animal: dog > animal ).

tff(odie_type,type,
    odie: dog ).

tff(cat_to_animal_type,type,
    cat_to_animal: cat > animal ).

tff(garfield_type,type,
    garfield: cat ).

tff(jon_type,type,
    jon: human ).

tff(chased_type,type,
    chased: ( dog * cat ) > $o ).

tff(1,plain,
    ( ( jon = owner_of(dog_to_animal(odie)) )
  <=> ( jon = owner_of(dog_to_animal(odie)) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(2,axiom,
    jon = owner_of(dog_to_animal(odie)),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',jon_owns_odie) ).

tff(3,plain,
    jon = owner_of(dog_to_animal(odie)),
    inference(modus_ponens,[status(thm)],[2,1]) ).

tff(4,plain,
    owner_of(dog_to_animal(odie)) = jon,
    inference(symmetry,[status(thm)],[3]) ).

tff(5,plain,
    ( ( jon = owner_of(cat_to_animal(garfield)) )
  <=> ( jon = owner_of(cat_to_animal(garfield)) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(6,axiom,
    jon = owner_of(cat_to_animal(garfield)),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',jon_owns_garfield) ).

tff(7,plain,
    jon = owner_of(cat_to_animal(garfield)),
    inference(modus_ponens,[status(thm)],[6,5]) ).

tff(8,plain,
    owner_of(cat_to_animal(garfield)) = jon,
    inference(symmetry,[status(thm)],[7]) ).

tff(9,plain,
    ( hates(owner_of(cat_to_animal(garfield)),owner_of(dog_to_animal(odie)))
  <=> hates(jon,jon) ),
    inference(monotonicity,[status(thm)],[8,4]) ).

tff(10,plain,
    ( hates(jon,jon)
  <=> hates(owner_of(cat_to_animal(garfield)),owner_of(dog_to_animal(odie))) ),
    inference(symmetry,[status(thm)],[9]) ).

tff(11,plain,
    ( ~ hates(jon,jon)
  <=> ~ hates(owner_of(cat_to_animal(garfield)),owner_of(dog_to_animal(odie))) ),
    inference(monotonicity,[status(thm)],[10]) ).

tff(12,plain,
    ( ~ hates(jon,jon)
  <=> ~ hates(jon,jon) ),
    inference(rewrite,[status(thm)],[]) ).

tff(13,axiom,
    ~ hates(jon,jon),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',jon_hates_jon) ).

tff(14,plain,
    ~ hates(jon,jon),
    inference(modus_ponens,[status(thm)],[13,12]) ).

tff(15,plain,
    ~ hates(owner_of(cat_to_animal(garfield)),owner_of(dog_to_animal(odie))),
    inference(modus_ponens,[status(thm)],[14,11]) ).

tff(16,plain,
    ( chased(odie,garfield)
  <=> chased(odie,garfield) ),
    inference(rewrite,[status(thm)],[]) ).

tff(17,axiom,
    chased(odie,garfield),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',odie_chased_garfield) ).

tff(18,plain,
    chased(odie,garfield),
    inference(modus_ponens,[status(thm)],[17,16]) ).

tff(19,plain,
    ^ [C: cat,D: dog] :
      refl(( ( ~ chased(D,C)
          | hates(owner_of(cat_to_animal(C)),owner_of(dog_to_animal(D))) )
      <=> ( ~ chased(D,C)
          | hates(owner_of(cat_to_animal(C)),owner_of(dog_to_animal(D))) ) )),
    inference(bind,[status(th)],[]) ).

tff(20,plain,
    ( ! [C: cat,D: dog] :
        ( ~ chased(D,C)
        | hates(owner_of(cat_to_animal(C)),owner_of(dog_to_animal(D))) )
  <=> ! [C: cat,D: dog] :
        ( ~ chased(D,C)
        | hates(owner_of(cat_to_animal(C)),owner_of(dog_to_animal(D))) ) ),
    inference(quant_intro,[status(thm)],[19]) ).

tff(21,plain,
    ( ! [C: cat,D: dog] :
        ( ~ chased(D,C)
        | hates(owner_of(cat_to_animal(C)),owner_of(dog_to_animal(D))) )
  <=> ! [C: cat,D: dog] :
        ( ~ chased(D,C)
        | hates(owner_of(cat_to_animal(C)),owner_of(dog_to_animal(D))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(22,plain,
    ^ [C: cat,D: dog] :
      rewrite(( ( chased(D,C)
         => hates(owner_of(cat_to_animal(C)),owner_of(dog_to_animal(D))) )
      <=> ( ~ chased(D,C)
          | hates(owner_of(cat_to_animal(C)),owner_of(dog_to_animal(D))) ) )),
    inference(bind,[status(th)],[]) ).

tff(23,plain,
    ( ! [C: cat,D: dog] :
        ( chased(D,C)
       => hates(owner_of(cat_to_animal(C)),owner_of(dog_to_animal(D))) )
  <=> ! [C: cat,D: dog] :
        ( ~ chased(D,C)
        | hates(owner_of(cat_to_animal(C)),owner_of(dog_to_animal(D))) ) ),
    inference(quant_intro,[status(thm)],[22]) ).

tff(24,axiom,
    ! [C: cat,D: dog] :
      ( chased(D,C)
     => hates(owner_of(cat_to_animal(C)),owner_of(dog_to_animal(D))) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',dog_chase_cat) ).

tff(25,plain,
    ! [C: cat,D: dog] :
      ( ~ chased(D,C)
      | hates(owner_of(cat_to_animal(C)),owner_of(dog_to_animal(D))) ),
    inference(modus_ponens,[status(thm)],[24,23]) ).

tff(26,plain,
    ! [C: cat,D: dog] :
      ( ~ chased(D,C)
      | hates(owner_of(cat_to_animal(C)),owner_of(dog_to_animal(D))) ),
    inference(modus_ponens,[status(thm)],[25,21]) ).

tff(27,plain,
    ! [C: cat,D: dog] :
      ( ~ chased(D,C)
      | hates(owner_of(cat_to_animal(C)),owner_of(dog_to_animal(D))) ),
    inference(skolemize,[status(sab)],[26]) ).

tff(28,plain,
    ! [C: cat,D: dog] :
      ( ~ chased(D,C)
      | hates(owner_of(cat_to_animal(C)),owner_of(dog_to_animal(D))) ),
    inference(modus_ponens,[status(thm)],[27,20]) ).

tff(29,plain,
    ( ( ~ ! [C: cat,D: dog] :
            ( ~ chased(D,C)
            | hates(owner_of(cat_to_animal(C)),owner_of(dog_to_animal(D))) )
      | ~ chased(odie,garfield)
      | hates(owner_of(cat_to_animal(garfield)),owner_of(dog_to_animal(odie))) )
  <=> ( ~ ! [C: cat,D: dog] :
            ( ~ chased(D,C)
            | hates(owner_of(cat_to_animal(C)),owner_of(dog_to_animal(D))) )
      | ~ chased(odie,garfield)
      | hates(owner_of(cat_to_animal(garfield)),owner_of(dog_to_animal(odie))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(30,plain,
    ( ~ ! [C: cat,D: dog] :
          ( ~ chased(D,C)
          | hates(owner_of(cat_to_animal(C)),owner_of(dog_to_animal(D))) )
    | ~ chased(odie,garfield)
    | hates(owner_of(cat_to_animal(garfield)),owner_of(dog_to_animal(odie))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(31,plain,
    ( ~ ! [C: cat,D: dog] :
          ( ~ chased(D,C)
          | hates(owner_of(cat_to_animal(C)),owner_of(dog_to_animal(D))) )
    | ~ chased(odie,garfield)
    | hates(owner_of(cat_to_animal(garfield)),owner_of(dog_to_animal(odie))) ),
    inference(modus_ponens,[status(thm)],[30,29]) ).

tff(32,plain,
    hates(owner_of(cat_to_animal(garfield)),owner_of(dog_to_animal(odie))),
    inference(unit_resolution,[status(thm)],[31,28,18]) ).

tff(33,plain,
    $false,
    inference(unit_resolution,[status(thm)],[32,15]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.11/0.12  % Problem    : PUZ130_1 : TPTP v9.0.0. Released v5.5.0.
% 0.11/0.12  % Command    : run_E %s %d THM
% 0.12/0.31  % Computer : n008.cluster.edu
% 0.12/0.31  % Model    : x86_64 x86_64
% 0.12/0.31  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.31  % Memory   : 8042.1875MB
% 0.12/0.31  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.12/0.31  % CPULimit   : 300
% 0.12/0.31  % WCLimit    : 300
% 0.12/0.31  % DateTime   : Fri Jun 20 02:47:33 EDT 2025
% 0.16/0.31  % CPUTime    : 
% 0.18/0.35  % SZS status Theorem
% 0.18/0.35  % SZS output start Proof
% See solution above
% 0.18/0.35  % E exiting
%------------------------------------------------------------------------------