TPTP Problem File: NUM951_5.p

View Solutions - Solve Problem

%------------------------------------------------------------------------------
% File     : NUM951_5 : TPTP v9.0.0. Released v6.0.0.
% Domain   : Number Theory
% Problem  : Sum of two squares line 73
% Version  : Especial.
% English  : 

% Refs     : [BN10]  Boehme & Nipkow (2010), Sledgehammer: Judgement Day
%          : [Bla13] Blanchette (2011), Email to Geoff Sutcliffe
% Source   : [Bla13]
% Names    : s2s_73 [Bla13]

% Status   : Theorem
% Rating   : 0.33 v7.4.0, 0.50 v7.1.0, 0.67 v6.4.0
% Syntax   : Number of formulae    :  155 (  70 unt;  31 typ;   0 def)
%            Number of atoms       :  194 ( 116 equ)
%            Maximal formula atoms :    5 (   1 avg)
%            Number of connectives :   80 (  10   ~;   3   |;   8   &)
%                                         (  11 <=>;  48  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    7 (   3 avg)
%            Maximal term depth    :    7 (   2 avg)
%            Number of types       :    4 (   3 usr)
%            Number of type conns  :   12 (   8   >;   4   *;   0   +;   0  <<)
%            Number of predicates  :   16 (  15 usr;   0 prp; 1-2 aty)
%            Number of functors    :   13 (  13 usr;   5 con; 0-3 aty)
%            Number of variables   :  213 ( 193   !;   0   ?; 213   :)
%                                         (  20  !>;   0  ?*;   0  @-;   0  @+)
% SPC      : TF1_THM_EQU_NAR

% Comments : This file was generated by Isabelle (most likely Sledgehammer)
%            2011-12-13 16:23:38
%------------------------------------------------------------------------------
%----Should-be-implicit typings (3)
tff(ty_tc_HOL_Obool,type,
    bool: $tType ).

tff(ty_tc_Int_Oint,type,
    int: $tType ).

tff(ty_tc_Nat_Onat,type,
    nat: $tType ).

%----Explicit typings (28)
tff(sy_cl_Groups_Oone,type,
    one: 
      !>[A: $tType] : $o ).

tff(sy_cl_Int_Onumber,type,
    number: 
      !>[A: $tType] : $o ).

tff(sy_cl_Rings_Oring,type,
    ring: 
      !>[A: $tType] : $o ).

tff(sy_cl_Rings_Osemiring,type,
    semiring: 
      !>[A: $tType] : $o ).

tff(sy_cl_Int_Onumber__ring,type,
    number_ring: 
      !>[A: $tType] : $o ).

tff(sy_cl_Int_Oring__char__0,type,
    ring_char_0: 
      !>[A: $tType] : $o ).

tff(sy_cl_Rings_Osemiring__1,type,
    semiring_1: 
      !>[A: $tType] : $o ).

tff(sy_cl_Groups_Omonoid__mult,type,
    monoid_mult: 
      !>[A: $tType] : $o ).

tff(sy_cl_Int_Onumber__semiring,type,
    number_semiring: 
      !>[A: $tType] : $o ).

tff(sy_cl_Groups_Oab__semigroup__add,type,
    ab_semigroup_add: 
      !>[A: $tType] : $o ).

tff(sy_cl_Groups_Ocomm__monoid__mult,type,
    comm_monoid_mult: 
      !>[A: $tType] : $o ).

tff(sy_cl_Groups_Oab__semigroup__mult,type,
    ab_semigroup_mult: 
      !>[A: $tType] : $o ).

tff(sy_cl_Groups_Ocancel__semigroup__add,type,
    cancel_semigroup_add: 
      !>[A: $tType] : $o ).

tff(sy_cl_Groups_Ocancel__ab__semigroup__add,type,
    cancel146912293up_add: 
      !>[A: $tType] : $o ).

tff(sy_c_Groups_Ominus__class_Ominus,type,
    minus_minus: 
      !>[A: $tType] : ( ( A * A ) > A ) ).

tff(sy_c_Groups_Oone__class_Oone,type,
    one_one: 
      !>[A: $tType] : A ).

tff(sy_c_Groups_Oplus__class_Oplus,type,
    plus_plus: 
      !>[A: $tType] : ( ( A * A ) > A ) ).

tff(sy_c_Groups_Otimes__class_Otimes,type,
    times_times: 
      !>[A: $tType] : ( ( A * A ) > A ) ).

tff(sy_c_Int_OBit0,type,
    bit0: int > int ).

tff(sy_c_Int_OBit1,type,
    bit1: int > int ).

tff(sy_c_Int_OMin,type,
    min: int ).

tff(sy_c_Int_OPls,type,
    pls: int ).

tff(sy_c_Int_Onumber__class_Onumber__of,type,
    number_number_of: 
      !>[A: $tType] : ( int > A ) ).

tff(sy_c_Power_Opower__class_Opower,type,
    power_power: 
      !>[A: $tType] : ( ( A * nat ) > A ) ).

tff(sy_c_fFalse,type,
    fFalse: bool ).

tff(sy_c_fTrue,type,
    fTrue: bool ).

tff(sy_c_pp,type,
    pp: bool > $o ).

tff(sy_v_s____,type,
    s: int ).

%----Relevant facts (96)
tff(fact_0_one__power2,axiom,
    ! [A: $tType] :
      ( semiring_1(A)
     => ( power_power(A,one_one(A),number_number_of(nat,bit0(bit1(pls)))) = one_one(A) ) ) ).

tff(fact_1_add__special_I2_J,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ! [W: int] : ( plus_plus(A,one_one(A),number_number_of(A,W)) = number_number_of(A,plus_plus(int,bit1(pls),W)) ) ) ).

tff(fact_2_add__special_I3_J,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ! [V: int] : ( plus_plus(A,number_number_of(A,V),one_one(A)) = number_number_of(A,plus_plus(int,V,bit1(pls))) ) ) ).

tff(fact_3_one__add__one__is__two,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ( plus_plus(A,one_one(A),one_one(A)) = number_number_of(A,bit0(bit1(pls))) ) ) ).

tff(fact_4_diff__bin__simps_I5_J,axiom,
    ! [L: int] : ( minus_minus(int,min,bit0(L)) = bit1(minus_minus(int,min,L)) ) ).

tff(fact_5_diff__bin__simps_I6_J,axiom,
    ! [L: int] : ( minus_minus(int,min,bit1(L)) = bit0(minus_minus(int,min,L)) ) ).

tff(fact_6_diff__bin__simps_I4_J,axiom,
    ! [L: int] : ( minus_minus(int,pls,bit1(L)) = bit1(minus_minus(int,min,L)) ) ).

tff(fact_7_numeral__1__eq__1,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ( number_number_of(A,bit1(pls)) = one_one(A) ) ) ).

tff(fact_8_diff__bin__simps_I3_J,axiom,
    ! [L: int] : ( minus_minus(int,pls,bit0(L)) = bit0(minus_minus(int,pls,L)) ) ).

tff(fact_9_diff__bin__simps_I9_J,axiom,
    ! [L: int,K: int] : ( minus_minus(int,bit1(K),bit0(L)) = bit1(minus_minus(int,K,L)) ) ).

tff(fact_10_diff__bin__simps_I10_J,axiom,
    ! [L: int,K: int] : ( minus_minus(int,bit1(K),bit1(L)) = bit0(minus_minus(int,K,L)) ) ).

tff(fact_11_add__Bit0__Bit1,axiom,
    ! [L: int,K: int] : ( plus_plus(int,bit0(K),bit1(L)) = bit1(plus_plus(int,K,L)) ) ).

tff(fact_12_eq__number__of,axiom,
    ! [A: $tType] :
      ( ( number_ring(A)
        & ring_char_0(A) )
     => ! [Y1: int,X1: int] :
          ( ( number_number_of(A,X1) = number_number_of(A,Y1) )
        <=> ( X1 = Y1 ) ) ) ).

tff(fact_13_rel__simps_I51_J,axiom,
    ! [L1: int,K1: int] :
      ( ( bit1(K1) = bit1(L1) )
    <=> ( K1 = L1 ) ) ).

tff(fact_14_rel__simps_I48_J,axiom,
    ! [L1: int,K1: int] :
      ( ( bit0(K1) = bit0(L1) )
    <=> ( K1 = L1 ) ) ).

tff(fact_15_rel__simps_I46_J,axiom,
    ! [K: int] : ( bit1(K) != pls ) ).

tff(fact_16_rel__simps_I39_J,axiom,
    ! [L: int] : ( pls != bit1(L) ) ).

tff(fact_17_rel__simps_I50_J,axiom,
    ! [L: int,K: int] : ( bit1(K) != bit0(L) ) ).

tff(fact_18_rel__simps_I49_J,axiom,
    ! [L: int,K: int] : ( bit0(K) != bit1(L) ) ).

tff(fact_19_rel__simps_I44_J,axiom,
    ! [K1: int] :
      ( ( bit0(K1) = pls )
    <=> ( K1 = pls ) ) ).

tff(fact_20_rel__simps_I38_J,axiom,
    ! [L1: int] :
      ( ( pls = bit0(L1) )
    <=> ( pls = L1 ) ) ).

tff(fact_21_Bit0__Pls,axiom,
    bit0(pls) = pls ).

tff(fact_22_add__Bit0__Bit0,axiom,
    ! [L: int,K: int] : ( plus_plus(int,bit0(K),bit0(L)) = bit0(plus_plus(int,K,L)) ) ).

tff(fact_23_diff__bin__simps_I7_J,axiom,
    ! [L: int,K: int] : ( minus_minus(int,bit0(K),bit0(L)) = bit0(minus_minus(int,K,L)) ) ).

tff(fact_24_rel__simps_I47_J,axiom,
    ! [K1: int] :
      ( ( bit1(K1) = min )
    <=> ( K1 = min ) ) ).

tff(fact_25_rel__simps_I43_J,axiom,
    ! [L1: int] :
      ( ( min = bit1(L1) )
    <=> ( min = L1 ) ) ).

tff(fact_26_Bit1__Min,axiom,
    bit1(min) = min ).

tff(fact_27_rel__simps_I37_J,axiom,
    pls != min ).

tff(fact_28_rel__simps_I40_J,axiom,
    min != pls ).

tff(fact_29_rel__simps_I45_J,axiom,
    ! [K: int] : ( bit0(K) != min ) ).

tff(fact_30_rel__simps_I42_J,axiom,
    ! [L: int] : ( min != bit0(L) ) ).

tff(fact_31_add__number__of__left,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ! [Z: A,W: int,V: int] : ( plus_plus(A,number_number_of(A,V),plus_plus(A,number_number_of(A,W),Z)) = plus_plus(A,number_number_of(A,plus_plus(int,V,W)),Z) ) ) ).

tff(fact_32_add__number__of__eq,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ! [W: int,V: int] : ( plus_plus(A,number_number_of(A,V),number_number_of(A,W)) = number_number_of(A,plus_plus(int,V,W)) ) ) ).

tff(fact_33_nat__numeral__1__eq__1,axiom,
    number_number_of(nat,bit1(pls)) = one_one(nat) ).

tff(fact_34_add__Bit1__Bit0,axiom,
    ! [L: int,K: int] : ( plus_plus(int,bit1(K),bit0(L)) = bit1(plus_plus(int,K,L)) ) ).

tff(fact_35_nat__1__add__1,axiom,
    plus_plus(nat,one_one(nat),one_one(nat)) = number_number_of(nat,bit0(bit1(pls))) ).

tff(fact_36_Numeral1__eq1__nat,axiom,
    one_one(nat) = number_number_of(nat,bit1(pls)) ).

tff(fact_37_number__of__reorient,axiom,
    ! [A: $tType] :
      ( number(A)
     => ! [X1: A,W1: int] :
          ( ( number_number_of(A,W1) = X1 )
        <=> ( X1 = number_number_of(A,W1) ) ) ) ).

tff(fact_38_number__of__is__id,axiom,
    ! [K: int] : ( number_number_of(int,K) = K ) ).

tff(fact_39_add__Pls__right,axiom,
    ! [K: int] : ( plus_plus(int,K,pls) = K ) ).

tff(fact_40_add__Pls,axiom,
    ! [K: int] : ( plus_plus(int,pls,K) = K ) ).

tff(fact_41_Bit0__def,axiom,
    ! [K: int] : ( bit0(K) = plus_plus(int,K,K) ) ).

tff(fact_42_diff__bin__simps_I1_J,axiom,
    ! [K: int] : ( minus_minus(int,K,pls) = K ) ).

tff(fact_43_plus__numeral__code_I9_J,axiom,
    ! [W: int,V: int] : ( plus_plus(int,number_number_of(int,V),number_number_of(int,W)) = number_number_of(int,plus_plus(int,V,W)) ) ).

tff(fact_44_add__numeral__0,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ! [A1: A] : ( plus_plus(A,number_number_of(A,pls),A1) = A1 ) ) ).

tff(fact_45_add__numeral__0__right,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ! [A1: A] : ( plus_plus(A,A1,number_number_of(A,pls)) = A1 ) ) ).

tff(fact_46_number__of__add,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ! [W: int,V: int] : ( number_number_of(A,plus_plus(int,V,W)) = plus_plus(A,number_number_of(A,V),number_number_of(A,W)) ) ) ).

tff(fact_47_number__of__diff,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ! [W: int,V: int] : ( number_number_of(A,minus_minus(int,V,W)) = minus_minus(A,number_number_of(A,V),number_number_of(A,W)) ) ) ).

tff(fact_48_Bit1__def,axiom,
    ! [K: int] : ( bit1(K) = plus_plus(int,plus_plus(int,one_one(int),K),K) ) ).

tff(fact_49_eq__number__of__Pls__Min,axiom,
    number_number_of(int,pls) != number_number_of(int,min) ).

tff(fact_50_number__of__Bit1,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ! [W: int] : ( number_number_of(A,bit1(W)) = plus_plus(A,plus_plus(A,one_one(A),number_number_of(A,W)),number_number_of(A,W)) ) ) ).

tff(fact_51_semiring__numeral__1__eq__1,axiom,
    ! [A: $tType] :
      ( number_semiring(A)
     => ( number_number_of(A,bit1(pls)) = one_one(A) ) ) ).

tff(fact_52_semiring__norm_I110_J,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ( one_one(A) = number_number_of(A,bit1(pls)) ) ) ).

tff(fact_53_add__number__of__diff1,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ! [C: A,W: int,V: int] : ( plus_plus(A,number_number_of(A,V),minus_minus(A,number_number_of(A,W),C)) = minus_minus(A,number_number_of(A,plus_plus(int,V,W)),C) ) ) ).

tff(fact_54_one__is__num__one,axiom,
    one_one(int) = number_number_of(int,bit1(pls)) ).

tff(fact_55_semiring__one__add__one__is__two,axiom,
    ! [A: $tType] :
      ( number_semiring(A)
     => ( plus_plus(A,one_one(A),one_one(A)) = number_number_of(A,bit0(bit1(pls))) ) ) ).

tff(fact_56_quartic__square__square,axiom,
    ! [X: int] : ( power_power(int,power_power(int,X,number_number_of(nat,bit0(bit1(pls)))),number_number_of(nat,bit0(bit1(pls)))) = power_power(int,X,number_number_of(nat,bit0(bit0(bit1(pls))))) ) ).

tff(fact_57_power__one,axiom,
    ! [A: $tType] :
      ( monoid_mult(A)
     => ! [N: nat] : ( power_power(A,one_one(A),N) = one_one(A) ) ) ).

tff(fact_58_neg__one__power,axiom,
    ! [N: nat] :
      ( ( power_power(int,number_number_of(int,min),N) = one_one(int) )
      | ( power_power(int,number_number_of(int,min),N) = number_number_of(int,min) ) ) ).

tff(fact_59_add__right__cancel,axiom,
    ! [A: $tType] :
      ( cancel_semigroup_add(A)
     => ! [C1: A,A2: A,B2: A] :
          ( ( plus_plus(A,B2,A2) = plus_plus(A,C1,A2) )
        <=> ( B2 = C1 ) ) ) ).

tff(fact_60_add__left__cancel,axiom,
    ! [A: $tType] :
      ( cancel_semigroup_add(A)
     => ! [C1: A,B2: A,A2: A] :
          ( ( plus_plus(A,A2,B2) = plus_plus(A,A2,C1) )
        <=> ( B2 = C1 ) ) ) ).

tff(fact_61_power__m1__even,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ! [N: nat] : ( power_power(A,number_number_of(A,min),times_times(nat,number_number_of(nat,bit0(bit1(pls))),N)) = one_one(A) ) ) ).

tff(fact_62_power2__diff,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ! [Y: A,X: A] : ( power_power(A,minus_minus(A,X,Y),number_number_of(nat,bit0(bit1(pls)))) = minus_minus(A,plus_plus(A,power_power(A,X,number_number_of(nat,bit0(bit1(pls)))),power_power(A,Y,number_number_of(nat,bit0(bit1(pls))))),times_times(A,times_times(A,number_number_of(A,bit0(bit1(pls))),X),Y)) ) ) ).

tff(fact_63_power2__eq__square__number__of,axiom,
    ! [B1: $tType] :
      ( ( monoid_mult(B1)
        & number(B1) )
     => ! [W: int] : ( power_power(B1,number_number_of(B1,W),number_number_of(nat,bit0(bit1(pls)))) = times_times(B1,number_number_of(B1,W),number_number_of(B1,W)) ) ) ).

tff(fact_64_mult__Pls,axiom,
    ! [W: int] : ( times_times(int,pls,W) = pls ) ).

tff(fact_65_mult__Bit0,axiom,
    ! [L: int,K: int] : ( times_times(int,bit0(K),L) = bit0(times_times(int,K,L)) ) ).

tff(fact_66_arith__simps_I32_J,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ! [W: int,V: int] : ( times_times(A,number_number_of(A,V),number_number_of(A,W)) = number_number_of(A,times_times(int,V,W)) ) ) ).

tff(fact_67_mult__number__of__left,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ! [Z: A,W: int,V: int] : ( times_times(A,number_number_of(A,V),times_times(A,number_number_of(A,W),Z)) = times_times(A,number_number_of(A,times_times(int,V,W)),Z) ) ) ).

tff(fact_68_right__distrib__number__of,axiom,
    ! [B1: $tType] :
      ( ( number(B1)
        & semiring(B1) )
     => ! [C: B1,B: B1,V: int] : ( times_times(B1,number_number_of(B1,V),plus_plus(B1,B,C)) = plus_plus(B1,times_times(B1,number_number_of(B1,V),B),times_times(B1,number_number_of(B1,V),C)) ) ) ).

tff(fact_69_left__distrib__number__of,axiom,
    ! [B1: $tType] :
      ( ( number(B1)
        & semiring(B1) )
     => ! [V: int,B: B1,A1: B1] : ( times_times(B1,plus_plus(B1,A1,B),number_number_of(B1,V)) = plus_plus(B1,times_times(B1,A1,number_number_of(B1,V)),times_times(B1,B,number_number_of(B1,V))) ) ) ).

tff(fact_70_right__diff__distrib__number__of,axiom,
    ! [B1: $tType] :
      ( ( number(B1)
        & ring(B1) )
     => ! [C: B1,B: B1,V: int] : ( times_times(B1,number_number_of(B1,V),minus_minus(B1,B,C)) = minus_minus(B1,times_times(B1,number_number_of(B1,V),B),times_times(B1,number_number_of(B1,V),C)) ) ) ).

tff(fact_71_left__diff__distrib__number__of,axiom,
    ! [B1: $tType] :
      ( ( number(B1)
        & ring(B1) )
     => ! [V: int,B: B1,A1: B1] : ( times_times(B1,minus_minus(B1,A1,B),number_number_of(B1,V)) = minus_minus(B1,times_times(B1,A1,number_number_of(B1,V)),times_times(B1,B,number_number_of(B1,V))) ) ) ).

tff(fact_72_mult__Bit1,axiom,
    ! [L: int,K: int] : ( times_times(int,bit1(K),L) = plus_plus(int,bit0(times_times(int,K,L)),L) ) ).

tff(fact_73_number__of__mult,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ! [W: int,V: int] : ( number_number_of(A,times_times(int,V,W)) = times_times(A,number_number_of(A,V),number_number_of(A,W)) ) ) ).

tff(fact_74_power__add,axiom,
    ! [A: $tType] :
      ( monoid_mult(A)
     => ! [N: nat,M: nat,A1: A] : ( power_power(A,A1,plus_plus(nat,M,N)) = times_times(A,power_power(A,A1,M),power_power(A,A1,N)) ) ) ).

tff(fact_75_mult_Ocomm__neutral,axiom,
    ! [A: $tType] :
      ( comm_monoid_mult(A)
     => ! [A1: A] : ( times_times(A,A1,one_one(A)) = A1 ) ) ).

tff(fact_76_mult__1__right,axiom,
    ! [A: $tType] :
      ( monoid_mult(A)
     => ! [A1: A] : ( times_times(A,A1,one_one(A)) = A1 ) ) ).

tff(fact_77_mult__1,axiom,
    ! [A: $tType] :
      ( comm_monoid_mult(A)
     => ! [A1: A] : ( times_times(A,one_one(A),A1) = A1 ) ) ).

tff(fact_78_mult__1__left,axiom,
    ! [A: $tType] :
      ( monoid_mult(A)
     => ! [A1: A] : ( times_times(A,one_one(A),A1) = A1 ) ) ).

tff(fact_79_power__mult__distrib,axiom,
    ! [A: $tType] :
      ( comm_monoid_mult(A)
     => ! [N: nat,B: A,A1: A] : ( power_power(A,times_times(A,A1,B),N) = times_times(A,power_power(A,A1,N),power_power(A,B,N)) ) ) ).

tff(fact_80_power__commutes,axiom,
    ! [A: $tType] :
      ( monoid_mult(A)
     => ! [N: nat,A1: A] : ( times_times(A,power_power(A,A1,N),A1) = times_times(A,A1,power_power(A,A1,N)) ) ) ).

tff(fact_81_ab__semigroup__mult__class_Omult__ac_I1_J,axiom,
    ! [A: $tType] :
      ( ab_semigroup_mult(A)
     => ! [C: A,B: A,A1: A] : ( times_times(A,times_times(A,A1,B),C) = times_times(A,A1,times_times(A,B,C)) ) ) ).

tff(fact_82_power__mult,axiom,
    ! [A: $tType] :
      ( monoid_mult(A)
     => ! [N: nat,M: nat,A1: A] : ( power_power(A,A1,times_times(nat,M,N)) = power_power(A,power_power(A,A1,M),N) ) ) ).

tff(fact_83_times__numeral__code_I5_J,axiom,
    ! [W: int,V: int] : ( times_times(int,number_number_of(int,V),number_number_of(int,W)) = number_number_of(int,times_times(int,V,W)) ) ).

tff(fact_84_int__distrib_I2_J,axiom,
    ! [Z2: int,Z1: int,W: int] : ( times_times(int,W,plus_plus(int,Z1,Z2)) = plus_plus(int,times_times(int,W,Z1),times_times(int,W,Z2)) ) ).

tff(fact_85_int__distrib_I1_J,axiom,
    ! [W: int,Z2: int,Z1: int] : ( times_times(int,plus_plus(int,Z1,Z2),W) = plus_plus(int,times_times(int,Z1,W),times_times(int,Z2,W)) ) ).

tff(fact_86_int__distrib_I4_J,axiom,
    ! [Z2: int,Z1: int,W: int] : ( times_times(int,W,minus_minus(int,Z1,Z2)) = minus_minus(int,times_times(int,W,Z1),times_times(int,W,Z2)) ) ).

tff(fact_87_int__distrib_I3_J,axiom,
    ! [W: int,Z2: int,Z1: int] : ( times_times(int,minus_minus(int,Z1,Z2),W) = minus_minus(int,times_times(int,Z1,W),times_times(int,Z2,W)) ) ).

tff(fact_88_zpower__zpower,axiom,
    ! [Z: nat,Y: nat,X: int] : ( power_power(int,power_power(int,X,Y),Z) = power_power(int,X,times_times(nat,Y,Z)) ) ).

tff(fact_89_mult__numeral__1__right,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ! [A1: A] : ( times_times(A,A1,number_number_of(A,bit1(pls))) = A1 ) ) ).

tff(fact_90_mult__numeral__1,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ! [A1: A] : ( times_times(A,number_number_of(A,bit1(pls)),A1) = A1 ) ) ).

tff(fact_91_zmult__eq__1__iff,axiom,
    ! [N1: int,Ma: int] :
      ( ( times_times(int,Ma,N1) = one_one(int) )
    <=> ( ( ( Ma = one_one(int) )
          & ( N1 = one_one(int) ) )
        | ( ( Ma = number_number_of(int,min) )
          & ( N1 = number_number_of(int,min) ) ) ) ) ).

tff(fact_92_pos__zmult__eq__1__iff__lemma,axiom,
    ! [N: int,M: int] :
      ( ( times_times(int,M,N) = one_one(int) )
     => ( ( M = one_one(int) )
        | ( M = number_number_of(int,min) ) ) ) ).

tff(fact_93_ab__semigroup__add__class_Oadd__ac_I1_J,axiom,
    ! [A: $tType] :
      ( ab_semigroup_add(A)
     => ! [C: A,B: A,A1: A] : ( plus_plus(A,plus_plus(A,A1,B),C) = plus_plus(A,A1,plus_plus(A,B,C)) ) ) ).

tff(fact_94_add__left__imp__eq,axiom,
    ! [A: $tType] :
      ( cancel_semigroup_add(A)
     => ! [C: A,B: A,A1: A] :
          ( ( plus_plus(A,A1,B) = plus_plus(A,A1,C) )
         => ( B = C ) ) ) ).

tff(fact_95_add__imp__eq,axiom,
    ! [A: $tType] :
      ( cancel146912293up_add(A)
     => ! [C: A,B: A,A1: A] :
          ( ( plus_plus(A,A1,B) = plus_plus(A,A1,C) )
         => ( B = C ) ) ) ).

%----Arities (25)
tff(arity_Int_Oint___Groups_Ocancel__ab__semigroup__add,axiom,
    cancel146912293up_add(int) ).

tff(arity_Int_Oint___Groups_Ocancel__semigroup__add,axiom,
    cancel_semigroup_add(int) ).

tff(arity_Int_Oint___Groups_Oab__semigroup__mult,axiom,
    ab_semigroup_mult(int) ).

tff(arity_Int_Oint___Groups_Ocomm__monoid__mult,axiom,
    comm_monoid_mult(int) ).

tff(arity_Int_Oint___Groups_Oab__semigroup__add,axiom,
    ab_semigroup_add(int) ).

tff(arity_Int_Oint___Int_Onumber__semiring,axiom,
    number_semiring(int) ).

tff(arity_Int_Oint___Groups_Omonoid__mult,axiom,
    monoid_mult(int) ).

tff(arity_Int_Oint___Rings_Osemiring__1,axiom,
    semiring_1(int) ).

tff(arity_Int_Oint___Int_Oring__char__0,axiom,
    ring_char_0(int) ).

tff(arity_Int_Oint___Int_Onumber__ring,axiom,
    number_ring(int) ).

tff(arity_Int_Oint___Rings_Osemiring,axiom,
    semiring(int) ).

tff(arity_Int_Oint___Rings_Oring,axiom,
    ring(int) ).

tff(arity_Int_Oint___Int_Onumber,axiom,
    number(int) ).

tff(arity_Int_Oint___Groups_Oone,axiom,
    one(int) ).

tff(arity_Nat_Onat___Groups_Ocancel__ab__semigroup__add,axiom,
    cancel146912293up_add(nat) ).

tff(arity_Nat_Onat___Groups_Ocancel__semigroup__add,axiom,
    cancel_semigroup_add(nat) ).

tff(arity_Nat_Onat___Groups_Oab__semigroup__mult,axiom,
    ab_semigroup_mult(nat) ).

tff(arity_Nat_Onat___Groups_Ocomm__monoid__mult,axiom,
    comm_monoid_mult(nat) ).

tff(arity_Nat_Onat___Groups_Oab__semigroup__add,axiom,
    ab_semigroup_add(nat) ).

tff(arity_Nat_Onat___Int_Onumber__semiring,axiom,
    number_semiring(nat) ).

tff(arity_Nat_Onat___Groups_Omonoid__mult,axiom,
    monoid_mult(nat) ).

tff(arity_Nat_Onat___Rings_Osemiring__1,axiom,
    semiring_1(nat) ).

tff(arity_Nat_Onat___Rings_Osemiring,axiom,
    semiring(nat) ).

tff(arity_Nat_Onat___Int_Onumber,axiom,
    number(nat) ).

tff(arity_Nat_Onat___Groups_Oone,axiom,
    one(nat) ).

%----Helper facts (2)
tff(help_pp_1_1_U,axiom,
    ~ pp(fFalse) ).

tff(help_pp_2_1_U,axiom,
    pp(fTrue) ).

%----Conjectures (1)
tff(conj_0,conjecture,
    minus_minus(int,power_power(int,s,number_number_of(nat,bit0(bit1(pls)))),number_number_of(int,min)) = plus_plus(int,power_power(int,s,number_number_of(nat,bit0(bit1(pls)))),one_one(int)) ).

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