TPTP Problem File: NUM960_5.p

View Solutions - Solve Problem

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

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

% Status   : Theorem
% Rating   : 0.00 v7.5.0, 0.33 v7.4.0, 0.00 v7.1.0, 0.33 v6.4.0
% Syntax   : Number of formulae    :  149 (  46 unt;  34 typ;   0 def)
%            Number of atoms       :  227 (  55 equ)
%            Maximal formula atoms :    7 (   1 avg)
%            Number of connectives :  125 (  13   ~;   1   |;  27   &)
%                                         (  49 <=>;  35  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    9 (   3 avg)
%            Maximal term depth    :    9 (   2 avg)
%            Number of types       :    4 (   3 usr)
%            Number of type conns  :   21 (  13   >;   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   :  180 ( 161   !;   1   ?; 180   :)
%                                         (  18  !>;   0  ?*;   0  @-;   0  @+)
% SPC      : TF1_THM_EQU_NAR

% Comments : This file was generated by Isabelle (most likely Sledgehammer)
%            2011-12-13 16:23:58
%------------------------------------------------------------------------------
%----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_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_Orderings_Olinorder,type,
    linorder: 
      !>[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_Groups_Olinordered__ab__group__add,type,
    linord219039673up_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_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_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_TwoSquares__Mirabelle__poiayhyqls_Ois__sum2sq,type,
    twoSqu1567020053sum2sq: int > $o ).

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

tff(sy_v_t____,type,
    t: int ).

%----Relevant facts (98)
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__096_126_At_A_060_A4_A_K_Am_A_L_A1_096,axiom,
    ~ ord_less(int,t,plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int))) ).

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

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

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

tff(fact_7_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_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,K: int] : times_times(int,bit1(K),L1) = plus_plus(int,bit0(times_times(int,K,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__0964_A_K_Am_A_L_A1_A_N_A1_A_060_At_096,axiom,
    ord_less(int,minus_minus(int,plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int)),one_one(int)),t) ).

tff(fact_12__096_I4_A_K_Am_A_L_A1_J_A_K_A_I4_A_K_Am_A_L_A1_A_N_A1_J_A_060_A_I4_A_K_Am_A_L_A1_J_A_K_At_096,axiom,
    ord_less(int,times_times(int,plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int)),minus_minus(int,plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int)),one_one(int))),times_times(int,plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int)),t)) ).

tff(fact_13_diff__bin__simps_I3_J,axiom,
    ! [L1: int] : minus_minus(int,pls,bit0(L1)) = bit0(minus_minus(int,pls,L1)) ).

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

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

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

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

tff(fact_18_rel__simps_I48_J,axiom,
    ! [L: int,K3: int] :
      ( ( bit0(K3) = bit0(L) )
    <=> ( K3 = 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,
    ! [K: int] : bit1(K) != pls ).

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

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

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

tff(fact_24_rel__simps_I44_J,axiom,
    ! [K3: int] :
      ( ( bit0(K3) = pls )
    <=> ( K3 = 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,K3: int] :
      ( ord_less(int,bit1(K3),bit1(L))
    <=> ord_less(int,K3,L) ) ).

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

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

tff(fact_30_rel__simps_I34_J,axiom,
    ! [L: int,K3: int] :
      ( ord_less_eq(int,bit1(K3),bit1(L))
    <=> ord_less_eq(int,K3,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,K3: int] :
      ( ord_less_eq(int,bit0(K3),bit0(L))
    <=> ord_less_eq(int,K3,L) ) ).

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

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

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

tff(fact_36_diff__bin__simps_I7_J,axiom,
    ! [L1: int,K: int] : minus_minus(int,bit0(K),bit0(L1)) = bit0(minus_minus(int,K,L1)) ).

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

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

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

tff(fact_40_left__diff__distrib__number__of,axiom,
    ! [B: $tType] :
      ( ( number(B)
        & ring(B) )
     => ! [V1: int,B1: B,A2: B] : times_times(B,minus_minus(B,A2,B1),number_number_of(B,V1)) = minus_minus(B,times_times(B,A2,number_number_of(B,V1)),times_times(B,B1,number_number_of(B,V1))) ) ).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

tff(fact_62_zle__add1__eq__le,axiom,
    ! [Z1: int,W1: int] :
      ( ord_less(int,W1,plus_plus(int,Z1,one_one(int)))
    <=> ord_less_eq(int,W1,Z1) ) ).

tff(fact_63_zle__diff1__eq,axiom,
    ! [Z1: int,W1: int] :
      ( ord_less_eq(int,W1,minus_minus(int,Z1,one_one(int)))
    <=> ord_less(int,W1,Z1) ) ).

tff(fact_64_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_65_less__special_I1_J,axiom,
    ! [A: $tType] :
      ( ( number_ring(A)
        & linordered_idom(A) )
     => ! [Y1: int] :
          ( ord_less(A,zero_zero(A),number_number_of(A,Y1))
        <=> ord_less(int,pls,Y1) ) ) ).

tff(fact_66_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_67_le__special_I1_J,axiom,
    ! [A: $tType] :
      ( ( number_ring(A)
        & linordered_idom(A) )
     => ! [Y1: int] :
          ( ord_less_eq(A,zero_zero(A),number_number_of(A,Y1))
        <=> ord_less_eq(int,pls,Y1) ) ) ).

tff(fact_68_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_69_less__special_I2_J,axiom,
    ! [A: $tType] :
      ( ( number_ring(A)
        & linordered_idom(A) )
     => ! [Y1: int] :
          ( ord_less(A,one_one(A),number_number_of(A,Y1))
        <=> ord_less(int,bit1(pls),Y1) ) ) ).

tff(fact_70__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_71__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,
    ? [X1: int] :
      ( ord_less_eq(int,zero_zero(int),X1)
      & ord_less(int,X1,plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int)))
      & zcong(s1,X1,plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int)))
      & ! [Y: int] :
          ( ( ord_less_eq(int,zero_zero(int),Y)
            & ord_less(int,Y,plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int)))
            & zcong(s1,Y,plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int))) )
         => ( Y = X1 ) ) ) ).

tff(fact_72_qf1pt,axiom,
    twoSqu1567020053sum2sq(times_times(int,plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int)),t)) ).

tff(fact_73_t,axiom,
    plus_plus(int,power_power(int,s,number_number_of(nat,bit0(bit1(pls)))),one_one(int)) = times_times(int,plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int)),t) ).

tff(fact_74_even__less__0__iff,axiom,
    ! [A: $tType] :
      ( linordered_idom(A)
     => ! [A1: A] :
          ( ord_less(A,plus_plus(A,A1,A1),zero_zero(A))
        <=> ord_less(A,A1,zero_zero(A)) ) ) ).

tff(fact_75_bin__less__0__simps_I4_J,axiom,
    ! [W1: int] :
      ( ord_less(int,bit1(W1),zero_zero(int))
    <=> ord_less(int,W1,zero_zero(int)) ) ).

tff(fact_76_bin__less__0__simps_I1_J,axiom,
    ~ ord_less(int,pls,zero_zero(int)) ).

tff(fact_77_bin__less__0__simps_I3_J,axiom,
    ! [W1: int] :
      ( ord_less(int,bit0(W1),zero_zero(int))
    <=> ord_less(int,W1,zero_zero(int)) ) ).

tff(fact_78_zmult__zless__mono2,axiom,
    ! [K: int,J: int,I: int] :
      ( ord_less(int,I,J)
     => ( ord_less(int,zero_zero(int),K)
       => ord_less(int,times_times(int,K,I),times_times(int,K,J)) ) ) ).

tff(fact_79_less__bin__lemma,axiom,
    ! [L: int,K3: int] :
      ( ord_less(int,K3,L)
    <=> ord_less(int,minus_minus(int,K3,L),zero_zero(int)) ) ).

tff(fact_80_less__int__code_I16_J,axiom,
    ! [K2: int,K1: int] :
      ( ord_less(int,bit1(K1),bit1(K2))
    <=> ord_less(int,K1,K2) ) ).

tff(fact_81_less__int__code_I13_J,axiom,
    ! [K2: int,K1: int] :
      ( ord_less(int,bit0(K1),bit0(K2))
    <=> ord_less(int,K1,K2) ) ).

tff(fact_82_less__int__def,axiom,
    ! [W1: int,Z1: int] :
      ( ord_less(int,Z1,W1)
    <=> ( ord_less_eq(int,Z1,W1)
        & ( Z1 != W1 ) ) ) ).

tff(fact_83_Pls__def,axiom,
    pls = zero_zero(int) ).

tff(fact_84_less__number__of__int__code,axiom,
    ! [L: int,K3: int] :
      ( ord_less(int,number_number_of(int,K3),number_number_of(int,L))
    <=> ord_less(int,K3,L) ) ).

tff(fact_85_int__one__le__iff__zero__less,axiom,
    ! [Z1: int] :
      ( ord_less_eq(int,one_one(int),Z1)
    <=> ord_less(int,zero_zero(int),Z1) ) ).

tff(fact_86_pos__zmult__eq__1__iff,axiom,
    ! [N: int,Ma: int] :
      ( ord_less(int,zero_zero(int),Ma)
     => ( ( times_times(int,Ma,N) = one_one(int) )
      <=> ( ( Ma = one_one(int) )
          & ( N = one_one(int) ) ) ) ) ).

tff(fact_87_odd__less__0__iff,axiom,
    ! [Z1: int] :
      ( ord_less(int,plus_plus(int,plus_plus(int,one_one(int),Z1),Z1),zero_zero(int))
    <=> ord_less(int,Z1,zero_zero(int)) ) ).

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

tff(fact_89_le__number__of__eq__not__less,axiom,
    ! [A: $tType] :
      ( ( number(A)
        & linorder(A) )
     => ! [W1: int,V: int] :
          ( ord_less_eq(A,number_number_of(A,V),number_number_of(A,W1))
        <=> ~ ord_less(A,number_number_of(A,W1),number_number_of(A,V)) ) ) ).

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

tff(fact_91_less__int__code_I15_J,axiom,
    ! [K2: int,K1: int] :
      ( ord_less(int,bit1(K1),bit0(K2))
    <=> ord_less(int,K1,K2) ) ).

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

tff(fact_93_zless__add1__eq,axiom,
    ! [Z1: int,W1: int] :
      ( ord_less(int,W1,plus_plus(int,Z1,one_one(int)))
    <=> ( ord_less(int,W1,Z1)
        | ( W1 = Z1 ) ) ) ).

tff(fact_94_zero__is__num__zero,axiom,
    zero_zero(int) = number_number_of(int,pls) ).

tff(fact_95_odd__nonzero,axiom,
    ! [Z: int] : plus_plus(int,plus_plus(int,one_one(int),Z),Z) != zero_zero(int) ).

tff(fact_96_le__imp__0__less,axiom,
    ! [Z: int] :
      ( ord_less_eq(int,zero_zero(int),Z)
     => ord_less(int,zero_zero(int),plus_plus(int,one_one(int),Z)) ) ).

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

%----Arities (14)
tff(arity_Int_Oint___Groups_Olinordered__ab__group__add,axiom,
    linord219039673up_add(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___Orderings_Olinorder,axiom,
    linorder(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_Nat_Onat___Int_Onumber__semiring,axiom,
    number_semiring(nat) ).

tff(arity_Nat_Onat___Orderings_Olinorder,axiom,
    linorder(nat) ).

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

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

tff(arity_HOL_Obool___Orderings_Olinorder,axiom,
    linorder(bool) ).

%----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,
    ord_less_eq(int,s,minus_minus(int,plus_plus(int,times_times(int,number_number_of(int,bit0(bit0(bit1(pls)))),m),one_one(int)),one_one(int))) ).

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