TSTP Solution File: CSR022+1 by Leo-III-SAT---1.7.10

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Leo-III-SAT---1.7.10
% Problem  : CSR022+1 : TPTP v8.1.2. Bugfixed v3.1.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : run_Leo-III %s %d

% Computer : n006.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 May  7 10:28:26 EDT 2024

% Result   : Theorem 139.06s 21.12s
% Output   : Refutation 139.06s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   14
%            Number of leaves      :   19
% Syntax   : Number of formulae    :   55 (  18 unt;  13 typ;   0 def)
%            Number of atoms       :  216 ( 131 equ;   0 cnn)
%            Maximal formula atoms :   38 (   5 avg)
%            Number of connectives :  468 (  68   ~;  70   |;  86   &; 232   @)
%                                         (   2 <=>;  10  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   16 (   6 avg)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    9 (   9   >;   0   *;   0   +;   0  <<)
%            Number of symbols     :   16 (  13 usr;  11 con; 0-3 aty)
%            Number of variables   :   65 (   0   ^  65   !;   0   ?;  65   :)

% Comments : 
%------------------------------------------------------------------------------
thf(holdsAt_type,type,
    holdsAt: $i > $i > $o ).

thf(forwards_type,type,
    forwards: $i ).

thf(n3_type,type,
    n3: $i ).

thf(plus_type,type,
    plus: $i > $i > $i ).

thf(n1_type,type,
    n1: $i ).

thf(n0_type,type,
    n0: $i ).

thf(happens_type,type,
    happens: $i > $i > $o ).

thf(push_type,type,
    push: $i ).

thf(pull_type,type,
    pull: $i ).

thf(n2_type,type,
    n2: $i ).

thf(terminates_type,type,
    terminates: $i > $i > $i > $o ).

thf(spinning_type,type,
    spinning: $i ).

thf(backwards_type,type,
    backwards: $i ).

thf(47,axiom,
    ! [A: $i,B: $i,C: $i] :
      ( ( terminates @ A @ B @ C )
    <=> ( ( ( A = push )
          & ( B = backwards )
          & ~ ( happens @ pull @ C ) )
        | ( ( A = pull )
          & ( B = forwards )
          & ~ ( happens @ push @ C ) )
        | ( ( A = pull )
          & ( B = forwards )
          & ( happens @ push @ C ) )
        | ( ( A = pull )
          & ( B = backwards )
          & ( happens @ push @ C ) )
        | ( ( A = push )
          & ( B = spinning )
          & ~ ( happens @ pull @ C ) )
        | ( ( A = pull )
          & ( B = spinning )
          & ~ ( happens @ push @ C ) ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',terminates_all_defn) ).

thf(259,plain,
    ! [A: $i,B: $i,C: $i] :
      ( ( ( terminates @ A @ B @ C )
       => ( ( ( A = push )
            & ( B = backwards )
            & ~ ( happens @ pull @ C ) )
          | ( ( A = pull )
            & ( B = forwards )
            & ~ ( happens @ push @ C ) )
          | ( ( A = pull )
            & ( B = forwards )
            & ( happens @ push @ C ) )
          | ( ( A = pull )
            & ( B = backwards )
            & ( happens @ push @ C ) )
          | ( ( A = push )
            & ( B = spinning )
            & ~ ( happens @ pull @ C ) )
          | ( ( A = pull )
            & ( B = spinning )
            & ~ ( happens @ push @ C ) ) ) )
      & ( ( ( ( A = push )
            & ( B = backwards )
            & ~ ( happens @ pull @ C ) )
          | ( ( A = pull )
            & ( B = forwards )
            & ~ ( happens @ push @ C ) )
          | ( ( A = pull )
            & ( B = forwards )
            & ( happens @ push @ C ) )
          | ( ( A = pull )
            & ( B = backwards )
            & ( happens @ push @ C ) )
          | ( ( A = push )
            & ( B = spinning )
            & ~ ( happens @ pull @ C ) )
          | ( ( A = pull )
            & ( B = spinning )
            & ~ ( happens @ push @ C ) ) )
       => ( terminates @ A @ B @ C ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[47]) ).

thf(260,plain,
    ( ! [A: $i,B: $i,C: $i] :
        ( ( terminates @ A @ B @ C )
       => ( ( ( A = push )
            & ( B = backwards )
            & ~ ( happens @ pull @ C ) )
          | ( ( A = pull )
            & ( B = forwards )
            & ~ ( happens @ push @ C ) )
          | ( ( A = pull )
            & ( B = forwards )
            & ( happens @ push @ C ) )
          | ( ( A = pull )
            & ( B = backwards )
            & ( happens @ push @ C ) )
          | ( ( A = push )
            & ( B = spinning )
            & ~ ( happens @ pull @ C ) )
          | ( ( A = pull )
            & ( B = spinning )
            & ~ ( happens @ push @ C ) ) ) )
    & ! [A: $i,B: $i,C: $i] :
        ( ( ( ( A = push )
            & ( B = backwards )
            & ~ ( happens @ pull @ C ) )
          | ( ( A = pull )
            & ( B = forwards )
            & ~ ( happens @ push @ C ) )
          | ( ( A = pull )
            & ( B = forwards )
            & ( happens @ push @ C ) )
          | ( ( A = pull )
            & ( B = backwards )
            & ( happens @ push @ C ) )
          | ( ( A = push )
            & ( B = spinning )
            & ~ ( happens @ pull @ C ) )
          | ( ( A = pull )
            & ( B = spinning )
            & ~ ( happens @ push @ C ) ) )
       => ( terminates @ A @ B @ C ) ) ),
    inference(miniscope,[status(thm)],[259]) ).

thf(273,plain,
    ! [C: $i,B: $i,A: $i] :
      ( ( A != pull )
      | ( B != forwards )
      | ~ ( happens @ push @ C )
      | ( terminates @ A @ B @ C ) ),
    inference(cnf,[status(esa)],[260]) ).

thf(307,plain,
    ! [C: $i,B: $i,A: $i] :
      ( ( A != pull )
      | ( B != forwards )
      | ~ ( happens @ push @ C )
      | ( terminates @ A @ B @ C ) ),
    inference(lifteq,[status(thm)],[273]) ).

thf(308,plain,
    ! [A: $i] :
      ( ~ ( happens @ push @ A )
      | ( terminates @ pull @ forwards @ A ) ),
    inference(simp,[status(thm)],[307]) ).

thf(9,axiom,
    ! [A: $i,B: $i] :
      ( ( happens @ A @ B )
    <=> ( ( ( A = push )
          & ( B = n0 ) )
        | ( ( A = pull )
          & ( B = n1 ) )
        | ( ( A = pull )
          & ( B = n2 ) )
        | ( ( A = push )
          & ( B = n2 ) ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',happens_all_defn) ).

thf(78,plain,
    ! [A: $i,B: $i] :
      ( ( ( happens @ A @ B )
       => ( ( ( A = push )
            & ( B = n0 ) )
          | ( ( A = pull )
            & ( B = n1 ) )
          | ( ( A = pull )
            & ( B = n2 ) )
          | ( ( A = push )
            & ( B = n2 ) ) ) )
      & ( ( ( ( A = push )
            & ( B = n0 ) )
          | ( ( A = pull )
            & ( B = n1 ) )
          | ( ( A = pull )
            & ( B = n2 ) )
          | ( ( A = push )
            & ( B = n2 ) ) )
       => ( happens @ A @ B ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[9]) ).

thf(79,plain,
    ( ! [A: $i,B: $i] :
        ( ( happens @ A @ B )
       => ( ( ( A = push )
            & ( B = n0 ) )
          | ( ( A = pull )
            & ( B = n1 ) )
          | ( ( A = pull )
            & ( B = n2 ) )
          | ( ( A = push )
            & ( B = n2 ) ) ) )
    & ! [A: $i,B: $i] :
        ( ( ( ( A = push )
            & ( B = n0 ) )
          | ( ( A = pull )
            & ( B = n1 ) )
          | ( ( A = pull )
            & ( B = n2 ) )
          | ( ( A = push )
            & ( B = n2 ) ) )
       => ( happens @ A @ B ) ) ),
    inference(miniscope,[status(thm)],[78]) ).

thf(85,plain,
    ! [B: $i,A: $i] :
      ( ( A != pull )
      | ( B != n2 )
      | ( happens @ A @ B ) ),
    inference(cnf,[status(esa)],[79]) ).

thf(95,plain,
    ! [B: $i,A: $i] :
      ( ( A != pull )
      | ( B != n2 )
      | ( happens @ A @ B ) ),
    inference(lifteq,[status(thm)],[85]) ).

thf(96,plain,
    happens @ pull @ n2,
    inference(simp,[status(thm)],[95]) ).

thf(1,conjecture,
    ~ ( holdsAt @ forwards @ n3 ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',not_forwards_3) ).

thf(2,negated_conjecture,
    ~ ~ ( holdsAt @ forwards @ n3 ),
    inference(neg_conjecture,[status(cth)],[1]) ).

thf(50,plain,
    ~ ~ ( holdsAt @ forwards @ n3 ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).

thf(51,plain,
    holdsAt @ forwards @ n3,
    inference(polarity_switch,[status(thm)],[50]) ).

thf(38,axiom,
    ! [A: $i,B: $i,C: $i] :
      ( ( ( happens @ A @ B )
        & ( terminates @ A @ C @ B ) )
     => ~ ( holdsAt @ C @ ( plus @ B @ n1 ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',happens_terminates_not_holds) ).

thf(233,plain,
    ! [A: $i,B: $i,C: $i] :
      ( ( ( happens @ A @ B )
        & ( terminates @ A @ C @ B ) )
     => ~ ( holdsAt @ C @ ( plus @ B @ n1 ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[38]) ).

thf(234,plain,
    ! [C: $i,B: $i,A: $i] :
      ( ~ ( happens @ A @ B )
      | ~ ( terminates @ A @ C @ B )
      | ~ ( holdsAt @ C @ ( plus @ B @ n1 ) ) ),
    inference(cnf,[status(esa)],[233]) ).

thf(900,plain,
    ! [C: $i,B: $i,A: $i] :
      ( ~ ( happens @ A @ B )
      | ~ ( terminates @ A @ C @ B )
      | ( ( holdsAt @ forwards @ n3 )
       != ( holdsAt @ C @ ( plus @ B @ n1 ) ) ) ),
    inference(paramod_ordered,[status(thm)],[51,234]) ).

thf(910,plain,
    ! [C: $i,B: $i,A: $i] :
      ( ~ ( happens @ A @ B )
      | ~ ( terminates @ A @ C @ B )
      | ( forwards != C )
      | ( ( plus @ B @ n1 )
       != n3 ) ),
    inference(simp,[status(thm)],[900]) ).

thf(924,plain,
    ! [B: $i,A: $i] :
      ( ~ ( happens @ A @ B )
      | ~ ( terminates @ A @ forwards @ B )
      | ( ( plus @ B @ n1 )
       != n3 ) ),
    inference(simp,[status(thm)],[910]) ).

thf(1006,plain,
    ! [B: $i,A: $i] :
      ( ~ ( terminates @ A @ forwards @ B )
      | ( ( plus @ B @ n1 )
       != n3 )
      | ( ( happens @ pull @ n2 )
       != ( happens @ A @ B ) ) ),
    inference(paramod_ordered,[status(thm)],[96,924]) ).

thf(1007,plain,
    ( ~ ( terminates @ pull @ forwards @ n2 )
    | ( ( plus @ n2 @ n1 )
     != n3 ) ),
    inference(pattern_uni,[status(thm)],[1006:[bind(A,$thf( pull )),bind(B,$thf( n2 ))]]) ).

thf(49,axiom,
    ( ( plus @ n1 @ n2 )
    = n3 ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',plus1_2) ).

thf(311,plain,
    ( ( plus @ n1 @ n2 )
    = n3 ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[49]) ).

thf(312,plain,
    ( ( plus @ n1 @ n2 )
    = n3 ),
    inference(lifteq,[status(thm)],[311]) ).

thf(6,axiom,
    ! [A: $i,B: $i] :
      ( ( plus @ A @ B )
      = ( plus @ B @ A ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',symmetry_of_plus) ).

thf(65,plain,
    ! [A: $i,B: $i] :
      ( ( plus @ A @ B )
      = ( plus @ B @ A ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[6]) ).

thf(66,plain,
    ! [B: $i,A: $i] :
      ( ( plus @ A @ B )
      = ( plus @ B @ A ) ),
    inference(cnf,[status(esa)],[65]) ).

thf(67,plain,
    ! [B: $i,A: $i] :
      ( ( plus @ A @ B )
      = ( plus @ B @ A ) ),
    inference(lifteq,[status(thm)],[66]) ).

thf(584,plain,
    ! [B: $i,A: $i] :
      ( ( ( plus @ B @ A )
        = n3 )
      | ( ( plus @ n1 @ n2 )
       != ( plus @ A @ B ) ) ),
    inference(paramod_ordered,[status(thm)],[312,67]) ).

thf(585,plain,
    ( ( plus @ n2 @ n1 )
    = n3 ),
    inference(pattern_uni,[status(thm)],[584:[bind(A,$thf( n1 )),bind(B,$thf( n2 ))]]) ).

thf(1057,plain,
    ( ~ ( terminates @ pull @ forwards @ n2 )
    | ( n3 != n3 ) ),
    inference(rewrite,[status(thm)],[1007,585]) ).

thf(1058,plain,
    ~ ( terminates @ pull @ forwards @ n2 ),
    inference(simp,[status(thm)],[1057]) ).

thf(46365,plain,
    ! [A: $i] :
      ( ~ ( happens @ push @ A )
      | ( ( terminates @ pull @ forwards @ A )
       != ( terminates @ pull @ forwards @ n2 ) ) ),
    inference(paramod_ordered,[status(thm)],[308,1058]) ).

thf(46366,plain,
    ~ ( happens @ push @ n2 ),
    inference(pattern_uni,[status(thm)],[46365:[bind(A,$thf( n2 ))]]) ).

thf(86,plain,
    ! [B: $i,A: $i] :
      ( ( A != push )
      | ( B != n2 )
      | ( happens @ A @ B ) ),
    inference(cnf,[status(esa)],[79]) ).

thf(97,plain,
    ! [B: $i,A: $i] :
      ( ( A != push )
      | ( B != n2 )
      | ( happens @ A @ B ) ),
    inference(lifteq,[status(thm)],[86]) ).

thf(98,plain,
    happens @ push @ n2,
    inference(simp,[status(thm)],[97]) ).

thf(46501,plain,
    ~ $true,
    inference(rewrite,[status(thm)],[46366,98]) ).

thf(46502,plain,
    $false,
    inference(simp,[status(thm)],[46501]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.04/0.13  % Problem  : CSR022+1 : TPTP v8.1.2. Bugfixed v3.1.0.
% 0.16/0.17  % Command  : run_Leo-III %s %d
% 0.17/0.38  % Computer : n006.cluster.edu
% 0.17/0.38  % Model    : x86_64 x86_64
% 0.17/0.38  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.17/0.38  % Memory   : 8042.1875MB
% 0.17/0.38  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.17/0.38  % CPULimit : 300
% 0.17/0.38  % WCLimit  : 300
% 0.17/0.38  % DateTime : Mon May  6 23:23:39 EDT 2024
% 0.17/0.38  % CPUTime  : 
% 1.03/0.96  % [INFO] 	 Parsing problem /export/starexec/sandbox2/benchmark/theBenchmark.p ... 
% 1.37/1.12  % [INFO] 	 Parsing done (156ms). 
% 1.37/1.13  % [INFO] 	 Running in sequential loop mode. 
% 1.90/1.36  % [INFO] 	 nitpick registered as external prover. 
% 1.90/1.37  % [INFO] 	 Scanning for conjecture ... 
% 2.16/1.44  % [INFO] 	 Found a conjecture and 47 axioms. Running axiom selection ... 
% 2.24/1.49  % [INFO] 	 Axiom selection finished. Selected 47 axioms (removed 0 axioms). 
% 2.53/1.56  % [INFO] 	 Problem is first-order (TPTP FOF). 
% 2.53/1.57  % [INFO] 	 Type checking passed. 
% 2.53/1.57  % [CONFIG] 	 Using configuration: timeout(300) with strategy<name(default),share(1.0),primSubst(3),sos(false),unifierCount(4),uniDepth(8),boolExt(true),choice(true),renaming(true),funcspec(false), domConstr(0),specialInstances(39),restrictUniAttempts(true),termOrdering(CPO)>.  Searching for refutation ... 
% 139.06/21.11  % [INFO] 	 Killing All external provers ... 
% 139.06/21.12  % Time passed: 20530ms (effective reasoning time: 19985ms)
% 139.06/21.12  % Solved by strategy<name(default),share(1.0),primSubst(3),sos(false),unifierCount(4),uniDepth(8),boolExt(true),choice(true),renaming(true),funcspec(false), domConstr(0),specialInstances(39),restrictUniAttempts(true),termOrdering(CPO)>
% 139.06/21.12  % Axioms used in derivation (5): happens_terminates_not_holds, happens_all_defn, plus1_2, symmetry_of_plus, terminates_all_defn
% 139.06/21.12  % No. of inferences in proof: 42
% 139.06/21.12  % SZS status Theorem for /export/starexec/sandbox2/benchmark/theBenchmark.p : 20530 ms resp. 19985 ms w/o parsing
% 139.06/21.15  % SZS output start Refutation for /export/starexec/sandbox2/benchmark/theBenchmark.p
% See solution above
% 139.06/21.15  % [INFO] 	 Killing All external provers ... 
%------------------------------------------------------------------------------