↑ Up

Z3---4.15.1.UNS-Prf.s

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

% 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 : Sat Jun 21 05:17:30 AM UTC 2025

% Result   : Unsatisfiable 0.93s 1.09s
% Output   : Proof 0.93s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   10
%            Number of leaves      :   53
% Syntax   : Number of formulae    :  120 (  33 unt;   0 typ;   0 def)
%            Number of atoms       :  526 (   0 equ)
%            Maximal formula atoms :   12 (   4 avg)
%            Number of connectives :  696 ( 315   ~; 325   |;   0   &)
%                                         (  56 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   11 (   6 avg)
%            Maximal term depth    :    6 (   2 avg)
%            Number of FOOLs       :   25 (  25 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    0 (   0   >;   0   *;   0   +;   0  <<)
%            Number of predicates  :   11 (  10 usr;   1 prp; 0-3 aty)
%            Number of functors    :    7 (   7 usr;   4 con; 0-2 aty)
%            Number of variables   :  387 ( 351   !;   0   ?; 387   :)

% Comments : 
%------------------------------------------------------------------------------
tff(answer_type,type,
    answer: $i > $o ).

tff(go_type,type,
    go: ( $i * $i ) > $i ).

tff(pick_up_type,type,
    pick_up: $i > $i ).

tff(let_go_type,type,
    let_go: $i > $i ).

tff(now_type,type,
    now: $i ).

tff(here_type,type,
    here: $i ).

tff(there_type,type,
    there: $i ).

tff(put_type,type,
    put: ( $i * $i * $i ) > $o ).

tff(something_type,type,
    something: $i ).

tff(at_type,type,
    at: ( $i * $i * $i ) > $o ).

tff(held_type,type,
    held: ( $i * $i ) > $o ).

tff(grabbed_type,type,
    grabbed: ( $i * $i ) > $o ).

tff(red_type,type,
    red: $i > $o ).

tff(1,plain,
    ^ [Thing: $i,Situation: $i,Place: $i] :
      refl(( ( ~ at(Thing,Place,Situation)
          | at(Thing,Place,let_go(Situation)) )
      <=> ( ~ at(Thing,Place,Situation)
          | at(Thing,Place,let_go(Situation)) ) )),
    inference(bind,[status(th)],[]) ).

tff(2,plain,
    ( ! [Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | at(Thing,Place,let_go(Situation)) )
  <=> ! [Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | at(Thing,Place,let_go(Situation)) ) ),
    inference(quant_intro,[status(thm)],[1]) ).

tff(3,plain,
    ( ! [Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | at(Thing,Place,let_go(Situation)) )
  <=> ! [Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | at(Thing,Place,let_go(Situation)) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(4,axiom,
    ! [Thing: $i,Situation: $i,Place: $i] :
      ( ~ at(Thing,Place,Situation)
      | at(Thing,Place,let_go(Situation)) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',situation_let_go) ).

tff(5,plain,
    ! [Thing: $i,Situation: $i,Place: $i] :
      ( ~ at(Thing,Place,Situation)
      | at(Thing,Place,let_go(Situation)) ),
    inference(modus_ponens,[status(thm)],[4,3]) ).

tff(6,plain,
    ! [Thing: $i,Situation: $i,Place: $i] :
      ( ~ at(Thing,Place,Situation)
      | at(Thing,Place,let_go(Situation)) ),
    inference(skolemize,[status(sab)],[5]) ).

tff(7,plain,
    ! [Thing: $i,Situation: $i,Place: $i] :
      ( ~ at(Thing,Place,Situation)
      | at(Thing,Place,let_go(Situation)) ),
    inference(modus_ponens,[status(thm)],[6,2]) ).

tff(8,plain,
    ( at(something,here,now)
  <=> at(something,here,now) ),
    inference(rewrite,[status(thm)],[]) ).

tff(9,axiom,
    at(something,here,now),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',something_is_here_now) ).

tff(10,plain,
    at(something,here,now),
    inference(modus_ponens,[status(thm)],[9,8]) ).

tff(11,plain,
    ( ( ~ ! [Thing: $i,Situation: $i,Place: $i] :
            ( ~ at(Thing,Place,Situation)
            | at(Thing,Place,let_go(Situation)) )
      | ~ at(something,here,now)
      | at(something,here,let_go(now)) )
  <=> ( ~ ! [Thing: $i,Situation: $i,Place: $i] :
            ( ~ at(Thing,Place,Situation)
            | at(Thing,Place,let_go(Situation)) )
      | ~ at(something,here,now)
      | at(something,here,let_go(now)) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(12,plain,
    ( ~ ! [Thing: $i,Situation: $i,Place: $i] :
          ( ~ at(Thing,Place,Situation)
          | at(Thing,Place,let_go(Situation)) )
    | ~ at(something,here,now)
    | at(something,here,let_go(now)) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(13,plain,
    ( ~ ! [Thing: $i,Situation: $i,Place: $i] :
          ( ~ at(Thing,Place,Situation)
          | at(Thing,Place,let_go(Situation)) )
    | ~ at(something,here,now)
    | at(something,here,let_go(now)) ),
    inference(modus_ponens,[status(thm)],[12,11]) ).

tff(14,plain,
    at(something,here,let_go(now)),
    inference(unit_resolution,[status(thm)],[13,10,7]) ).

tff(15,plain,
    ( ( ~ ! [Thing: $i,Situation: $i,Place: $i] :
            ( ~ at(Thing,Place,Situation)
            | at(Thing,Place,let_go(Situation)) )
      | ~ at(something,here,let_go(now))
      | at(something,here,let_go(let_go(now))) )
  <=> ( ~ ! [Thing: $i,Situation: $i,Place: $i] :
            ( ~ at(Thing,Place,Situation)
            | at(Thing,Place,let_go(Situation)) )
      | ~ at(something,here,let_go(now))
      | at(something,here,let_go(let_go(now))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(16,plain,
    ( ~ ! [Thing: $i,Situation: $i,Place: $i] :
          ( ~ at(Thing,Place,Situation)
          | at(Thing,Place,let_go(Situation)) )
    | ~ at(something,here,let_go(now))
    | at(something,here,let_go(let_go(now))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(17,plain,
    ( ~ ! [Thing: $i,Situation: $i,Place: $i] :
          ( ~ at(Thing,Place,Situation)
          | at(Thing,Place,let_go(Situation)) )
    | ~ at(something,here,let_go(now))
    | at(something,here,let_go(let_go(now))) ),
    inference(modus_ponens,[status(thm)],[16,15]) ).

tff(18,plain,
    at(something,here,let_go(let_go(now))),
    inference(unit_resolution,[status(thm)],[17,7,14]) ).

tff(19,plain,
    ^ [Thing: $i,Situation: $i] :
      refl(( ~ held(Thing,let_go(Situation))
      <=> ~ held(Thing,let_go(Situation)) )),
    inference(bind,[status(th)],[]) ).

tff(20,plain,
    ( ! [Thing: $i,Situation: $i] : ~ held(Thing,let_go(Situation))
  <=> ! [Thing: $i,Situation: $i] : ~ held(Thing,let_go(Situation)) ),
    inference(quant_intro,[status(thm)],[19]) ).

tff(21,plain,
    ( ! [Thing: $i,Situation: $i] : ~ held(Thing,let_go(Situation))
  <=> ! [Thing: $i,Situation: $i] : ~ held(Thing,let_go(Situation)) ),
    inference(rewrite,[status(thm)],[]) ).

tff(22,axiom,
    ! [Thing: $i,Situation: $i] : ~ held(Thing,let_go(Situation)),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',cant_hold_and_let_go) ).

tff(23,plain,
    ! [Thing: $i,Situation: $i] : ~ held(Thing,let_go(Situation)),
    inference(modus_ponens,[status(thm)],[22,21]) ).

tff(24,plain,
    ! [Thing: $i,Situation: $i] : ~ held(Thing,let_go(Situation)),
    inference(skolemize,[status(sab)],[23]) ).

tff(25,plain,
    ! [Thing: $i,Situation: $i] : ~ held(Thing,let_go(Situation)),
    inference(modus_ponens,[status(thm)],[24,20]) ).

tff(26,plain,
    ( ~ ! [Thing: $i,Situation: $i] : ~ held(Thing,let_go(Situation))
    | ~ held(something,let_go(let_go(now))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(27,plain,
    ~ held(something,let_go(let_go(now))),
    inference(unit_resolution,[status(thm)],[26,25]) ).

tff(28,plain,
    ^ [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
      refl(( ( ~ at(Thing,Place,Situation)
          | at(Thing,Place,go(Another_place,Situation))
          | held(Thing,Situation) )
      <=> ( ~ at(Thing,Place,Situation)
          | at(Thing,Place,go(Another_place,Situation))
          | held(Thing,Situation) ) )),
    inference(bind,[status(th)],[]) ).

tff(29,plain,
    ( ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | at(Thing,Place,go(Another_place,Situation))
        | held(Thing,Situation) )
  <=> ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | at(Thing,Place,go(Another_place,Situation))
        | held(Thing,Situation) ) ),
    inference(quant_intro,[status(thm)],[28]) ).

tff(30,plain,
    ( ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | at(Thing,Place,go(Another_place,Situation))
        | held(Thing,Situation) )
  <=> ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | at(Thing,Place,go(Another_place,Situation))
        | held(Thing,Situation) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(31,plain,
    ^ [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
      trans(monotonicity(rewrite(( ( held(Thing,Situation)
              | ~ at(Thing,Place,Situation) )
          <=> ( ~ at(Thing,Place,Situation)
              | held(Thing,Situation) ) )),
          ( ( held(Thing,Situation)
            | ~ at(Thing,Place,Situation)
            | at(Thing,Place,go(Another_place,Situation)) )
        <=> ( ~ at(Thing,Place,Situation)
            | held(Thing,Situation)
            | at(Thing,Place,go(Another_place,Situation)) ) )),
        rewrite(( ( ~ at(Thing,Place,Situation)
            | held(Thing,Situation)
            | at(Thing,Place,go(Another_place,Situation)) )
        <=> ( ~ at(Thing,Place,Situation)
            | at(Thing,Place,go(Another_place,Situation))
            | held(Thing,Situation) ) )),
        ( ( held(Thing,Situation)
          | ~ at(Thing,Place,Situation)
          | at(Thing,Place,go(Another_place,Situation)) )
      <=> ( ~ at(Thing,Place,Situation)
          | at(Thing,Place,go(Another_place,Situation))
          | held(Thing,Situation) ) )),
    inference(bind,[status(th)],[]) ).

tff(32,plain,
    ( ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
        ( held(Thing,Situation)
        | ~ at(Thing,Place,Situation)
        | at(Thing,Place,go(Another_place,Situation)) )
  <=> ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | at(Thing,Place,go(Another_place,Situation))
        | held(Thing,Situation) ) ),
    inference(quant_intro,[status(thm)],[31]) ).

tff(33,axiom,
    ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
      ( held(Thing,Situation)
      | ~ at(Thing,Place,Situation)
      | at(Thing,Place,go(Another_place,Situation)) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',thing_either_held_or_went_there) ).

tff(34,plain,
    ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
      ( ~ at(Thing,Place,Situation)
      | at(Thing,Place,go(Another_place,Situation))
      | held(Thing,Situation) ),
    inference(modus_ponens,[status(thm)],[33,32]) ).

tff(35,plain,
    ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
      ( ~ at(Thing,Place,Situation)
      | at(Thing,Place,go(Another_place,Situation))
      | held(Thing,Situation) ),
    inference(modus_ponens,[status(thm)],[34,30]) ).

tff(36,plain,
    ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
      ( ~ at(Thing,Place,Situation)
      | at(Thing,Place,go(Another_place,Situation))
      | held(Thing,Situation) ),
    inference(skolemize,[status(sab)],[35]) ).

tff(37,plain,
    ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
      ( ~ at(Thing,Place,Situation)
      | at(Thing,Place,go(Another_place,Situation))
      | held(Thing,Situation) ),
    inference(modus_ponens,[status(thm)],[36,29]) ).

tff(38,plain,
    ( ( ~ ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
            ( ~ at(Thing,Place,Situation)
            | at(Thing,Place,go(Another_place,Situation))
            | held(Thing,Situation) )
      | held(something,let_go(let_go(now)))
      | ~ at(something,here,let_go(let_go(now)))
      | at(something,here,go(here,let_go(let_go(now)))) )
  <=> ( ~ ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
            ( ~ at(Thing,Place,Situation)
            | at(Thing,Place,go(Another_place,Situation))
            | held(Thing,Situation) )
      | held(something,let_go(let_go(now)))
      | ~ at(something,here,let_go(let_go(now)))
      | at(something,here,go(here,let_go(let_go(now)))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(39,plain,
    ( ( ~ at(something,here,let_go(let_go(now)))
      | at(something,here,go(here,let_go(let_go(now))))
      | held(something,let_go(let_go(now))) )
  <=> ( held(something,let_go(let_go(now)))
      | ~ at(something,here,let_go(let_go(now)))
      | at(something,here,go(here,let_go(let_go(now)))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(40,plain,
    ( ( ~ ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
            ( ~ at(Thing,Place,Situation)
            | at(Thing,Place,go(Another_place,Situation))
            | held(Thing,Situation) )
      | ~ at(something,here,let_go(let_go(now)))
      | at(something,here,go(here,let_go(let_go(now))))
      | held(something,let_go(let_go(now))) )
  <=> ( ~ ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
            ( ~ at(Thing,Place,Situation)
            | at(Thing,Place,go(Another_place,Situation))
            | held(Thing,Situation) )
      | held(something,let_go(let_go(now)))
      | ~ at(something,here,let_go(let_go(now)))
      | at(something,here,go(here,let_go(let_go(now)))) ) ),
    inference(monotonicity,[status(thm)],[39]) ).

tff(41,plain,
    ( ( ~ ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
            ( ~ at(Thing,Place,Situation)
            | at(Thing,Place,go(Another_place,Situation))
            | held(Thing,Situation) )
      | ~ at(something,here,let_go(let_go(now)))
      | at(something,here,go(here,let_go(let_go(now))))
      | held(something,let_go(let_go(now))) )
  <=> ( ~ ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
            ( ~ at(Thing,Place,Situation)
            | at(Thing,Place,go(Another_place,Situation))
            | held(Thing,Situation) )
      | held(something,let_go(let_go(now)))
      | ~ at(something,here,let_go(let_go(now)))
      | at(something,here,go(here,let_go(let_go(now)))) ) ),
    inference(transitivity,[status(thm)],[40,38]) ).

tff(42,plain,
    ( ~ ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
          ( ~ at(Thing,Place,Situation)
          | at(Thing,Place,go(Another_place,Situation))
          | held(Thing,Situation) )
    | ~ at(something,here,let_go(let_go(now)))
    | at(something,here,go(here,let_go(let_go(now))))
    | held(something,let_go(let_go(now))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(43,plain,
    ( ~ ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
          ( ~ at(Thing,Place,Situation)
          | at(Thing,Place,go(Another_place,Situation))
          | held(Thing,Situation) )
    | held(something,let_go(let_go(now)))
    | ~ at(something,here,let_go(let_go(now)))
    | at(something,here,go(here,let_go(let_go(now)))) ),
    inference(modus_ponens,[status(thm)],[42,41]) ).

tff(44,plain,
    at(something,here,go(here,let_go(let_go(now)))),
    inference(unit_resolution,[status(thm)],[43,37,27,18]) ).

tff(45,plain,
    ^ [Thing: $i,Situation: $i,Place: $i] :
      refl(( ( ~ at(Thing,Place,Situation)
          | at(Thing,Place,pick_up(Situation)) )
      <=> ( ~ at(Thing,Place,Situation)
          | at(Thing,Place,pick_up(Situation)) ) )),
    inference(bind,[status(th)],[]) ).

tff(46,plain,
    ( ! [Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | at(Thing,Place,pick_up(Situation)) )
  <=> ! [Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | at(Thing,Place,pick_up(Situation)) ) ),
    inference(quant_intro,[status(thm)],[45]) ).

tff(47,plain,
    ( ! [Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | at(Thing,Place,pick_up(Situation)) )
  <=> ! [Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | at(Thing,Place,pick_up(Situation)) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(48,axiom,
    ! [Thing: $i,Situation: $i,Place: $i] :
      ( ~ at(Thing,Place,Situation)
      | at(Thing,Place,pick_up(Situation)) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',situation_pick_up) ).

tff(49,plain,
    ! [Thing: $i,Situation: $i,Place: $i] :
      ( ~ at(Thing,Place,Situation)
      | at(Thing,Place,pick_up(Situation)) ),
    inference(modus_ponens,[status(thm)],[48,47]) ).

tff(50,plain,
    ! [Thing: $i,Situation: $i,Place: $i] :
      ( ~ at(Thing,Place,Situation)
      | at(Thing,Place,pick_up(Situation)) ),
    inference(skolemize,[status(sab)],[49]) ).

tff(51,plain,
    ! [Thing: $i,Situation: $i,Place: $i] :
      ( ~ at(Thing,Place,Situation)
      | at(Thing,Place,pick_up(Situation)) ),
    inference(modus_ponens,[status(thm)],[50,46]) ).

tff(52,plain,
    ( ( ~ ! [Thing: $i,Situation: $i,Place: $i] :
            ( ~ at(Thing,Place,Situation)
            | at(Thing,Place,pick_up(Situation)) )
      | ~ at(something,here,go(here,let_go(let_go(now))))
      | at(something,here,pick_up(go(here,let_go(let_go(now))))) )
  <=> ( ~ ! [Thing: $i,Situation: $i,Place: $i] :
            ( ~ at(Thing,Place,Situation)
            | at(Thing,Place,pick_up(Situation)) )
      | ~ at(something,here,go(here,let_go(let_go(now))))
      | at(something,here,pick_up(go(here,let_go(let_go(now))))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(53,plain,
    ( ~ ! [Thing: $i,Situation: $i,Place: $i] :
          ( ~ at(Thing,Place,Situation)
          | at(Thing,Place,pick_up(Situation)) )
    | ~ at(something,here,go(here,let_go(let_go(now))))
    | at(something,here,pick_up(go(here,let_go(let_go(now))))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(54,plain,
    ( ~ ! [Thing: $i,Situation: $i,Place: $i] :
          ( ~ at(Thing,Place,Situation)
          | at(Thing,Place,pick_up(Situation)) )
    | ~ at(something,here,go(here,let_go(let_go(now))))
    | at(something,here,pick_up(go(here,let_go(let_go(now))))) ),
    inference(modus_ponens,[status(thm)],[53,52]) ).

tff(55,plain,
    at(something,here,pick_up(go(here,let_go(let_go(now))))),
    inference(unit_resolution,[status(thm)],[54,51,44]) ).

tff(56,plain,
    ^ [Thing: $i,Situation: $i,Place: $i] :
      refl(( ( ~ at(Thing,Place,Situation)
          | grabbed(Thing,pick_up(go(Place,let_go(Situation)))) )
      <=> ( ~ at(Thing,Place,Situation)
          | grabbed(Thing,pick_up(go(Place,let_go(Situation)))) ) )),
    inference(bind,[status(th)],[]) ).

tff(57,plain,
    ( ! [Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | grabbed(Thing,pick_up(go(Place,let_go(Situation)))) )
  <=> ! [Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | grabbed(Thing,pick_up(go(Place,let_go(Situation)))) ) ),
    inference(quant_intro,[status(thm)],[56]) ).

tff(58,plain,
    ( ! [Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | grabbed(Thing,pick_up(go(Place,let_go(Situation)))) )
  <=> ! [Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | grabbed(Thing,pick_up(go(Place,let_go(Situation)))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(59,axiom,
    ! [Thing: $i,Situation: $i,Place: $i] :
      ( ~ at(Thing,Place,Situation)
      | grabbed(Thing,pick_up(go(Place,let_go(Situation)))) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',can_grab_if_previously_let_go) ).

tff(60,plain,
    ! [Thing: $i,Situation: $i,Place: $i] :
      ( ~ at(Thing,Place,Situation)
      | grabbed(Thing,pick_up(go(Place,let_go(Situation)))) ),
    inference(modus_ponens,[status(thm)],[59,58]) ).

tff(61,plain,
    ! [Thing: $i,Situation: $i,Place: $i] :
      ( ~ at(Thing,Place,Situation)
      | grabbed(Thing,pick_up(go(Place,let_go(Situation)))) ),
    inference(skolemize,[status(sab)],[60]) ).

tff(62,plain,
    ! [Thing: $i,Situation: $i,Place: $i] :
      ( ~ at(Thing,Place,Situation)
      | grabbed(Thing,pick_up(go(Place,let_go(Situation)))) ),
    inference(modus_ponens,[status(thm)],[61,57]) ).

tff(63,plain,
    ( ( ~ ! [Thing: $i,Situation: $i,Place: $i] :
            ( ~ at(Thing,Place,Situation)
            | grabbed(Thing,pick_up(go(Place,let_go(Situation)))) )
      | ~ at(something,here,let_go(now))
      | grabbed(something,pick_up(go(here,let_go(let_go(now))))) )
  <=> ( ~ ! [Thing: $i,Situation: $i,Place: $i] :
            ( ~ at(Thing,Place,Situation)
            | grabbed(Thing,pick_up(go(Place,let_go(Situation)))) )
      | ~ at(something,here,let_go(now))
      | grabbed(something,pick_up(go(here,let_go(let_go(now))))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(64,plain,
    ( ~ ! [Thing: $i,Situation: $i,Place: $i] :
          ( ~ at(Thing,Place,Situation)
          | grabbed(Thing,pick_up(go(Place,let_go(Situation)))) )
    | ~ at(something,here,let_go(now))
    | grabbed(something,pick_up(go(here,let_go(let_go(now))))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(65,plain,
    ( ~ ! [Thing: $i,Situation: $i,Place: $i] :
          ( ~ at(Thing,Place,Situation)
          | grabbed(Thing,pick_up(go(Place,let_go(Situation)))) )
    | ~ at(something,here,let_go(now))
    | grabbed(something,pick_up(go(here,let_go(let_go(now))))) ),
    inference(modus_ponens,[status(thm)],[64,63]) ).

tff(66,plain,
    grabbed(something,pick_up(go(here,let_go(let_go(now))))),
    inference(unit_resolution,[status(thm)],[65,62,14]) ).

tff(67,plain,
    ^ [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
      refl(( ( ~ at(Thing,Place,Situation)
          | put(Thing,Another_place,go(Another_place,Situation))
          | ~ grabbed(Thing,Situation) )
      <=> ( ~ at(Thing,Place,Situation)
          | put(Thing,Another_place,go(Another_place,Situation))
          | ~ grabbed(Thing,Situation) ) )),
    inference(bind,[status(th)],[]) ).

tff(68,plain,
    ( ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | put(Thing,Another_place,go(Another_place,Situation))
        | ~ grabbed(Thing,Situation) )
  <=> ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | put(Thing,Another_place,go(Another_place,Situation))
        | ~ grabbed(Thing,Situation) ) ),
    inference(quant_intro,[status(thm)],[67]) ).

tff(69,plain,
    ( ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | put(Thing,Another_place,go(Another_place,Situation))
        | ~ grabbed(Thing,Situation) )
  <=> ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | put(Thing,Another_place,go(Another_place,Situation))
        | ~ grabbed(Thing,Situation) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(70,plain,
    ^ [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
      trans(monotonicity(rewrite(( ( ~ at(Thing,Place,Situation)
              | ~ grabbed(Thing,Situation) )
          <=> ( ~ at(Thing,Place,Situation)
              | ~ grabbed(Thing,Situation) ) )),
          ( ( ~ at(Thing,Place,Situation)
            | ~ grabbed(Thing,Situation)
            | put(Thing,Another_place,go(Another_place,Situation)) )
        <=> ( ~ at(Thing,Place,Situation)
            | ~ grabbed(Thing,Situation)
            | put(Thing,Another_place,go(Another_place,Situation)) ) )),
        rewrite(( ( ~ at(Thing,Place,Situation)
            | ~ grabbed(Thing,Situation)
            | put(Thing,Another_place,go(Another_place,Situation)) )
        <=> ( ~ at(Thing,Place,Situation)
            | put(Thing,Another_place,go(Another_place,Situation))
            | ~ grabbed(Thing,Situation) ) )),
        ( ( ~ at(Thing,Place,Situation)
          | ~ grabbed(Thing,Situation)
          | put(Thing,Another_place,go(Another_place,Situation)) )
      <=> ( ~ at(Thing,Place,Situation)
          | put(Thing,Another_place,go(Another_place,Situation))
          | ~ grabbed(Thing,Situation) ) )),
    inference(bind,[status(th)],[]) ).

tff(71,plain,
    ( ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | ~ grabbed(Thing,Situation)
        | put(Thing,Another_place,go(Another_place,Situation)) )
  <=> ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
        ( ~ at(Thing,Place,Situation)
        | put(Thing,Another_place,go(Another_place,Situation))
        | ~ grabbed(Thing,Situation) ) ),
    inference(quant_intro,[status(thm)],[70]) ).

tff(72,axiom,
    ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
      ( ~ at(Thing,Place,Situation)
      | ~ grabbed(Thing,Situation)
      | put(Thing,Another_place,go(Another_place,Situation)) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',can_put_somewhere_if_grab_and_go_there) ).

tff(73,plain,
    ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
      ( ~ at(Thing,Place,Situation)
      | put(Thing,Another_place,go(Another_place,Situation))
      | ~ grabbed(Thing,Situation) ),
    inference(modus_ponens,[status(thm)],[72,71]) ).

tff(74,plain,
    ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
      ( ~ at(Thing,Place,Situation)
      | put(Thing,Another_place,go(Another_place,Situation))
      | ~ grabbed(Thing,Situation) ),
    inference(modus_ponens,[status(thm)],[73,69]) ).

tff(75,plain,
    ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
      ( ~ at(Thing,Place,Situation)
      | put(Thing,Another_place,go(Another_place,Situation))
      | ~ grabbed(Thing,Situation) ),
    inference(skolemize,[status(sab)],[74]) ).

tff(76,plain,
    ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
      ( ~ at(Thing,Place,Situation)
      | put(Thing,Another_place,go(Another_place,Situation))
      | ~ grabbed(Thing,Situation) ),
    inference(modus_ponens,[status(thm)],[75,68]) ).

tff(77,plain,
    ( ( ~ ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
            ( ~ at(Thing,Place,Situation)
            | put(Thing,Another_place,go(Another_place,Situation))
            | ~ grabbed(Thing,Situation) )
      | ~ at(something,here,pick_up(go(here,let_go(let_go(now)))))
      | put(something,there,go(there,pick_up(go(here,let_go(let_go(now))))))
      | ~ grabbed(something,pick_up(go(here,let_go(let_go(now))))) )
  <=> ( ~ ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
            ( ~ at(Thing,Place,Situation)
            | put(Thing,Another_place,go(Another_place,Situation))
            | ~ grabbed(Thing,Situation) )
      | ~ at(something,here,pick_up(go(here,let_go(let_go(now)))))
      | put(something,there,go(there,pick_up(go(here,let_go(let_go(now))))))
      | ~ grabbed(something,pick_up(go(here,let_go(let_go(now))))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(78,plain,
    ( ~ ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
          ( ~ at(Thing,Place,Situation)
          | put(Thing,Another_place,go(Another_place,Situation))
          | ~ grabbed(Thing,Situation) )
    | ~ at(something,here,pick_up(go(here,let_go(let_go(now)))))
    | put(something,there,go(there,pick_up(go(here,let_go(let_go(now))))))
    | ~ grabbed(something,pick_up(go(here,let_go(let_go(now))))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(79,plain,
    ( ~ ! [Another_place: $i,Thing: $i,Situation: $i,Place: $i] :
          ( ~ at(Thing,Place,Situation)
          | put(Thing,Another_place,go(Another_place,Situation))
          | ~ grabbed(Thing,Situation) )
    | ~ at(something,here,pick_up(go(here,let_go(let_go(now)))))
    | put(something,there,go(there,pick_up(go(here,let_go(let_go(now))))))
    | ~ grabbed(something,pick_up(go(here,let_go(let_go(now))))) ),
    inference(modus_ponens,[status(thm)],[78,77]) ).

tff(80,plain,
    put(something,there,go(there,pick_up(go(here,let_go(let_go(now)))))),
    inference(unit_resolution,[status(thm)],[79,76,66,55]) ).

tff(81,plain,
    ^ [Thing: $i,Situation: $i] :
      refl(( ( red(Thing)
          | ~ at(Thing,here,Situation) )
      <=> ( red(Thing)
          | ~ at(Thing,here,Situation) ) )),
    inference(bind,[status(th)],[]) ).

tff(82,plain,
    ( ! [Thing: $i,Situation: $i] :
        ( red(Thing)
        | ~ at(Thing,here,Situation) )
  <=> ! [Thing: $i,Situation: $i] :
        ( red(Thing)
        | ~ at(Thing,here,Situation) ) ),
    inference(quant_intro,[status(thm)],[81]) ).

tff(83,plain,
    ( ! [Thing: $i,Situation: $i] :
        ( red(Thing)
        | ~ at(Thing,here,Situation) )
  <=> ! [Thing: $i,Situation: $i] :
        ( red(Thing)
        | ~ at(Thing,here,Situation) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(84,plain,
    ^ [Thing: $i,Situation: $i] :
      rewrite(( ( ~ at(Thing,here,Situation)
          | red(Thing) )
      <=> ( red(Thing)
          | ~ at(Thing,here,Situation) ) )),
    inference(bind,[status(th)],[]) ).

tff(85,plain,
    ( ! [Thing: $i,Situation: $i] :
        ( ~ at(Thing,here,Situation)
        | red(Thing) )
  <=> ! [Thing: $i,Situation: $i] :
        ( red(Thing)
        | ~ at(Thing,here,Situation) ) ),
    inference(quant_intro,[status(thm)],[84]) ).

tff(86,axiom,
    ! [Thing: $i,Situation: $i] :
      ( ~ at(Thing,here,Situation)
      | red(Thing) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',everything_is_red) ).

tff(87,plain,
    ! [Thing: $i,Situation: $i] :
      ( red(Thing)
      | ~ at(Thing,here,Situation) ),
    inference(modus_ponens,[status(thm)],[86,85]) ).

tff(88,plain,
    ! [Thing: $i,Situation: $i] :
      ( red(Thing)
      | ~ at(Thing,here,Situation) ),
    inference(modus_ponens,[status(thm)],[87,83]) ).

tff(89,plain,
    ! [Thing: $i,Situation: $i] :
      ( red(Thing)
      | ~ at(Thing,here,Situation) ),
    inference(skolemize,[status(sab)],[88]) ).

tff(90,plain,
    ! [Thing: $i,Situation: $i] :
      ( red(Thing)
      | ~ at(Thing,here,Situation) ),
    inference(modus_ponens,[status(thm)],[89,82]) ).

tff(91,plain,
    ( ( ~ ! [Thing: $i,Situation: $i] :
            ( red(Thing)
            | ~ at(Thing,here,Situation) )
      | red(something)
      | ~ at(something,here,now) )
  <=> ( ~ ! [Thing: $i,Situation: $i] :
            ( red(Thing)
            | ~ at(Thing,here,Situation) )
      | red(something)
      | ~ at(something,here,now) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(92,plain,
    ( ~ ! [Thing: $i,Situation: $i] :
          ( red(Thing)
          | ~ at(Thing,here,Situation) )
    | red(something)
    | ~ at(something,here,now) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(93,plain,
    ( ~ ! [Thing: $i,Situation: $i] :
          ( red(Thing)
          | ~ at(Thing,here,Situation) )
    | red(something)
    | ~ at(something,here,now) ),
    inference(modus_ponens,[status(thm)],[92,91]) ).

tff(94,plain,
    red(something),
    inference(unit_resolution,[status(thm)],[93,10,90]) ).

tff(95,plain,
    ^ [Thing: $i,Situation: $i] :
      refl(( ( answer(Situation)
          | ~ put(Thing,there,Situation)
          | ~ red(Thing) )
      <=> ( answer(Situation)
          | ~ put(Thing,there,Situation)
          | ~ red(Thing) ) )),
    inference(bind,[status(th)],[]) ).

tff(96,plain,
    ( ! [Thing: $i,Situation: $i] :
        ( answer(Situation)
        | ~ put(Thing,there,Situation)
        | ~ red(Thing) )
  <=> ! [Thing: $i,Situation: $i] :
        ( answer(Situation)
        | ~ put(Thing,there,Situation)
        | ~ red(Thing) ) ),
    inference(quant_intro,[status(thm)],[95]) ).

tff(97,plain,
    ( ! [Thing: $i,Situation: $i] :
        ( answer(Situation)
        | ~ put(Thing,there,Situation)
        | ~ red(Thing) )
  <=> ! [Thing: $i,Situation: $i] :
        ( answer(Situation)
        | ~ put(Thing,there,Situation)
        | ~ red(Thing) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(98,plain,
    ^ [Thing: $i,Situation: $i] :
      rewrite(( ( ~ red(Thing)
          | ~ put(Thing,there,Situation)
          | answer(Situation) )
      <=> ( answer(Situation)
          | ~ put(Thing,there,Situation)
          | ~ red(Thing) ) )),
    inference(bind,[status(th)],[]) ).

tff(99,plain,
    ( ! [Thing: $i,Situation: $i] :
        ( ~ red(Thing)
        | ~ put(Thing,there,Situation)
        | answer(Situation) )
  <=> ! [Thing: $i,Situation: $i] :
        ( answer(Situation)
        | ~ put(Thing,there,Situation)
        | ~ red(Thing) ) ),
    inference(quant_intro,[status(thm)],[98]) ).

tff(100,axiom,
    ! [Thing: $i,Situation: $i] :
      ( ~ red(Thing)
      | ~ put(Thing,there,Situation)
      | answer(Situation) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',answer_if_red_and_put_there) ).

tff(101,plain,
    ! [Thing: $i,Situation: $i] :
      ( answer(Situation)
      | ~ put(Thing,there,Situation)
      | ~ red(Thing) ),
    inference(modus_ponens,[status(thm)],[100,99]) ).

tff(102,plain,
    ! [Thing: $i,Situation: $i] :
      ( answer(Situation)
      | ~ put(Thing,there,Situation)
      | ~ red(Thing) ),
    inference(modus_ponens,[status(thm)],[101,97]) ).

tff(103,plain,
    ! [Thing: $i,Situation: $i] :
      ( answer(Situation)
      | ~ put(Thing,there,Situation)
      | ~ red(Thing) ),
    inference(skolemize,[status(sab)],[102]) ).

tff(104,plain,
    ! [Thing: $i,Situation: $i] :
      ( answer(Situation)
      | ~ put(Thing,there,Situation)
      | ~ red(Thing) ),
    inference(modus_ponens,[status(thm)],[103,96]) ).

tff(105,plain,
    ( ( ~ ! [Thing: $i,Situation: $i] :
            ( answer(Situation)
            | ~ put(Thing,there,Situation)
            | ~ red(Thing) )
      | ~ red(something)
      | answer(go(there,pick_up(go(here,let_go(let_go(now))))))
      | ~ put(something,there,go(there,pick_up(go(here,let_go(let_go(now)))))) )
  <=> ( ~ ! [Thing: $i,Situation: $i] :
            ( answer(Situation)
            | ~ put(Thing,there,Situation)
            | ~ red(Thing) )
      | ~ red(something)
      | answer(go(there,pick_up(go(here,let_go(let_go(now))))))
      | ~ put(something,there,go(there,pick_up(go(here,let_go(let_go(now)))))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(106,plain,
    ( ( answer(go(there,pick_up(go(here,let_go(let_go(now))))))
      | ~ put(something,there,go(there,pick_up(go(here,let_go(let_go(now))))))
      | ~ red(something) )
  <=> ( ~ red(something)
      | answer(go(there,pick_up(go(here,let_go(let_go(now))))))
      | ~ put(something,there,go(there,pick_up(go(here,let_go(let_go(now)))))) ) ),
    inference(rewrite,[status(thm)],[]) ).

tff(107,plain,
    ( ( ~ ! [Thing: $i,Situation: $i] :
            ( answer(Situation)
            | ~ put(Thing,there,Situation)
            | ~ red(Thing) )
      | answer(go(there,pick_up(go(here,let_go(let_go(now))))))
      | ~ put(something,there,go(there,pick_up(go(here,let_go(let_go(now))))))
      | ~ red(something) )
  <=> ( ~ ! [Thing: $i,Situation: $i] :
            ( answer(Situation)
            | ~ put(Thing,there,Situation)
            | ~ red(Thing) )
      | ~ red(something)
      | answer(go(there,pick_up(go(here,let_go(let_go(now))))))
      | ~ put(something,there,go(there,pick_up(go(here,let_go(let_go(now)))))) ) ),
    inference(monotonicity,[status(thm)],[106]) ).

tff(108,plain,
    ( ( ~ ! [Thing: $i,Situation: $i] :
            ( answer(Situation)
            | ~ put(Thing,there,Situation)
            | ~ red(Thing) )
      | answer(go(there,pick_up(go(here,let_go(let_go(now))))))
      | ~ put(something,there,go(there,pick_up(go(here,let_go(let_go(now))))))
      | ~ red(something) )
  <=> ( ~ ! [Thing: $i,Situation: $i] :
            ( answer(Situation)
            | ~ put(Thing,there,Situation)
            | ~ red(Thing) )
      | ~ red(something)
      | answer(go(there,pick_up(go(here,let_go(let_go(now))))))
      | ~ put(something,there,go(there,pick_up(go(here,let_go(let_go(now)))))) ) ),
    inference(transitivity,[status(thm)],[107,105]) ).

tff(109,plain,
    ( ~ ! [Thing: $i,Situation: $i] :
          ( answer(Situation)
          | ~ put(Thing,there,Situation)
          | ~ red(Thing) )
    | answer(go(there,pick_up(go(here,let_go(let_go(now))))))
    | ~ put(something,there,go(there,pick_up(go(here,let_go(let_go(now))))))
    | ~ red(something) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(110,plain,
    ( ~ ! [Thing: $i,Situation: $i] :
          ( answer(Situation)
          | ~ put(Thing,there,Situation)
          | ~ red(Thing) )
    | ~ red(something)
    | answer(go(there,pick_up(go(here,let_go(let_go(now))))))
    | ~ put(something,there,go(there,pick_up(go(here,let_go(let_go(now)))))) ),
    inference(modus_ponens,[status(thm)],[109,108]) ).

tff(111,plain,
    answer(go(there,pick_up(go(here,let_go(let_go(now)))))),
    inference(unit_resolution,[status(thm)],[110,104,94,80]) ).

tff(112,plain,
    ^ [Situation: $i] :
      refl(( ~ answer(Situation)
      <=> ~ answer(Situation) )),
    inference(bind,[status(th)],[]) ).

tff(113,plain,
    ( ! [Situation: $i] : ~ answer(Situation)
  <=> ! [Situation: $i] : ~ answer(Situation) ),
    inference(quant_intro,[status(thm)],[112]) ).

tff(114,plain,
    ( ! [Situation: $i] : ~ answer(Situation)
  <=> ! [Situation: $i] : ~ answer(Situation) ),
    inference(rewrite,[status(thm)],[]) ).

tff(115,axiom,
    ! [Situation: $i] : ~ answer(Situation),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_there_is_an_answer_situation) ).

tff(116,plain,
    ! [Situation: $i] : ~ answer(Situation),
    inference(modus_ponens,[status(thm)],[115,114]) ).

tff(117,plain,
    ! [Situation: $i] : ~ answer(Situation),
    inference(skolemize,[status(sab)],[116]) ).

tff(118,plain,
    ! [Situation: $i] : ~ answer(Situation),
    inference(modus_ponens,[status(thm)],[117,113]) ).

tff(119,plain,
    ( ~ ! [Situation: $i] : ~ answer(Situation)
    | ~ answer(go(there,pick_up(go(here,let_go(let_go(now)))))) ),
    inference(quant_inst,[status(thm)],[]) ).

tff(120,plain,
    $false,
    inference(unit_resolution,[status(thm)],[119,118,111]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.11/0.12  % Problem    : MSC002-2 : TPTP v9.0.0. Released v1.0.0.
% 0.11/0.12  % Command    : run_E %s %d THM
% 0.12/0.33  % Computer : n001.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    : 300
% 0.12/0.33  % DateTime   : Thu Jun 19 23:37:19 EDT 2025
% 0.19/0.34  % CPUTime    : 
% 0.93/1.09  % SZS status Unsatisfiable
% 0.93/1.09  % SZS output start Proof
% See solution above
% 0.93/1.10  % E exiting
%------------------------------------------------------------------------------