%------------------------------------------------------------------------------
% File     : DAT001_1 : TPTP v10.0.0. Released v10.0.0.
% Domain   : Data Structures
% Problem  :
% Version  : Especial.
% English  :

% Refs     :
% Source   : [TPTP]
% Names    :

% Status   : Theorem
% Rating   : ? v10.0.0
% Syntax   : Number of formulae    :   11 (   1 unt;   4 typ;   0 def)
%            Number of atoms       :   13 (   0 equ)
%            Maximal formula atoms :    2 (   1 avg)
%            Number of connectives :    7 (   1   ~;   0   |;   0   &)
%                                         (   6 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    5 (   4 avg)
%            Maximal term depth    :    2 (   1 avg)
%            Number of types       :    2 (   1 usr;   0 ari;   1 dat;   0 cdt)
%            Number of type conns  :    4 (   2   >;   2   *;   0   +;   0  <<)
%            Number of predicates  :    2 (   1 usr;   1 prp; 0-3 aty)
%            Number of functors    :    2 (   2 usr;   1 con; 0-1 aty)
%            Number of variables   :   12 (  12   !;   0   ?;  12   :)
% SPC      : TF0_THM_NEQ_NAR_DAT

% Comments :
%------------------------------------------------------------------------------
tff(nat_type,type-datatype,
    nat: $tType ).

tff(zero_type,type-datatype_constructor,
    zero: nat ).

tff(s_type,type-datatype_constructor,
    s: nat > nat ).

tff(equal_type,type,
    equal: ( nat * nat * nat ) > $o ).

tff(1,axiom,
    ( equal(zero,zero,zero)
  <=> ~ $false ) ).

tff(2,axiom,
    ! [Y: nat,Z: nat] :
      ( equal(zero,s(Y),Z)
    <=> $false ) ).

tff(3,axiom,
    ! [Y: nat,Z: nat] :
      ( equal(zero,Y,s(Z))
    <=> $false ) ).

tff(4,axiom,
    ! [X: nat,Z: nat] :
      ( equal(s(X),zero,Z)
    <=> $false ) ).

tff(5,axiom,
    ! [X: nat,Y: nat] :
      ( equal(s(X),Y,zero)
    <=> $false ) ).

tff(6,axiom,
    ! [X: nat,Y: nat,Z: nat] :
      ( equal(s(X),s(Y),s(Z))
    <=> equal(X,Y,Z) ) ).

tff(goal,conjecture,
    ! [X: nat] : equal(X,X,X) ).

%------------------------------------------------------------------------------
