## TPTP Problem File: SEV300^5.p

View Solutions - Solve Problem

```%------------------------------------------------------------------------------
% File     : SEV300^5 : TPTP v7.2.0. Bugfixed v6.2.0.
% Domain   : Set Theory
% Problem  : TPS problem from TTTP-NATS-THMS
% Version  : Especial.
% English  :

% Refs     : [Bro09] Brown (2009), Email to Geoff Sutcliffe
% Source   : [Bro09]
% Names    : tps_0824 [Bro09]

% Status   : Theorem
% Rating   : 0.44 v7.2.0, 0.38 v7.1.0, 0.50 v7.0.0, 0.43 v6.4.0, 0.33 v6.3.0, 0.40 v6.2.0
% Syntax   : Number of formulae    :    7 (   0 unit;   3 type;   3 defn)
%            Number of atoms       :   34 (   9 equality;  19 variable)
%            Maximal formula depth :   11 (   6 average)
%            Number of connectives :   14 (   2   ~;   0   |;   2   &;   8   @)
%                                         (   0 <=>;   2  =>;   0  <=;   0 <~>)
%                                         (   0  ~|;   0  ~&)
%            Number of type conns  :   16 (  16   >;   0   *;   0   +;   0  <<)
%            Number of symbols     :    5 (   3   :;   0   =)
%            Number of variables   :   13 (   0 sgn;   3   !;   3   ?;   7   ^)
%                                         (  13   :;   0  !>;   0  ?*)
%                                         (   0  @-;   0  @+)
% SPC      : TH0_THM_EQU_NAR

% Comments : This problem is from the TPS library. Copyright (c) 2009 The TPS
%            project in the Department of Mathematical Sciences at Carnegie
%          :
% Bugfixes : v5.2.0 - Added missing type declarations.
%          : v6.2.0 - Reordered definitions.
%------------------------------------------------------------------------------
thf(cONE_type,type,(
cONE: ( \$i > \$o ) > \$o )).

thf(cSUCC_type,type,(
cSUCC: ( ( \$i > \$o ) > \$o ) > ( \$i > \$o ) > \$o )).

thf(cZERO_type,type,(
cZERO: ( \$i > \$o ) > \$o )).

thf(cZERO_def,definition,
( cZERO
= ( ^ [Xp: \$i > \$o] :
~ ( ? [Xx: \$i] :
( Xp @ Xx ) ) ) )).

thf(cSUCC_def,definition,
( cSUCC
= ( ^ [Xn: ( \$i > \$o ) > \$o,Xp: \$i > \$o] :
? [Xx: \$i] :
( ( Xp @ Xx )
& ( Xn
@ ^ [Xt: \$i] :
( ( Xt != Xx )
& ( Xp @ Xt ) ) ) ) ) )).

thf(cONE_def,definition,
( cONE
= ( cSUCC @ cZERO ) )).

thf(cX6101_EXT_pme,conjecture,
( ! [Xf: \$i > \$i,Xg: \$i > \$i] :
( ! [Xx: \$i] :
( ( Xf @ Xx )
= ( Xg @ Xx ) )
=> ( Xf = Xg ) )
=> ( cONE
= ( ^ [P: \$i > \$o] :
? [Xy: \$i] :
( P
= ( ^ [Xx: \$i,Xy: \$i] : ( Xx = Xy )
@ Xy ) ) ) ) )).

%------------------------------------------------------------------------------
```