TSTP Solution File: SWV997_1 by Z3---4.8.9.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Z3---4.8.9.0
% Problem  : SWV997_1 : TPTP v8.1.0. Released v5.0.0.
% Transfm  : none
% Format   : tptp
% Command  : z3_tptp -proof -model -t:%d -file:%s

% Computer : n022.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 : Thu Sep 29 15:25:11 EDT 2022

% Result   : Theorem 0.20s 0.40s
% Output   : Proof 0.20s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   10
%            Number of leaves      :   36
% Syntax   : Number of formulae    :   85 (  29 unt;   6 typ;   0 def)
%            Number of atoms       :  773 ( 557 equ)
%            Maximal formula atoms :  107 (   9 avg)
%            Number of connectives : 1113 ( 429   ~; 248   |; 390   &)
%                                         (  44 <=>;   2  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   30 (   6 avg)
%            Maximal term depth    :    3 (   1 avg)
%            Number of FOOLs       :   10 (  10 fml;   0 var)
%            Number arithmetic     : 1652 ( 206 atm; 452 fun; 822 num; 172 var)
%            Number of types       :    1 (   0 usr;   1 ari)
%            Number of type conns  :    2 (   2   >;   0   *;   0   +;   0  <<)
%            Number of predicates  :   10 (   4 usr;   2 prp; 0-3 aty)
%            Number of functors    :   19 (   6 usr;  15 con; 0-2 aty)
%            Number of variables   :  172 ( 160   !;   0   ?; 172   :)

% Comments : 
%------------------------------------------------------------------------------
tff(b_type,type,
    b: $int > $int ).

tff(z3_type,type,
    z3: $int ).

tff(z2_type,type,
    z2: $int ).

tff(z1_type,type,
    z1: $int ).

tff(a_type,type,
    a: $int > $int ).

tff(z4_type,type,
    z4: $int ).

tff(1,plain,
    ( ( b(z3) = 5 )
  <=> ( b(z3) = 5 ) ),
    inference(rewrite,[status(thm)],]) ).

tff(2,plain,
    ( ~ ( ( ! [Z1: $int] :
              ( $lesseq(1,a(Z1))
              & $lesseq(a(Z1),12) )
          & ! [Z1: $int] :
              ( $lesseq(1,b(Z1))
              & $lesseq(b(Z1),5) )
          & $true
          & ( z1 != z2 )
          & ( z1 != z3 )
          & ( z1 != z4 )
          & ( z2 != z3 )
          & ( z2 != z4 )
          & ( z3 != z4 )
          & ! [Z1: $int,Z2: $int] :
              ~ ( ( Z1 != Z2 )
                & ( a(Z1) = 10 )
                & ( a(Z2) = 10 ) )
          & ! [Z1: $int,Z2: $int] :
              ~ ( ( Z1 != Z2 )
                & ( a(Z1) = 9 )
                & ( a(Z2) = 10 )
                & $less(b(Z2),3)
                & $less(Z2,Z1) )
          & ! [Z1: $int,Z2: $int] :
              ~ ( ( Z1 != Z2 )
                & ( a(Z1) = 8 )
                & ( a(Z2) = 10 )
                & $less(b(Z2),3)
                & $less(Z2,Z1) )
          & ! [Z1: $int,Z2: $int,Z3: $int] :
              ~ ( ( Z1 != Z2 )
                & ( Z1 != Z3 )
                & ( Z2 != Z3 )
                & ( a(Z1) = 7 )
                & ( a(Z2) = 10 )
                & $less(b(Z2),3)
                & ( b(Z3) = 5 )
                & $less(Z2,Z1) )
          & ! [Z1: $int,Z2: $int,Z3: $int] :
              ~ ( ( Z1 != Z2 )
                & ( Z1 != Z3 )
                & ( Z2 != Z3 )
                & ( a(Z1) = 6 )
                & ( a(Z2) = 10 )
                & $less(b(Z2),3)
                & ( b(Z3) = 5 )
                & $less(Z2,Z1) )
          & ! [Z1: $int,Z2: $int,Z3: $int] :
              ~ ( ( Z1 != Z2 )
                & ( Z1 != Z3 )
                & ( Z2 != Z3 )
                & ( a(Z1) = 7 )
                & ( a(Z2) = 10 )
                & ( a(Z3) = 8 )
                & $less(b(Z2),3)
                & $less(Z2,Z1) ) )
       => ~ ( ( a(z1) = 6 )
            & ( a(z2) = 10 )
            & ( a(z3) = 1 )
            & $less(b(z2),3)
            & ( b(z3) = 5 )
            & $less(z2,z1) ) )
  <=> ~ ( ~ ( ! [Z1: $int] :
                ( $lesseq(1,a(Z1))
                & $lesseq(a(Z1),12) )
            & ! [Z1: $int] :
                ( $lesseq(1,b(Z1))
                & $lesseq(b(Z1),5) )
            & ( z1 != z2 )
            & ( z1 != z3 )
            & ( z1 != z4 )
            & ( z2 != z3 )
            & ( z2 != z4 )
            & ( z3 != z4 )
            & ! [Z1: $int,Z2: $int] :
                ~ ( ( Z1 != Z2 )
                  & ( a(Z1) = 10 )
                  & ( a(Z2) = 10 ) )
            & ! [Z1: $int,Z2: $int] :
                ~ ( ( Z1 != Z2 )
                  & ( a(Z1) = 9 )
                  & ( a(Z2) = 10 )
                  & ~ $lesseq(3,b(Z2))
                  & ~ $lesseq(Z1,Z2) )
            & ! [Z1: $int,Z2: $int] :
                ~ ( ( Z1 != Z2 )
                  & ( a(Z1) = 8 )
                  & ( a(Z2) = 10 )
                  & ~ $lesseq(3,b(Z2))
                  & ~ $lesseq(Z1,Z2) )
            & ! [Z1: $int,Z2: $int,Z3: $int] :
                ~ ( ( Z1 != Z2 )
                  & ( Z1 != Z3 )
                  & ( Z2 != Z3 )
                  & ( a(Z1) = 7 )
                  & ( a(Z2) = 10 )
                  & ~ $lesseq(3,b(Z2))
                  & ( b(Z3) = 5 )
                  & ~ $lesseq(Z1,Z2) )
            & ! [Z1: $int,Z2: $int,Z3: $int] :
                ~ ( ( Z1 != Z2 )
                  & ( Z1 != Z3 )
                  & ( Z2 != Z3 )
                  & ( a(Z1) = 6 )
                  & ( a(Z2) = 10 )
                  & ~ $lesseq(3,b(Z2))
                  & ( b(Z3) = 5 )
                  & ~ $lesseq(Z1,Z2) )
            & ! [Z1: $int,Z2: $int,Z3: $int] :
                ~ ( ( Z1 != Z2 )
                  & ( Z1 != Z3 )
                  & ( Z2 != Z3 )
                  & ( a(Z1) = 7 )
                  & ( a(Z2) = 10 )
                  & ( a(Z3) = 8 )
                  & ~ $lesseq(3,b(Z2))
                  & ~ $lesseq(Z1,Z2) ) )
        | ~ ( ( a(z1) = 6 )
            & ( a(z2) = 10 )
            & ( a(z3) = 1 )
            & ~ $lesseq(3,b(z2))
            & ( b(z3) = 5 )
            & ~ $lesseq(z1,z2) ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(3,axiom,
    ~ ( ( ! [Z1: $int] :
            ( $lesseq(1,a(Z1))
            & $lesseq(a(Z1),12) )
        & ! [Z1: $int] :
            ( $lesseq(1,b(Z1))
            & $lesseq(b(Z1),5) )
        & $true
        & ( z1 != z2 )
        & ( z1 != z3 )
        & ( z1 != z4 )
        & ( z2 != z3 )
        & ( z2 != z4 )
        & ( z3 != z4 )
        & ! [Z1: $int,Z2: $int] :
            ~ ( ( Z1 != Z2 )
              & ( a(Z1) = 10 )
              & ( a(Z2) = 10 ) )
        & ! [Z1: $int,Z2: $int] :
            ~ ( ( Z1 != Z2 )
              & ( a(Z1) = 9 )
              & ( a(Z2) = 10 )
              & $less(b(Z2),3)
              & $less(Z2,Z1) )
        & ! [Z1: $int,Z2: $int] :
            ~ ( ( Z1 != Z2 )
              & ( a(Z1) = 8 )
              & ( a(Z2) = 10 )
              & $less(b(Z2),3)
              & $less(Z2,Z1) )
        & ! [Z1: $int,Z2: $int,Z3: $int] :
            ~ ( ( Z1 != Z2 )
              & ( Z1 != Z3 )
              & ( Z2 != Z3 )
              & ( a(Z1) = 7 )
              & ( a(Z2) = 10 )
              & $less(b(Z2),3)
              & ( b(Z3) = 5 )
              & $less(Z2,Z1) )
        & ! [Z1: $int,Z2: $int,Z3: $int] :
            ~ ( ( Z1 != Z2 )
              & ( Z1 != Z3 )
              & ( Z2 != Z3 )
              & ( a(Z1) = 6 )
              & ( a(Z2) = 10 )
              & $less(b(Z2),3)
              & ( b(Z3) = 5 )
              & $less(Z2,Z1) )
        & ! [Z1: $int,Z2: $int,Z3: $int] :
            ~ ( ( Z1 != Z2 )
              & ( Z1 != Z3 )
              & ( Z2 != Z3 )
              & ( a(Z1) = 7 )
              & ( a(Z2) = 10 )
              & ( a(Z3) = 8 )
              & $less(b(Z2),3)
              & $less(Z2,Z1) ) )
     => ~ ( ( a(z1) = 6 )
          & ( a(z2) = 10 )
          & ( a(z3) = 1 )
          & $less(b(z2),3)
          & ( b(z3) = 5 )
          & $less(z2,z1) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p','0') ).

tff(4,plain,
    ~ ( ~ ( ! [Z1: $int] :
              ( $lesseq(1,a(Z1))
              & $lesseq(a(Z1),12) )
          & ! [Z1: $int] :
              ( $lesseq(1,b(Z1))
              & $lesseq(b(Z1),5) )
          & ( z1 != z2 )
          & ( z1 != z3 )
          & ( z1 != z4 )
          & ( z2 != z3 )
          & ( z2 != z4 )
          & ( z3 != z4 )
          & ! [Z1: $int,Z2: $int] :
              ~ ( ( Z1 != Z2 )
                & ( a(Z1) = 10 )
                & ( a(Z2) = 10 ) )
          & ! [Z1: $int,Z2: $int] :
              ~ ( ( Z1 != Z2 )
                & ( a(Z1) = 9 )
                & ( a(Z2) = 10 )
                & ~ $lesseq(3,b(Z2))
                & ~ $lesseq(Z1,Z2) )
          & ! [Z1: $int,Z2: $int] :
              ~ ( ( Z1 != Z2 )
                & ( a(Z1) = 8 )
                & ( a(Z2) = 10 )
                & ~ $lesseq(3,b(Z2))
                & ~ $lesseq(Z1,Z2) )
          & ! [Z1: $int,Z2: $int,Z3: $int] :
              ~ ( ( Z1 != Z2 )
                & ( Z1 != Z3 )
                & ( Z2 != Z3 )
                & ( a(Z1) = 7 )
                & ( a(Z2) = 10 )
                & ~ $lesseq(3,b(Z2))
                & ( b(Z3) = 5 )
                & ~ $lesseq(Z1,Z2) )
          & ! [Z1: $int,Z2: $int,Z3: $int] :
              ~ ( ( Z1 != Z2 )
                & ( Z1 != Z3 )
                & ( Z2 != Z3 )
                & ( a(Z1) = 6 )
                & ( a(Z2) = 10 )
                & ~ $lesseq(3,b(Z2))
                & ( b(Z3) = 5 )
                & ~ $lesseq(Z1,Z2) )
          & ! [Z1: $int,Z2: $int,Z3: $int] :
              ~ ( ( Z1 != Z2 )
                & ( Z1 != Z3 )
                & ( Z2 != Z3 )
                & ( a(Z1) = 7 )
                & ( a(Z2) = 10 )
                & ( a(Z3) = 8 )
                & ~ $lesseq(3,b(Z2))
                & ~ $lesseq(Z1,Z2) ) )
      | ~ ( ( a(z1) = 6 )
          & ( a(z2) = 10 )
          & ( a(z3) = 1 )
          & ~ $lesseq(3,b(z2))
          & ( b(z3) = 5 )
          & ~ $lesseq(z1,z2) ) ),
    inference(modus_ponens,[status(thm)],[3,2]) ).

tff(5,plain,
    ( ( a(z1) = 6 )
    & ( a(z2) = 10 )
    & ( a(z3) = 1 )
    & ~ $lesseq(3,b(z2))
    & ( b(z3) = 5 )
    & ~ $lesseq(z1,z2) ),
    inference(or_elim,[status(thm)],[4]) ).

tff(6,plain,
    b(z3) = 5,
    inference(and_elim,[status(thm)],[5]) ).

tff(7,plain,
    b(z3) = 5,
    inference(modus_ponens,[status(thm)],[6,1]) ).

tff(8,plain,
    ( ~ $lesseq(3,b(z2))
  <=> ~ $greatereq(b(z2),3) ),
    inference(rewrite,[status(thm)],]) ).

tff(9,plain,
    ( ~ $lesseq(3,b(z2))
  <=> ~ $lesseq(3,b(z2)) ),
    inference(rewrite,[status(thm)],]) ).

tff(10,plain,
    ~ $lesseq(3,b(z2)),
    inference(and_elim,[status(thm)],[5]) ).

tff(11,plain,
    ~ $lesseq(3,b(z2)),
    inference(modus_ponens,[status(thm)],[10,9]) ).

tff(12,plain,
    ~ $greatereq(b(z2),3),
    inference(modus_ponens,[status(thm)],[11,8]) ).

tff(13,plain,
    ( ( a(z2) = 10 )
  <=> ( a(z2) = 10 ) ),
    inference(rewrite,[status(thm)],]) ).

tff(14,plain,
    a(z2) = 10,
    inference(and_elim,[status(thm)],[5]) ).

tff(15,plain,
    a(z2) = 10,
    inference(modus_ponens,[status(thm)],[14,13]) ).

tff(16,plain,
    ( ( a(z1) = 6 )
  <=> ( a(z1) = 6 ) ),
    inference(rewrite,[status(thm)],]) ).

tff(17,plain,
    a(z1) = 6,
    inference(and_elim,[status(thm)],[5]) ).

tff(18,plain,
    a(z1) = 6,
    inference(modus_ponens,[status(thm)],[17,16]) ).

tff(19,plain,
    ^ [Z1: $int,Z2: $int,Z3: $int] :
      refl(
        ( ( $greatereq(b(Z2),3)
          | $greatereq($sum(Z2,$product(-1,Z1)),0)
          | ( $sum(Z3,$product(-1,Z2)) = 0 )
          | ( $sum(Z2,$product(-1,Z1)) = 0 )
          | ( $sum(Z3,$product(-1,Z1)) = 0 )
          | ( a(Z2) != 10 )
          | ( b(Z3) != 5 )
          | ( a(Z1) != 6 ) )
      <=> ( $greatereq(b(Z2),3)
          | $greatereq($sum(Z2,$product(-1,Z1)),0)
          | ( $sum(Z3,$product(-1,Z2)) = 0 )
          | ( $sum(Z2,$product(-1,Z1)) = 0 )
          | ( $sum(Z3,$product(-1,Z1)) = 0 )
          | ( a(Z2) != 10 )
          | ( b(Z3) != 5 )
          | ( a(Z1) != 6 ) ) )),
    inference(bind,[status(th)],]) ).

tff(20,plain,
    ( ! [Z1: $int,Z2: $int,Z3: $int] :
        ( $greatereq(b(Z2),3)
        | $greatereq($sum(Z2,$product(-1,Z1)),0)
        | ( $sum(Z3,$product(-1,Z2)) = 0 )
        | ( $sum(Z2,$product(-1,Z1)) = 0 )
        | ( $sum(Z3,$product(-1,Z1)) = 0 )
        | ( a(Z2) != 10 )
        | ( b(Z3) != 5 )
        | ( a(Z1) != 6 ) )
  <=> ! [Z1: $int,Z2: $int,Z3: $int] :
        ( $greatereq(b(Z2),3)
        | $greatereq($sum(Z2,$product(-1,Z1)),0)
        | ( $sum(Z3,$product(-1,Z2)) = 0 )
        | ( $sum(Z2,$product(-1,Z1)) = 0 )
        | ( $sum(Z3,$product(-1,Z1)) = 0 )
        | ( a(Z2) != 10 )
        | ( b(Z3) != 5 )
        | ( a(Z1) != 6 ) ) ),
    inference(quant_intro,[status(thm)],[19]) ).

tff(21,plain,
    ^ [Z1: $int,Z2: $int,Z3: $int] :
      trans(
        monotonicity(
          rewrite(
            ( ( ( $sum(Z2,$product(-1,Z1)) != 0 )
              & ( $sum(Z3,$product(-1,Z1)) != 0 )
              & ( $sum(Z3,$product(-1,Z2)) != 0 )
              & ( a(Z1) = 6 )
              & ( a(Z2) = 10 )
              & ~ $greatereq(b(Z2),3)
              & ( b(Z3) = 5 )
              & ~ $greatereq($sum(Z2,$product(-1,Z1)),0) )
          <=> ~ ( $greatereq(b(Z2),3)
                | $greatereq($sum(Z2,$product(-1,Z1)),0)
                | ( $sum(Z3,$product(-1,Z2)) = 0 )
                | ( $sum(Z2,$product(-1,Z1)) = 0 )
                | ( $sum(Z3,$product(-1,Z1)) = 0 )
                | ( a(Z2) != 10 )
                | ( b(Z3) != 5 )
                | ( a(Z1) != 6 ) ) )),
          ( ~ ( ( $sum(Z2,$product(-1,Z1)) != 0 )
              & ( $sum(Z3,$product(-1,Z1)) != 0 )
              & ( $sum(Z3,$product(-1,Z2)) != 0 )
              & ( a(Z1) = 6 )
              & ( a(Z2) = 10 )
              & ~ $greatereq(b(Z2),3)
              & ( b(Z3) = 5 )
              & ~ $greatereq($sum(Z2,$product(-1,Z1)),0) )
        <=> ~ ~ ( $greatereq(b(Z2),3)
                | $greatereq($sum(Z2,$product(-1,Z1)),0)
                | ( $sum(Z3,$product(-1,Z2)) = 0 )
                | ( $sum(Z2,$product(-1,Z1)) = 0 )
                | ( $sum(Z3,$product(-1,Z1)) = 0 )
                | ( a(Z2) != 10 )
                | ( b(Z3) != 5 )
                | ( a(Z1) != 6 ) ) )),
        rewrite(
          ( ~ ~ ( $greatereq(b(Z2),3)
                | $greatereq($sum(Z2,$product(-1,Z1)),0)
                | ( $sum(Z3,$product(-1,Z2)) = 0 )
                | ( $sum(Z2,$product(-1,Z1)) = 0 )
                | ( $sum(Z3,$product(-1,Z1)) = 0 )
                | ( a(Z2) != 10 )
                | ( b(Z3) != 5 )
                | ( a(Z1) != 6 ) )
        <=> ( $greatereq(b(Z2),3)
            | $greatereq($sum(Z2,$product(-1,Z1)),0)
            | ( $sum(Z3,$product(-1,Z2)) = 0 )
            | ( $sum(Z2,$product(-1,Z1)) = 0 )
            | ( $sum(Z3,$product(-1,Z1)) = 0 )
            | ( a(Z2) != 10 )
            | ( b(Z3) != 5 )
            | ( a(Z1) != 6 ) ) )),
        ( ~ ( ( $sum(Z2,$product(-1,Z1)) != 0 )
            & ( $sum(Z3,$product(-1,Z1)) != 0 )
            & ( $sum(Z3,$product(-1,Z2)) != 0 )
            & ( a(Z1) = 6 )
            & ( a(Z2) = 10 )
            & ~ $greatereq(b(Z2),3)
            & ( b(Z3) = 5 )
            & ~ $greatereq($sum(Z2,$product(-1,Z1)),0) )
      <=> ( $greatereq(b(Z2),3)
          | $greatereq($sum(Z2,$product(-1,Z1)),0)
          | ( $sum(Z3,$product(-1,Z2)) = 0 )
          | ( $sum(Z2,$product(-1,Z1)) = 0 )
          | ( $sum(Z3,$product(-1,Z1)) = 0 )
          | ( a(Z2) != 10 )
          | ( b(Z3) != 5 )
          | ( a(Z1) != 6 ) ) )),
    inference(bind,[status(th)],]) ).

tff(22,plain,
    ( ! [Z1: $int,Z2: $int,Z3: $int] :
        ~ ( ( $sum(Z2,$product(-1,Z1)) != 0 )
          & ( $sum(Z3,$product(-1,Z1)) != 0 )
          & ( $sum(Z3,$product(-1,Z2)) != 0 )
          & ( a(Z1) = 6 )
          & ( a(Z2) = 10 )
          & ~ $greatereq(b(Z2),3)
          & ( b(Z3) = 5 )
          & ~ $greatereq($sum(Z2,$product(-1,Z1)),0) )
  <=> ! [Z1: $int,Z2: $int,Z3: $int] :
        ( $greatereq(b(Z2),3)
        | $greatereq($sum(Z2,$product(-1,Z1)),0)
        | ( $sum(Z3,$product(-1,Z2)) = 0 )
        | ( $sum(Z2,$product(-1,Z1)) = 0 )
        | ( $sum(Z3,$product(-1,Z1)) = 0 )
        | ( a(Z2) != 10 )
        | ( b(Z3) != 5 )
        | ( a(Z1) != 6 ) ) ),
    inference(quant_intro,[status(thm)],[21]) ).

tff(23,plain,
    ^ [Z1: $int,Z2: $int,Z3: $int] :
      rewrite(
        ( ~ ( ( $sum(Z1,$product(-1,Z2)) != 0 )
            & ( $sum(Z1,$product(-1,Z3)) != 0 )
            & ( $sum(Z2,$product(-1,Z3)) != 0 )
            & ( a(Z1) = 6 )
            & ( a(Z2) = 10 )
            & ~ $greatereq(b(Z2),3)
            & ( b(Z3) = 5 )
            & ~ $lesseq($sum(Z1,$product(-1,Z2)),0) )
      <=> ~ ( ( $sum(Z2,$product(-1,Z1)) != 0 )
            & ( $sum(Z3,$product(-1,Z1)) != 0 )
            & ( $sum(Z3,$product(-1,Z2)) != 0 )
            & ( a(Z1) = 6 )
            & ( a(Z2) = 10 )
            & ~ $greatereq(b(Z2),3)
            & ( b(Z3) = 5 )
            & ~ $greatereq($sum(Z2,$product(-1,Z1)),0) ) )),
    inference(bind,[status(th)],]) ).

tff(24,plain,
    ( ! [Z1: $int,Z2: $int,Z3: $int] :
        ~ ( ( $sum(Z1,$product(-1,Z2)) != 0 )
          & ( $sum(Z1,$product(-1,Z3)) != 0 )
          & ( $sum(Z2,$product(-1,Z3)) != 0 )
          & ( a(Z1) = 6 )
          & ( a(Z2) = 10 )
          & ~ $greatereq(b(Z2),3)
          & ( b(Z3) = 5 )
          & ~ $lesseq($sum(Z1,$product(-1,Z2)),0) )
  <=> ! [Z1: $int,Z2: $int,Z3: $int] :
        ~ ( ( $sum(Z2,$product(-1,Z1)) != 0 )
          & ( $sum(Z3,$product(-1,Z1)) != 0 )
          & ( $sum(Z3,$product(-1,Z2)) != 0 )
          & ( a(Z1) = 6 )
          & ( a(Z2) = 10 )
          & ~ $greatereq(b(Z2),3)
          & ( b(Z3) = 5 )
          & ~ $greatereq($sum(Z2,$product(-1,Z1)),0) ) ),
    inference(quant_intro,[status(thm)],[23]) ).

tff(25,plain,
    ^ [Z1: $int,Z2: $int,Z3: $int] :
      rewrite(
        ( ~ ( ( Z1 != Z2 )
            & ( Z1 != Z3 )
            & ( Z2 != Z3 )
            & ( a(Z1) = 6 )
            & ( a(Z2) = 10 )
            & ~ $lesseq(3,b(Z2))
            & ( b(Z3) = 5 )
            & ~ $lesseq(Z1,Z2) )
      <=> ~ ( ( $sum(Z1,$product(-1,Z2)) != 0 )
            & ( $sum(Z1,$product(-1,Z3)) != 0 )
            & ( $sum(Z2,$product(-1,Z3)) != 0 )
            & ( a(Z1) = 6 )
            & ( a(Z2) = 10 )
            & ~ $greatereq(b(Z2),3)
            & ( b(Z3) = 5 )
            & ~ $lesseq($sum(Z1,$product(-1,Z2)),0) ) )),
    inference(bind,[status(th)],]) ).

tff(26,plain,
    ( ! [Z1: $int,Z2: $int,Z3: $int] :
        ~ ( ( Z1 != Z2 )
          & ( Z1 != Z3 )
          & ( Z2 != Z3 )
          & ( a(Z1) = 6 )
          & ( a(Z2) = 10 )
          & ~ $lesseq(3,b(Z2))
          & ( b(Z3) = 5 )
          & ~ $lesseq(Z1,Z2) )
  <=> ! [Z1: $int,Z2: $int,Z3: $int] :
        ~ ( ( $sum(Z1,$product(-1,Z2)) != 0 )
          & ( $sum(Z1,$product(-1,Z3)) != 0 )
          & ( $sum(Z2,$product(-1,Z3)) != 0 )
          & ( a(Z1) = 6 )
          & ( a(Z2) = 10 )
          & ~ $greatereq(b(Z2),3)
          & ( b(Z3) = 5 )
          & ~ $lesseq($sum(Z1,$product(-1,Z2)),0) ) ),
    inference(quant_intro,[status(thm)],[25]) ).

tff(27,plain,
    ( ! [Z1: $int,Z2: $int,Z3: $int] :
        ~ ( ( Z1 != Z2 )
          & ( Z1 != Z3 )
          & ( Z2 != Z3 )
          & ( a(Z1) = 6 )
          & ( a(Z2) = 10 )
          & ~ $lesseq(3,b(Z2))
          & ( b(Z3) = 5 )
          & ~ $lesseq(Z1,Z2) )
  <=> ! [Z1: $int,Z2: $int,Z3: $int] :
        ~ ( ( Z1 != Z2 )
          & ( Z1 != Z3 )
          & ( Z2 != Z3 )
          & ( a(Z1) = 6 )
          & ( a(Z2) = 10 )
          & ~ $lesseq(3,b(Z2))
          & ( b(Z3) = 5 )
          & ~ $lesseq(Z1,Z2) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(28,plain,
    ( ! [Z1: $int] :
        ( $lesseq(1,a(Z1))
        & $lesseq(a(Z1),12) )
    & ! [Z1: $int] :
        ( $lesseq(1,b(Z1))
        & $lesseq(b(Z1),5) )
    & ( z1 != z2 )
    & ( z1 != z3 )
    & ( z1 != z4 )
    & ( z2 != z3 )
    & ( z2 != z4 )
    & ( z3 != z4 )
    & ! [Z1: $int,Z2: $int] :
        ~ ( ( Z1 != Z2 )
          & ( a(Z1) = 10 )
          & ( a(Z2) = 10 ) )
    & ! [Z1: $int,Z2: $int] :
        ~ ( ( Z1 != Z2 )
          & ( a(Z1) = 9 )
          & ( a(Z2) = 10 )
          & ~ $lesseq(3,b(Z2))
          & ~ $lesseq(Z1,Z2) )
    & ! [Z1: $int,Z2: $int] :
        ~ ( ( Z1 != Z2 )
          & ( a(Z1) = 8 )
          & ( a(Z2) = 10 )
          & ~ $lesseq(3,b(Z2))
          & ~ $lesseq(Z1,Z2) )
    & ! [Z1: $int,Z2: $int,Z3: $int] :
        ~ ( ( Z1 != Z2 )
          & ( Z1 != Z3 )
          & ( Z2 != Z3 )
          & ( a(Z1) = 7 )
          & ( a(Z2) = 10 )
          & ~ $lesseq(3,b(Z2))
          & ( b(Z3) = 5 )
          & ~ $lesseq(Z1,Z2) )
    & ! [Z1: $int,Z2: $int,Z3: $int] :
        ~ ( ( Z1 != Z2 )
          & ( Z1 != Z3 )
          & ( Z2 != Z3 )
          & ( a(Z1) = 6 )
          & ( a(Z2) = 10 )
          & ~ $lesseq(3,b(Z2))
          & ( b(Z3) = 5 )
          & ~ $lesseq(Z1,Z2) )
    & ! [Z1: $int,Z2: $int,Z3: $int] :
        ~ ( ( Z1 != Z2 )
          & ( Z1 != Z3 )
          & ( Z2 != Z3 )
          & ( a(Z1) = 7 )
          & ( a(Z2) = 10 )
          & ( a(Z3) = 8 )
          & ~ $lesseq(3,b(Z2))
          & ~ $lesseq(Z1,Z2) ) ),
    inference(or_elim,[status(thm)],[4]) ).

tff(29,plain,
    ! [Z1: $int,Z2: $int,Z3: $int] :
      ~ ( ( Z1 != Z2 )
        & ( Z1 != Z3 )
        & ( Z2 != Z3 )
        & ( a(Z1) = 6 )
        & ( a(Z2) = 10 )
        & ~ $lesseq(3,b(Z2))
        & ( b(Z3) = 5 )
        & ~ $lesseq(Z1,Z2) ),
    inference(and_elim,[status(thm)],[28]) ).

tff(30,plain,
    ! [Z1: $int,Z2: $int,Z3: $int] :
      ~ ( ( Z1 != Z2 )
        & ( Z1 != Z3 )
        & ( Z2 != Z3 )
        & ( a(Z1) = 6 )
        & ( a(Z2) = 10 )
        & ~ $lesseq(3,b(Z2))
        & ( b(Z3) = 5 )
        & ~ $lesseq(Z1,Z2) ),
    inference(modus_ponens,[status(thm)],[29,27]) ).

tff(31,plain,
    ! [Z1: $int,Z2: $int,Z3: $int] :
      ~ ( ( $sum(Z1,$product(-1,Z2)) != 0 )
        & ( $sum(Z1,$product(-1,Z3)) != 0 )
        & ( $sum(Z2,$product(-1,Z3)) != 0 )
        & ( a(Z1) = 6 )
        & ( a(Z2) = 10 )
        & ~ $greatereq(b(Z2),3)
        & ( b(Z3) = 5 )
        & ~ $lesseq($sum(Z1,$product(-1,Z2)),0) ),
    inference(modus_ponens,[status(thm)],[30,26]) ).

tff(32,plain,
    ! [Z1: $int,Z2: $int,Z3: $int] :
      ~ ( ( $sum(Z2,$product(-1,Z1)) != 0 )
        & ( $sum(Z3,$product(-1,Z1)) != 0 )
        & ( $sum(Z3,$product(-1,Z2)) != 0 )
        & ( a(Z1) = 6 )
        & ( a(Z2) = 10 )
        & ~ $greatereq(b(Z2),3)
        & ( b(Z3) = 5 )
        & ~ $greatereq($sum(Z2,$product(-1,Z1)),0) ),
    inference(modus_ponens,[status(thm)],[31,24]) ).

tff(33,plain,
    ! [Z1: $int,Z2: $int,Z3: $int] :
      ~ ( ( $sum(Z2,$product(-1,Z1)) != 0 )
        & ( $sum(Z3,$product(-1,Z1)) != 0 )
        & ( $sum(Z3,$product(-1,Z2)) != 0 )
        & ( a(Z1) = 6 )
        & ( a(Z2) = 10 )
        & ~ $greatereq(b(Z2),3)
        & ( b(Z3) = 5 )
        & ~ $greatereq($sum(Z2,$product(-1,Z1)),0) ),
    inference(skolemize,[status(sab)],[32]) ).

tff(34,plain,
    ! [Z1: $int,Z2: $int,Z3: $int] :
      ( $greatereq(b(Z2),3)
      | $greatereq($sum(Z2,$product(-1,Z1)),0)
      | ( $sum(Z3,$product(-1,Z2)) = 0 )
      | ( $sum(Z2,$product(-1,Z1)) = 0 )
      | ( $sum(Z3,$product(-1,Z1)) = 0 )
      | ( a(Z2) != 10 )
      | ( b(Z3) != 5 )
      | ( a(Z1) != 6 ) ),
    inference(modus_ponens,[status(thm)],[33,22]) ).

tff(35,plain,
    ! [Z1: $int,Z2: $int,Z3: $int] :
      ( $greatereq(b(Z2),3)
      | $greatereq($sum(Z2,$product(-1,Z1)),0)
      | ( $sum(Z3,$product(-1,Z2)) = 0 )
      | ( $sum(Z2,$product(-1,Z1)) = 0 )
      | ( $sum(Z3,$product(-1,Z1)) = 0 )
      | ( a(Z2) != 10 )
      | ( b(Z3) != 5 )
      | ( a(Z1) != 6 ) ),
    inference(modus_ponens,[status(thm)],[34,20]) ).

tff(36,plain,
    ( ( z2 != z3 )
  <=> ( $sum(z2,$product(-1,z3)) != 0 ) ),
    inference(rewrite,[status(thm)],]) ).

tff(37,plain,
    ( ( z2 != z3 )
  <=> ( z2 != z3 ) ),
    inference(rewrite,[status(thm)],]) ).

tff(38,plain,
    z2 != z3,
    inference(and_elim,[status(thm)],[28]) ).

tff(39,plain,
    z2 != z3,
    inference(modus_ponens,[status(thm)],[38,37]) ).

tff(40,plain,
    $sum(z2,$product(-1,z3)) != 0,
    inference(modus_ponens,[status(thm)],[39,36]) ).

tff(41,plain,
    ( ( z1 != z3 )
  <=> ( $sum(z1,$product(-1,z3)) != 0 ) ),
    inference(rewrite,[status(thm)],]) ).

tff(42,plain,
    ( ( z1 != z3 )
  <=> ( z1 != z3 ) ),
    inference(rewrite,[status(thm)],]) ).

tff(43,plain,
    z1 != z3,
    inference(and_elim,[status(thm)],[28]) ).

tff(44,plain,
    z1 != z3,
    inference(modus_ponens,[status(thm)],[43,42]) ).

tff(45,plain,
    $sum(z1,$product(-1,z3)) != 0,
    inference(modus_ponens,[status(thm)],[44,41]) ).

tff(46,plain,
    ( ~ $lesseq(z1,z2)
  <=> ~ $lesseq($sum(z1,$product(-1,z2)),0) ),
    inference(rewrite,[status(thm)],]) ).

tff(47,plain,
    ( ~ $lesseq(z1,z2)
  <=> ~ $lesseq(z1,z2) ),
    inference(rewrite,[status(thm)],]) ).

tff(48,plain,
    ~ $lesseq(z1,z2),
    inference(and_elim,[status(thm)],[5]) ).

tff(49,plain,
    ~ $lesseq(z1,z2),
    inference(modus_ponens,[status(thm)],[48,47]) ).

tff(50,plain,
    ~ $lesseq($sum(z1,$product(-1,z2)),0),
    inference(modus_ponens,[status(thm)],[49,46]) ).

tff(51,plain,
    ( ( z1 != z2 )
  <=> ( $sum(z1,$product(-1,z2)) != 0 ) ),
    inference(rewrite,[status(thm)],]) ).

tff(52,plain,
    ( ( z1 != z2 )
  <=> ( z1 != z2 ) ),
    inference(rewrite,[status(thm)],]) ).

tff(53,plain,
    z1 != z2,
    inference(and_elim,[status(thm)],[28]) ).

tff(54,plain,
    z1 != z2,
    inference(modus_ponens,[status(thm)],[53,52]) ).

tff(55,plain,
    $sum(z1,$product(-1,z2)) != 0,
    inference(modus_ponens,[status(thm)],[54,51]) ).

tff(56,plain,
    ( ( ~ ! [Z1: $int,Z2: $int,Z3: $int] :
            ( $greatereq(b(Z2),3)
            | $greatereq($sum(Z2,$product(-1,Z1)),0)
            | ( $sum(Z3,$product(-1,Z2)) = 0 )
            | ( $sum(Z2,$product(-1,Z1)) = 0 )
            | ( $sum(Z3,$product(-1,Z1)) = 0 )
            | ( a(Z2) != 10 )
            | ( b(Z3) != 5 )
            | ( a(Z1) != 6 ) )
      | ( $sum(z1,$product(-1,z3)) = 0 )
      | $lesseq($sum(z1,$product(-1,z2)),0)
      | $greatereq(b(z2),3)
      | ( $sum(z2,$product(-1,z3)) = 0 )
      | ( $sum(z1,$product(-1,z2)) = 0 )
      | ( a(z2) != 10 )
      | ( a(z1) != 6 )
      | ( b(z3) != 5 ) )
  <=> ( ~ ! [Z1: $int,Z2: $int,Z3: $int] :
            ( $greatereq(b(Z2),3)
            | $greatereq($sum(Z2,$product(-1,Z1)),0)
            | ( $sum(Z3,$product(-1,Z2)) = 0 )
            | ( $sum(Z2,$product(-1,Z1)) = 0 )
            | ( $sum(Z3,$product(-1,Z1)) = 0 )
            | ( a(Z2) != 10 )
            | ( b(Z3) != 5 )
            | ( a(Z1) != 6 ) )
      | ( $sum(z1,$product(-1,z3)) = 0 )
      | $lesseq($sum(z1,$product(-1,z2)),0)
      | $greatereq(b(z2),3)
      | ( $sum(z2,$product(-1,z3)) = 0 )
      | ( $sum(z1,$product(-1,z2)) = 0 )
      | ( a(z2) != 10 )
      | ( a(z1) != 6 )
      | ( b(z3) != 5 ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(57,plain,
    ( ( $greatereq(b(z2),3)
      | $lesseq($sum(z1,$product(-1,z2)),0)
      | ( $sum(z2,$product(-1,z3)) = 0 )
      | ( $sum(z1,$product(-1,z2)) = 0 )
      | ( $sum(z1,$product(-1,z3)) = 0 )
      | ( a(z2) != 10 )
      | ( b(z3) != 5 )
      | ( a(z1) != 6 ) )
  <=> ( ( $sum(z1,$product(-1,z3)) = 0 )
      | $lesseq($sum(z1,$product(-1,z2)),0)
      | $greatereq(b(z2),3)
      | ( $sum(z2,$product(-1,z3)) = 0 )
      | ( $sum(z1,$product(-1,z2)) = 0 )
      | ( a(z2) != 10 )
      | ( a(z1) != 6 )
      | ( b(z3) != 5 ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(58,plain,
    ( ( $sum($product(-1,z1),z3) = 0 )
  <=> ( $sum(z1,$product(-1,z3)) = 0 ) ),
    inference(rewrite,[status(thm)],]) ).

tff(59,plain,
    $sum(z3,$product(-1,z1)) = $sum($product(-1,z1),z3),
    inference(rewrite,[status(thm)],]) ).

tff(60,plain,
    ( ( $sum(z3,$product(-1,z1)) = 0 )
  <=> ( $sum($product(-1,z1),z3) = 0 ) ),
    inference(monotonicity,[status(thm)],[59]) ).

tff(61,plain,
    ( ( $sum(z3,$product(-1,z1)) = 0 )
  <=> ( $sum(z1,$product(-1,z3)) = 0 ) ),
    inference(transitivity,[status(thm)],[60,58]) ).

tff(62,plain,
    ( ( $sum($product(-1,z1),z2) = 0 )
  <=> ( $sum(z1,$product(-1,z2)) = 0 ) ),
    inference(rewrite,[status(thm)],]) ).

tff(63,plain,
    $sum(z2,$product(-1,z1)) = $sum($product(-1,z1),z2),
    inference(rewrite,[status(thm)],]) ).

tff(64,plain,
    ( ( $sum(z2,$product(-1,z1)) = 0 )
  <=> ( $sum($product(-1,z1),z2) = 0 ) ),
    inference(monotonicity,[status(thm)],[63]) ).

tff(65,plain,
    ( ( $sum(z2,$product(-1,z1)) = 0 )
  <=> ( $sum(z1,$product(-1,z2)) = 0 ) ),
    inference(transitivity,[status(thm)],[64,62]) ).

tff(66,plain,
    ( ( $sum($product(-1,z2),z3) = 0 )
  <=> ( $sum(z2,$product(-1,z3)) = 0 ) ),
    inference(rewrite,[status(thm)],]) ).

tff(67,plain,
    $sum(z3,$product(-1,z2)) = $sum($product(-1,z2),z3),
    inference(rewrite,[status(thm)],]) ).

tff(68,plain,
    ( ( $sum(z3,$product(-1,z2)) = 0 )
  <=> ( $sum($product(-1,z2),z3) = 0 ) ),
    inference(monotonicity,[status(thm)],[67]) ).

tff(69,plain,
    ( ( $sum(z3,$product(-1,z2)) = 0 )
  <=> ( $sum(z2,$product(-1,z3)) = 0 ) ),
    inference(transitivity,[status(thm)],[68,66]) ).

tff(70,plain,
    ( $greatereq($sum($product(-1,z1),z2),0)
  <=> $lesseq($sum(z1,$product(-1,z2)),0) ),
    inference(rewrite,[status(thm)],]) ).

tff(71,plain,
    ( $greatereq($sum(z2,$product(-1,z1)),0)
  <=> $greatereq($sum($product(-1,z1),z2),0) ),
    inference(monotonicity,[status(thm)],[63]) ).

tff(72,plain,
    ( $greatereq($sum(z2,$product(-1,z1)),0)
  <=> $lesseq($sum(z1,$product(-1,z2)),0) ),
    inference(transitivity,[status(thm)],[71,70]) ).

tff(73,plain,
    ( ( $greatereq(b(z2),3)
      | $greatereq($sum(z2,$product(-1,z1)),0)
      | ( $sum(z3,$product(-1,z2)) = 0 )
      | ( $sum(z2,$product(-1,z1)) = 0 )
      | ( $sum(z3,$product(-1,z1)) = 0 )
      | ( a(z2) != 10 )
      | ( b(z3) != 5 )
      | ( a(z1) != 6 ) )
  <=> ( $greatereq(b(z2),3)
      | $lesseq($sum(z1,$product(-1,z2)),0)
      | ( $sum(z2,$product(-1,z3)) = 0 )
      | ( $sum(z1,$product(-1,z2)) = 0 )
      | ( $sum(z1,$product(-1,z3)) = 0 )
      | ( a(z2) != 10 )
      | ( b(z3) != 5 )
      | ( a(z1) != 6 ) ) ),
    inference(monotonicity,[status(thm)],[72,69,65,61]) ).

tff(74,plain,
    ( ( $greatereq(b(z2),3)
      | $greatereq($sum(z2,$product(-1,z1)),0)
      | ( $sum(z3,$product(-1,z2)) = 0 )
      | ( $sum(z2,$product(-1,z1)) = 0 )
      | ( $sum(z3,$product(-1,z1)) = 0 )
      | ( a(z2) != 10 )
      | ( b(z3) != 5 )
      | ( a(z1) != 6 ) )
  <=> ( ( $sum(z1,$product(-1,z3)) = 0 )
      | $lesseq($sum(z1,$product(-1,z2)),0)
      | $greatereq(b(z2),3)
      | ( $sum(z2,$product(-1,z3)) = 0 )
      | ( $sum(z1,$product(-1,z2)) = 0 )
      | ( a(z2) != 10 )
      | ( a(z1) != 6 )
      | ( b(z3) != 5 ) ) ),
    inference(transitivity,[status(thm)],[73,57]) ).

tff(75,plain,
    ( ( ~ ! [Z1: $int,Z2: $int,Z3: $int] :
            ( $greatereq(b(Z2),3)
            | $greatereq($sum(Z2,$product(-1,Z1)),0)
            | ( $sum(Z3,$product(-1,Z2)) = 0 )
            | ( $sum(Z2,$product(-1,Z1)) = 0 )
            | ( $sum(Z3,$product(-1,Z1)) = 0 )
            | ( a(Z2) != 10 )
            | ( b(Z3) != 5 )
            | ( a(Z1) != 6 ) )
      | $greatereq(b(z2),3)
      | $greatereq($sum(z2,$product(-1,z1)),0)
      | ( $sum(z3,$product(-1,z2)) = 0 )
      | ( $sum(z2,$product(-1,z1)) = 0 )
      | ( $sum(z3,$product(-1,z1)) = 0 )
      | ( a(z2) != 10 )
      | ( b(z3) != 5 )
      | ( a(z1) != 6 ) )
  <=> ( ~ ! [Z1: $int,Z2: $int,Z3: $int] :
            ( $greatereq(b(Z2),3)
            | $greatereq($sum(Z2,$product(-1,Z1)),0)
            | ( $sum(Z3,$product(-1,Z2)) = 0 )
            | ( $sum(Z2,$product(-1,Z1)) = 0 )
            | ( $sum(Z3,$product(-1,Z1)) = 0 )
            | ( a(Z2) != 10 )
            | ( b(Z3) != 5 )
            | ( a(Z1) != 6 ) )
      | ( $sum(z1,$product(-1,z3)) = 0 )
      | $lesseq($sum(z1,$product(-1,z2)),0)
      | $greatereq(b(z2),3)
      | ( $sum(z2,$product(-1,z3)) = 0 )
      | ( $sum(z1,$product(-1,z2)) = 0 )
      | ( a(z2) != 10 )
      | ( a(z1) != 6 )
      | ( b(z3) != 5 ) ) ),
    inference(monotonicity,[status(thm)],[74]) ).

tff(76,plain,
    ( ( ~ ! [Z1: $int,Z2: $int,Z3: $int] :
            ( $greatereq(b(Z2),3)
            | $greatereq($sum(Z2,$product(-1,Z1)),0)
            | ( $sum(Z3,$product(-1,Z2)) = 0 )
            | ( $sum(Z2,$product(-1,Z1)) = 0 )
            | ( $sum(Z3,$product(-1,Z1)) = 0 )
            | ( a(Z2) != 10 )
            | ( b(Z3) != 5 )
            | ( a(Z1) != 6 ) )
      | $greatereq(b(z2),3)
      | $greatereq($sum(z2,$product(-1,z1)),0)
      | ( $sum(z3,$product(-1,z2)) = 0 )
      | ( $sum(z2,$product(-1,z1)) = 0 )
      | ( $sum(z3,$product(-1,z1)) = 0 )
      | ( a(z2) != 10 )
      | ( b(z3) != 5 )
      | ( a(z1) != 6 ) )
  <=> ( ~ ! [Z1: $int,Z2: $int,Z3: $int] :
            ( $greatereq(b(Z2),3)
            | $greatereq($sum(Z2,$product(-1,Z1)),0)
            | ( $sum(Z3,$product(-1,Z2)) = 0 )
            | ( $sum(Z2,$product(-1,Z1)) = 0 )
            | ( $sum(Z3,$product(-1,Z1)) = 0 )
            | ( a(Z2) != 10 )
            | ( b(Z3) != 5 )
            | ( a(Z1) != 6 ) )
      | ( $sum(z1,$product(-1,z3)) = 0 )
      | $lesseq($sum(z1,$product(-1,z2)),0)
      | $greatereq(b(z2),3)
      | ( $sum(z2,$product(-1,z3)) = 0 )
      | ( $sum(z1,$product(-1,z2)) = 0 )
      | ( a(z2) != 10 )
      | ( a(z1) != 6 )
      | ( b(z3) != 5 ) ) ),
    inference(transitivity,[status(thm)],[75,56]) ).

tff(77,plain,
    ( ~ ! [Z1: $int,Z2: $int,Z3: $int] :
          ( $greatereq(b(Z2),3)
          | $greatereq($sum(Z2,$product(-1,Z1)),0)
          | ( $sum(Z3,$product(-1,Z2)) = 0 )
          | ( $sum(Z2,$product(-1,Z1)) = 0 )
          | ( $sum(Z3,$product(-1,Z1)) = 0 )
          | ( a(Z2) != 10 )
          | ( b(Z3) != 5 )
          | ( a(Z1) != 6 ) )
    | $greatereq(b(z2),3)
    | $greatereq($sum(z2,$product(-1,z1)),0)
    | ( $sum(z3,$product(-1,z2)) = 0 )
    | ( $sum(z2,$product(-1,z1)) = 0 )
    | ( $sum(z3,$product(-1,z1)) = 0 )
    | ( a(z2) != 10 )
    | ( b(z3) != 5 )
    | ( a(z1) != 6 ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(78,plain,
    ( ~ ! [Z1: $int,Z2: $int,Z3: $int] :
          ( $greatereq(b(Z2),3)
          | $greatereq($sum(Z2,$product(-1,Z1)),0)
          | ( $sum(Z3,$product(-1,Z2)) = 0 )
          | ( $sum(Z2,$product(-1,Z1)) = 0 )
          | ( $sum(Z3,$product(-1,Z1)) = 0 )
          | ( a(Z2) != 10 )
          | ( b(Z3) != 5 )
          | ( a(Z1) != 6 ) )
    | ( $sum(z1,$product(-1,z3)) = 0 )
    | $lesseq($sum(z1,$product(-1,z2)),0)
    | $greatereq(b(z2),3)
    | ( $sum(z2,$product(-1,z3)) = 0 )
    | ( $sum(z1,$product(-1,z2)) = 0 )
    | ( a(z2) != 10 )
    | ( a(z1) != 6 )
    | ( b(z3) != 5 ) ),
    inference(modus_ponens,[status(thm)],[77,76]) ).

tff(79,plain,
    $false,
    inference(unit_resolution,[status(thm)],[78,55,50,45,40,35,18,15,12,7]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.03/0.12  % Problem  : SWV997_1 : TPTP v8.1.0. Released v5.0.0.
% 0.03/0.13  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.13/0.35  % Computer : n022.cluster.edu
% 0.13/0.35  % Model    : x86_64 x86_64
% 0.13/0.35  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.35  % Memory   : 8042.1875MB
% 0.13/0.35  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.13/0.35  % CPULimit : 300
% 0.13/0.35  % WCLimit  : 300
% 0.13/0.35  % DateTime : Sun Sep  4 11:15:39 EDT 2022
% 0.13/0.35  % 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.40  % SZS status Theorem
% 0.20/0.40  % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------