TPTP Problem File: NUM949_5.p

View Solutions - Solve Problem

%------------------------------------------------------------------------------
% File     : NUM949_5 : TPTP v8.2.0. Released v6.0.0.
% Domain   : Number Theory
% Problem  : Sum of two squares line 70
% Version  : Especial.
% English  : 

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

% Status   : Unknown
% Rating   : 1.00 v6.4.0
% Syntax   : Number of formulae    :  149 (  51 unt;  34 typ;   0 def)
%            Number of atoms       :  219 (  59 equ)
%            Maximal formula atoms :    7 (   1 avg)
%            Number of connectives :  124 (  20   ~;   0   |;  25   &)
%                                         (  45 <=>;  34  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    9 (   3 avg)
%            Maximal term depth    :   10 (   2 avg)
%            Number of types       :    4 (   3 usr)
%            Number of type conns  :   20 (  12   >;   8   *;   0   +;   0  <<)
%            Number of predicates  :   16 (  15 usr;   0 prp; 1-3 aty)
%            Number of functors    :   16 (  16 usr;   7 con; 0-3 aty)
%            Number of variables   :  156 ( 137   !;   1   ?; 156   :)
%                                         (  18  !>;   0  ?*;   0  @-;   0  @+)
% SPC      : TF1_UNK_EQU_NAR

% Comments : This file was generated by Isabelle (most likely Sledgehammer)
%            2011-12-13 16:23:33
%------------------------------------------------------------------------------
%----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 (31)
tff(sy_cl_Int_Onumber,type,
    number: 
      !>[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_Rings_Olinordered__idom,type,
    linordered_idom: 
      !>[A: $tType] : $o ).

tff(sy_cl_Rings_Oring__1__no__zero__divisors,type,
    ring_11004092258visors: 
      !>[A: $tType] : $o ).

tff(sy_cl_Groups_Olinordered__ab__group__add,type,
    linord219039673up_add: 
      !>[A: $tType] : $o ).

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_Groups_Ozero__class_Ozero,type,
    zero_zero: 
      !>[A: $tType] : A ).

tff(sy_c_IntPrimes_Ozcong,type,
    zcong: ( int * int * int ) > $o ).

tff(sy_c_IntPrimes_Ozprime,type,
    zprime: int > $o ).

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_Orderings_Oord__class_Oless,type,
    ord_less: 
      !>[A: $tType] : ( ( A * A ) > $o ) ).

tff(sy_c_Orderings_Oord__class_Oless__eq,type,
    ord_less_eq: 
      !>[A: $tType] : ( ( A * A ) > $o ) ).

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

tff(sy_c_Residues_OLegendre,type,
    legendre: ( int * int ) > int ).

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_m,type,
    m: int ).

tff(sy_v_s1____,type,
    s1: int ).

tff(sy_v_s____,type,
    s: int ).

%----Relevant facts (97)
tff(fact_0_s0p,axiom,
    ( ord_less_eq(int,zero_zero(int),s)
    & ord_less(int,s,plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int)))
    & zcong(s1,s,plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int))) ) ).

tff(fact_1_p,axiom,
    zprime(plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int))) ).

tff(fact_2_p0,axiom,
    ord_less(int,zero_zero(int),plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int))) ).

tff(fact_3_s1,axiom,
    zcong(power_power(int,s1,number_number_of(nat,bit0(bit1(pls)))),number_number_of(int,min),plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int))) ).

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

tff(fact_5_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_6_add__special_I2_J,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ! [W1: int] : plus_plus(A,one_one(A),number_number_of(A,W1)) = number_number_of(A,plus_plus(int,bit1(pls),W1)) ) ).

tff(fact_7_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_8_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_9_mult__Bit1,axiom,
    ! [L1: int,K1: int] : times_times(int,bit1(K1),L1) = plus_plus(int,bit0(times_times(int,K1,L1)),L1) ).

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

tff(fact_11__096EX_B_As_O_A0_A_060_061_As_A_G_As_A_060_A4_A_K_Am_A_L_A1_A_G_A_091s1_A_061_As_093_A_Imod_A4_A_K_Am_A_L_A1_J_096,axiom,
    ? [X2: int] :
      ( ord_less_eq(int,zero_zero(int),X2)
      & ord_less(int,X2,plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int)))
      & zcong(s1,X2,plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int)))
      & ! [Y2: int] :
          ( ( ord_less_eq(int,zero_zero(int),Y2)
            & ord_less(int,Y2,plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int)))
            & zcong(s1,Y2,plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int))) )
         => ( Y2 = X2 ) ) ) ).

tff(fact_12__096_B_Bthesis_O_A_I_B_Bs_O_A0_A_060_061_As_A_G_As_A_060_A4_A_K_Am_A_L_A1_A_G_A_091s1_A_061_As_093_A_Imod_A4_A_K_Am_A_L_A1_J_A_061_061_062_Athesis_J_A_061_061_062_Athesis_096,axiom,
    ~ ! [S: int] :
        ~ ( ord_less_eq(int,zero_zero(int),S)
          & ord_less(int,S,plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int)))
          & zcong(s1,S,plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int))) ) ).

tff(fact_13_zadd__power2,axiom,
    ! [B1: int,A2: int] : power_power(int,plus_plus(int,A2,B1),number_number_of(nat,bit0(bit1(pls)))) = plus_plus(int,plus_plus(int,power_power(int,A2,number_number_of(nat,bit0(bit1(pls)))),times_times(int,times_times(int,number_number_of(int,bit0(bit1(pls))),A2),B1)),power_power(int,B1,number_number_of(nat,bit0(bit1(pls))))) ).

tff(fact_14_zadd__power3,axiom,
    ! [B1: int,A2: int] : power_power(int,plus_plus(int,A2,B1),number_number_of(nat,bit1(bit1(pls)))) = plus_plus(int,plus_plus(int,plus_plus(int,power_power(int,A2,number_number_of(nat,bit1(bit1(pls)))),times_times(int,times_times(int,number_number_of(int,bit1(bit1(pls))),power_power(int,A2,number_number_of(nat,bit0(bit1(pls))))),B1)),times_times(int,times_times(int,number_number_of(int,bit1(bit1(pls))),A2),power_power(int,B1,number_number_of(nat,bit0(bit1(pls)))))),power_power(int,B1,number_number_of(nat,bit1(bit1(pls))))) ).

tff(fact_15_power2__sum,axiom,
    ! [A: $tType] :
      ( number_semiring(A)
     => ! [Y1: A,X1: A] : power_power(A,plus_plus(A,X1,Y1),number_number_of(nat,bit0(bit1(pls)))) = plus_plus(A,plus_plus(A,power_power(A,X1,number_number_of(nat,bit0(bit1(pls)))),power_power(A,Y1,number_number_of(nat,bit0(bit1(pls))))),times_times(A,times_times(A,number_number_of(A,bit0(bit1(pls))),X1),Y1)) ) ).

tff(fact_16_eq__number__of,axiom,
    ! [A: $tType] :
      ( ( number_ring(A)
        & ring_char_0(A) )
     => ! [Y: int,X: int] :
          ( ( number_number_of(A,X) = number_number_of(A,Y) )
        <=> ( X = Y ) ) ) ).

tff(fact_17_rel__simps_I51_J,axiom,
    ! [L: int,K: int] :
      ( ( bit1(K) = bit1(L) )
    <=> ( K = L ) ) ).

tff(fact_18_rel__simps_I48_J,axiom,
    ! [L: int,K: int] :
      ( ( bit0(K) = bit0(L) )
    <=> ( K = L ) ) ).

tff(fact_19_double__eq__0__iff,axiom,
    ! [A: $tType] :
      ( linord219039673up_add(A)
     => ! [A1: A] :
          ( ( plus_plus(A,A1,A1) = zero_zero(A) )
        <=> ( A1 = zero_zero(A) ) ) ) ).

tff(fact_20_rel__simps_I46_J,axiom,
    ! [K1: int] : bit1(K1) != pls ).

tff(fact_21_rel__simps_I39_J,axiom,
    ! [L1: int] : pls != bit1(L1) ).

tff(fact_22_rel__simps_I50_J,axiom,
    ! [L1: int,K1: int] : bit1(K1) != bit0(L1) ).

tff(fact_23_rel__simps_I49_J,axiom,
    ! [L1: int,K1: int] : bit0(K1) != bit1(L1) ).

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

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

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

tff(fact_27_rel__simps_I17_J,axiom,
    ! [L: int,K: int] :
      ( ord_less(int,bit1(K),bit1(L))
    <=> ord_less(int,K,L) ) ).

tff(fact_28_rel__simps_I2_J,axiom,
    ~ ord_less(int,pls,pls) ).

tff(fact_29_rel__simps_I14_J,axiom,
    ! [L: int,K: int] :
      ( ord_less(int,bit0(K),bit0(L))
    <=> ord_less(int,K,L) ) ).

tff(fact_30_rel__simps_I34_J,axiom,
    ! [L: int,K: int] :
      ( ord_less_eq(int,bit1(K),bit1(L))
    <=> ord_less_eq(int,K,L) ) ).

tff(fact_31_rel__simps_I19_J,axiom,
    ord_less_eq(int,pls,pls) ).

tff(fact_32_rel__simps_I31_J,axiom,
    ! [L: int,K: int] :
      ( ord_less_eq(int,bit0(K),bit0(L))
    <=> ord_less_eq(int,K,L) ) ).

tff(fact_33_mult__Pls,axiom,
    ! [W1: int] : times_times(int,pls,W1) = pls ).

tff(fact_34_mult__Bit0,axiom,
    ! [L1: int,K1: int] : times_times(int,bit0(K1),L1) = bit0(times_times(int,K1,L1)) ).

tff(fact_35_add__Bit0__Bit0,axiom,
    ! [L1: int,K1: int] : plus_plus(int,bit0(K1),bit0(L1)) = bit0(plus_plus(int,K1,L1)) ).

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

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

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

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

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

tff(fact_41_rel__simps_I45_J,axiom,
    ! [K1: int] : bit0(K1) != min ).

tff(fact_42_rel__simps_I42_J,axiom,
    ! [L1: int] : min != bit0(L1) ).

tff(fact_43_rel__simps_I7_J,axiom,
    ~ ord_less(int,min,min) ).

tff(fact_44_rel__simps_I24_J,axiom,
    ord_less_eq(int,min,min) ).

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

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

tff(fact_47_number__of__Pls,axiom,
    ! [A: $tType] :
      ( number_ring(A)
     => ( number_number_of(A,pls) = zero_zero(A) ) ) ).

tff(fact_48_less__number__of,axiom,
    ! [A: $tType] :
      ( ( number_ring(A)
        & linordered_idom(A) )
     => ! [Y: int,X: int] :
          ( ord_less(A,number_number_of(A,X),number_number_of(A,Y))
        <=> ord_less(int,X,Y) ) ) ).

tff(fact_49_le__number__of,axiom,
    ! [A: $tType] :
      ( ( number_ring(A)
        & linordered_idom(A) )
     => ! [Y: int,X: int] :
          ( ord_less_eq(A,number_number_of(A,X),number_number_of(A,Y))
        <=> ord_less_eq(int,X,Y) ) ) ).

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

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

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

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

tff(fact_54_rel__simps_I12_J,axiom,
    ! [K: int] :
      ( ord_less(int,bit1(K),pls)
    <=> ord_less(int,K,pls) ) ).

tff(fact_55_rel__simps_I16_J,axiom,
    ! [L: int,K: int] :
      ( ord_less(int,bit1(K),bit0(L))
    <=> ord_less(int,K,L) ) ).

tff(fact_56_rel__simps_I10_J,axiom,
    ! [K: int] :
      ( ord_less(int,bit0(K),pls)
    <=> ord_less(int,K,pls) ) ).

tff(fact_57_rel__simps_I4_J,axiom,
    ! [K: int] :
      ( ord_less(int,pls,bit0(K))
    <=> ord_less(int,pls,K) ) ).

tff(fact_58_rel__simps_I22_J,axiom,
    ! [K: int] :
      ( ord_less_eq(int,pls,bit1(K))
    <=> ord_less_eq(int,pls,K) ) ).

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

tff(fact_60_rel__simps_I32_J,axiom,
    ! [L: int,K: int] :
      ( ord_less_eq(int,bit0(K),bit1(L))
    <=> ord_less_eq(int,K,L) ) ).

tff(fact_61_rel__simps_I27_J,axiom,
    ! [K: int] :
      ( ord_less_eq(int,bit0(K),pls)
    <=> ord_less_eq(int,K,pls) ) ).

tff(fact_62_rel__simps_I21_J,axiom,
    ! [K: int] :
      ( ord_less_eq(int,pls,bit0(K))
    <=> ord_less_eq(int,pls,K) ) ).

tff(fact_63_add__Bit1__Bit0,axiom,
    ! [L1: int,K1: int] : plus_plus(int,bit1(K1),bit0(L1)) = bit1(plus_plus(int,K1,L1)) ).

tff(fact_64_add__Bit0__Bit1,axiom,
    ! [L1: int,K1: int] : plus_plus(int,bit0(K1),bit1(L1)) = bit1(plus_plus(int,K1,L1)) ).

tff(fact_65_rel__simps_I13_J,axiom,
    ! [K: int] :
      ( ord_less(int,bit1(K),min)
    <=> ord_less(int,K,min) ) ).

tff(fact_66_rel__simps_I9_J,axiom,
    ! [K: int] :
      ( ord_less(int,min,bit1(K))
    <=> ord_less(int,min,K) ) ).

tff(fact_67_rel__simps_I3_J,axiom,
    ~ ord_less(int,pls,min) ).

tff(fact_68_rel__simps_I6_J,axiom,
    ord_less(int,min,pls) ).

tff(fact_69_rel__simps_I8_J,axiom,
    ! [K: int] :
      ( ord_less(int,min,bit0(K))
    <=> ord_less(int,min,K) ) ).

tff(fact_70_rel__simps_I30_J,axiom,
    ! [K: int] :
      ( ord_less_eq(int,bit1(K),min)
    <=> ord_less_eq(int,K,min) ) ).

tff(fact_71_rel__simps_I26_J,axiom,
    ! [K: int] :
      ( ord_less_eq(int,min,bit1(K))
    <=> ord_less_eq(int,min,K) ) ).

tff(fact_72_rel__simps_I20_J,axiom,
    ~ ord_less_eq(int,pls,min) ).

tff(fact_73_rel__simps_I23_J,axiom,
    ord_less_eq(int,min,pls) ).

tff(fact_74_rel__simps_I28_J,axiom,
    ! [K: int] :
      ( ord_less_eq(int,bit0(K),min)
    <=> ord_less_eq(int,K,min) ) ).

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

tff(fact_76_rel__simps_I29_J,axiom,
    ! [K: int] :
      ( ord_less_eq(int,bit1(K),pls)
    <=> ord_less(int,K,pls) ) ).

tff(fact_77_rel__simps_I5_J,axiom,
    ! [K: int] :
      ( ord_less(int,pls,bit1(K))
    <=> ord_less_eq(int,pls,K) ) ).

tff(fact_78_rel__simps_I33_J,axiom,
    ! [L: int,K: int] :
      ( ord_less_eq(int,bit1(K),bit0(L))
    <=> ord_less(int,K,L) ) ).

tff(fact_79_rel__simps_I15_J,axiom,
    ! [L: int,K: int] :
      ( ord_less(int,bit0(K),bit1(L))
    <=> ord_less_eq(int,K,L) ) ).

tff(fact_80_add__nat__number__of,axiom,
    ! [V1: int,V: int] :
      ( ( ord_less(int,V,pls)
       => ( plus_plus(nat,number_number_of(nat,V),number_number_of(nat,V1)) = number_number_of(nat,V1) ) )
      & ( ~ ord_less(int,V,pls)
       => ( ( ord_less(int,V1,pls)
           => ( plus_plus(nat,number_number_of(nat,V),number_number_of(nat,V1)) = number_number_of(nat,V) ) )
          & ( ~ ord_less(int,V1,pls)
           => ( plus_plus(nat,number_number_of(nat,V),number_number_of(nat,V1)) = number_number_of(nat,plus_plus(int,V,V1)) ) ) ) ) ) ).

tff(fact_81_zle__add1__eq__le,axiom,
    ! [Z: int,W: int] :
      ( ord_less(int,W,plus_plus(int,Z,one_one(int)))
    <=> ord_less_eq(int,W,Z) ) ).

tff(fact_82_rel__simps_I11_J,axiom,
    ! [K: int] :
      ( ord_less(int,bit0(K),min)
    <=> ord_less_eq(int,K,min) ) ).

tff(fact_83_rel__simps_I25_J,axiom,
    ! [K: int] :
      ( ord_less_eq(int,min,bit0(K))
    <=> ord_less(int,min,K) ) ).

tff(fact_84_less__special_I3_J,axiom,
    ! [A: $tType] :
      ( ( number_ring(A)
        & linordered_idom(A) )
     => ! [X: int] :
          ( ord_less(A,number_number_of(A,X),zero_zero(A))
        <=> ord_less(int,X,pls) ) ) ).

tff(fact_85_less__special_I1_J,axiom,
    ! [A: $tType] :
      ( ( number_ring(A)
        & linordered_idom(A) )
     => ! [Y: int] :
          ( ord_less(A,zero_zero(A),number_number_of(A,Y))
        <=> ord_less(int,pls,Y) ) ) ).

tff(fact_86_le__special_I3_J,axiom,
    ! [A: $tType] :
      ( ( number_ring(A)
        & linordered_idom(A) )
     => ! [X: int] :
          ( ord_less_eq(A,number_number_of(A,X),zero_zero(A))
        <=> ord_less_eq(int,X,pls) ) ) ).

tff(fact_87_le__special_I1_J,axiom,
    ! [A: $tType] :
      ( ( number_ring(A)
        & linordered_idom(A) )
     => ! [Y: int] :
          ( ord_less_eq(A,zero_zero(A),number_number_of(A,Y))
        <=> ord_less_eq(int,pls,Y) ) ) ).

tff(fact_88_less__special_I4_J,axiom,
    ! [A: $tType] :
      ( ( number_ring(A)
        & linordered_idom(A) )
     => ! [X: int] :
          ( ord_less(A,number_number_of(A,X),one_one(A))
        <=> ord_less(int,X,bit1(pls)) ) ) ).

tff(fact_89_less__special_I2_J,axiom,
    ! [A: $tType] :
      ( ( number_ring(A)
        & linordered_idom(A) )
     => ! [Y: int] :
          ( ord_less(A,one_one(A),number_number_of(A,Y))
        <=> ord_less(int,bit1(pls),Y) ) ) ).

tff(fact_90_le__special_I4_J,axiom,
    ! [A: $tType] :
      ( ( number_ring(A)
        & linordered_idom(A) )
     => ! [X: int] :
          ( ord_less_eq(A,number_number_of(A,X),one_one(A))
        <=> ord_less_eq(int,X,bit1(pls)) ) ) ).

tff(fact_91_le__special_I2_J,axiom,
    ! [A: $tType] :
      ( ( number_ring(A)
        & linordered_idom(A) )
     => ! [Y: int] :
          ( ord_less_eq(A,one_one(A),number_number_of(A,Y))
        <=> ord_less_eq(int,bit1(pls),Y) ) ) ).

tff(fact_92_zero__eq__power2,axiom,
    ! [A: $tType] :
      ( ring_11004092258visors(A)
     => ! [A1: A] :
          ( ( power_power(A,A1,number_number_of(nat,bit0(bit1(pls)))) = zero_zero(A) )
        <=> ( A1 = zero_zero(A) ) ) ) ).

tff(fact_93_zero__power2,axiom,
    ! [A: $tType] :
      ( semiring_1(A)
     => ( power_power(A,zero_zero(A),number_number_of(nat,bit0(bit1(pls)))) = zero_zero(A) ) ) ).

tff(fact_94__096_B_Bthesis_O_A_I_B_Bs1_O_A_091s1_A_094_A2_A_061_A_N1_093_A_Imod_A4_A_K_Am_A_L_A1_J_A_061_061_062_Athesis_J_A_061_061_062_Athesis_096,axiom,
    ~ ! [S1: int] : ~ zcong(power_power(int,S1,number_number_of(nat,bit0(bit1(pls)))),number_number_of(int,min),plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int))) ).

tff(fact_95_zero__less__power2,axiom,
    ! [A: $tType] :
      ( linordered_idom(A)
     => ! [A1: A] :
          ( ord_less(A,zero_zero(A),power_power(A,A1,number_number_of(nat,bit0(bit1(pls)))))
        <=> ( A1 != zero_zero(A) ) ) ) ).

tff(fact_96__096Legendre_A_N1_A_I4_A_K_Am_A_L_A1_J_A_061_A1_096,axiom,
    legendre(number_number_of(int,min),plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int))) = one_one(int) ).

%----Arities (15)
tff(arity_Int_Oint___Groups_Olinordered__ab__group__add,axiom,
    linord219039673up_add(int) ).

tff(arity_Int_Oint___Rings_Oring__1__no__zero__divisors,axiom,
    ring_11004092258visors(int) ).

tff(arity_Int_Oint___Rings_Olinordered__idom,axiom,
    linordered_idom(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___Int_Onumber,axiom,
    number(int) ).

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) ).

%----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,
    zcong(power_power(int,s,number_number_of(nat,bit0(bit1(pls)))),power_power(int,s1,number_number_of(nat,bit0(bit1(pls)))),plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int))) ).

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