TSTP Solution File: SWC352-1 by Z3---4.8.9.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Z3---4.8.9.0
% Problem  : SWC352-1 : TPTP v8.1.0. Released v2.4.0.
% Transfm  : none
% Format   : tptp
% Command  : z3_tptp -proof -model -t:%d -file:%s

% Computer : n008.cluster.edu
% Model    : x86_64 x86_64
% CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory   : 8042.1875MB
% OS       : Linux 3.10.0-693.el7.x86_64
% CPULimit : 300s
% WCLimit  : 300s
% DateTime : Tue Sep 20 11:57:19 EDT 2022

% Result   : Unsatisfiable 0.20s 0.46s
% Output   : Proof 0.20s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   13
%            Number of leaves      :   37
% Syntax   : Number of formulae    :   74 (  21 unt;   8 typ;   0 def)
%            Number of atoms       :  282 (  74 equ)
%            Maximal formula atoms :   16 (   4 avg)
%            Number of connectives :  353 ( 153   ~; 165   |;   0   &)
%                                         (  35 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    9 (   4 avg)
%            Maximal term depth    :    1 (   1 avg)
%            Number of FOOLs       :   16 (  16 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    5 (   3   >;   2   *;   0   +;   0  <<)
%            Number of predicates  :    9 (   7 usr;   1 prp; 0-3 aty)
%            Number of functors    :    5 (   5 usr;   5 con; 0-0 aty)
%            Number of variables   :   51 (  45   !;   0   ?;  51   :)

% Comments : 
%------------------------------------------------------------------------------
tff(frontsegP_type,type,
    frontsegP: ( $i * $i ) > $o ).

tff(sk3_type,type,
    sk3: $i ).

tff(nil_type,type,
    nil: $i ).

tff(sk4_type,type,
    sk4: $i ).

tff(neq_type,type,
    neq: ( $i * $i ) > $o ).

tff(sk1_type,type,
    sk1: $i ).

tff(sk2_type,type,
    sk2: $i ).

tff(ssList_type,type,
    ssList: $i > $o ).

tff(1,plain,
    ( ( ~ neq(sk4,nil)
      | $false )
  <=> ~ neq(sk4,nil) ),
    inference(rewrite,[status(thm)],]) ).

tff(2,plain,
    ( ~ frontsegP(sk2,sk1)
  <=> ~ frontsegP(sk4,sk3) ),
    inference(rewrite,[status(thm)],]) ).

tff(3,plain,
    ( ~ frontsegP(sk2,sk1)
  <=> ~ frontsegP(sk2,sk1) ),
    inference(rewrite,[status(thm)],]) ).

tff(4,axiom,
    ~ frontsegP(sk2,sk1),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',co1_7) ).

tff(5,plain,
    ~ frontsegP(sk2,sk1),
    inference(modus_ponens,[status(thm)],[4,3]) ).

tff(6,plain,
    ~ frontsegP(sk4,sk3),
    inference(modus_ponens,[status(thm)],[5,2]) ).

tff(7,plain,
    ( frontsegP(sk4,sk3)
  <=> $false ),
    inference(iff_false,[status(thm)],[6]) ).

tff(8,plain,
    ( ( ~ neq(sk4,nil)
      | frontsegP(sk4,sk3) )
  <=> ( ~ neq(sk4,nil)
      | $false ) ),
    inference(monotonicity,[status(thm)],[7]) ).

tff(9,plain,
    ( ( ~ neq(sk4,nil)
      | frontsegP(sk4,sk3) )
  <=> ~ neq(sk4,nil) ),
    inference(transitivity,[status(thm)],[8,1]) ).

tff(10,plain,
    ( ( ~ neq(sk4,nil)
      | frontsegP(sk4,sk3) )
  <=> ( ~ neq(sk4,nil)
      | frontsegP(sk4,sk3) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(11,axiom,
    ( ~ neq(sk4,nil)
    | frontsegP(sk4,sk3) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',co1_10) ).

tff(12,plain,
    ( ~ neq(sk4,nil)
    | frontsegP(sk4,sk3) ),
    inference(modus_ponens,[status(thm)],[11,10]) ).

tff(13,plain,
    ~ neq(sk4,nil),
    inference(modus_ponens,[status(thm)],[12,9]) ).

tff(14,plain,
    ( ssList(sk2)
  <=> ssList(sk4) ),
    inference(rewrite,[status(thm)],]) ).

tff(15,plain,
    ( ssList(sk2)
  <=> ssList(sk2) ),
    inference(rewrite,[status(thm)],]) ).

tff(16,axiom,
    ssList(sk2),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',co1_2) ).

tff(17,plain,
    ssList(sk2),
    inference(modus_ponens,[status(thm)],[16,15]) ).

tff(18,plain,
    ssList(sk4),
    inference(modus_ponens,[status(thm)],[17,14]) ).

tff(19,plain,
    ^ [V: $i,U: $i] :
      refl(
        ( ( ~ ssList(U)
          | ~ ssList(V)
          | ( V = U )
          | neq(V,U) )
      <=> ( ~ ssList(U)
          | ~ ssList(V)
          | ( V = U )
          | neq(V,U) ) )),
    inference(bind,[status(th)],]) ).

tff(20,plain,
    ( ! [V: $i,U: $i] :
        ( ~ ssList(U)
        | ~ ssList(V)
        | ( V = U )
        | neq(V,U) )
  <=> ! [V: $i,U: $i] :
        ( ~ ssList(U)
        | ~ ssList(V)
        | ( V = U )
        | neq(V,U) ) ),
    inference(quant_intro,[status(thm)],[19]) ).

tff(21,plain,
    ( ! [V: $i,U: $i] :
        ( ~ ssList(U)
        | ~ ssList(V)
        | ( V = U )
        | neq(V,U) )
  <=> ! [V: $i,U: $i] :
        ( ~ ssList(U)
        | ~ ssList(V)
        | ( V = U )
        | neq(V,U) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(22,plain,
    ^ [V: $i,U: $i] :
      trans(
        monotonicity(
          rewrite(
            ( ( ~ ssList(U)
              | ~ ssList(V)
              | neq(V,U) )
          <=> ( ~ ssList(U)
              | ~ ssList(V)
              | neq(V,U) ) )),
          ( ( ~ ssList(U)
            | ~ ssList(V)
            | neq(V,U)
            | ( V = U ) )
        <=> ( ~ ssList(U)
            | ~ ssList(V)
            | neq(V,U)
            | ( V = U ) ) )),
        rewrite(
          ( ( ~ ssList(U)
            | ~ ssList(V)
            | neq(V,U)
            | ( V = U ) )
        <=> ( ~ ssList(U)
            | ~ ssList(V)
            | ( V = U )
            | neq(V,U) ) )),
        ( ( ~ ssList(U)
          | ~ ssList(V)
          | neq(V,U)
          | ( V = U ) )
      <=> ( ~ ssList(U)
          | ~ ssList(V)
          | ( V = U )
          | neq(V,U) ) )),
    inference(bind,[status(th)],]) ).

tff(23,plain,
    ( ! [V: $i,U: $i] :
        ( ~ ssList(U)
        | ~ ssList(V)
        | neq(V,U)
        | ( V = U ) )
  <=> ! [V: $i,U: $i] :
        ( ~ ssList(U)
        | ~ ssList(V)
        | ( V = U )
        | neq(V,U) ) ),
    inference(quant_intro,[status(thm)],[22]) ).

tff(24,axiom,
    ! [V: $i,U: $i] :
      ( ~ ssList(U)
      | ~ ssList(V)
      | neq(V,U)
      | ( V = U ) ),
    file('/export/starexec/sandbox/benchmark/Axioms/SWC001-0.ax',clause100) ).

tff(25,plain,
    ! [V: $i,U: $i] :
      ( ~ ssList(U)
      | ~ ssList(V)
      | ( V = U )
      | neq(V,U) ),
    inference(modus_ponens,[status(thm)],[24,23]) ).

tff(26,plain,
    ! [V: $i,U: $i] :
      ( ~ ssList(U)
      | ~ ssList(V)
      | ( V = U )
      | neq(V,U) ),
    inference(modus_ponens,[status(thm)],[25,21]) ).

tff(27,plain,
    ! [V: $i,U: $i] :
      ( ~ ssList(U)
      | ~ ssList(V)
      | ( V = U )
      | neq(V,U) ),
    inference(skolemize,[status(sab)],[26]) ).

tff(28,plain,
    ! [V: $i,U: $i] :
      ( ~ ssList(U)
      | ~ ssList(V)
      | ( V = U )
      | neq(V,U) ),
    inference(modus_ponens,[status(thm)],[27,20]) ).

tff(29,plain,
    ( ssList(nil)
  <=> ssList(nil) ),
    inference(rewrite,[status(thm)],]) ).

tff(30,axiom,
    ssList(nil),
    file('/export/starexec/sandbox/benchmark/Axioms/SWC001-0.ax',clause8) ).

tff(31,plain,
    ssList(nil),
    inference(modus_ponens,[status(thm)],[30,29]) ).

tff(32,plain,
    ( ( ~ ! [V: $i,U: $i] :
            ( ~ ssList(U)
            | ~ ssList(V)
            | ( V = U )
            | neq(V,U) )
      | ~ ssList(nil)
      | ~ ssList(sk4)
      | ( sk4 = nil )
      | neq(sk4,nil) )
  <=> ( ~ ! [V: $i,U: $i] :
            ( ~ ssList(U)
            | ~ ssList(V)
            | ( V = U )
            | neq(V,U) )
      | ~ ssList(nil)
      | ~ ssList(sk4)
      | ( sk4 = nil )
      | neq(sk4,nil) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(33,plain,
    ( ~ ! [V: $i,U: $i] :
          ( ~ ssList(U)
          | ~ ssList(V)
          | ( V = U )
          | neq(V,U) )
    | ~ ssList(nil)
    | ~ ssList(sk4)
    | ( sk4 = nil )
    | neq(sk4,nil) ),
    inference(quant_inst,[status(thm)],]) ).

tff(34,plain,
    ( ~ ! [V: $i,U: $i] :
          ( ~ ssList(U)
          | ~ ssList(V)
          | ( V = U )
          | neq(V,U) )
    | ~ ssList(nil)
    | ~ ssList(sk4)
    | ( sk4 = nil )
    | neq(sk4,nil) ),
    inference(modus_ponens,[status(thm)],[33,32]) ).

tff(35,plain,
    sk4 = nil,
    inference(unit_resolution,[status(thm)],[34,31,28,18,13]) ).

tff(36,plain,
    nil = sk4,
    inference(symmetry,[status(thm)],[35]) ).

tff(37,plain,
    ( frontsegP(nil,sk3)
  <=> frontsegP(sk4,sk3) ),
    inference(monotonicity,[status(thm)],[36]) ).

tff(38,plain,
    ( frontsegP(sk4,sk3)
  <=> frontsegP(nil,sk3) ),
    inference(symmetry,[status(thm)],[37]) ).

tff(39,plain,
    ( ~ frontsegP(sk4,sk3)
  <=> ~ frontsegP(nil,sk3) ),
    inference(monotonicity,[status(thm)],[38]) ).

tff(40,plain,
    ~ frontsegP(nil,sk3),
    inference(modus_ponens,[status(thm)],[6,39]) ).

tff(41,plain,
    ( ( ( nil != sk4 )
      | ( nil = sk3 ) )
  <=> ( ( nil != sk4 )
      | ( nil = sk3 ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(42,plain,
    ( ( ( nil = sk3 )
      | ( nil != sk4 ) )
  <=> ( ( nil != sk4 )
      | ( nil = sk3 ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(43,axiom,
    ( ( nil = sk3 )
    | ( nil != sk4 ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',co1_8) ).

tff(44,plain,
    ( ( nil != sk4 )
    | ( nil = sk3 ) ),
    inference(modus_ponens,[status(thm)],[43,42]) ).

tff(45,plain,
    ( ( nil != sk4 )
    | ( nil = sk3 ) ),
    inference(modus_ponens,[status(thm)],[44,41]) ).

tff(46,plain,
    nil = sk3,
    inference(unit_resolution,[status(thm)],[45,36]) ).

tff(47,plain,
    ( ssList(sk1)
  <=> ssList(sk3) ),
    inference(rewrite,[status(thm)],]) ).

tff(48,plain,
    ( ssList(sk1)
  <=> ssList(sk1) ),
    inference(rewrite,[status(thm)],]) ).

tff(49,axiom,
    ssList(sk1),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',co1_1) ).

tff(50,plain,
    ssList(sk1),
    inference(modus_ponens,[status(thm)],[49,48]) ).

tff(51,plain,
    ssList(sk3),
    inference(modus_ponens,[status(thm)],[50,47]) ).

tff(52,plain,
    ^ [U: $i] :
      refl(
        ( ( ~ ssList(U)
          | ( nil != U )
          | frontsegP(nil,U) )
      <=> ( ~ ssList(U)
          | ( nil != U )
          | frontsegP(nil,U) ) )),
    inference(bind,[status(th)],]) ).

tff(53,plain,
    ( ! [U: $i] :
        ( ~ ssList(U)
        | ( nil != U )
        | frontsegP(nil,U) )
  <=> ! [U: $i] :
        ( ~ ssList(U)
        | ( nil != U )
        | frontsegP(nil,U) ) ),
    inference(quant_intro,[status(thm)],[52]) ).

tff(54,plain,
    ( ! [U: $i] :
        ( ~ ssList(U)
        | ( nil != U )
        | frontsegP(nil,U) )
  <=> ! [U: $i] :
        ( ~ ssList(U)
        | ( nil != U )
        | frontsegP(nil,U) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(55,plain,
    ^ [U: $i] :
      trans(
        monotonicity(
          rewrite(
            ( ( ( nil != U )
              | ~ ssList(U) )
          <=> ( ~ ssList(U)
              | ( nil != U ) ) )),
          ( ( ( nil != U )
            | ~ ssList(U)
            | frontsegP(nil,U) )
        <=> ( ~ ssList(U)
            | ( nil != U )
            | frontsegP(nil,U) ) )),
        rewrite(
          ( ( ~ ssList(U)
            | ( nil != U )
            | frontsegP(nil,U) )
        <=> ( ~ ssList(U)
            | ( nil != U )
            | frontsegP(nil,U) ) )),
        ( ( ( nil != U )
          | ~ ssList(U)
          | frontsegP(nil,U) )
      <=> ( ~ ssList(U)
          | ( nil != U )
          | frontsegP(nil,U) ) )),
    inference(bind,[status(th)],]) ).

tff(56,plain,
    ( ! [U: $i] :
        ( ( nil != U )
        | ~ ssList(U)
        | frontsegP(nil,U) )
  <=> ! [U: $i] :
        ( ~ ssList(U)
        | ( nil != U )
        | frontsegP(nil,U) ) ),
    inference(quant_intro,[status(thm)],[55]) ).

tff(57,axiom,
    ! [U: $i] :
      ( ( nil != U )
      | ~ ssList(U)
      | frontsegP(nil,U) ),
    file('/export/starexec/sandbox/benchmark/Axioms/SWC001-0.ax',clause83) ).

tff(58,plain,
    ! [U: $i] :
      ( ~ ssList(U)
      | ( nil != U )
      | frontsegP(nil,U) ),
    inference(modus_ponens,[status(thm)],[57,56]) ).

tff(59,plain,
    ! [U: $i] :
      ( ~ ssList(U)
      | ( nil != U )
      | frontsegP(nil,U) ),
    inference(modus_ponens,[status(thm)],[58,54]) ).

tff(60,plain,
    ! [U: $i] :
      ( ~ ssList(U)
      | ( nil != U )
      | frontsegP(nil,U) ),
    inference(skolemize,[status(sab)],[59]) ).

tff(61,plain,
    ! [U: $i] :
      ( ~ ssList(U)
      | ( nil != U )
      | frontsegP(nil,U) ),
    inference(modus_ponens,[status(thm)],[60,53]) ).

tff(62,plain,
    ( ( ~ ! [U: $i] :
            ( ~ ssList(U)
            | ( nil != U )
            | frontsegP(nil,U) )
      | ~ ssList(sk3)
      | ( nil != sk3 )
      | frontsegP(nil,sk3) )
  <=> ( ~ ! [U: $i] :
            ( ~ ssList(U)
            | ( nil != U )
            | frontsegP(nil,U) )
      | ~ ssList(sk3)
      | ( nil != sk3 )
      | frontsegP(nil,sk3) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(63,plain,
    ( ~ ! [U: $i] :
          ( ~ ssList(U)
          | ( nil != U )
          | frontsegP(nil,U) )
    | ~ ssList(sk3)
    | ( nil != sk3 )
    | frontsegP(nil,sk3) ),
    inference(quant_inst,[status(thm)],]) ).

tff(64,plain,
    ( ~ ! [U: $i] :
          ( ~ ssList(U)
          | ( nil != U )
          | frontsegP(nil,U) )
    | ~ ssList(sk3)
    | ( nil != sk3 )
    | frontsegP(nil,sk3) ),
    inference(modus_ponens,[status(thm)],[63,62]) ).

tff(65,plain,
    ( ( nil != sk3 )
    | frontsegP(nil,sk3) ),
    inference(unit_resolution,[status(thm)],[64,61,51]) ).

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

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.03/0.12  % Problem  : SWC352-1 : TPTP v8.1.0. Released v2.4.0.
% 0.03/0.13  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.13/0.34  % Computer : n008.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 : Sun Sep  4 00:22:55 EDT 2022
% 0.13/0.34  % CPUTime  : 
% 0.13/0.35  Z3tptp [4.8.9.0] (c) 2006-20**. Microsoft Corp.
% 0.13/0.35  Usage: tptp [options] [-file:]file
% 0.13/0.35    -h, -?       prints this message.
% 0.13/0.35    -smt2        print SMT-LIB2 benchmark.
% 0.13/0.35    -m, -model   generate model.
% 0.13/0.35    -p, -proof   generate proof.
% 0.13/0.35    -c, -core    generate unsat core of named formulas.
% 0.13/0.35    -st, -statistics display statistics.
% 0.13/0.35    -t:timeout   set timeout (in second).
% 0.13/0.35    -smt2status  display status in smt2 format instead of SZS.
% 0.13/0.35    -check_status check the status produced by Z3 against annotation in benchmark.
% 0.13/0.35    -<param>:<value> configuration parameter and value.
% 0.13/0.35    -o:<output-file> file to place output in.
% 0.20/0.46  % SZS status Unsatisfiable
% 0.20/0.46  % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------