TSTP Solution File: COM003_1 by Vampire-SAT---4.9

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Vampire-SAT---4.9
% Problem  : COM003_1 : TPTP v8.2.0. Released v5.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : run_vampire %s %d SAT

% Computer : n017.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 : Mon Jun 24 04:58:52 EDT 2024

% Result   : Theorem 0.22s 0.43s
% Output   : Refutation 0.22s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   10
%            Number of leaves      :   43
% Syntax   : Number of formulae    :  137 (   7 unt;  20 typ;   0 def)
%            Number of atoms       :  418 (   0 equ)
%            Maximal formula atoms :   12 (   3 avg)
%            Number of connectives :  542 ( 241   ~; 215   |;  40   &)
%                                         (  18 <=>;  28  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   10 (   5 avg)
%            Maximal term depth    :    3 (   1 avg)
%            Number of types       :    5 (   4 usr)
%            Number of type conns  :   16 (  10   >;   6   *;   0   +;   0  <<)
%            Number of predicates  :   23 (  22 usr;  19 prp; 0-3 aty)
%            Number of functors    :   12 (  12 usr;   6 con; 0-1 aty)
%            Number of variables   :  174 ( 151   !;  23   ?; 174   :)

% Comments : 
%------------------------------------------------------------------------------
tff(type_def_5,type,
    program: $tType ).

tff(type_def_6,type,
    algorithm: $tType ).

tff(type_def_7,type,
    input: $tType ).

tff(type_def_8,type,
    output: $tType ).

tff(func_def_0,type,
    bad: output ).

tff(func_def_1,type,
    good: output ).

tff(func_def_2,type,
    algorithm_of: program > algorithm ).

tff(func_def_3,type,
    as_input: program > input ).

tff(func_def_4,type,
    sK0: algorithm ).

tff(func_def_5,type,
    sK1: program ).

tff(func_def_6,type,
    sK2: program > program ).

tff(func_def_7,type,
    sK3: program ).

tff(func_def_8,type,
    sK4: program > program ).

tff(func_def_9,type,
    sK5: program ).

tff(func_def_10,type,
    sK6: algorithm > program ).

tff(func_def_11,type,
    sK7: algorithm > input ).

tff(pred_def_1,type,
    decides: ( algorithm * program * input ) > $o ).

tff(pred_def_2,type,
    halts2: ( program * input ) > $o ).

tff(pred_def_3,type,
    halts3: ( program * program * input ) > $o ).

tff(pred_def_4,type,
    outputs: ( program * output ) > $o ).

tff(f199,plain,
    $false,
    inference(avatar_sat_refutation,[],[f50,f54,f72,f74,f93,f94,f108,f109,f110,f119,f126,f133,f136,f143,f145,f157,f160,f167,f171,f180,f189,f198]) ).

tff(f198,plain,
    ( ~ spl8_1
    | ~ spl8_7 ),
    inference(avatar_contradiction_clause,[],[f197]) ).

tff(f197,plain,
    ( $false
    | ~ spl8_1
    | ~ spl8_7 ),
    inference(subsumption_resolution,[],[f196,f46]) ).

tff(f46,plain,
    ( ! [X3: program] :
        ( ~ halts2(sK1,as_input(X3))
        | ~ halts2(X3,as_input(X3)) )
    | ~ spl8_1 ),
    inference(avatar_component_clause,[],[f45]) ).

tff(f45,plain,
    ( spl8_1
  <=> ! [X3: program] :
        ( ~ halts2(X3,as_input(X3))
        | ~ halts2(sK1,as_input(X3)) ) ),
    introduced(avatar_definition,[new_symbols(naming,[spl8_1])]) ).

tff(f196,plain,
    ( halts2(sK1,as_input(sK1))
    | ~ spl8_7 ),
    inference(factoring,[],[f69]) ).

tff(f69,plain,
    ( ! [X3: program] :
        ( halts2(X3,as_input(X3))
        | halts2(sK1,as_input(X3)) )
    | ~ spl8_7 ),
    inference(avatar_component_clause,[],[f68]) ).

tff(f68,plain,
    ( spl8_7
  <=> ! [X3: program] :
        ( halts2(X3,as_input(X3))
        | halts2(sK1,as_input(X3)) ) ),
    introduced(avatar_definition,[new_symbols(naming,[spl8_7])]) ).

tff(f189,plain,
    ( ~ spl8_2
    | ~ spl8_6
    | ~ spl8_8
    | ~ spl8_11
    | ~ spl8_15 ),
    inference(avatar_contradiction_clause,[],[f188]) ).

tff(f188,plain,
    ( $false
    | ~ spl8_2
    | ~ spl8_6
    | ~ spl8_8
    | ~ spl8_11
    | ~ spl8_15 ),
    inference(subsumption_resolution,[],[f187,f78]) ).

tff(f78,plain,
    ( outputs(sK3,good)
    | ~ spl8_8 ),
    inference(avatar_component_clause,[],[f76]) ).

tff(f76,plain,
    ( spl8_8
  <=> outputs(sK3,good) ),
    introduced(avatar_definition,[new_symbols(naming,[spl8_8])]) ).

tff(f187,plain,
    ( ~ outputs(sK3,good)
    | ~ spl8_2
    | ~ spl8_6
    | ~ spl8_11
    | ~ spl8_15 ),
    inference(resolution,[],[f181,f174]) ).

tff(f174,plain,
    ( ! [X3: program] : halts2(sK3,as_input(X3))
    | ~ spl8_11
    | ~ spl8_15 ),
    inference(subsumption_resolution,[],[f88,f107]) ).

tff(f107,plain,
    ( ! [X3: program] :
        ( halts2(X3,as_input(X3))
        | halts2(sK3,as_input(X3)) )
    | ~ spl8_15 ),
    inference(avatar_component_clause,[],[f106]) ).

tff(f106,plain,
    ( spl8_15
  <=> ! [X3: program] :
        ( halts2(X3,as_input(X3))
        | halts2(sK3,as_input(X3)) ) ),
    introduced(avatar_definition,[new_symbols(naming,[spl8_15])]) ).

tff(f88,plain,
    ( ! [X3: program] :
        ( ~ halts2(X3,as_input(X3))
        | halts2(sK3,as_input(X3)) )
    | ~ spl8_11 ),
    inference(avatar_component_clause,[],[f87]) ).

tff(f87,plain,
    ( spl8_11
  <=> ! [X3: program] :
        ( ~ halts2(X3,as_input(X3))
        | halts2(sK3,as_input(X3)) ) ),
    introduced(avatar_definition,[new_symbols(naming,[spl8_11])]) ).

tff(f181,plain,
    ( ! [X0: program] :
        ( ~ halts2(X0,as_input(sK2(X0)))
        | ~ outputs(X0,good) )
    | ~ spl8_2
    | ~ spl8_6 ),
    inference(resolution,[],[f65,f49]) ).

tff(f49,plain,
    ( ! [X0: program] :
        ( ~ halts2(sK2(X0),as_input(sK2(X0)))
        | ~ halts2(X0,as_input(sK2(X0)))
        | ~ outputs(X0,good) )
    | ~ spl8_2 ),
    inference(avatar_component_clause,[],[f48]) ).

tff(f48,plain,
    ( spl8_2
  <=> ! [X0: program] :
        ( ~ halts2(X0,as_input(sK2(X0)))
        | ~ halts2(sK2(X0),as_input(sK2(X0)))
        | ~ outputs(X0,good) ) ),
    introduced(avatar_definition,[new_symbols(naming,[spl8_2])]) ).

tff(f65,plain,
    ( ! [X3: program] : halts2(X3,as_input(X3))
    | ~ spl8_6 ),
    inference(avatar_component_clause,[],[f64]) ).

tff(f64,plain,
    ( spl8_6
  <=> ! [X3: program] : halts2(X3,as_input(X3)) ),
    introduced(avatar_definition,[new_symbols(naming,[spl8_6])]) ).

tff(f180,plain,
    ( ~ spl8_14
    | ~ spl8_3
    | ~ spl8_8
    | ~ spl8_11
    | ~ spl8_15 ),
    inference(avatar_split_clause,[],[f179,f106,f87,f76,f52,f101]) ).

tff(f101,plain,
    ( spl8_14
  <=> outputs(sK3,bad) ),
    introduced(avatar_definition,[new_symbols(naming,[spl8_14])]) ).

tff(f52,plain,
    ( spl8_3
  <=> ! [X0: program] :
        ( ~ outputs(X0,good)
        | ~ outputs(X0,bad)
        | ~ halts2(X0,as_input(sK2(X0))) ) ),
    introduced(avatar_definition,[new_symbols(naming,[spl8_3])]) ).

tff(f179,plain,
    ( ~ outputs(sK3,bad)
    | ~ spl8_3
    | ~ spl8_8
    | ~ spl8_11
    | ~ spl8_15 ),
    inference(subsumption_resolution,[],[f175,f78]) ).

tff(f175,plain,
    ( ~ outputs(sK3,bad)
    | ~ outputs(sK3,good)
    | ~ spl8_3
    | ~ spl8_11
    | ~ spl8_15 ),
    inference(resolution,[],[f174,f53]) ).

tff(f53,plain,
    ( ! [X0: program] :
        ( ~ halts2(X0,as_input(sK2(X0)))
        | ~ outputs(X0,bad)
        | ~ outputs(X0,good) )
    | ~ spl8_3 ),
    inference(avatar_component_clause,[],[f52]) ).

tff(f171,plain,
    ( ~ spl8_9
    | ~ spl8_15 ),
    inference(avatar_contradiction_clause,[],[f170]) ).

tff(f170,plain,
    ( $false
    | ~ spl8_9
    | ~ spl8_15 ),
    inference(resolution,[],[f168,f81]) ).

tff(f81,plain,
    ( ! [X3: program] : ~ halts2(X3,as_input(X3))
    | ~ spl8_9 ),
    inference(avatar_component_clause,[],[f80]) ).

tff(f80,plain,
    ( spl8_9
  <=> ! [X3: program] : ~ halts2(X3,as_input(X3)) ),
    introduced(avatar_definition,[new_symbols(naming,[spl8_9])]) ).

tff(f168,plain,
    ( ! [X3: program] : halts2(sK3,as_input(X3))
    | ~ spl8_9
    | ~ spl8_15 ),
    inference(subsumption_resolution,[],[f107,f81]) ).

tff(f167,plain,
    ( ~ spl8_12
    | ~ spl8_16
    | ~ spl8_19
    | ~ spl8_21 ),
    inference(avatar_contradiction_clause,[],[f166]) ).

tff(f166,plain,
    ( $false
    | ~ spl8_12
    | ~ spl8_16
    | ~ spl8_19
    | ~ spl8_21 ),
    inference(subsumption_resolution,[],[f165,f150]) ).

tff(f150,plain,
    ( ~ outputs(sK5,good)
    | ~ spl8_12
    | ~ spl8_16
    | ~ spl8_21 ),
    inference(subsumption_resolution,[],[f149,f146]) ).

tff(f146,plain,
    ( outputs(sK5,bad)
    | ~ spl8_16
    | ~ spl8_21 ),
    inference(resolution,[],[f132,f115]) ).

tff(f115,plain,
    ( ! [X4: program,X5: input] : decides(algorithm_of(sK5),X4,X5)
    | ~ spl8_16 ),
    inference(avatar_component_clause,[],[f114]) ).

tff(f114,plain,
    ( spl8_16
  <=> ! [X4: program,X5: input] : decides(algorithm_of(sK5),X4,X5) ),
    introduced(avatar_definition,[new_symbols(naming,[spl8_16])]) ).

tff(f132,plain,
    ( ! [X2: input,X0: program,X1: program] :
        ( ~ decides(algorithm_of(X0),X1,X2)
        | outputs(X0,bad) )
    | ~ spl8_21 ),
    inference(avatar_component_clause,[],[f131]) ).

tff(f131,plain,
    ( spl8_21
  <=> ! [X2: input,X0: program,X1: program] :
        ( ~ decides(algorithm_of(X0),X1,X2)
        | outputs(X0,bad) ) ),
    introduced(avatar_definition,[new_symbols(naming,[spl8_21])]) ).

tff(f149,plain,
    ( ~ outputs(sK5,bad)
    | ~ outputs(sK5,good)
    | ~ spl8_12
    | ~ spl8_16 ),
    inference(resolution,[],[f92,f147]) ).

tff(f147,plain,
    ( ! [X0: program,X1: input] : halts3(sK5,X0,X1)
    | ~ spl8_16 ),
    inference(resolution,[],[f134,f115]) ).

tff(f134,plain,
    ! [X2: input,X3: program,X0: program,X1: program,X4: input] :
      ( ~ decides(algorithm_of(X0),X1,X2)
      | halts3(X0,X3,X4) ),
    inference(subsumption_resolution,[],[f40,f42]) ).

tff(f42,plain,
    ! [X2: input,X3: program,X0: program,X1: program,X4: input] :
      ( ~ decides(algorithm_of(X0),X1,X2)
      | ~ halts2(X3,X4)
      | halts3(X0,X3,X4) ),
    inference(cnf_transformation,[],[f16]) ).

tff(f16,plain,
    ! [X0: program,X1: program,X2: input] :
      ( ! [X3: program,X4: input] :
          ( ( ( outputs(X0,bad)
              & halts3(X0,X3,X4) )
            | halts2(X3,X4) )
          & ( ( outputs(X0,good)
              & halts3(X0,X3,X4) )
            | ~ halts2(X3,X4) ) )
      | ~ decides(algorithm_of(X0),X1,X2) ),
    inference(ennf_transformation,[],[f12]) ).

tff(f12,plain,
    ! [X0: program,X1: program,X2: input] :
      ( decides(algorithm_of(X0),X1,X2)
     => ! [X3: program,X4: input] :
          ( ( ~ halts2(X3,X4)
           => ( outputs(X0,bad)
              & halts3(X0,X3,X4) ) )
          & ( halts2(X3,X4)
           => ( outputs(X0,good)
              & halts3(X0,X3,X4) ) ) ) ),
    inference(rectify,[],[f2]) ).

tff(f2,axiom,
    ! [X3: program,X1: program,X2: input] :
      ( decides(algorithm_of(X3),X1,X2)
     => ! [X1: program,X2: input] :
          ( ( ~ halts2(X1,X2)
           => ( outputs(X3,bad)
              & halts3(X3,X1,X2) ) )
          & ( halts2(X1,X2)
           => ( outputs(X3,good)
              & halts3(X3,X1,X2) ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',unknown) ).

tff(f40,plain,
    ! [X2: input,X3: program,X0: program,X1: program,X4: input] :
      ( ~ decides(algorithm_of(X0),X1,X2)
      | halts2(X3,X4)
      | halts3(X0,X3,X4) ),
    inference(cnf_transformation,[],[f16]) ).

tff(f92,plain,
    ( ! [X0: program] :
        ( ~ halts3(X0,sK4(X0),as_input(sK4(X0)))
        | ~ outputs(X0,bad)
        | ~ outputs(X0,good) )
    | ~ spl8_12 ),
    inference(avatar_component_clause,[],[f91]) ).

tff(f91,plain,
    ( spl8_12
  <=> ! [X0: program] :
        ( ~ outputs(X0,good)
        | ~ outputs(X0,bad)
        | ~ halts3(X0,sK4(X0),as_input(sK4(X0))) ) ),
    introduced(avatar_definition,[new_symbols(naming,[spl8_12])]) ).

tff(f165,plain,
    ( outputs(sK5,good)
    | ~ spl8_16
    | ~ spl8_19 ),
    inference(resolution,[],[f125,f115]) ).

tff(f125,plain,
    ( ! [X2: input,X0: program,X1: program] :
        ( ~ decides(algorithm_of(X0),X1,X2)
        | outputs(X0,good) )
    | ~ spl8_19 ),
    inference(avatar_component_clause,[],[f124]) ).

tff(f124,plain,
    ( spl8_19
  <=> ! [X2: input,X0: program,X1: program] :
        ( ~ decides(algorithm_of(X0),X1,X2)
        | outputs(X0,good) ) ),
    introduced(avatar_definition,[new_symbols(naming,[spl8_19])]) ).

tff(f160,plain,
    ( ~ spl8_15
    | ~ spl8_18 ),
    inference(avatar_contradiction_clause,[],[f159]) ).

tff(f159,plain,
    ( $false
    | ~ spl8_15
    | ~ spl8_18 ),
    inference(subsumption_resolution,[],[f158,f122]) ).

tff(f122,plain,
    ( ! [X3: program,X4: input] : ~ halts2(X3,X4)
    | ~ spl8_18 ),
    inference(avatar_component_clause,[],[f121]) ).

tff(f121,plain,
    ( spl8_18
  <=> ! [X4: input,X3: program] : ~ halts2(X3,X4) ),
    introduced(avatar_definition,[new_symbols(naming,[spl8_18])]) ).

tff(f158,plain,
    ( ! [X3: program] : halts2(sK3,as_input(X3))
    | ~ spl8_15
    | ~ spl8_18 ),
    inference(subsumption_resolution,[],[f107,f122]) ).

tff(f157,plain,
    ( ~ spl8_10
    | ~ spl8_16
    | ~ spl8_18
    | ~ spl8_21 ),
    inference(avatar_contradiction_clause,[],[f156]) ).

tff(f156,plain,
    ( $false
    | ~ spl8_10
    | ~ spl8_16
    | ~ spl8_18
    | ~ spl8_21 ),
    inference(subsumption_resolution,[],[f155,f122]) ).

tff(f155,plain,
    ( halts2(sK4(sK5),as_input(sK4(sK5)))
    | ~ spl8_10
    | ~ spl8_16
    | ~ spl8_21 ),
    inference(subsumption_resolution,[],[f154,f146]) ).

tff(f154,plain,
    ( ~ outputs(sK5,bad)
    | halts2(sK4(sK5),as_input(sK4(sK5)))
    | ~ spl8_10
    | ~ spl8_16 ),
    inference(resolution,[],[f84,f147]) ).

tff(f84,plain,
    ( ! [X0: program] :
        ( ~ halts3(X0,sK4(X0),as_input(sK4(X0)))
        | ~ outputs(X0,bad)
        | halts2(sK4(X0),as_input(sK4(X0))) )
    | ~ spl8_10 ),
    inference(avatar_component_clause,[],[f83]) ).

tff(f83,plain,
    ( spl8_10
  <=> ! [X0: program] :
        ( halts2(sK4(X0),as_input(sK4(X0)))
        | ~ outputs(X0,bad)
        | ~ halts3(X0,sK4(X0),as_input(sK4(X0))) ) ),
    introduced(avatar_definition,[new_symbols(naming,[spl8_10])]) ).

tff(f145,plain,
    ~ spl8_17,
    inference(avatar_contradiction_clause,[],[f144]) ).

tff(f144,plain,
    ( $false
    | ~ spl8_17 ),
    inference(resolution,[],[f118,f17]) ).

tff(f17,plain,
    ! [X2: input,X1: program] : decides(sK0,X1,X2),
    inference(cnf_transformation,[],[f8]) ).

tff(f8,plain,
    ? [X0: algorithm] :
    ! [X1: program,X2: input] : decides(X0,X1,X2),
    inference(flattening,[],[f7]) ).

tff(f7,plain,
    ~ ~ ? [X0: algorithm] :
        ! [X1: program,X2: input] : decides(X0,X1,X2),
    inference(rectify,[],[f6]) ).

tff(f6,negated_conjecture,
    ~ ~ ? [X6: algorithm] :
        ! [X7: program,X8: input] : decides(X6,X7,X8),
    inference(negated_conjecture,[],[f5]) ).

tff(f5,conjecture,
    ~ ? [X6: algorithm] :
      ! [X7: program,X8: input] : decides(X6,X7,X8),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',unknown) ).

tff(f118,plain,
    ( ! [X0: algorithm] : ~ decides(X0,sK6(X0),sK7(X0))
    | ~ spl8_17 ),
    inference(avatar_component_clause,[],[f117]) ).

tff(f117,plain,
    ( spl8_17
  <=> ! [X0: algorithm] : ~ decides(X0,sK6(X0),sK7(X0)) ),
    introduced(avatar_definition,[new_symbols(naming,[spl8_17])]) ).

tff(f143,plain,
    ( ~ spl8_2
    | ~ spl8_16
    | ~ spl8_19
    | ~ spl8_20 ),
    inference(avatar_contradiction_clause,[],[f142]) ).

tff(f142,plain,
    ( $false
    | ~ spl8_2
    | ~ spl8_16
    | ~ spl8_19
    | ~ spl8_20 ),
    inference(resolution,[],[f141,f115]) ).

tff(f141,plain,
    ( ! [X2: input,X0: program,X1: program] : ~ decides(algorithm_of(X0),X1,X2)
    | ~ spl8_2
    | ~ spl8_19
    | ~ spl8_20 ),
    inference(subsumption_resolution,[],[f125,f140]) ).

tff(f140,plain,
    ( ! [X0: program] : ~ outputs(X0,good)
    | ~ spl8_2
    | ~ spl8_20 ),
    inference(subsumption_resolution,[],[f139,f129]) ).

tff(f129,plain,
    ( ! [X3: program,X4: input] : halts2(X3,X4)
    | ~ spl8_20 ),
    inference(avatar_component_clause,[],[f128]) ).

tff(f128,plain,
    ( spl8_20
  <=> ! [X4: input,X3: program] : halts2(X3,X4) ),
    introduced(avatar_definition,[new_symbols(naming,[spl8_20])]) ).

tff(f139,plain,
    ( ! [X0: program] :
        ( ~ halts2(sK2(X0),as_input(sK2(X0)))
        | ~ outputs(X0,good) )
    | ~ spl8_2
    | ~ spl8_20 ),
    inference(subsumption_resolution,[],[f49,f129]) ).

tff(f136,plain,
    ( ~ spl8_18
    | ~ spl8_20 ),
    inference(avatar_contradiction_clause,[],[f135]) ).

tff(f135,plain,
    ( $false
    | ~ spl8_18
    | ~ spl8_20 ),
    inference(subsumption_resolution,[],[f122,f129]) ).

tff(f133,plain,
    ( spl8_20
    | spl8_21 ),
    inference(avatar_split_clause,[],[f41,f131,f128]) ).

tff(f41,plain,
    ! [X2: input,X3: program,X0: program,X1: program,X4: input] :
      ( ~ decides(algorithm_of(X0),X1,X2)
      | halts2(X3,X4)
      | outputs(X0,bad) ),
    inference(cnf_transformation,[],[f16]) ).

tff(f126,plain,
    ( spl8_18
    | spl8_19 ),
    inference(avatar_split_clause,[],[f43,f124,f121]) ).

tff(f43,plain,
    ! [X2: input,X3: program,X0: program,X1: program,X4: input] :
      ( ~ decides(algorithm_of(X0),X1,X2)
      | ~ halts2(X3,X4)
      | outputs(X0,good) ),
    inference(cnf_transformation,[],[f16]) ).

tff(f119,plain,
    ( spl8_16
    | spl8_17 ),
    inference(avatar_split_clause,[],[f39,f117,f114]) ).

tff(f39,plain,
    ! [X0: algorithm,X4: program,X5: input] :
      ( ~ decides(X0,sK6(X0),sK7(X0))
      | decides(algorithm_of(sK5),X4,X5) ),
    inference(cnf_transformation,[],[f15]) ).

tff(f15,plain,
    ( ? [X3: program] :
      ! [X4: program,X5: input] : decides(algorithm_of(X3),X4,X5)
    | ! [X0: algorithm] :
      ? [X1: program,X2: input] : ~ decides(X0,X1,X2) ),
    inference(ennf_transformation,[],[f11]) ).

tff(f11,plain,
    ( ? [X0: algorithm] :
      ! [X1: program,X2: input] : decides(X0,X1,X2)
   => ? [X3: program] :
      ! [X4: program,X5: input] : decides(algorithm_of(X3),X4,X5) ),
    inference(rectify,[],[f1]) ).

tff(f1,axiom,
    ( ? [X0: algorithm] :
      ! [X1: program,X2: input] : decides(X0,X1,X2)
   => ? [X3: program] :
      ! [X1: program,X2: input] : decides(algorithm_of(X3),X1,X2) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',unknown) ).

tff(f110,plain,
    ( spl8_15
    | spl8_12 ),
    inference(avatar_split_clause,[],[f29,f91,f106]) ).

tff(f29,plain,
    ! [X3: program,X0: program] :
      ( ~ outputs(X0,good)
      | ~ halts3(X0,sK4(X0),as_input(sK4(X0)))
      | ~ outputs(X0,bad)
      | halts2(X3,as_input(X3))
      | halts2(sK3,as_input(X3)) ),
    inference(cnf_transformation,[],[f14]) ).

tff(f14,plain,
    ( ? [X2: program] :
      ! [X3: program] :
        ( ( ( outputs(X2,bad)
            & halts2(X2,as_input(X3)) )
          | halts2(X3,as_input(X3)) )
        & ( ( outputs(X2,good)
            & halts2(X2,as_input(X3)) )
          | ~ halts2(X3,as_input(X3)) ) )
    | ! [X0: program] :
      ? [X1: program] :
        ( ( ( ~ outputs(X0,bad)
            | ~ halts3(X0,X1,as_input(X1)) )
          & ~ halts2(X1,as_input(X1)) )
        | ( ( ~ outputs(X0,good)
            | ~ halts3(X0,X1,as_input(X1)) )
          & halts2(X1,as_input(X1)) ) ) ),
    inference(ennf_transformation,[],[f10]) ).

tff(f10,plain,
    ( ? [X0: program] :
      ! [X1: program] :
        ( ( ~ halts2(X1,as_input(X1))
         => ( outputs(X0,bad)
            & halts3(X0,X1,as_input(X1)) ) )
        & ( halts2(X1,as_input(X1))
         => ( outputs(X0,good)
            & halts3(X0,X1,as_input(X1)) ) ) )
   => ? [X2: program] :
      ! [X3: program] :
        ( ( ~ halts2(X3,as_input(X3))
         => ( outputs(X2,bad)
            & halts2(X2,as_input(X3)) ) )
        & ( halts2(X3,as_input(X3))
         => ( outputs(X2,good)
            & halts2(X2,as_input(X3)) ) ) ) ),
    inference(rectify,[],[f3]) ).

tff(f3,axiom,
    ( ? [X3: program] :
      ! [X1: program] :
        ( ( ~ halts2(X1,as_input(X1))
         => ( outputs(X3,bad)
            & halts3(X3,X1,as_input(X1)) ) )
        & ( halts2(X1,as_input(X1))
         => ( outputs(X3,good)
            & halts3(X3,X1,as_input(X1)) ) ) )
   => ? [X4: program] :
      ! [X1: program] :
        ( ( ~ halts2(X1,as_input(X1))
         => ( outputs(X4,bad)
            & halts2(X4,as_input(X1)) ) )
        & ( halts2(X1,as_input(X1))
         => ( outputs(X4,good)
            & halts2(X4,as_input(X1)) ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',unknown) ).

tff(f109,plain,
    ( spl8_14
    | spl8_6
    | spl8_12 ),
    inference(avatar_split_clause,[],[f30,f91,f64,f101]) ).

tff(f30,plain,
    ! [X3: program,X0: program] :
      ( ~ outputs(X0,good)
      | ~ halts3(X0,sK4(X0),as_input(sK4(X0)))
      | ~ outputs(X0,bad)
      | halts2(X3,as_input(X3))
      | outputs(sK3,bad) ),
    inference(cnf_transformation,[],[f14]) ).

tff(f108,plain,
    ( spl8_15
    | spl8_10 ),
    inference(avatar_split_clause,[],[f31,f83,f106]) ).

tff(f31,plain,
    ! [X3: program,X0: program] :
      ( halts2(sK4(X0),as_input(sK4(X0)))
      | ~ halts3(X0,sK4(X0),as_input(sK4(X0)))
      | ~ outputs(X0,bad)
      | halts2(X3,as_input(X3))
      | halts2(sK3,as_input(X3)) ),
    inference(cnf_transformation,[],[f14]) ).

tff(f94,plain,
    ( spl8_11
    | spl8_12 ),
    inference(avatar_split_clause,[],[f35,f91,f87]) ).

tff(f35,plain,
    ! [X3: program,X0: program] :
      ( ~ outputs(X0,good)
      | ~ halts3(X0,sK4(X0),as_input(sK4(X0)))
      | ~ outputs(X0,bad)
      | ~ halts2(X3,as_input(X3))
      | halts2(sK3,as_input(X3)) ),
    inference(cnf_transformation,[],[f14]) ).

tff(f93,plain,
    ( spl8_8
    | spl8_9
    | spl8_12 ),
    inference(avatar_split_clause,[],[f36,f91,f80,f76]) ).

tff(f36,plain,
    ! [X3: program,X0: program] :
      ( ~ outputs(X0,good)
      | ~ halts3(X0,sK4(X0),as_input(sK4(X0)))
      | ~ outputs(X0,bad)
      | ~ halts2(X3,as_input(X3))
      | outputs(sK3,good) ),
    inference(cnf_transformation,[],[f14]) ).

tff(f74,plain,
    ( spl8_7
    | spl8_2 ),
    inference(avatar_split_clause,[],[f18,f48,f68]) ).

tff(f18,plain,
    ! [X3: program,X0: program] :
      ( ~ halts2(X0,as_input(sK2(X0)))
      | ~ outputs(X0,good)
      | ~ halts2(sK2(X0),as_input(sK2(X0)))
      | halts2(X3,as_input(X3))
      | halts2(sK1,as_input(X3)) ),
    inference(cnf_transformation,[],[f13]) ).

tff(f13,plain,
    ( ? [X2: program] :
      ! [X3: program] :
        ( ( ( outputs(X2,bad)
            & halts2(X2,as_input(X3)) )
          | halts2(X3,as_input(X3)) )
        & ( ~ halts2(X2,as_input(X3))
          | ~ halts2(X3,as_input(X3)) ) )
    | ! [X0: program] :
      ? [X1: program] :
        ( ( ( ~ outputs(X0,bad)
            | ~ halts2(X0,as_input(X1)) )
          & ~ halts2(X1,as_input(X1)) )
        | ( ( ~ outputs(X0,good)
            | ~ halts2(X0,as_input(X1)) )
          & halts2(X1,as_input(X1)) ) ) ),
    inference(ennf_transformation,[],[f9]) ).

tff(f9,plain,
    ( ? [X0: program] :
      ! [X1: program] :
        ( ( ~ halts2(X1,as_input(X1))
         => ( outputs(X0,bad)
            & halts2(X0,as_input(X1)) ) )
        & ( halts2(X1,as_input(X1))
         => ( outputs(X0,good)
            & halts2(X0,as_input(X1)) ) ) )
   => ? [X2: program] :
      ! [X3: program] :
        ( ( ~ halts2(X3,as_input(X3))
         => ( outputs(X2,bad)
            & halts2(X2,as_input(X3)) ) )
        & ( halts2(X3,as_input(X3))
         => ~ halts2(X2,as_input(X3)) ) ) ),
    inference(rectify,[],[f4]) ).

tff(f4,axiom,
    ( ? [X4: program] :
      ! [X1: program] :
        ( ( ~ halts2(X1,as_input(X1))
         => ( outputs(X4,bad)
            & halts2(X4,as_input(X1)) ) )
        & ( halts2(X1,as_input(X1))
         => ( outputs(X4,good)
            & halts2(X4,as_input(X1)) ) ) )
   => ? [X5: program] :
      ! [X1: program] :
        ( ( ~ halts2(X1,as_input(X1))
         => ( outputs(X5,bad)
            & halts2(X5,as_input(X1)) ) )
        & ( halts2(X1,as_input(X1))
         => ~ halts2(X5,as_input(X1)) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',unknown) ).

tff(f72,plain,
    ( spl8_7
    | spl8_3 ),
    inference(avatar_split_clause,[],[f20,f52,f68]) ).

tff(f20,plain,
    ! [X3: program,X0: program] :
      ( ~ outputs(X0,good)
      | ~ halts2(X0,as_input(sK2(X0)))
      | ~ outputs(X0,bad)
      | halts2(X3,as_input(X3))
      | halts2(sK1,as_input(X3)) ),
    inference(cnf_transformation,[],[f13]) ).

tff(f54,plain,
    ( spl8_1
    | spl8_3 ),
    inference(avatar_split_clause,[],[f25,f52,f45]) ).

tff(f25,plain,
    ! [X3: program,X0: program] :
      ( ~ outputs(X0,good)
      | ~ halts2(X0,as_input(sK2(X0)))
      | ~ outputs(X0,bad)
      | ~ halts2(X3,as_input(X3))
      | ~ halts2(sK1,as_input(X3)) ),
    inference(cnf_transformation,[],[f13]) ).

tff(f50,plain,
    ( spl8_1
    | spl8_2 ),
    inference(avatar_split_clause,[],[f26,f48,f45]) ).

tff(f26,plain,
    ! [X3: program,X0: program] :
      ( ~ halts2(X0,as_input(sK2(X0)))
      | ~ outputs(X0,good)
      | ~ halts2(sK2(X0),as_input(sK2(X0)))
      | ~ halts2(X3,as_input(X3))
      | ~ halts2(sK1,as_input(X3)) ),
    inference(cnf_transformation,[],[f13]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.03/0.13  % Problem    : COM003_1 : TPTP v8.2.0. Released v5.0.0.
% 0.03/0.13  % Command    : run_vampire %s %d SAT
% 0.13/0.34  % Computer : n017.cluster.edu
% 0.13/0.34  % Model    : x86_64 x86_64
% 0.13/0.34  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.34  % Memory   : 8042.1875MB
% 0.13/0.34  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.13/0.34  % CPULimit   : 300
% 0.13/0.34  % WCLimit    : 300
% 0.13/0.34  % DateTime   : Fri Jun 21 00:14:54 EDT 2024
% 0.13/0.34  % CPUTime    : 
% 0.22/0.36  This is a TF0_THM_NEQ_NAR problem
% 0.22/0.36  Running first-order model finding
% 0.22/0.36  Running /export/starexec/sandbox/solver/bin/vampire --mode casc_sat -m 16384 --cores 7 -t 300 /export/starexec/sandbox/benchmark/theBenchmark.p
% 0.22/0.42  % (29890)Running in auto input_syntax mode. Trying TPTP
% 0.22/0.42  % (29894)fmb+10_1:1_sil=256000:fmbss=23:fmbes=contour:newcnf=on:fmbsr=1.14:i=152523:nm=2:gsp=on:rp=on_0 on theBenchmark for (3000ds/152523Mi)
% 0.22/0.42  % (29890)Running in auto input_syntax mode. Trying TPTP
% 0.22/0.42  % (29897)ott-4_1:1_sil=4000:sp=reverse_arity:lcm=predicate:newcnf=on:i=115:bce=on:fd=off:fs=off:fsr=off_0 on theBenchmark for (3000ds/115Mi)
% 0.22/0.42  % (29890)Running in auto input_syntax mode. Trying TPTP
% 0.22/0.42  % (29893)fmb+10_1:1_sil=256000:fmbes=contour:i=214858:bce=on_0 on theBenchmark for (3000ds/214858Mi)
% 0.22/0.42  % (29890)Running in auto input_syntax mode. Trying TPTP
% 0.22/0.42  % (29891)fmb+10_1:1_sil=256000:i=98885:tgt=full:fmbsr=1.3:fmbss=10_0 on theBenchmark for (3000ds/98885Mi)
% 0.22/0.42  % (29890)Running in auto input_syntax mode. Trying TPTP
% 0.22/0.42  % (29896)ott+11_8:59_sil=16000:sp=occurrence:lsd=20:abs=on:i=146:aac=none:nm=16:fdi=10:rawr=on:nicw=on_0 on theBenchmark for (3000ds/146Mi)
% 0.22/0.42  % (29890)Running in auto input_syntax mode. Trying TPTP
% 0.22/0.42  % (29895)ott+21_1:1_sil=4000:i=104:fsd=on:fd=off:newcnf=on_0 on theBenchmark for (3000ds/104Mi)
% 0.22/0.42  % (29890)Running in auto input_syntax mode. Trying TPTP
% 0.22/0.42  % (29892)ott+10_10:1_add=off:afr=on:amm=off:anc=all:bd=off:bs=on:fsr=off:irw=on:lma=on:msp=off:nm=4:nwc=4.0:sac=on:sp=reverse_frequency:i=99418_0 on theBenchmark for (3000ds/99418Mi)
% 0.22/0.43  % (29895)First to succeed.
% 0.22/0.43  % (29896)Also succeeded, but the first one will report.
% 0.22/0.43  TRYING [1]
% 0.22/0.43  TRYING [2]
% 0.22/0.43  % (29895)Solution written to "/export/starexec/sandbox/tmp/vampire-proof-29890"
% 0.22/0.43  % (29892)Also succeeded, but the first one will report.
% 0.22/0.43  TRYING [10]
% 0.22/0.43  % (29890)Running in auto input_syntax mode. Trying TPTP
% 0.22/0.43  % (29895)Refutation found. Thanks to Tanya!
% 0.22/0.43  % SZS status Theorem for theBenchmark
% 0.22/0.43  % SZS output start Proof for theBenchmark
% See solution above
% 0.22/0.43  % (29895)------------------------------
% 0.22/0.43  % (29895)Version: Vampire 4.9 (commit 18c118a85 on 2024-06-08 21:14:20 +0100)
% 0.22/0.43  % (29895)Linked with Z3 4.12.3.0 79bbbf76d0c123481c8ca05cd3a98939270074d3 z3-4.8.4-7980-g79bbbf76d
% 0.22/0.43  % (29895)Termination reason: Refutation
% 0.22/0.43  
% 0.22/0.43  % (29895)Memory used [KB]: 812
% 0.22/0.43  % (29895)Time elapsed: 0.007 s
% 0.22/0.43  % (29895)Instructions burned: 8 (million)
% 0.22/0.43  % (29895)------------------------------
% 0.22/0.43  % (29895)------------------------------
% 0.22/0.43  % (29890)Success in time 0.066 s
%------------------------------------------------------------------------------