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

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Z3---4.8.9.0
% Problem  : AGT004+1 : TPTP v8.1.0. Bugfixed v3.1.0.
% Transfm  : none
% Format   : tptp
% Command  : z3_tptp -proof -model -t:%d -file:%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  : 300s
% DateTime : Tue Sep  6 14:48:00 EDT 2022

% Result   : Theorem 0.21s 0.49s
% Output   : Proof 0.21s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    9
%            Number of leaves      :   40
% Syntax   : Number of formulae    :   76 (  18 unt;  11 typ;   0 def)
%            Number of atoms       :  334 (   0 equ)
%            Maximal formula atoms :   12 (   5 avg)
%            Number of connectives :  484 ( 235   ~; 144   |;  40   &)
%                                         (  59 <=>;   6  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   12 (   6 avg)
%            Maximal term depth    :    1 (   1 avg)
%            Number of FOOLs       :   20 (  20 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :   16 (   6   >;  10   *;   0   +;   0  <<)
%            Number of predicates  :   11 (  10 usr;   1 prp; 0-4 aty)
%            Number of functors    :    5 (   5 usr;   5 con; 0-0 aty)
%            Number of variables   :  198 ( 171   !;   0   ?; 198   :)

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

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

tff(countryamedicalorganization_type,type,
    countryamedicalorganization: $i ).

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

tff(christiancountrychumanitarianorganization_type,type,
    christiancountrychumanitarianorganization: $i ).

tff(any_agent_in_all_proposed_teams_type,type,
    any_agent_in_all_proposed_teams: ( $i * $i * $i ) > $o ).

tff(the_agent_not_in_any_proposed_teams_type,type,
    the_agent_not_in_any_proposed_teams: ( $i * $i * $i ) > $o ).

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

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

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

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

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

tff(2,axiom,
    any_agent_in_all_proposed_teams(countryamedicalorganization,christiancountrychumanitarianorganization,coastvillage),
    file('/export/starexec/sandbox/benchmark/Axioms/AGT001+1.ax',event_38) ).

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

tff(4,plain,
    ^ [A: $i,L: $i,C: $i] :
      refl(
        ( ( ~ any_agent_in_all_proposed_teams(A,L,C)
          | accept_leader(A,L) )
      <=> ( ~ any_agent_in_all_proposed_teams(A,L,C)
          | accept_leader(A,L) ) )),
    inference(bind,[status(th)],]) ).

tff(5,plain,
    ( ! [A: $i,L: $i,C: $i] :
        ( ~ any_agent_in_all_proposed_teams(A,L,C)
        | accept_leader(A,L) )
  <=> ! [A: $i,L: $i,C: $i] :
        ( ~ any_agent_in_all_proposed_teams(A,L,C)
        | accept_leader(A,L) ) ),
    inference(quant_intro,[status(thm)],[4]) ).

tff(6,plain,
    ( ! [A: $i,L: $i,C: $i] :
        ( ~ any_agent_in_all_proposed_teams(A,L,C)
        | accept_leader(A,L) )
  <=> ! [A: $i,L: $i,C: $i] :
        ( ~ any_agent_in_all_proposed_teams(A,L,C)
        | accept_leader(A,L) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(7,plain,
    ^ [A: $i,L: $i,C: $i] :
      rewrite(
        ( ( any_agent_in_all_proposed_teams(A,L,C)
         => accept_leader(A,L) )
      <=> ( ~ any_agent_in_all_proposed_teams(A,L,C)
          | accept_leader(A,L) ) )),
    inference(bind,[status(th)],]) ).

tff(8,plain,
    ( ! [A: $i,L: $i,C: $i] :
        ( any_agent_in_all_proposed_teams(A,L,C)
       => accept_leader(A,L) )
  <=> ! [A: $i,L: $i,C: $i] :
        ( ~ any_agent_in_all_proposed_teams(A,L,C)
        | accept_leader(A,L) ) ),
    inference(quant_intro,[status(thm)],[7]) ).

tff(9,axiom,
    ! [A: $i,L: $i,C: $i] :
      ( any_agent_in_all_proposed_teams(A,L,C)
     => accept_leader(A,L) ),
    file('/export/starexec/sandbox/benchmark/Axioms/AGT001+0.ax',a1_5) ).

tff(10,plain,
    ! [A: $i,L: $i,C: $i] :
      ( ~ any_agent_in_all_proposed_teams(A,L,C)
      | accept_leader(A,L) ),
    inference(modus_ponens,[status(thm)],[9,8]) ).

tff(11,plain,
    ! [A: $i,L: $i,C: $i] :
      ( ~ any_agent_in_all_proposed_teams(A,L,C)
      | accept_leader(A,L) ),
    inference(modus_ponens,[status(thm)],[10,6]) ).

tff(12,plain,
    ! [A: $i,L: $i,C: $i] :
      ( ~ any_agent_in_all_proposed_teams(A,L,C)
      | accept_leader(A,L) ),
    inference(skolemize,[status(sab)],[11]) ).

tff(13,plain,
    ! [A: $i,L: $i,C: $i] :
      ( ~ any_agent_in_all_proposed_teams(A,L,C)
      | accept_leader(A,L) ),
    inference(modus_ponens,[status(thm)],[12,5]) ).

tff(14,plain,
    ( ( ~ ! [A: $i,L: $i,C: $i] :
            ( ~ any_agent_in_all_proposed_teams(A,L,C)
            | accept_leader(A,L) )
      | ~ any_agent_in_all_proposed_teams(countryamedicalorganization,christiancountrychumanitarianorganization,coastvillage)
      | accept_leader(countryamedicalorganization,christiancountrychumanitarianorganization) )
  <=> ( ~ ! [A: $i,L: $i,C: $i] :
            ( ~ any_agent_in_all_proposed_teams(A,L,C)
            | accept_leader(A,L) )
      | ~ any_agent_in_all_proposed_teams(countryamedicalorganization,christiancountrychumanitarianorganization,coastvillage)
      | accept_leader(countryamedicalorganization,christiancountrychumanitarianorganization) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(15,plain,
    ( ~ ! [A: $i,L: $i,C: $i] :
          ( ~ any_agent_in_all_proposed_teams(A,L,C)
          | accept_leader(A,L) )
    | ~ any_agent_in_all_proposed_teams(countryamedicalorganization,christiancountrychumanitarianorganization,coastvillage)
    | accept_leader(countryamedicalorganization,christiancountrychumanitarianorganization) ),
    inference(quant_inst,[status(thm)],]) ).

tff(16,plain,
    ( ~ ! [A: $i,L: $i,C: $i] :
          ( ~ any_agent_in_all_proposed_teams(A,L,C)
          | accept_leader(A,L) )
    | ~ any_agent_in_all_proposed_teams(countryamedicalorganization,christiancountrychumanitarianorganization,coastvillage)
    | accept_leader(countryamedicalorganization,christiancountrychumanitarianorganization) ),
    inference(modus_ponens,[status(thm)],[15,14]) ).

tff(17,plain,
    accept_leader(countryamedicalorganization,christiancountrychumanitarianorganization),
    inference(unit_resolution,[status(thm)],[16,13,3]) ).

tff(18,plain,
    ( the_agent_not_in_any_proposed_teams(countryamedicalorganization,christiancountrychumanitarianorganization,coastvillage)
  <=> the_agent_not_in_any_proposed_teams(countryamedicalorganization,christiancountrychumanitarianorganization,coastvillage) ),
    inference(rewrite,[status(thm)],]) ).

tff(19,axiom,
    the_agent_not_in_any_proposed_teams(countryamedicalorganization,christiancountrychumanitarianorganization,coastvillage),
    file('/export/starexec/sandbox/benchmark/Axioms/AGT001+1.ax',event_37) ).

tff(20,plain,
    the_agent_not_in_any_proposed_teams(countryamedicalorganization,christiancountrychumanitarianorganization,coastvillage),
    inference(modus_ponens,[status(thm)],[19,18]) ).

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

tff(22,plain,
    ( ! [A: $i,L: $i,C: $i] :
        ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
        | ~ accept_leader(A,L)
        | ~ accept_city(A,C) )
  <=> ! [A: $i,L: $i,C: $i] :
        ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
        | ~ accept_leader(A,L)
        | ~ accept_city(A,C) ) ),
    inference(quant_intro,[status(thm)],[21]) ).

tff(23,plain,
    ^ [A: $i,L: $i,C: $i] :
      trans(
        monotonicity(
          trans(
            monotonicity(
              rewrite(
                ( ( accept_city(A,C)
                  & accept_leader(A,L) )
              <=> ~ ( ~ accept_city(A,C)
                    | ~ accept_leader(A,L) ) )),
              ( ~ ( accept_city(A,C)
                  & accept_leader(A,L) )
            <=> ~ ~ ( ~ accept_city(A,C)
                    | ~ accept_leader(A,L) ) )),
            rewrite(
              ( ~ ~ ( ~ accept_city(A,C)
                    | ~ accept_leader(A,L) )
            <=> ( ~ accept_city(A,C)
                | ~ accept_leader(A,L) ) )),
            ( ~ ( accept_city(A,C)
                & accept_leader(A,L) )
          <=> ( ~ accept_city(A,C)
              | ~ accept_leader(A,L) ) )),
          ( ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
            | ~ ( accept_city(A,C)
                & accept_leader(A,L) ) )
        <=> ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
            | ~ accept_city(A,C)
            | ~ accept_leader(A,L) ) )),
        rewrite(
          ( ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
            | ~ accept_city(A,C)
            | ~ accept_leader(A,L) )
        <=> ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
            | ~ accept_leader(A,L)
            | ~ accept_city(A,C) ) )),
        ( ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
          | ~ ( accept_city(A,C)
              & accept_leader(A,L) ) )
      <=> ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
          | ~ accept_leader(A,L)
          | ~ accept_city(A,C) ) )),
    inference(bind,[status(th)],]) ).

tff(24,plain,
    ( ! [A: $i,L: $i,C: $i] :
        ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
        | ~ ( accept_city(A,C)
            & accept_leader(A,L) ) )
  <=> ! [A: $i,L: $i,C: $i] :
        ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
        | ~ accept_leader(A,L)
        | ~ accept_city(A,C) ) ),
    inference(quant_intro,[status(thm)],[23]) ).

tff(25,plain,
    ( ! [A: $i,L: $i,C: $i] :
        ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
        | ~ ( accept_city(A,C)
            & accept_leader(A,L) ) )
  <=> ! [A: $i,L: $i,C: $i] :
        ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
        | ~ ( accept_city(A,C)
            & accept_leader(A,L) ) ) ),
    inference(rewrite,[status(thm)],]) ).

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

tff(27,plain,
    ( ! [A: $i,L: $i,C: $i] :
        ( the_agent_not_in_any_proposed_teams(A,L,C)
       => ~ ( accept_city(A,C)
            & accept_leader(A,L) ) )
  <=> ! [A: $i,L: $i,C: $i] :
        ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
        | ~ ( accept_city(A,C)
            & accept_leader(A,L) ) ) ),
    inference(quant_intro,[status(thm)],[26]) ).

tff(28,axiom,
    ! [A: $i,L: $i,C: $i] :
      ( the_agent_not_in_any_proposed_teams(A,L,C)
     => ~ ( accept_city(A,C)
          & accept_leader(A,L) ) ),
    file('/export/starexec/sandbox/benchmark/Axioms/AGT001+0.ax',a1_6) ).

tff(29,plain,
    ! [A: $i,L: $i,C: $i] :
      ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
      | ~ ( accept_city(A,C)
          & accept_leader(A,L) ) ),
    inference(modus_ponens,[status(thm)],[28,27]) ).

tff(30,plain,
    ! [A: $i,L: $i,C: $i] :
      ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
      | ~ ( accept_city(A,C)
          & accept_leader(A,L) ) ),
    inference(modus_ponens,[status(thm)],[29,25]) ).

tff(31,plain,
    ! [A: $i,L: $i,C: $i] :
      ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
      | ~ ( accept_city(A,C)
          & accept_leader(A,L) ) ),
    inference(skolemize,[status(sab)],[30]) ).

tff(32,plain,
    ! [A: $i,L: $i,C: $i] :
      ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
      | ~ accept_leader(A,L)
      | ~ accept_city(A,C) ),
    inference(modus_ponens,[status(thm)],[31,24]) ).

tff(33,plain,
    ! [A: $i,L: $i,C: $i] :
      ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
      | ~ accept_leader(A,L)
      | ~ accept_city(A,C) ),
    inference(modus_ponens,[status(thm)],[32,22]) ).

tff(34,plain,
    ( ( ~ ! [A: $i,L: $i,C: $i] :
            ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
            | ~ accept_leader(A,L)
            | ~ accept_city(A,C) )
      | ~ accept_city(countryamedicalorganization,coastvillage)
      | ~ the_agent_not_in_any_proposed_teams(countryamedicalorganization,christiancountrychumanitarianorganization,coastvillage)
      | ~ accept_leader(countryamedicalorganization,christiancountrychumanitarianorganization) )
  <=> ( ~ ! [A: $i,L: $i,C: $i] :
            ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
            | ~ accept_leader(A,L)
            | ~ accept_city(A,C) )
      | ~ accept_city(countryamedicalorganization,coastvillage)
      | ~ the_agent_not_in_any_proposed_teams(countryamedicalorganization,christiancountrychumanitarianorganization,coastvillage)
      | ~ accept_leader(countryamedicalorganization,christiancountrychumanitarianorganization) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(35,plain,
    ( ( ~ the_agent_not_in_any_proposed_teams(countryamedicalorganization,christiancountrychumanitarianorganization,coastvillage)
      | ~ accept_leader(countryamedicalorganization,christiancountrychumanitarianorganization)
      | ~ accept_city(countryamedicalorganization,coastvillage) )
  <=> ( ~ accept_city(countryamedicalorganization,coastvillage)
      | ~ the_agent_not_in_any_proposed_teams(countryamedicalorganization,christiancountrychumanitarianorganization,coastvillage)
      | ~ accept_leader(countryamedicalorganization,christiancountrychumanitarianorganization) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(36,plain,
    ( ( ~ ! [A: $i,L: $i,C: $i] :
            ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
            | ~ accept_leader(A,L)
            | ~ accept_city(A,C) )
      | ~ the_agent_not_in_any_proposed_teams(countryamedicalorganization,christiancountrychumanitarianorganization,coastvillage)
      | ~ accept_leader(countryamedicalorganization,christiancountrychumanitarianorganization)
      | ~ accept_city(countryamedicalorganization,coastvillage) )
  <=> ( ~ ! [A: $i,L: $i,C: $i] :
            ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
            | ~ accept_leader(A,L)
            | ~ accept_city(A,C) )
      | ~ accept_city(countryamedicalorganization,coastvillage)
      | ~ the_agent_not_in_any_proposed_teams(countryamedicalorganization,christiancountrychumanitarianorganization,coastvillage)
      | ~ accept_leader(countryamedicalorganization,christiancountrychumanitarianorganization) ) ),
    inference(monotonicity,[status(thm)],[35]) ).

tff(37,plain,
    ( ( ~ ! [A: $i,L: $i,C: $i] :
            ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
            | ~ accept_leader(A,L)
            | ~ accept_city(A,C) )
      | ~ the_agent_not_in_any_proposed_teams(countryamedicalorganization,christiancountrychumanitarianorganization,coastvillage)
      | ~ accept_leader(countryamedicalorganization,christiancountrychumanitarianorganization)
      | ~ accept_city(countryamedicalorganization,coastvillage) )
  <=> ( ~ ! [A: $i,L: $i,C: $i] :
            ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
            | ~ accept_leader(A,L)
            | ~ accept_city(A,C) )
      | ~ accept_city(countryamedicalorganization,coastvillage)
      | ~ the_agent_not_in_any_proposed_teams(countryamedicalorganization,christiancountrychumanitarianorganization,coastvillage)
      | ~ accept_leader(countryamedicalorganization,christiancountrychumanitarianorganization) ) ),
    inference(transitivity,[status(thm)],[36,34]) ).

tff(38,plain,
    ( ~ ! [A: $i,L: $i,C: $i] :
          ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
          | ~ accept_leader(A,L)
          | ~ accept_city(A,C) )
    | ~ the_agent_not_in_any_proposed_teams(countryamedicalorganization,christiancountrychumanitarianorganization,coastvillage)
    | ~ accept_leader(countryamedicalorganization,christiancountrychumanitarianorganization)
    | ~ accept_city(countryamedicalorganization,coastvillage) ),
    inference(quant_inst,[status(thm)],]) ).

tff(39,plain,
    ( ~ ! [A: $i,L: $i,C: $i] :
          ( ~ the_agent_not_in_any_proposed_teams(A,L,C)
          | ~ accept_leader(A,L)
          | ~ accept_city(A,C) )
    | ~ accept_city(countryamedicalorganization,coastvillage)
    | ~ the_agent_not_in_any_proposed_teams(countryamedicalorganization,christiancountrychumanitarianorganization,coastvillage)
    | ~ accept_leader(countryamedicalorganization,christiancountrychumanitarianorganization) ),
    inference(modus_ponens,[status(thm)],[38,37]) ).

tff(40,plain,
    ~ accept_city(countryamedicalorganization,coastvillage),
    inference(unit_resolution,[status(thm)],[39,33,20,17]) ).

tff(41,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(42,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)],[41]) ).

tff(43,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(44,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)],[43]) ).

tff(45,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(46,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(47,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)],[46]) ).

tff(48,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(49,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)],[48,47]) ).

tff(50,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)],[49,45]) ).

tff(51,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)],[50]) ).

tff(52,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)],[51,44]) ).

tff(53,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)],[52,42]) ).

tff(54,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(55,plain,
    ( accept_team(countryamedicalorganization,countryahumanitarianorganization,coastvillage,n5)
  <=> ~ ( ~ accept_city(countryamedicalorganization,coastvillage)
        | ~ accept_leader(countryamedicalorganization,countryahumanitarianorganization)
        | ~ accept_number(countryamedicalorganization,n5) ) ),
    inference(unit_resolution,[status(thm)],[54,53]) ).

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

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

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

tff(59,plain,
    accept_team(countryamedicalorganization,countryahumanitarianorganization,coastvillage,n5),
    inference(modus_ponens,[status(thm)],[58,57]) ).

tff(60,plain,
    accept_team(countryamedicalorganization,countryahumanitarianorganization,coastvillage,n5),
    inference(modus_ponens,[status(thm)],[59,56]) ).

tff(61,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(62,plain,
    ( ~ ( accept_team(countryamedicalorganization,countryahumanitarianorganization,coastvillage,n5)
      <=> ~ ( ~ accept_city(countryamedicalorganization,coastvillage)
            | ~ accept_leader(countryamedicalorganization,countryahumanitarianorganization)
            | ~ accept_number(countryamedicalorganization,n5) ) )
    | ~ ( ~ accept_city(countryamedicalorganization,coastvillage)
        | ~ accept_leader(countryamedicalorganization,countryahumanitarianorganization)
        | ~ accept_number(countryamedicalorganization,n5) ) ),
    inference(unit_resolution,[status(thm)],[61,60]) ).

tff(63,plain,
    ~ ( ~ accept_city(countryamedicalorganization,coastvillage)
      | ~ accept_leader(countryamedicalorganization,countryahumanitarianorganization)
      | ~ accept_number(countryamedicalorganization,n5) ),
    inference(unit_resolution,[status(thm)],[62,55]) ).

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

tff(65,plain,
    $false,
    inference(unit_resolution,[status(thm)],[64,63,40]) ).

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