TPTP Problem File: NUM923+5.p

View Solutions - Solve Problem

%------------------------------------------------------------------------------
% File     : NUM923+5 : TPTP v9.0.0. Released v5.3.0.
% Domain   : Number Theory
% Problem  : Sum of two squares line 23, 100 axioms selected
% Version  : Especial.
% English  :

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

% Status   : Theorem
% Rating   : 1.00 v5.3.0
% Syntax   : Number of formulae    :  148 (  58 unt;   0 def)
%            Number of atoms       :  269 ( 116 equ)
%            Maximal formula atoms :    4 (   1 avg)
%            Number of connectives :  139 (  18   ~;   2   |;   2   &)
%                                         (  18 <=>;  99  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   16 (   5 avg)
%            Maximal term depth    :   10 (   2 avg)
%            Number of predicates  :   23 (  22 usr;   0 prp; 1-2 aty)
%            Number of functors    :   21 (  21 usr;   8 con; 0-4 aty)
%            Number of variables   :  504 ( 499   !;   5   ?)
% SPC      : FOF_THM_RFO_SEQ

% Comments : This file was generated by Isabelle (most likely Sledgehammer)
%            2011-08-09 13:55:21
%          : Encoded with polymorphic tags.
%------------------------------------------------------------------------------
%----Explicit typings (21)
fof(tsy_c_Groups_Ominus__class_Ominus_res,axiom,
    ! [X_a] :
      ( minus(X_a)
     => ti(fun(X_a,fun(X_a,X_a)),minus_minus(X_a)) = minus_minus(X_a) ) ).

fof(tsy_c_Groups_Oplus__class_Oplus_0_res,axiom,
    ! [X_a] :
      ( ab_semigroup_add(X_a)
     => ti(fun(X_a,fun(X_a,X_a)),plus_plus(X_a)) = plus_plus(X_a) ) ).

fof(tsy_c_Groups_Oplus__class_Oplus_1_res,axiom,
    ! [X_a] :
      ( cancel_semigroup_add(X_a)
     => ti(fun(X_a,fun(X_a,X_a)),plus_plus(X_a)) = plus_plus(X_a) ) ).

fof(tsy_c_Groups_Otimes__class_Otimes_0_res,axiom,
    ! [X_a] :
      ( semiring(X_a)
     => ti(fun(X_a,fun(X_a,X_a)),times_times(X_a)) = times_times(X_a) ) ).

fof(tsy_c_Groups_Otimes__class_Otimes_1_res,axiom,
    ! [X_a] :
      ( ab_semigroup_mult(X_a)
     => ti(fun(X_a,fun(X_a,X_a)),times_times(X_a)) = times_times(X_a) ) ).

fof(tsy_c_HOL_Oundefined_res,axiom,
    ! [X_a] : ti(X_a,undefined(X_a)) = undefined(X_a) ).

fof(tsy_c_Orderings_Oord__class_Oless__eq_res,axiom,
    ! [X_b] :
      ( ord(X_b)
     => ti(fun(X_b,fun(X_b,bool)),ord_less_eq(X_b)) = ord_less_eq(X_b) ) ).

fof(tsy_c_Product__Type_OPair_res,axiom,
    ! [X_a,X_b] : ti(fun(X_a,fun(X_b,product_prod(X_a,X_b))),product_Pair(X_a,X_b)) = product_Pair(X_a,X_b) ).

fof(tsy_c_Product__Type_Ocurry_res,axiom,
    ! [X_b,X_c,X_a] : ti(fun(fun(product_prod(X_b,X_c),X_a),fun(X_b,fun(X_c,X_a))),product_curry(X_b,X_c,X_a)) = product_curry(X_b,X_c,X_a) ).

fof(tsy_c_Product__Type_Ointernal__split_res,axiom,
    ! [X_b,X_c,X_a] : ti(fun(fun(X_b,fun(X_c,X_a)),fun(product_prod(X_b,X_c),X_a)),produc1605651328_split(X_b,X_c,X_a)) = produc1605651328_split(X_b,X_c,X_a) ).

fof(tsy_c_Product__Type_Oprod_Oprod__rec_res,axiom,
    ! [X_b,X_c,X_a] : ti(fun(fun(X_b,fun(X_c,X_a)),fun(product_prod(X_b,X_c),X_a)),product_prod_rec(X_b,X_c,X_a)) = product_prod_rec(X_b,X_c,X_a) ).

fof(tsy_c_TwoSquares__Mirabelle__vsgmegnqdl_Ois__sum2sq_res,axiom,
    ti(fun(int,bool),twoSqu33214720sum2sq) = twoSqu33214720sum2sq ).

fof(tsy_c_TwoSquares__Mirabelle__vsgmegnqdl_Osum2sq_res,hypothesis,
    ti(fun(product_prod(int,int),int),twoSqu930276342sum2sq) = twoSqu930276342sum2sq ).

fof(tsy_c_hAPP_arg1,axiom,
    ! [X_c,X_a,B_1_1,B_2_1] : hAPP(X_c,X_a,ti(fun(X_c,X_a),B_1_1),B_2_1) = hAPP(X_c,X_a,B_1_1,B_2_1) ).

fof(tsy_c_hAPP_arg2,axiom,
    ! [X_c,X_a,B_1_1,B_2_1] : hAPP(X_c,X_a,B_1_1,ti(X_c,B_2_1)) = hAPP(X_c,X_a,B_1_1,B_2_1) ).

fof(tsy_c_hAPP_res,axiom,
    ! [X_a,X_c,B_1_1,B_2_1] : ti(X_a,hAPP(X_c,X_a,B_1_1,B_2_1)) = hAPP(X_c,X_a,B_1_1,B_2_1) ).

fof(tsy_c_hBOOL_arg1,axiom,
    ! [B_1_1] :
      ( hBOOL(ti(bool,B_1_1))
    <=> hBOOL(B_1_1) ) ).

fof(tsy_v_a_res,hypothesis,
    ti(int,a) = a ).

fof(tsy_v_b_res,hypothesis,
    ti(int,b) = b ).

fof(tsy_v_p_res,hypothesis,
    ti(int,p) = p ).

fof(tsy_v_q_res,hypothesis,
    ti(int,q) = q ).

%----Relevant facts (100)
fof(fact_0_xzgcda__linear__aux1,axiom,
    ! [A_1,R,B,M,C_1,D,N] : hAPP(int,int,hAPP(int,fun(int,int),plus_plus(int),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),hAPP(int,int,hAPP(int,fun(int,int),minus_minus(int),A_1),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),R),B))),M)),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),hAPP(int,int,hAPP(int,fun(int,int),minus_minus(int),C_1),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),R),D))),N)) = hAPP(int,int,hAPP(int,fun(int,int),minus_minus(int),hAPP(int,int,hAPP(int,fun(int,int),plus_plus(int),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),A_1),M)),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),C_1),N))),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),R),hAPP(int,int,hAPP(int,fun(int,int),plus_plus(int),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),B),M)),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),D),N)))) ).

fof(fact_1_mult__diff__mult,axiom,
    ! [X_a] :
      ( ring(X_a)
     => ! [X_1,Y,A_1,B] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),X_1),Y)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),B)) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),X_1),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),Y),B))),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),X_1),A_1)),B)) ) ).

fof(fact_2_mult_Oprod__diff__prod,axiom,
    ! [X_a] :
      ( real_normed_algebra(X_a)
     => ! [X_1,Y,A_1,B] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),X_1),Y)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),B)) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),X_1),A_1)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),Y),B))),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),X_1),A_1)),B))),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),Y),B))) ) ).

fof(fact_3_eq__add__iff2,axiom,
    ! [X_a] :
      ( ring(X_a)
     => ! [Aa,E,C,Ba,D_1] :
          ( hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Aa),E)),C) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Ba),E)),D_1)
        <=> ti(X_a,C) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),Ba),Aa)),E)),D_1) ) ) ).

fof(fact_4_eq__add__iff1,axiom,
    ! [X_a] :
      ( ring(X_a)
     => ! [Aa,E,C,Ba,D_1] :
          ( hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Aa),E)),C) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Ba),E)),D_1)
        <=> hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),Aa),Ba)),E)),C) = ti(X_a,D_1) ) ) ).

fof(fact_5_is__sum2sq__def,axiom,
    ! [X_2] :
      ( hBOOL(hAPP(int,bool,twoSqu33214720sum2sq,X_2))
    <=> ? [A_2,B_1] : hAPP(product_prod(int,int),int,twoSqu930276342sum2sq,hAPP(int,product_prod(int,int),hAPP(int,fun(int,product_prod(int,int)),product_Pair(int,int),A_2),B_1)) = X_2 ) ).

fof(fact_6_Int2_Oaux1,axiom,
    ! [A_1,B,C_1] :
      ( hAPP(int,int,hAPP(int,fun(int,int),minus_minus(int),A_1),B) = C_1
     => A_1 = hAPP(int,int,hAPP(int,fun(int,int),plus_plus(int),C_1),B) ) ).

fof(fact_7_zdiff__zmult__distrib2,axiom,
    ! [W,Z1,Z2] : hAPP(int,int,hAPP(int,fun(int,int),times_times(int),W),hAPP(int,int,hAPP(int,fun(int,int),minus_minus(int),Z1),Z2)) = hAPP(int,int,hAPP(int,fun(int,int),minus_minus(int),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),W),Z1)),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),W),Z2)) ).

fof(fact_8_zdiff__zmult__distrib,axiom,
    ! [Z1,Z2,W] : hAPP(int,int,hAPP(int,fun(int,int),times_times(int),hAPP(int,int,hAPP(int,fun(int,int),minus_minus(int),Z1),Z2)),W) = hAPP(int,int,hAPP(int,fun(int,int),minus_minus(int),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),Z1),W)),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),Z2),W)) ).

fof(fact_9_zadd__zmult__distrib2,axiom,
    ! [W,Z1,Z2] : hAPP(int,int,hAPP(int,fun(int,int),times_times(int),W),hAPP(int,int,hAPP(int,fun(int,int),plus_plus(int),Z1),Z2)) = hAPP(int,int,hAPP(int,fun(int,int),plus_plus(int),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),W),Z1)),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),W),Z2)) ).

fof(fact_10_zadd__zmult__distrib,axiom,
    ! [Z1,Z2,W] : hAPP(int,int,hAPP(int,fun(int,int),times_times(int),hAPP(int,int,hAPP(int,fun(int,int),plus_plus(int),Z1),Z2)),W) = hAPP(int,int,hAPP(int,fun(int,int),plus_plus(int),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),Z1),W)),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),Z2),W)) ).

fof(fact_11_diff__add__cancel,axiom,
    ! [X_a] :
      ( group_add(X_a)
     => ! [A_1,B] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),A_1),B)),B) = ti(X_a,A_1) ) ).

fof(fact_12_ab__semigroup__mult__class_Omult__ac_I1_J,axiom,
    ! [X_a] :
      ( ab_semigroup_mult(X_a)
     => ! [A_1,B,C_1] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),B)),C_1) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),B),C_1)) ) ).

fof(fact_13_add__right__imp__eq,axiom,
    ! [X_a] :
      ( cancel_semigroup_add(X_a)
     => ! [B,A_1,C_1] :
          ( hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),B),A_1) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),C_1),A_1)
         => ti(X_a,B) = ti(X_a,C_1) ) ) ).

fof(fact_14_add__imp__eq,axiom,
    ! [X_a] :
      ( cancel146912293up_add(X_a)
     => ! [A_1,B,C_1] :
          ( hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),B) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),C_1)
         => ti(X_a,B) = ti(X_a,C_1) ) ) ).

fof(fact_15_add__left__imp__eq,axiom,
    ! [X_a] :
      ( cancel_semigroup_add(X_a)
     => ! [A_1,B,C_1] :
          ( hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),B) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),C_1)
         => ti(X_a,B) = ti(X_a,C_1) ) ) ).

fof(fact_16_add__right__cancel,axiom,
    ! [X_a] :
      ( cancel_semigroup_add(X_a)
     => ! [Ba,Aa,C] :
          ( hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),Ba),Aa) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),C),Aa)
        <=> ti(X_a,Ba) = ti(X_a,C) ) ) ).

fof(fact_17_add__left__cancel,axiom,
    ! [X_a] :
      ( cancel_semigroup_add(X_a)
     => ! [Aa,Ba,C] :
          ( hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),Aa),Ba) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),Aa),C)
        <=> ti(X_a,Ba) = ti(X_a,C) ) ) ).

fof(fact_18_ab__semigroup__add__class_Oadd__ac_I1_J,axiom,
    ! [X_a] :
      ( ab_semigroup_add(X_a)
     => ! [A_1,B,C_1] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),B)),C_1) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),B),C_1)) ) ).

fof(fact_19_diff__eq__diff__eq,axiom,
    ! [X_a] :
      ( ab_group_add(X_a)
     => ! [Aa,Ba,C,D_1] :
          ( hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),Aa),Ba) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),C),D_1)
         => ( ti(X_a,Aa) = ti(X_a,Ba)
          <=> ti(X_a,C) = ti(X_a,D_1) ) ) ) ).

fof(fact_20_zmult__assoc,axiom,
    ! [Z1,Z2,Z3] : hAPP(int,int,hAPP(int,fun(int,int),times_times(int),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),Z1),Z2)),Z3) = hAPP(int,int,hAPP(int,fun(int,int),times_times(int),Z1),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),Z2),Z3)) ).

fof(fact_21_zmult__commute,axiom,
    ! [Z,W] : hAPP(int,int,hAPP(int,fun(int,int),times_times(int),Z),W) = hAPP(int,int,hAPP(int,fun(int,int),times_times(int),W),Z) ).

fof(fact_22_zadd__assoc,axiom,
    ! [Z1,Z2,Z3] : hAPP(int,int,hAPP(int,fun(int,int),plus_plus(int),hAPP(int,int,hAPP(int,fun(int,int),plus_plus(int),Z1),Z2)),Z3) = hAPP(int,int,hAPP(int,fun(int,int),plus_plus(int),Z1),hAPP(int,int,hAPP(int,fun(int,int),plus_plus(int),Z2),Z3)) ).

fof(fact_23_zadd__left__commute,axiom,
    ! [X_1,Y,Z] : hAPP(int,int,hAPP(int,fun(int,int),plus_plus(int),X_1),hAPP(int,int,hAPP(int,fun(int,int),plus_plus(int),Y),Z)) = hAPP(int,int,hAPP(int,fun(int,int),plus_plus(int),Y),hAPP(int,int,hAPP(int,fun(int,int),plus_plus(int),X_1),Z)) ).

fof(fact_24_zadd__commute,axiom,
    ! [Z,W] : hAPP(int,int,hAPP(int,fun(int,int),plus_plus(int),Z),W) = hAPP(int,int,hAPP(int,fun(int,int),plus_plus(int),W),Z) ).

fof(fact_25_combine__common__factor,axiom,
    ! [X_a] :
      ( semiring(X_a)
     => ! [A_1,E_2,B,C_1] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),E_2)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),B),E_2)),C_1)) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),B)),E_2)),C_1) ) ).

fof(fact_26_mult__left_Oadd,axiom,
    ! [X_a] :
      ( real_normed_algebra(X_a)
     => ! [X_1,Y,Ya] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),X_1),Y)),Ya) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),X_1),Ya)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Y),Ya)) ) ).

fof(fact_27_mult_Oadd__left,axiom,
    ! [X_a] :
      ( real_normed_algebra(X_a)
     => ! [A_1,A_4,B] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),A_4)),B) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),B)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_4),B)) ) ).

fof(fact_28_comm__semiring__class_Odistrib,axiom,
    ! [X_a] :
      ( comm_semiring(X_a)
     => ! [A_1,B,C_1] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),B)),C_1) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),C_1)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),B),C_1)) ) ).

fof(fact_29_mult__right_Oadd,axiom,
    ! [X_a] :
      ( real_normed_algebra(X_a)
     => ! [Xa,X_1,Y] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Xa),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),X_1),Y)) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Xa),X_1)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Xa),Y)) ) ).

fof(fact_30_mult_Oadd__right,axiom,
    ! [X_a] :
      ( real_normed_algebra(X_a)
     => ! [A_1,B,B_3] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),B),B_3)) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),B)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),B_3)) ) ).

fof(fact_31_mult__left_Odiff,axiom,
    ! [X_a] :
      ( real_normed_algebra(X_a)
     => ! [X_1,Y,Ya] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),X_1),Y)),Ya) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),X_1),Ya)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Y),Ya)) ) ).

fof(fact_32_mult_Odiff__left,axiom,
    ! [X_a] :
      ( real_normed_algebra(X_a)
     => ! [A_1,A_4,B] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),A_1),A_4)),B) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),B)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_4),B)) ) ).

fof(fact_33_mult__right_Odiff,axiom,
    ! [X_a] :
      ( real_normed_algebra(X_a)
     => ! [Xa,X_1,Y] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Xa),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),X_1),Y)) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Xa),X_1)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Xa),Y)) ) ).

fof(fact_34_mult_Odiff__right,axiom,
    ! [X_a] :
      ( real_normed_algebra(X_a)
     => ! [A_1,B,B_3] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),B),B_3)) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),B)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),B_3)) ) ).

fof(fact_35_add__diff__add,axiom,
    ! [X_a] :
      ( ab_group_add(X_a)
     => ! [A_1,C_1,B,D] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),C_1)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),B),D)) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),A_1),B)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),C_1),D)) ) ).

fof(fact_36_add__diff__cancel,axiom,
    ! [X_a] :
      ( group_add(X_a)
     => ! [A_1,B] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),B)),B) = ti(X_a,A_1) ) ).

fof(fact_37_crossproduct__eq,axiom,
    ! [X_a] :
      ( semiri456707255roduct(X_a)
     => ! [W_1,Y_2,X_2,Z_1] :
          ( hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),W_1),Y_2)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),X_2),Z_1)) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),W_1),Z_1)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),X_2),Y_2))
        <=> ( ti(X_a,W_1) = ti(X_a,X_2)
            | ti(X_a,Y_2) = ti(X_a,Z_1) ) ) ) ).

fof(fact_38_comm__semiring__1__class_Onormalizing__semiring__rules_I1_J,axiom,
    ! [X_a] :
      ( comm_semiring_1(X_a)
     => ! [A_1,M,B] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),M)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),B),M)) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),B)),M) ) ).

fof(fact_39_comm__semiring__1__class_Onormalizing__semiring__rules_I8_J,axiom,
    ! [X_a] :
      ( comm_semiring_1(X_a)
     => ! [A_1,B,C_1] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),B)),C_1) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),C_1)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),B),C_1)) ) ).

fof(fact_40_crossproduct__noteq,axiom,
    ! [X_a] :
      ( semiri456707255roduct(X_a)
     => ! [C,D_1,Aa,Ba] :
          ( ( ti(X_a,Aa) != ti(X_a,Ba)
            & ti(X_a,C) != ti(X_a,D_1) )
        <=> hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Aa),C)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Ba),D_1)) != hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Aa),D_1)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Ba),C)) ) ) ).

fof(fact_41_comm__semiring__1__class_Onormalizing__semiring__rules_I34_J,axiom,
    ! [X_a] :
      ( comm_semiring_1(X_a)
     => ! [X_1,Y,Z] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),X_1),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),Y),Z)) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),X_1),Y)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),X_1),Z)) ) ).

fof(fact_42_minus__apply,axiom,
    ! [X_b,X_a] :
      ( minus(X_a)
     => ! [A_5,B_4,X_2] : hAPP(X_b,X_a,hAPP(fun(X_b,X_a),fun(X_b,X_a),hAPP(fun(X_b,X_a),fun(fun(X_b,X_a),fun(X_b,X_a)),minus_minus(fun(X_b,X_a)),A_5),B_4),X_2) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),hAPP(X_b,X_a,A_5,X_2)),hAPP(X_b,X_a,B_4,X_2)) ) ).

fof(fact_43_fun__diff__def,axiom,
    ! [X_a,X_b] :
      ( minus(X_b)
     => ! [A_5,B_4,X] : hAPP(X_a,X_b,hAPP(fun(X_a,X_b),fun(X_a,X_b),hAPP(fun(X_a,X_b),fun(fun(X_a,X_b),fun(X_a,X_b)),minus_minus(fun(X_a,X_b)),A_5),B_4),X) = hAPP(X_b,X_b,hAPP(X_b,fun(X_b,X_b),minus_minus(X_b),hAPP(X_a,X_b,A_5,X)),hAPP(X_a,X_b,B_4,X)) ) ).

fof(fact_44_Pair__inject,axiom,
    ! [X_b,X_a,A_1,B,A_4,B_3] :
      ( hAPP(X_b,product_prod(X_a,X_b),hAPP(X_a,fun(X_b,product_prod(X_a,X_b)),product_Pair(X_a,X_b),A_1),B) = hAPP(X_b,product_prod(X_a,X_b),hAPP(X_a,fun(X_b,product_prod(X_a,X_b)),product_Pair(X_a,X_b),A_4),B_3)
     => ~ ( ti(X_a,A_1) = ti(X_a,A_4)
         => ti(X_b,B) != ti(X_b,B_3) ) ) ).

fof(fact_45_Pair__eq,axiom,
    ! [X_b,X_a,Aa,Ba,A_3,B_2] :
      ( hAPP(X_b,product_prod(X_a,X_b),hAPP(X_a,fun(X_b,product_prod(X_a,X_b)),product_Pair(X_a,X_b),Aa),Ba) = hAPP(X_b,product_prod(X_a,X_b),hAPP(X_a,fun(X_b,product_prod(X_a,X_b)),product_Pair(X_a,X_b),A_3),B_2)
    <=> ( ti(X_a,Aa) = ti(X_a,A_3)
        & ti(X_b,Ba) = ti(X_b,B_2) ) ) ).

fof(fact_46_times_Oidem,axiom,
    ! [X_a] :
      ( ab_sem1668676832m_mult(X_a)
     => ! [A_1] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),A_1) = ti(X_a,A_1) ) ).

fof(fact_47_mult__idem,axiom,
    ! [X_a] :
      ( ab_sem1668676832m_mult(X_a)
     => ! [X_1] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),X_1),X_1) = ti(X_a,X_1) ) ).

fof(fact_48_comm__semiring__1__class_Onormalizing__semiring__rules_I7_J,axiom,
    ! [X_a] :
      ( comm_semiring_1(X_a)
     => ! [A_1,B] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),B) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),B),A_1) ) ).

fof(fact_49_mult__left__idem,axiom,
    ! [X_a] :
      ( ab_sem1668676832m_mult(X_a)
     => ! [A_1,B] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),B)) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),A_1),B) ) ).

fof(fact_50_comm__semiring__1__class_Onormalizing__semiring__rules_I19_J,axiom,
    ! [X_a] :
      ( comm_semiring_1(X_a)
     => ! [Lx,Rx,Ry] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Lx),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Rx),Ry)) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Rx),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Lx),Ry)) ) ).

fof(fact_51_comm__semiring__1__class_Onormalizing__semiring__rules_I18_J,axiom,
    ! [X_a] :
      ( comm_semiring_1(X_a)
     => ! [Lx,Rx,Ry] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Lx),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Rx),Ry)) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Lx),Rx)),Ry) ) ).

fof(fact_52_comm__semiring__1__class_Onormalizing__semiring__rules_I17_J,axiom,
    ! [X_a] :
      ( comm_semiring_1(X_a)
     => ! [Lx,Ly,Rx] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Lx),Ly)),Rx) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Lx),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Ly),Rx)) ) ).

fof(fact_53_comm__semiring__1__class_Onormalizing__semiring__rules_I16_J,axiom,
    ! [X_a] :
      ( comm_semiring_1(X_a)
     => ! [Lx,Ly,Rx] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Lx),Ly)),Rx) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Lx),Rx)),Ly) ) ).

fof(fact_54_comm__semiring__1__class_Onormalizing__semiring__rules_I14_J,axiom,
    ! [X_a] :
      ( comm_semiring_1(X_a)
     => ! [Lx,Ly,Rx,Ry] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Lx),Ly)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Rx),Ry)) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Lx),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Ly),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Rx),Ry))) ) ).

fof(fact_55_comm__semiring__1__class_Onormalizing__semiring__rules_I15_J,axiom,
    ! [X_a] :
      ( comm_semiring_1(X_a)
     => ! [Lx,Ly,Rx,Ry] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Lx),Ly)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Rx),Ry)) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Rx),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Lx),Ly)),Ry)) ) ).

fof(fact_56_comm__semiring__1__class_Onormalizing__semiring__rules_I13_J,axiom,
    ! [X_a] :
      ( comm_semiring_1(X_a)
     => ! [Lx,Ly,Rx,Ry] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Lx),Ly)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Rx),Ry)) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Lx),Rx)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Ly),Ry)) ) ).

fof(fact_57_comm__semiring__1__class_Onormalizing__semiring__rules_I24_J,axiom,
    ! [X_a] :
      ( comm_semiring_1(X_a)
     => ! [A_1,C_1] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),C_1) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),C_1),A_1) ) ).

fof(fact_58_comm__semiring__1__class_Onormalizing__semiring__rules_I22_J,axiom,
    ! [X_a] :
      ( comm_semiring_1(X_a)
     => ! [A_1,C_1,D] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),C_1),D)) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),C_1),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),D)) ) ).

fof(fact_59_comm__semiring__1__class_Onormalizing__semiring__rules_I25_J,axiom,
    ! [X_a] :
      ( comm_semiring_1(X_a)
     => ! [A_1,C_1,D] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),C_1),D)) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),C_1)),D) ) ).

fof(fact_60_comm__semiring__1__class_Onormalizing__semiring__rules_I21_J,axiom,
    ! [X_a] :
      ( comm_semiring_1(X_a)
     => ! [A_1,B,C_1] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),B)),C_1) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),B),C_1)) ) ).

fof(fact_61_comm__semiring__1__class_Onormalizing__semiring__rules_I23_J,axiom,
    ! [X_a] :
      ( comm_semiring_1(X_a)
     => ! [A_1,B,C_1] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),B)),C_1) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),C_1)),B) ) ).

fof(fact_62_comm__semiring__1__class_Onormalizing__semiring__rules_I20_J,axiom,
    ! [X_a] :
      ( comm_semiring_1(X_a)
     => ! [A_1,B,C_1,D] : hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),B)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),C_1),D)) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),C_1)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),B),D)) ) ).

fof(fact_63_split__paired__All,axiom,
    ! [X_a,X_b,P_1] :
      ( ! [X1] : hBOOL(hAPP(product_prod(X_a,X_b),bool,P_1,X1))
    <=> ! [A_2,B_1] : hBOOL(hAPP(product_prod(X_a,X_b),bool,P_1,hAPP(X_b,product_prod(X_a,X_b),hAPP(X_a,fun(X_b,product_prod(X_a,X_b)),product_Pair(X_a,X_b),A_2),B_1))) ) ).

fof(fact_64_prod_Orecs,axiom,
    ! [X_b,X_c,X_a,F1,Aa,Ba] : hAPP(product_prod(X_b,X_c),X_a,hAPP(fun(X_b,fun(X_c,X_a)),fun(product_prod(X_b,X_c),X_a),product_prod_rec(X_b,X_c,X_a),F1),hAPP(X_c,product_prod(X_b,X_c),hAPP(X_b,fun(X_c,product_prod(X_b,X_c)),product_Pair(X_b,X_c),Aa),Ba)) = hAPP(X_c,X_a,hAPP(X_b,fun(X_c,X_a),F1,Aa),Ba) ).

fof(fact_65_split__paired__Ex,axiom,
    ! [X_a,X_b,P_1] :
      ( ? [X1] : hBOOL(hAPP(product_prod(X_a,X_b),bool,P_1,X1))
    <=> ? [A_2,B_1] : hBOOL(hAPP(product_prod(X_a,X_b),bool,P_1,hAPP(X_b,product_prod(X_a,X_b),hAPP(X_a,fun(X_b,product_prod(X_a,X_b)),product_Pair(X_a,X_b),A_2),B_1))) ) ).

fof(fact_66_prod__induct6,axiom,
    ! [X_a,X_b,X_c,X_d,X_e,X_f,X_2,P_1] :
      ( ! [A_2,B_1,C_2,D_2,E_1,F_1] : hBOOL(hAPP(product_prod(X_a,product_prod(X_b,product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f))))),bool,P_1,hAPP(product_prod(X_b,product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f)))),product_prod(X_a,product_prod(X_b,product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f))))),hAPP(X_a,fun(product_prod(X_b,product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f)))),product_prod(X_a,product_prod(X_b,product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f)))))),product_Pair(X_a,product_prod(X_b,product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f))))),A_2),hAPP(product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f))),product_prod(X_b,product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f)))),hAPP(X_b,fun(product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f))),product_prod(X_b,product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f))))),product_Pair(X_b,product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f)))),B_1),hAPP(product_prod(X_d,product_prod(X_e,X_f)),product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f))),hAPP(X_c,fun(product_prod(X_d,product_prod(X_e,X_f)),product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f)))),product_Pair(X_c,product_prod(X_d,product_prod(X_e,X_f))),C_2),hAPP(product_prod(X_e,X_f),product_prod(X_d,product_prod(X_e,X_f)),hAPP(X_d,fun(product_prod(X_e,X_f),product_prod(X_d,product_prod(X_e,X_f))),product_Pair(X_d,product_prod(X_e,X_f)),D_2),hAPP(X_f,product_prod(X_e,X_f),hAPP(X_e,fun(X_f,product_prod(X_e,X_f)),product_Pair(X_e,X_f),E_1),F_1)))))))
     => hBOOL(hAPP(product_prod(X_a,product_prod(X_b,product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f))))),bool,P_1,X_2)) ) ).

fof(fact_67_prod__cases6,axiom,
    ! [X_a,X_b,X_c,X_d,X_e,X_f,Y] :
      ~ ! [A_2,B_1,C_2,D_2,E_1,F_1] : ti(product_prod(X_a,product_prod(X_b,product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f))))),Y) != hAPP(product_prod(X_b,product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f)))),product_prod(X_a,product_prod(X_b,product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f))))),hAPP(X_a,fun(product_prod(X_b,product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f)))),product_prod(X_a,product_prod(X_b,product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f)))))),product_Pair(X_a,product_prod(X_b,product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f))))),A_2),hAPP(product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f))),product_prod(X_b,product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f)))),hAPP(X_b,fun(product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f))),product_prod(X_b,product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f))))),product_Pair(X_b,product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f)))),B_1),hAPP(product_prod(X_d,product_prod(X_e,X_f)),product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f))),hAPP(X_c,fun(product_prod(X_d,product_prod(X_e,X_f)),product_prod(X_c,product_prod(X_d,product_prod(X_e,X_f)))),product_Pair(X_c,product_prod(X_d,product_prod(X_e,X_f))),C_2),hAPP(product_prod(X_e,X_f),product_prod(X_d,product_prod(X_e,X_f)),hAPP(X_d,fun(product_prod(X_e,X_f),product_prod(X_d,product_prod(X_e,X_f))),product_Pair(X_d,product_prod(X_e,X_f)),D_2),hAPP(X_f,product_prod(X_e,X_f),hAPP(X_e,fun(X_f,product_prod(X_e,X_f)),product_Pair(X_e,X_f),E_1),F_1))))) ).

fof(fact_68_prod__cases5,axiom,
    ! [X_a,X_b,X_c,X_d,X_e,Y] :
      ~ ! [A_2,B_1,C_2,D_2,E_1] : ti(product_prod(X_a,product_prod(X_b,product_prod(X_c,product_prod(X_d,X_e)))),Y) != hAPP(product_prod(X_b,product_prod(X_c,product_prod(X_d,X_e))),product_prod(X_a,product_prod(X_b,product_prod(X_c,product_prod(X_d,X_e)))),hAPP(X_a,fun(product_prod(X_b,product_prod(X_c,product_prod(X_d,X_e))),product_prod(X_a,product_prod(X_b,product_prod(X_c,product_prod(X_d,X_e))))),product_Pair(X_a,product_prod(X_b,product_prod(X_c,product_prod(X_d,X_e)))),A_2),hAPP(product_prod(X_c,product_prod(X_d,X_e)),product_prod(X_b,product_prod(X_c,product_prod(X_d,X_e))),hAPP(X_b,fun(product_prod(X_c,product_prod(X_d,X_e)),product_prod(X_b,product_prod(X_c,product_prod(X_d,X_e)))),product_Pair(X_b,product_prod(X_c,product_prod(X_d,X_e))),B_1),hAPP(product_prod(X_d,X_e),product_prod(X_c,product_prod(X_d,X_e)),hAPP(X_c,fun(product_prod(X_d,X_e),product_prod(X_c,product_prod(X_d,X_e))),product_Pair(X_c,product_prod(X_d,X_e)),C_2),hAPP(X_e,product_prod(X_d,X_e),hAPP(X_d,fun(X_e,product_prod(X_d,X_e)),product_Pair(X_d,X_e),D_2),E_1)))) ).

fof(fact_69_prod__induct5,axiom,
    ! [X_a,X_b,X_c,X_d,X_e,X_2,P_1] :
      ( ! [A_2,B_1,C_2,D_2,E_1] : hBOOL(hAPP(product_prod(X_a,product_prod(X_b,product_prod(X_c,product_prod(X_d,X_e)))),bool,P_1,hAPP(product_prod(X_b,product_prod(X_c,product_prod(X_d,X_e))),product_prod(X_a,product_prod(X_b,product_prod(X_c,product_prod(X_d,X_e)))),hAPP(X_a,fun(product_prod(X_b,product_prod(X_c,product_prod(X_d,X_e))),product_prod(X_a,product_prod(X_b,product_prod(X_c,product_prod(X_d,X_e))))),product_Pair(X_a,product_prod(X_b,product_prod(X_c,product_prod(X_d,X_e)))),A_2),hAPP(product_prod(X_c,product_prod(X_d,X_e)),product_prod(X_b,product_prod(X_c,product_prod(X_d,X_e))),hAPP(X_b,fun(product_prod(X_c,product_prod(X_d,X_e)),product_prod(X_b,product_prod(X_c,product_prod(X_d,X_e)))),product_Pair(X_b,product_prod(X_c,product_prod(X_d,X_e))),B_1),hAPP(product_prod(X_d,X_e),product_prod(X_c,product_prod(X_d,X_e)),hAPP(X_c,fun(product_prod(X_d,X_e),product_prod(X_c,product_prod(X_d,X_e))),product_Pair(X_c,product_prod(X_d,X_e)),C_2),hAPP(X_e,product_prod(X_d,X_e),hAPP(X_d,fun(X_e,product_prod(X_d,X_e)),product_Pair(X_d,X_e),D_2),E_1))))))
     => hBOOL(hAPP(product_prod(X_a,product_prod(X_b,product_prod(X_c,product_prod(X_d,X_e)))),bool,P_1,X_2)) ) ).

fof(fact_70_prod__cases4,axiom,
    ! [X_a,X_b,X_c,X_d,Y] :
      ~ ! [A_2,B_1,C_2,D_2] : ti(product_prod(X_a,product_prod(X_b,product_prod(X_c,X_d))),Y) != hAPP(product_prod(X_b,product_prod(X_c,X_d)),product_prod(X_a,product_prod(X_b,product_prod(X_c,X_d))),hAPP(X_a,fun(product_prod(X_b,product_prod(X_c,X_d)),product_prod(X_a,product_prod(X_b,product_prod(X_c,X_d)))),product_Pair(X_a,product_prod(X_b,product_prod(X_c,X_d))),A_2),hAPP(product_prod(X_c,X_d),product_prod(X_b,product_prod(X_c,X_d)),hAPP(X_b,fun(product_prod(X_c,X_d),product_prod(X_b,product_prod(X_c,X_d))),product_Pair(X_b,product_prod(X_c,X_d)),B_1),hAPP(X_d,product_prod(X_c,X_d),hAPP(X_c,fun(X_d,product_prod(X_c,X_d)),product_Pair(X_c,X_d),C_2),D_2))) ).

fof(fact_71_prod__induct4,axiom,
    ! [X_a,X_b,X_c,X_d,X_2,P_1] :
      ( ! [A_2,B_1,C_2,D_2] : hBOOL(hAPP(product_prod(X_a,product_prod(X_b,product_prod(X_c,X_d))),bool,P_1,hAPP(product_prod(X_b,product_prod(X_c,X_d)),product_prod(X_a,product_prod(X_b,product_prod(X_c,X_d))),hAPP(X_a,fun(product_prod(X_b,product_prod(X_c,X_d)),product_prod(X_a,product_prod(X_b,product_prod(X_c,X_d)))),product_Pair(X_a,product_prod(X_b,product_prod(X_c,X_d))),A_2),hAPP(product_prod(X_c,X_d),product_prod(X_b,product_prod(X_c,X_d)),hAPP(X_b,fun(product_prod(X_c,X_d),product_prod(X_b,product_prod(X_c,X_d))),product_Pair(X_b,product_prod(X_c,X_d)),B_1),hAPP(X_d,product_prod(X_c,X_d),hAPP(X_c,fun(X_d,product_prod(X_c,X_d)),product_Pair(X_c,X_d),C_2),D_2)))))
     => hBOOL(hAPP(product_prod(X_a,product_prod(X_b,product_prod(X_c,X_d))),bool,P_1,X_2)) ) ).

fof(fact_72_prod__induct3,axiom,
    ! [X_a,X_b,X_c,X_2,P_1] :
      ( ! [A_2,B_1,C_2] : hBOOL(hAPP(product_prod(X_a,product_prod(X_b,X_c)),bool,P_1,hAPP(product_prod(X_b,X_c),product_prod(X_a,product_prod(X_b,X_c)),hAPP(X_a,fun(product_prod(X_b,X_c),product_prod(X_a,product_prod(X_b,X_c))),product_Pair(X_a,product_prod(X_b,X_c)),A_2),hAPP(X_c,product_prod(X_b,X_c),hAPP(X_b,fun(X_c,product_prod(X_b,X_c)),product_Pair(X_b,X_c),B_1),C_2))))
     => hBOOL(hAPP(product_prod(X_a,product_prod(X_b,X_c)),bool,P_1,X_2)) ) ).

fof(fact_73_prod__cases3,axiom,
    ! [X_a,X_b,X_c,Y] :
      ~ ! [A_2,B_1,C_2] : ti(product_prod(X_a,product_prod(X_b,X_c)),Y) != hAPP(product_prod(X_b,X_c),product_prod(X_a,product_prod(X_b,X_c)),hAPP(X_a,fun(product_prod(X_b,X_c),product_prod(X_a,product_prod(X_b,X_c))),product_Pair(X_a,product_prod(X_b,X_c)),A_2),hAPP(X_c,product_prod(X_b,X_c),hAPP(X_b,fun(X_c,product_prod(X_b,X_c)),product_Pair(X_b,X_c),B_1),C_2)) ).

fof(fact_74_prod_Oexhaust,axiom,
    ! [X_a,X_b,Y] :
      ~ ! [A_2,B_1] : ti(product_prod(X_a,X_b),Y) != hAPP(X_b,product_prod(X_a,X_b),hAPP(X_a,fun(X_b,product_prod(X_a,X_b)),product_Pair(X_a,X_b),A_2),B_1) ).

fof(fact_75_ext,axiom,
    ! [X_a,X_b,F,G] :
      ( ! [X] : hAPP(X_a,X_b,F,X) = hAPP(X_a,X_b,G,X)
     => ti(fun(X_a,X_b),F) = ti(fun(X_a,X_b),G) ) ).

fof(fact_76_PairE,axiom,
    ! [X_a,X_b,P] :
      ~ ! [X,Y_1] : ti(product_prod(X_a,X_b),P) != hAPP(X_b,product_prod(X_a,X_b),hAPP(X_a,fun(X_b,product_prod(X_a,X_b)),product_Pair(X_a,X_b),X),Y_1) ).

fof(fact_77_internal__split__conv,axiom,
    ! [X_b,X_c,X_a,C,Aa,Ba] : hAPP(product_prod(X_b,X_c),X_a,hAPP(fun(X_b,fun(X_c,X_a)),fun(product_prod(X_b,X_c),X_a),produc1605651328_split(X_b,X_c,X_a),C),hAPP(X_c,product_prod(X_b,X_c),hAPP(X_b,fun(X_c,product_prod(X_b,X_c)),product_Pair(X_b,X_c),Aa),Ba)) = hAPP(X_c,X_a,hAPP(X_b,fun(X_c,X_a),C,Aa),Ba) ).

fof(fact_78_curryI,axiom,
    ! [X_a,X_b,F,Aa,Ba] :
      ( hBOOL(hAPP(product_prod(X_a,X_b),bool,F,hAPP(X_b,product_prod(X_a,X_b),hAPP(X_a,fun(X_b,product_prod(X_a,X_b)),product_Pair(X_a,X_b),Aa),Ba)))
     => hBOOL(hAPP(X_b,bool,hAPP(X_a,fun(X_b,bool),hAPP(fun(product_prod(X_a,X_b),bool),fun(X_a,fun(X_b,bool)),product_curry(X_a,X_b,bool),F),Aa),Ba)) ) ).

fof(fact_79_curryD,axiom,
    ! [X_b,X_a,F,Aa,Ba] :
      ( hBOOL(hAPP(X_b,bool,hAPP(X_a,fun(X_b,bool),hAPP(fun(product_prod(X_a,X_b),bool),fun(X_a,fun(X_b,bool)),product_curry(X_a,X_b,bool),F),Aa),Ba))
     => hBOOL(hAPP(product_prod(X_a,X_b),bool,F,hAPP(X_b,product_prod(X_a,X_b),hAPP(X_a,fun(X_b,product_prod(X_a,X_b)),product_Pair(X_a,X_b),Aa),Ba))) ) ).

fof(fact_80_curryE,axiom,
    ! [X_b,X_a,F,Aa,Ba] :
      ( hBOOL(hAPP(X_b,bool,hAPP(X_a,fun(X_b,bool),hAPP(fun(product_prod(X_a,X_b),bool),fun(X_a,fun(X_b,bool)),product_curry(X_a,X_b,bool),F),Aa),Ba))
     => hBOOL(hAPP(product_prod(X_a,X_b),bool,F,hAPP(X_b,product_prod(X_a,X_b),hAPP(X_a,fun(X_b,product_prod(X_a,X_b)),product_Pair(X_a,X_b),Aa),Ba))) ) ).

fof(fact_81_curry__conv,axiom,
    ! [X_c,X_a,X_b,F,Aa,Ba] : hAPP(X_c,X_a,hAPP(X_b,fun(X_c,X_a),hAPP(fun(product_prod(X_b,X_c),X_a),fun(X_b,fun(X_c,X_a)),product_curry(X_b,X_c,X_a),F),Aa),Ba) = hAPP(product_prod(X_b,X_c),X_a,F,hAPP(X_c,product_prod(X_b,X_c),hAPP(X_b,fun(X_c,product_prod(X_b,X_c)),product_Pair(X_b,X_c),Aa),Ba)) ).

fof(fact_82_le__add__iff1,axiom,
    ! [X_a] :
      ( ordered_ring(X_a)
     => ! [Aa,E,C,Ba,D_1] :
          ( hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Aa),E)),C)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Ba),E)),D_1)))
        <=> hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),Aa),Ba)),E)),C)),D_1)) ) ) ).

fof(fact_83_le__add__iff2,axiom,
    ! [X_a] :
      ( ordered_ring(X_a)
     => ! [Aa,E,C,Ba,D_1] :
          ( hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Aa),E)),C)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),Ba),E)),D_1)))
        <=> hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),C),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),times_times(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),Ba),Aa)),E)),D_1))) ) ) ).

fof(fact_84_zadd__left__mono,axiom,
    ! [K,I,J] :
      ( hBOOL(hAPP(int,bool,hAPP(int,fun(int,bool),ord_less_eq(int),I),J))
     => hBOOL(hAPP(int,bool,hAPP(int,fun(int,bool),ord_less_eq(int),hAPP(int,int,hAPP(int,fun(int,int),plus_plus(int),K),I)),hAPP(int,int,hAPP(int,fun(int,int),plus_plus(int),K),J))) ) ).

fof(fact_85_diff__eq__diff__less__eq,axiom,
    ! [X_a] :
      ( ordered_ab_group_add(X_a)
     => ! [Aa,Ba,C,D_1] :
          ( hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),Aa),Ba) = hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),minus_minus(X_a),C),D_1)
         => ( hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),Aa),Ba))
          <=> hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),C),D_1)) ) ) ) ).

fof(fact_86_add__le__imp__le__left,axiom,
    ! [X_a] :
      ( ordere236663937imp_le(X_a)
     => ! [C_1,A_1,B] :
          ( hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),C_1),A_1)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),C_1),B)))
         => hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),A_1),B)) ) ) ).

fof(fact_87_add__le__imp__le__right,axiom,
    ! [X_a] :
      ( ordere236663937imp_le(X_a)
     => ! [A_1,C_1,B] :
          ( hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),C_1)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),B),C_1)))
         => hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),A_1),B)) ) ) ).

fof(fact_88_add__mono,axiom,
    ! [X_a] :
      ( ordere779506340up_add(X_a)
     => ! [C_1,D,A_1,B] :
          ( hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),A_1),B))
         => ( hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),C_1),D))
           => hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),C_1)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),B),D))) ) ) ) ).

fof(fact_89_add__left__mono,axiom,
    ! [X_a] :
      ( ordere779506340up_add(X_a)
     => ! [C_1,A_1,B] :
          ( hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),A_1),B))
         => hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),C_1),A_1)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),C_1),B))) ) ) ).

fof(fact_90_add__right__mono,axiom,
    ! [X_a] :
      ( ordere779506340up_add(X_a)
     => ! [C_1,A_1,B] :
          ( hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),A_1),B))
         => hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),A_1),C_1)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),B),C_1))) ) ) ).

fof(fact_91_add__le__cancel__left,axiom,
    ! [X_a] :
      ( ordere236663937imp_le(X_a)
     => ! [C,Aa,Ba] :
          ( hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),C),Aa)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),C),Ba)))
        <=> hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),Aa),Ba)) ) ) ).

fof(fact_92_add__le__cancel__right,axiom,
    ! [X_a] :
      ( ordere236663937imp_le(X_a)
     => ! [Aa,C,Ba] :
          ( hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),Aa),C)),hAPP(X_a,X_a,hAPP(X_a,fun(X_a,X_a),plus_plus(X_a),Ba),C)))
        <=> hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),Aa),Ba)) ) ) ).

fof(fact_93_order__refl,axiom,
    ! [X_a] :
      ( preorder(X_a)
     => ! [X_1] : hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),X_1),X_1)) ) ).

fof(fact_94_linorder__le__cases,axiom,
    ! [X_a] :
      ( linorder(X_a)
     => ! [X_1,Y] :
          ( ~ hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),X_1),Y))
         => hBOOL(hAPP(X_a,bool,hAPP(X_a,fun(X_a,bool),ord_less_eq(X_a),Y),X_1)) ) ) ).

fof(fact_95_zle__refl,axiom,
    ! [W] : hBOOL(hAPP(int,bool,hAPP(int,fun(int,bool),ord_less_eq(int),W),W)) ).

fof(fact_96_zle__linear,axiom,
    ! [Z,W] :
      ( hBOOL(hAPP(int,bool,hAPP(int,fun(int,bool),ord_less_eq(int),Z),W))
      | hBOOL(hAPP(int,bool,hAPP(int,fun(int,bool),ord_less_eq(int),W),Z)) ) ).

fof(fact_97_zle__trans,axiom,
    ! [K,I,J] :
      ( hBOOL(hAPP(int,bool,hAPP(int,fun(int,bool),ord_less_eq(int),I),J))
     => ( hBOOL(hAPP(int,bool,hAPP(int,fun(int,bool),ord_less_eq(int),J),K))
       => hBOOL(hAPP(int,bool,hAPP(int,fun(int,bool),ord_less_eq(int),I),K)) ) ) ).

fof(fact_98_zle__antisym,axiom,
    ! [Z,W] :
      ( hBOOL(hAPP(int,bool,hAPP(int,fun(int,bool),ord_less_eq(int),Z),W))
     => ( hBOOL(hAPP(int,bool,hAPP(int,fun(int,bool),ord_less_eq(int),W),Z))
       => Z = W ) ) ).

fof(fact_99_le__fun__def,axiom,
    ! [X_a,X_b] :
      ( ord(X_b)
     => ! [F,G] :
          ( hBOOL(hAPP(fun(X_a,X_b),bool,hAPP(fun(X_a,X_b),fun(fun(X_a,X_b),bool),ord_less_eq(fun(X_a,X_b)),F),G))
        <=> ! [X] : hBOOL(hAPP(X_b,bool,hAPP(X_b,fun(X_b,bool),ord_less_eq(X_b),hAPP(X_a,X_b,F,X)),hAPP(X_a,X_b,G,X))) ) ) ).

%----Arities (25)
fof(arity_fun___Orderings_Opreorder,axiom,
    ! [T_2,T_1] :
      ( preorder(T_1)
     => preorder(fun(T_2,T_1)) ) ).

fof(arity_fun___Orderings_Oord,axiom,
    ! [T_2,T_1] :
      ( ord(T_1)
     => ord(fun(T_2,T_1)) ) ).

fof(arity_fun___Groups_Ominus,axiom,
    ! [T_2,T_1] :
      ( minus(T_1)
     => minus(fun(T_2,T_1)) ) ).

fof(arity_Int_Oint___Semiring__Normalization_Ocomm__semiring__1__cancel__crossproduc,axiom,
    semiri456707255roduct(int) ).

fof(arity_Int_Oint___Groups_Oordered__ab__semigroup__add__imp__le,axiom,
    ordere236663937imp_le(int) ).

fof(arity_Int_Oint___Groups_Oordered__ab__semigroup__add,axiom,
    ordere779506340up_add(int) ).

fof(arity_Int_Oint___Groups_Ocancel__ab__semigroup__add,axiom,
    cancel146912293up_add(int) ).

fof(arity_Int_Oint___Groups_Oordered__ab__group__add,axiom,
    ordered_ab_group_add(int) ).

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

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

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

fof(arity_Int_Oint___Rings_Ocomm__semiring__1,axiom,
    comm_semiring_1(int) ).

fof(arity_Int_Oint___Rings_Ocomm__semiring,axiom,
    comm_semiring(int) ).

fof(arity_Int_Oint___Groups_Oab__group__add,axiom,
    ab_group_add(int) ).

fof(arity_Int_Oint___Rings_Oordered__ring,axiom,
    ordered_ring(int) ).

fof(arity_Int_Oint___Orderings_Opreorder,axiom,
    preorder(int) ).

fof(arity_Int_Oint___Orderings_Olinorder,axiom,
    linorder(int) ).

fof(arity_Int_Oint___Groups_Ogroup__add,axiom,
    group_add(int) ).

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

fof(arity_Int_Oint___Orderings_Oord,axiom,
    ord(int) ).

fof(arity_Int_Oint___Groups_Ominus,axiom,
    minus(int) ).

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

fof(arity_HOL_Obool___Orderings_Opreorder,axiom,
    preorder(bool) ).

fof(arity_HOL_Obool___Orderings_Oord,axiom,
    ord(bool) ).

fof(arity_HOL_Obool___Groups_Ominus,axiom,
    minus(bool) ).

%----Helper facts (1)
fof(help_ti_idem,axiom,
    ! [T,A] : ti(T,ti(T,A)) = ti(T,A) ).

%----Conjectures (1)
fof(conj_0,conjecture,
    hAPP(int,int,hAPP(int,fun(int,int),times_times(int),hAPP(product_prod(int,int),int,twoSqu930276342sum2sq,hAPP(int,product_prod(int,int),hAPP(int,fun(int,product_prod(int,int)),product_Pair(int,int),a),b))),hAPP(product_prod(int,int),int,twoSqu930276342sum2sq,hAPP(int,product_prod(int,int),hAPP(int,fun(int,product_prod(int,int)),product_Pair(int,int),p),q))) = hAPP(product_prod(int,int),int,twoSqu930276342sum2sq,hAPP(int,product_prod(int,int),hAPP(int,fun(int,product_prod(int,int)),product_Pair(int,int),hAPP(int,int,hAPP(int,fun(int,int),plus_plus(int),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),a),p)),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),b),q))),hAPP(int,int,hAPP(int,fun(int,int),minus_minus(int),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),a),q)),hAPP(int,int,hAPP(int,fun(int,int),times_times(int),b),p)))) ).

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