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

View Problem - Process Solution

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

% Computer : n001.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:01 EDT 2022

% Result   : Theorem 0.20s 0.48s
% Output   : Proof 0.20s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    7
%            Number of leaves      :   21
% Syntax   : Number of formulae    :   35 (   9 unt;   8 typ;   0 def)
%            Number of atoms       :  122 (   0 equ)
%            Maximal formula atoms :    8 (   4 avg)
%            Number of connectives :  162 (  70   ~;  34   |;  24   &)
%                                         (  34 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   12 (   6 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(countryamedicalorganization_type,type,
    countryamedicalorganization: $i ).

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

tff(countryahumanitarianorganization_type,type,
    countryahumanitarianorganization: $i ).

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

tff(coastvillage_type,type,
    coastvillage: $i ).

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

tff(1,plain,
    ( ~ accept_city(countryamedicalorganization,coastvillage)
  <=> ~ accept_city(countryamedicalorganization,coastvillage) ),
    inference(rewrite,[status(thm)],]) ).

tff(2,axiom,
    ~ accept_city(countryamedicalorganization,coastvillage),
    file('/export/starexec/sandbox/benchmark/Axioms/AGT001+2.ax',deduced_13) ).

tff(3,plain,
    ~ accept_city(countryamedicalorganization,coastvillage),
    inference(modus_ponens,[status(thm)],[2,1]) ).

tff(4,plain,
    ( ~ accept_city(countryamedicalorganization,coastvillage)
    | ~ accept_leader(countryamedicalorganization,countryahumanitarianorganization)
    | ~ accept_number(countryamedicalorganization,n5)
    | accept_city(countryamedicalorganization,coastvillage) ),
    inference(tautology,[status(thm)],]) ).

tff(5,plain,
    ( ~ accept_city(countryamedicalorganization,coastvillage)
    | ~ accept_leader(countryamedicalorganization,countryahumanitarianorganization)
    | ~ accept_number(countryamedicalorganization,n5) ),
    inference(unit_resolution,[status(thm)],[4,3]) ).

tff(6,plain,
    ( accept_team(countryamedicalorganization,countryahumanitarianorganization,coastvillage,n5)
  <=> accept_team(countryamedicalorganization,countryahumanitarianorganization,coastvillage,n5) ),
    inference(rewrite,[status(thm)],]) ).

tff(7,plain,
    ( ~ ~ accept_team(countryamedicalorganization,countryahumanitarianorganization,coastvillage,n5)
  <=> accept_team(countryamedicalorganization,countryahumanitarianorganization,coastvillage,n5) ),
    inference(rewrite,[status(thm)],]) ).

tff(8,axiom,
    ~ ~ accept_team(countryamedicalorganization,countryahumanitarianorganization,coastvillage,n5),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',query_4) ).

tff(9,plain,
    accept_team(countryamedicalorganization,countryahumanitarianorganization,coastvillage,n5),
    inference(modus_ponens,[status(thm)],[8,7]) ).

tff(10,plain,
    accept_team(countryamedicalorganization,countryahumanitarianorganization,coastvillage,n5),
    inference(modus_ponens,[status(thm)],[9,6]) ).

tff(11,plain,
    ( ~ ( accept_team(countryamedicalorganization,countryahumanitarianorganization,coastvillage,n5)
      <=> ~ ( ~ accept_city(countryamedicalorganization,coastvillage)
            | ~ accept_leader(countryamedicalorganization,countryahumanitarianorganization)
            | ~ accept_number(countryamedicalorganization,n5) ) )
    | ~ accept_team(countryamedicalorganization,countryahumanitarianorganization,coastvillage,n5)
    | ~ ( ~ accept_city(countryamedicalorganization,coastvillage)
        | ~ accept_leader(countryamedicalorganization,countryahumanitarianorganization)
        | ~ accept_number(countryamedicalorganization,n5) ) ),
    inference(tautology,[status(thm)],]) ).

tff(12,plain,
    ~ ( accept_team(countryamedicalorganization,countryahumanitarianorganization,coastvillage,n5)
    <=> ~ ( ~ accept_city(countryamedicalorganization,coastvillage)
          | ~ accept_leader(countryamedicalorganization,countryahumanitarianorganization)
          | ~ accept_number(countryamedicalorganization,n5) ) ),
    inference(unit_resolution,[status(thm)],[11,10,5]) ).

tff(13,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(14,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)],[13]) ).

tff(15,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(16,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)],[15]) ).

tff(17,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(18,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(19,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)],[18]) ).

tff(20,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(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) ) ),
    inference(modus_ponens,[status(thm)],[20,19]) ).

tff(22,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)],[21,17]) ).

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) ) ),
    inference(skolemize,[status(sab)],[22]) ).

tff(24,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)],[23,16]) ).

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,14]) ).

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) ) )
    | ( accept_team(countryamedicalorganization,countryahumanitarianorganization,coastvillage,n5)
    <=> ~ ( ~ accept_city(countryamedicalorganization,coastvillage)
          | ~ accept_leader(countryamedicalorganization,countryahumanitarianorganization)
          | ~ accept_number(countryamedicalorganization,n5) ) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(27,plain,
    $false,
    inference(unit_resolution,[status(thm)],[26,25,12]) ).

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