TSTP Solution File: COM003+1 by Leo-III---1.7.10

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Leo-III---1.7.10
% Problem  : COM003+1 : TPTP v8.1.2. Released v2.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : run_Leo-III %s %d

% Computer : n004.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 07:29:47 EDT 2024

% Result   : Theorem 51.17s 8.31s
% Output   : Refutation 51.17s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    3
%            Number of leaves      :   13
% Syntax   : Number of formulae    :   20 (   1 unt;   8 typ;   0 def)
%            Number of atoms       :  114 (   0 equ;   0 cnn)
%            Maximal formula atoms :   18 (   9 avg)
%            Number of connectives :  316 (  17   ~;   0   |;  65   &; 197   @)
%                                         (   0 <=>;  37  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   11 (  10 avg)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :   12 (  12   >;   0   *;   0   +;   0  <<)
%            Number of symbols     :    9 (   8 usr;   3 con; 0-3 aty)
%            Number of variables   :   47 (   0   ^  32   !;  15   ?;  47   :)

% Comments : 
%------------------------------------------------------------------------------
thf(algorithm_type,type,
    algorithm: $i > $o ).

thf(program_type,type,
    program: $i > $o ).

thf(decides_type,type,
    decides: $i > $i > $i > $o ).

thf(halts2_type,type,
    halts2: $i > $i > $o ).

thf(halts3_type,type,
    halts3: $i > $i > $i > $o ).

thf(outputs_type,type,
    outputs: $i > $i > $o ).

thf(good_type,type,
    good: $i ).

thf(bad_type,type,
    bad: $i ).

thf(1,conjecture,
    ~ ? [A: $i] :
        ( ( algorithm @ A )
        & ! [B: $i] :
            ( ( program @ B )
           => ! [C: $i] : ( decides @ A @ B @ C ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_this) ).

thf(2,negated_conjecture,
    ~ ~ ? [A: $i] :
          ( ( algorithm @ A )
          & ! [B: $i] :
              ( ( program @ B )
             => ! [C: $i] : ( decides @ A @ B @ C ) ) ),
    inference(neg_conjecture,[status(cth)],[1]) ).

thf(7,plain,
    ~ ~ ? [A: $i] :
          ( ( algorithm @ A )
          & ! [B: $i] :
              ( ( program @ B )
             => ! [C: $i] : ( decides @ A @ B @ C ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).

thf(4,axiom,
    ! [A: $i] :
      ( ( ( program @ A )
        & ! [B: $i] :
            ( ( program @ B )
           => ! [C: $i] : ( decides @ A @ B @ C ) ) )
     => ! [B: $i,C: $i] :
          ( ( ( ( program @ B )
              & ( halts2 @ B @ C ) )
           => ( ( halts3 @ A @ B @ C )
              & ( outputs @ A @ good ) ) )
          & ( ( ( program @ B )
              & ~ ( halts2 @ B @ C ) )
           => ( ( halts3 @ A @ B @ C )
              & ( outputs @ A @ bad ) ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',p2) ).

thf(16,plain,
    ! [A: $i] :
      ( ( ( program @ A )
        & ! [B: $i] :
            ( ( program @ B )
           => ! [C: $i] : ( decides @ A @ B @ C ) ) )
     => ! [B: $i,C: $i] :
          ( ( ( ( program @ B )
              & ( halts2 @ B @ C ) )
           => ( ( halts3 @ A @ B @ C )
              & ( outputs @ A @ good ) ) )
          & ( ( ( program @ B )
              & ~ ( halts2 @ B @ C ) )
           => ( ( halts3 @ A @ B @ C )
              & ( outputs @ A @ bad ) ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[4]) ).

thf(5,axiom,
    ( ? [A: $i] :
        ( ( program @ A )
        & ! [B: $i] :
            ( ( ( ( program @ B )
                & ( halts2 @ B @ B ) )
             => ( ( halts3 @ A @ B @ B )
                & ( outputs @ A @ good ) ) )
            & ( ( ( program @ B )
                & ~ ( halts2 @ B @ B ) )
             => ( ( halts3 @ A @ B @ B )
                & ( outputs @ A @ bad ) ) ) ) )
   => ? [A: $i] :
        ( ( program @ A )
        & ! [B: $i] :
            ( ( ( ( program @ B )
                & ( halts2 @ B @ B ) )
             => ( ( halts2 @ A @ B )
                & ( outputs @ A @ good ) ) )
            & ( ( ( program @ B )
                & ~ ( halts2 @ B @ B ) )
             => ( ( halts2 @ A @ B )
                & ( outputs @ A @ bad ) ) ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',p3) ).

thf(26,plain,
    ( ? [A: $i] :
        ( ( program @ A )
        & ! [B: $i] :
            ( ( ( ( program @ B )
                & ( halts2 @ B @ B ) )
             => ( ( halts3 @ A @ B @ B )
                & ( outputs @ A @ good ) ) )
            & ( ( ( program @ B )
                & ~ ( halts2 @ B @ B ) )
             => ( ( halts3 @ A @ B @ B )
                & ( outputs @ A @ bad ) ) ) ) )
   => ? [A: $i] :
        ( ( program @ A )
        & ! [B: $i] :
            ( ( ( ( program @ B )
                & ( halts2 @ B @ B ) )
             => ( ( halts2 @ A @ B )
                & ( outputs @ A @ good ) ) )
            & ( ( ( program @ B )
                & ~ ( halts2 @ B @ B ) )
             => ( ( halts2 @ A @ B )
                & ( outputs @ A @ bad ) ) ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[5]) ).

thf(3,axiom,
    ( ? [A: $i] :
        ( ( algorithm @ A )
        & ! [B: $i] :
            ( ( program @ B )
           => ! [C: $i] : ( decides @ A @ B @ C ) ) )
   => ? [A: $i] :
        ( ( program @ A )
        & ! [B: $i] :
            ( ( program @ B )
           => ! [C: $i] : ( decides @ A @ B @ C ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',p1) ).

thf(11,plain,
    ( ? [A: $i] :
        ( ( algorithm @ A )
        & ! [B: $i] :
            ( ( program @ B )
           => ! [C: $i] : ( decides @ A @ B @ C ) ) )
   => ? [A: $i] :
        ( ( program @ A )
        & ! [B: $i] :
            ( ( program @ B )
           => ! [C: $i] : ( decides @ A @ B @ C ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[3]) ).

thf(6,axiom,
    ( ? [A: $i] :
        ( ( program @ A )
        & ! [B: $i] :
            ( ( ( ( program @ B )
                & ( halts2 @ B @ B ) )
             => ( ( halts2 @ A @ B )
                & ( outputs @ A @ good ) ) )
            & ( ( ( program @ B )
                & ~ ( halts2 @ B @ B ) )
             => ( ( halts2 @ A @ B )
                & ( outputs @ A @ bad ) ) ) ) )
   => ? [A: $i] :
        ( ( program @ A )
        & ! [B: $i] :
            ( ( ( ( program @ B )
                & ( halts2 @ B @ B ) )
             => ~ ( halts2 @ A @ B ) )
            & ( ( ( program @ B )
                & ~ ( halts2 @ B @ B ) )
             => ( ( halts2 @ A @ B )
                & ( outputs @ A @ bad ) ) ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',p4) ).

thf(43,plain,
    ( ? [A: $i] :
        ( ( program @ A )
        & ! [B: $i] :
            ( ( ( ( program @ B )
                & ( halts2 @ B @ B ) )
             => ( ( halts2 @ A @ B )
                & ( outputs @ A @ good ) ) )
            & ( ( ( program @ B )
                & ~ ( halts2 @ B @ B ) )
             => ( ( halts2 @ A @ B )
                & ( outputs @ A @ bad ) ) ) ) )
   => ? [A: $i] :
        ( ( program @ A )
        & ! [B: $i] :
            ( ( ( ( program @ B )
                & ( halts2 @ B @ B ) )
             => ~ ( halts2 @ A @ B ) )
            & ( ( ( program @ B )
                & ~ ( halts2 @ B @ B ) )
             => ( ( halts2 @ A @ B )
                & ( outputs @ A @ bad ) ) ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[6]) ).

thf(16736,plain,
    $false,
    inference(cvc4,[status(thm)],[7,16,26,11,43]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.12/0.12  % Problem  : COM003+1 : TPTP v8.1.2. Released v2.0.0.
% 0.12/0.15  % Command  : run_Leo-III %s %d
% 0.15/0.36  % Computer : n004.cluster.edu
% 0.15/0.36  % Model    : x86_64 x86_64
% 0.15/0.36  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.15/0.36  % Memory   : 8042.1875MB
% 0.15/0.36  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.15/0.36  % CPULimit : 300
% 0.15/0.36  % WCLimit  : 300
% 0.15/0.36  % DateTime : Mon May  6 16:50:54 EDT 2024
% 0.15/0.37  % CPUTime  : 
% 0.98/0.87  % [INFO] 	 Parsing problem /export/starexec/sandbox/benchmark/theBenchmark.p ... 
% 1.21/0.99  % [INFO] 	 Parsing done (125ms). 
% 1.37/1.00  % [INFO] 	 Running in sequential loop mode. 
% 1.71/1.22  % [INFO] 	 eprover registered as external prover. 
% 1.71/1.22  % [INFO] 	 cvc4 registered as external prover. 
% 1.82/1.22  % [INFO] 	 Scanning for conjecture ... 
% 1.87/1.28  % [INFO] 	 Found a conjecture and 4 axioms. Running axiom selection ... 
% 1.87/1.30  % [INFO] 	 Axiom selection finished. Selected 4 axioms (removed 0 axioms). 
% 2.11/1.33  % [INFO] 	 Problem is first-order (TPTP FOF). 
% 2.11/1.33  % [INFO] 	 Type checking passed. 
% 2.11/1.34  % [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 ... 
% 51.17/8.30  % External prover 'cvc4' found a proof!
% 51.17/8.31  % [INFO] 	 Killing All external provers ... 
% 51.17/8.31  % Time passed: 7777ms (effective reasoning time: 7303ms)
% 51.17/8.31  % 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)>
% 51.17/8.31  % Axioms used in derivation (4): p2, p3, p1, p4
% 51.17/8.31  % No. of inferences in proof: 12
% 51.17/8.31  % SZS status Theorem for /export/starexec/sandbox/benchmark/theBenchmark.p : 7777 ms resp. 7303 ms w/o parsing
% 51.17/8.33  % SZS output start Refutation for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
% 51.17/8.33  % [INFO] 	 Killing All external provers ... 
%------------------------------------------------------------------------------