TSTP Solution File: AGT003+2 by Z3---4.8.9.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Z3---4.8.9.0
% Problem  : AGT003+2 : TPTP v8.1.0. Bugfixed v3.1.0.
% Transfm  : none
% Format   : tptp
% Command  : z3_tptp -proof -model -t:%d -file:%s

% Computer : n009.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 : Tue Sep  6 14:48:00 EDT 2022

% Result   : Theorem 0.20s 0.49s
% Output   : Proof 0.20s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    7
%            Number of leaves      :   24
% Syntax   : Number of formulae    :   39 (  12 unt;   8 typ;   0 def)
%            Number of atoms       :  129 (   0 equ)
%            Maximal formula atoms :    8 (   4 avg)
%            Number of connectives :  164 (  69   ~;  36   |;  24   &)
%                                         (  35 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   12 (   5 avg)
%            Maximal term depth    :    1 (   1 avg)
%            Number of FOOLs       :    3 (   3 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :   10 (   4   >;   6   *;   0   +;   0  <<)
%            Number of predicates  :    7 (   6 usr;   1 prp; 0-4 aty)
%            Number of functors    :    4 (   4 usr;   4 con; 0-0 aty)
%            Number of variables   :   72 (  60   !;   0   ?;  72   :)

% Comments : 
%------------------------------------------------------------------------------
tff(accept_number_type,type,
    accept_number: ( $i * $i ) > $o ).

tff(n5_type,type,
    n5: $i ).

tff(christiansufferterrahumanitarianorganization_type,type,
    christiansufferterrahumanitarianorganization: $i ).

tff(accept_leader_type,type,
    accept_leader: ( $i * $i ) > $o ).

tff(countryafirstaidorganization_type,type,
    countryafirstaidorganization: $i ).

tff(accept_city_type,type,
    accept_city: ( $i * $i ) > $o ).

tff(towna_type,type,
    towna: $i ).

tff(accept_team_type,type,
    accept_team: ( $i * $i * $i * $i ) > $o ).

tff(1,plain,
    ( accept_number(christiansufferterrahumanitarianorganization,n5)
  <=> accept_number(christiansufferterrahumanitarianorganization,n5) ),
    inference(rewrite,[status(thm)],]) ).

tff(2,axiom,
    accept_number(christiansufferterrahumanitarianorganization,n5),
    file('/export/starexec/sandbox/benchmark/Axioms/AGT001+2.ax',deduced_164) ).

tff(3,plain,
    accept_number(christiansufferterrahumanitarianorganization,n5),
    inference(modus_ponens,[status(thm)],[2,1]) ).

tff(4,plain,
    ( accept_leader(christiansufferterrahumanitarianorganization,countryafirstaidorganization)
  <=> accept_leader(christiansufferterrahumanitarianorganization,countryafirstaidorganization) ),
    inference(rewrite,[status(thm)],]) ).

tff(5,axiom,
    accept_leader(christiansufferterrahumanitarianorganization,countryafirstaidorganization),
    file('/export/starexec/sandbox/benchmark/Axioms/AGT001+2.ax',deduced_84) ).

tff(6,plain,
    accept_leader(christiansufferterrahumanitarianorganization,countryafirstaidorganization),
    inference(modus_ponens,[status(thm)],[5,4]) ).

tff(7,plain,
    ( accept_city(christiansufferterrahumanitarianorganization,towna)
  <=> accept_city(christiansufferterrahumanitarianorganization,towna) ),
    inference(rewrite,[status(thm)],]) ).

tff(8,axiom,
    accept_city(christiansufferterrahumanitarianorganization,towna),
    file('/export/starexec/sandbox/benchmark/Axioms/AGT001+2.ax',deduced_83) ).

tff(9,plain,
    accept_city(christiansufferterrahumanitarianorganization,towna),
    inference(modus_ponens,[status(thm)],[8,7]) ).

tff(10,plain,
    ( ~ ( ~ accept_city(christiansufferterrahumanitarianorganization,towna)
        | ~ accept_leader(christiansufferterrahumanitarianorganization,countryafirstaidorganization)
        | ~ accept_number(christiansufferterrahumanitarianorganization,n5) )
    | ~ accept_city(christiansufferterrahumanitarianorganization,towna)
    | ~ accept_leader(christiansufferterrahumanitarianorganization,countryafirstaidorganization)
    | ~ accept_number(christiansufferterrahumanitarianorganization,n5) ),
    inference(tautology,[status(thm)],]) ).

tff(11,plain,
    ~ ( ~ accept_city(christiansufferterrahumanitarianorganization,towna)
      | ~ accept_leader(christiansufferterrahumanitarianorganization,countryafirstaidorganization)
      | ~ accept_number(christiansufferterrahumanitarianorganization,n5) ),
    inference(unit_resolution,[status(thm)],[10,9,6,3]) ).

tff(12,plain,
    ( ~ accept_team(christiansufferterrahumanitarianorganization,countryafirstaidorganization,towna,n5)
  <=> ~ accept_team(christiansufferterrahumanitarianorganization,countryafirstaidorganization,towna,n5) ),
    inference(rewrite,[status(thm)],]) ).

tff(13,axiom,
    ~ accept_team(christiansufferterrahumanitarianorganization,countryafirstaidorganization,towna,n5),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',query_3) ).

tff(14,plain,
    ~ accept_team(christiansufferterrahumanitarianorganization,countryafirstaidorganization,towna,n5),
    inference(modus_ponens,[status(thm)],[13,12]) ).

tff(15,plain,
    ( ~ ( accept_team(christiansufferterrahumanitarianorganization,countryafirstaidorganization,towna,n5)
      <=> ~ ( ~ accept_city(christiansufferterrahumanitarianorganization,towna)
            | ~ accept_leader(christiansufferterrahumanitarianorganization,countryafirstaidorganization)
            | ~ accept_number(christiansufferterrahumanitarianorganization,n5) ) )
    | accept_team(christiansufferterrahumanitarianorganization,countryafirstaidorganization,towna,n5)
    | ~ accept_city(christiansufferterrahumanitarianorganization,towna)
    | ~ accept_leader(christiansufferterrahumanitarianorganization,countryafirstaidorganization)
    | ~ accept_number(christiansufferterrahumanitarianorganization,n5) ),
    inference(tautology,[status(thm)],]) ).

tff(16,plain,
    ~ ( accept_team(christiansufferterrahumanitarianorganization,countryafirstaidorganization,towna,n5)
    <=> ~ ( ~ accept_city(christiansufferterrahumanitarianorganization,towna)
          | ~ accept_leader(christiansufferterrahumanitarianorganization,countryafirstaidorganization)
          | ~ accept_number(christiansufferterrahumanitarianorganization,n5) ) ),
    inference(unit_resolution,[status(thm)],[15,14,11]) ).

tff(17,plain,
    ^ [A: $i,C: $i,N: $i,L: $i] :
      refl(
        ( ( accept_team(A,L,C,N)
        <=> ~ ( ~ accept_city(A,C)
              | ~ accept_leader(A,L)
              | ~ accept_number(A,N) ) )
      <=> ( accept_team(A,L,C,N)
        <=> ~ ( ~ accept_city(A,C)
              | ~ accept_leader(A,L)
              | ~ accept_number(A,N) ) ) )),
    inference(bind,[status(th)],]) ).

tff(18,plain,
    ( ! [A: $i,C: $i,N: $i,L: $i] :
        ( accept_team(A,L,C,N)
      <=> ~ ( ~ accept_city(A,C)
            | ~ accept_leader(A,L)
            | ~ accept_number(A,N) ) )
  <=> ! [A: $i,C: $i,N: $i,L: $i] :
        ( accept_team(A,L,C,N)
      <=> ~ ( ~ accept_city(A,C)
            | ~ accept_leader(A,L)
            | ~ accept_number(A,N) ) ) ),
    inference(quant_intro,[status(thm)],[17]) ).

tff(19,plain,
    ^ [A: $i,C: $i,N: $i,L: $i] :
      rewrite(
        ( ( accept_team(A,L,C,N)
        <=> ( accept_city(A,C)
            & accept_leader(A,L)
            & accept_number(A,N) ) )
      <=> ( accept_team(A,L,C,N)
        <=> ~ ( ~ accept_city(A,C)
              | ~ accept_leader(A,L)
              | ~ accept_number(A,N) ) ) )),
    inference(bind,[status(th)],]) ).

tff(20,plain,
    ( ! [A: $i,C: $i,N: $i,L: $i] :
        ( accept_team(A,L,C,N)
      <=> ( accept_city(A,C)
          & accept_leader(A,L)
          & accept_number(A,N) ) )
  <=> ! [A: $i,C: $i,N: $i,L: $i] :
        ( accept_team(A,L,C,N)
      <=> ~ ( ~ accept_city(A,C)
            | ~ accept_leader(A,L)
            | ~ accept_number(A,N) ) ) ),
    inference(quant_intro,[status(thm)],[19]) ).

tff(21,plain,
    ( ! [A: $i,C: $i,N: $i,L: $i] :
        ( accept_team(A,L,C,N)
      <=> ( accept_city(A,C)
          & accept_leader(A,L)
          & accept_number(A,N) ) )
  <=> ! [A: $i,C: $i,N: $i,L: $i] :
        ( accept_team(A,L,C,N)
      <=> ( accept_city(A,C)
          & accept_leader(A,L)
          & accept_number(A,N) ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(22,plain,
    ^ [A: $i,C: $i,N: $i,L: $i] :
      rewrite(
        ( ( accept_team(A,L,C,N)
        <=> ( accept_city(A,C)
            & accept_leader(A,L)
            & accept_number(A,N) ) )
      <=> ( accept_team(A,L,C,N)
        <=> ( accept_city(A,C)
            & accept_leader(A,L)
            & accept_number(A,N) ) ) )),
    inference(bind,[status(th)],]) ).

tff(23,plain,
    ( ! [A: $i,C: $i,N: $i,L: $i] :
        ( accept_team(A,L,C,N)
      <=> ( accept_city(A,C)
          & accept_leader(A,L)
          & accept_number(A,N) ) )
  <=> ! [A: $i,C: $i,N: $i,L: $i] :
        ( accept_team(A,L,C,N)
      <=> ( accept_city(A,C)
          & accept_leader(A,L)
          & accept_number(A,N) ) ) ),
    inference(quant_intro,[status(thm)],[22]) ).

tff(24,axiom,
    ! [A: $i,C: $i,N: $i,L: $i] :
      ( accept_team(A,L,C,N)
    <=> ( accept_city(A,C)
        & accept_leader(A,L)
        & accept_number(A,N) ) ),
    file('/export/starexec/sandbox/benchmark/Axioms/AGT001+0.ax',a1_1) ).

tff(25,plain,
    ! [A: $i,C: $i,N: $i,L: $i] :
      ( accept_team(A,L,C,N)
    <=> ( accept_city(A,C)
        & accept_leader(A,L)
        & accept_number(A,N) ) ),
    inference(modus_ponens,[status(thm)],[24,23]) ).

tff(26,plain,
    ! [A: $i,C: $i,N: $i,L: $i] :
      ( accept_team(A,L,C,N)
    <=> ( accept_city(A,C)
        & accept_leader(A,L)
        & accept_number(A,N) ) ),
    inference(modus_ponens,[status(thm)],[25,21]) ).

tff(27,plain,
    ! [A: $i,C: $i,N: $i,L: $i] :
      ( accept_team(A,L,C,N)
    <=> ( accept_city(A,C)
        & accept_leader(A,L)
        & accept_number(A,N) ) ),
    inference(skolemize,[status(sab)],[26]) ).

tff(28,plain,
    ! [A: $i,C: $i,N: $i,L: $i] :
      ( accept_team(A,L,C,N)
    <=> ~ ( ~ accept_city(A,C)
          | ~ accept_leader(A,L)
          | ~ accept_number(A,N) ) ),
    inference(modus_ponens,[status(thm)],[27,20]) ).

tff(29,plain,
    ! [A: $i,C: $i,N: $i,L: $i] :
      ( accept_team(A,L,C,N)
    <=> ~ ( ~ accept_city(A,C)
          | ~ accept_leader(A,L)
          | ~ accept_number(A,N) ) ),
    inference(modus_ponens,[status(thm)],[28,18]) ).

tff(30,plain,
    ( ~ ! [A: $i,C: $i,N: $i,L: $i] :
          ( accept_team(A,L,C,N)
        <=> ~ ( ~ accept_city(A,C)
              | ~ accept_leader(A,L)
              | ~ accept_number(A,N) ) )
    | ( accept_team(christiansufferterrahumanitarianorganization,countryafirstaidorganization,towna,n5)
    <=> ~ ( ~ accept_city(christiansufferterrahumanitarianorganization,towna)
          | ~ accept_leader(christiansufferterrahumanitarianorganization,countryafirstaidorganization)
          | ~ accept_number(christiansufferterrahumanitarianorganization,n5) ) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(31,plain,
    $false,
    inference(unit_resolution,[status(thm)],[30,29,16]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.04/0.12  % Problem  : AGT003+2 : TPTP v8.1.0. Bugfixed v3.1.0.
% 0.04/0.13  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.13/0.35  % Computer : n009.cluster.edu
% 0.13/0.35  % Model    : x86_64 x86_64
% 0.13/0.35  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.35  % Memory   : 8042.1875MB
% 0.13/0.35  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.13/0.35  % CPULimit : 300
% 0.13/0.35  % WCLimit  : 300
% 0.13/0.35  % DateTime : Mon Aug 29 12:01:05 EDT 2022
% 0.13/0.35  % CPUTime  : 
% 0.13/0.35  Z3tptp [4.8.9.0] (c) 2006-20**. Microsoft Corp.
% 0.13/0.35  Usage: tptp [options] [-file:]file
% 0.13/0.35    -h, -?       prints this message.
% 0.13/0.35    -smt2        print SMT-LIB2 benchmark.
% 0.13/0.35    -m, -model   generate model.
% 0.13/0.35    -p, -proof   generate proof.
% 0.13/0.35    -c, -core    generate unsat core of named formulas.
% 0.13/0.35    -st, -statistics display statistics.
% 0.13/0.35    -t:timeout   set timeout (in second).
% 0.13/0.35    -smt2status  display status in smt2 format instead of SZS.
% 0.13/0.35    -check_status check the status produced by Z3 against annotation in benchmark.
% 0.13/0.35    -<param>:<value> configuration parameter and value.
% 0.13/0.35    -o:<output-file> file to place output in.
% 0.20/0.49  % SZS status Theorem
% 0.20/0.49  % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------