TPTP Problem File: SWW490_5.p
View Solutions
- Solve Problem
%------------------------------------------------------------------------------
% File : SWW490_5 : TPTP v9.0.0. Released v6.0.0.
% Domain : Software Verification
% Problem : Fundamental Theorem of Algebra line 128
% Version : Especial.
% English :
% Refs : [BN10] Boehme & Nipkow (2010), Sledgehammer: Judgement Day
% : [Bla13] Blanchette (2011), Email to Geoff Sutcliffe
% Source : [Bla13]
% Names : fta_128 [Bla13]
% Status : Theorem
% Rating : 0.33 v7.4.0, 0.50 v7.1.0, 0.67 v6.4.0
% Syntax : Number of formulae : 178 ( 29 unt; 43 typ; 0 def)
% Number of atoms : 295 ( 153 equ)
% Maximal formula atoms : 5 ( 1 avg)
% Number of connectives : 185 ( 25 ~; 5 |; 9 &)
% ( 20 <=>; 126 =>; 0 <=; 0 <~>)
% Maximal formula depth : 10 ( 5 avg)
% Maximal term depth : 6 ( 2 avg)
% Number of types : 4 ( 3 usr)
% Number of type conns : 40 ( 22 >; 18 *; 0 +; 0 <<)
% Number of predicates : 16 ( 15 usr; 0 prp; 1-2 aty)
% Number of functors : 25 ( 25 usr; 3 con; 0-5 aty)
% Number of variables : 348 ( 312 !; 1 ?; 348 :)
% ( 35 !>; 0 ?*; 0 @-; 0 @+)
% SPC : TF1_THM_EQU_NAR
% Comments : This file was generated by Isabelle (most likely Sledgehammer)
% 2011-12-13 16:15:37
%------------------------------------------------------------------------------
%----Should-be-implicit typings (5)
tff(ty_t_a,type,
a: $tType ).
tff(ty_tc_HOL_Obool,type,
bool: $tType ).
tff(ty_tc_Nat_Onat,type,
nat: $tType ).
tff(ty_tc_Polynomial_Opoly,type,
poly: $tType > $tType ).
tff(ty_tc_fun,type,
fun: ( $tType * $tType ) > $tType ).
%----Explicit typings (38)
tff(sy_cl_Groups_Ocancel__comm__monoid__add,type,
cancel1352612707id_add:
!>[A: $tType] : $o ).
tff(sy_cl_Rings_Olinordered__idom,type,
linordered_idom:
!>[A: $tType] : $o ).
tff(sy_cl_Rings_Oidom,type,
idom:
!>[A: $tType] : $o ).
tff(sy_cl_Groups_Ozero,type,
zero:
!>[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__add,type,
monoid_add:
!>[A: $tType] : $o ).
tff(sy_cl_Rings_Ocomm__semiring__0,type,
comm_semiring_0:
!>[A: $tType] : $o ).
tff(sy_cl_Rings_Ocomm__semiring__1,type,
comm_semiring_1:
!>[A: $tType] : $o ).
tff(sy_cl_Groups_Ocomm__monoid__add,type,
comm_monoid_add:
!>[A: $tType] : $o ).
tff(sy_cl_Groups_Oab__semigroup__add,type,
ab_semigroup_add:
!>[A: $tType] : $o ).
tff(sy_cl_Groups_Ocancel__semigroup__add,type,
cancel_semigroup_add:
!>[A: $tType] : $o ).
tff(sy_cl_Groups_Ocancel__ab__semigroup__add,type,
cancel146912293up_add:
!>[A: $tType] : $o ).
tff(sy_cl_Groups_Olinordered__ab__group__add,type,
linord219039673up_add:
!>[A: $tType] : $o ).
tff(sy_c_Fundamental__Theorem__Algebra__Mirabelle__jmqnahvvas_Ooffset__poly,type,
fundam296178794t_poly:
!>[A: $tType] : ( ( poly(A) * A ) > poly(A) ) ).
tff(sy_c_Groups_Oplus__class_Oplus,type,
plus_plus:
!>[A: $tType] : ( ( A * A ) > A ) ).
tff(sy_c_Groups_Ozero__class_Ozero,type,
zero_zero:
!>[A: $tType] : A ).
tff(sy_c_If,type,
if:
!>[A: $tType] : ( ( bool * A * A ) > A ) ).
tff(sy_c_Nat_OSuc,type,
suc: nat > nat ).
tff(sy_c_Nat_Onat_Onat__case,type,
nat_case:
!>[T: $tType] : ( ( T * fun(nat,T) ) > fun(nat,T) ) ).
tff(sy_c_Nat_Osemiring__1__class_Oof__nat__aux,type,
semiri532925092at_aux:
!>[A: $tType] : ( ( fun(A,A) * nat * A ) > A ) ).
tff(sy_c_Polynomial_OAbs__poly,type,
abs_poly:
!>[A: $tType] : ( fun(nat,A) > poly(A) ) ).
tff(sy_c_Polynomial_Ocoeff,type,
coeff:
!>[A: $tType] : ( poly(A) > fun(nat,A) ) ).
tff(sy_c_Polynomial_Odegree,type,
degree:
!>[A: $tType] : ( poly(A) > nat ) ).
tff(sy_c_Polynomial_Omonom,type,
monom:
!>[A: $tType] : ( ( A * nat ) > poly(A) ) ).
tff(sy_c_Polynomial_Oorder,type,
order:
!>[A: $tType] : ( ( A * poly(A) ) > nat ) ).
tff(sy_c_Polynomial_OpCons,type,
pCons:
!>[A: $tType] : ( ( A * poly(A) ) > poly(A) ) ).
tff(sy_c_Polynomial_Opcompose,type,
pcompose:
!>[A: $tType] : ( ( poly(A) * poly(A) ) > poly(A) ) ).
tff(sy_c_Polynomial_Opoly,type,
poly1:
!>[A: $tType] : ( poly(A) > fun(A,A) ) ).
tff(sy_c_Polynomial_Opoly__rec,type,
poly_rec:
!>[B: $tType,A: $tType] : ( ( B * fun(A,fun(poly(A),fun(B,B))) * poly(A) ) > B ) ).
tff(sy_c_Polynomial_Osmult,type,
smult:
!>[A: $tType] : ( ( A * poly(A) ) > poly(A) ) ).
tff(sy_c_Polynomial_Osynthetic__div,type,
synthetic_div:
!>[A: $tType] : ( ( poly(A) * A ) > poly(A) ) ).
tff(sy_c_aa,type,
aa:
!>[A: $tType,B: $tType] : ( ( fun(A,B) * A ) > B ) ).
tff(sy_c_fFalse,type,
fFalse: bool ).
tff(sy_c_fTrue,type,
fTrue: bool ).
tff(sy_c_fequal,type,
fequal:
!>[A: $tType] : ( ( A * A ) > bool ) ).
tff(sy_c_pp,type,
pp: bool > $o ).
tff(sy_v_h,type,
h: a ).
%----Relevant facts (98)
tff(fact_0_offset__poly__0,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> ! [H: A] : ( fundam296178794t_poly(A,zero_zero(poly(A)),H) = zero_zero(poly(A)) ) ) ).
tff(fact_1_offset__poly__eq__0__iff,axiom,
! [B: $tType] :
( comm_semiring_0(B)
=> ! [Ha: B,Pa: poly(B)] :
( ( fundam296178794t_poly(B,Pa,Ha) = zero_zero(poly(B)) )
<=> ( Pa = zero_zero(poly(B)) ) ) ) ).
tff(fact_2_zero__reorient,axiom,
! [B: $tType] :
( zero(B)
=> ! [X1: B] :
( ( zero_zero(B) = X1 )
<=> ( X1 = zero_zero(B) ) ) ) ).
tff(fact_3_leading__coeff__0__iff,axiom,
! [B: $tType] :
( zero(B)
=> ! [Pa: poly(B)] :
( ( aa(nat,B,coeff(B,Pa),degree(B,Pa)) = zero_zero(B) )
<=> ( Pa = zero_zero(poly(B)) ) ) ) ).
tff(fact_4_offset__poly__single,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> ! [H: A,A1: A] : ( fundam296178794t_poly(A,pCons(A,A1,zero_zero(poly(A))),H) = pCons(A,A1,zero_zero(poly(A))) ) ) ).
tff(fact_5_poly__rec__0,axiom,
! [C1: $tType,B: $tType] :
( zero(C1)
=> ! [Z: B,F: fun(C1,fun(poly(C1),fun(B,B)))] :
( ( aa(B,B,aa(poly(C1),fun(B,B),aa(C1,fun(poly(C1),fun(B,B)),F,zero_zero(C1)),zero_zero(poly(C1))),Z) = Z )
=> ( poly_rec(B,C1,Z,F,zero_zero(poly(C1))) = Z ) ) ) ).
tff(fact_6_leading__coeff__neq__0,axiom,
! [A: $tType] :
( zero(A)
=> ! [P1: poly(A)] :
( ( P1 != zero_zero(poly(A)) )
=> ( aa(nat,A,coeff(A,P1),degree(A,P1)) != zero_zero(A) ) ) ) ).
tff(fact_7_monom__eq__0,axiom,
! [A: $tType] :
( zero(A)
=> ! [N: nat] : ( monom(A,zero_zero(A),N) = zero_zero(poly(A)) ) ) ).
tff(fact_8_monom__eq__0__iff,axiom,
! [B: $tType] :
( zero(B)
=> ! [N1: nat,A2: B] :
( ( monom(B,A2,N1) = zero_zero(poly(B)) )
<=> ( A2 = zero_zero(B) ) ) ) ).
tff(fact_9_degree__0,axiom,
! [A: $tType] :
( zero(A)
=> ( degree(A,zero_zero(poly(A))) = zero_zero(nat) ) ) ).
tff(fact_10_poly__0,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> ! [X: A] : ( aa(A,A,poly1(A,zero_zero(poly(A))),X) = zero_zero(A) ) ) ).
tff(fact_11_degree__monom__eq,axiom,
! [A: $tType] :
( zero(A)
=> ! [N: nat,A1: A] :
( ( A1 != zero_zero(A) )
=> ( degree(A,monom(A,A1,N)) = N ) ) ) ).
tff(fact_12_pcompose__0,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> ! [Q: poly(A)] : ( pcompose(A,zero_zero(poly(A)),Q) = zero_zero(poly(A)) ) ) ).
tff(fact_13_pCons__eq__iff,axiom,
! [B: $tType] :
( zero(B)
=> ! [Q2: poly(B),B2: B,Pa: poly(B),A2: B] :
( ( pCons(B,A2,Pa) = pCons(B,B2,Q2) )
<=> ( ( A2 = B2 )
& ( Pa = Q2 ) ) ) ) ).
tff(fact_14_monom__eq__iff,axiom,
! [B: $tType] :
( zero(B)
=> ! [B2: B,N1: nat,A2: B] :
( ( monom(B,A2,N1) = monom(B,B2,N1) )
<=> ( A2 = B2 ) ) ) ).
tff(fact_15_pCons__eq__0__iff,axiom,
! [B: $tType] :
( zero(B)
=> ! [Pa: poly(B),A2: B] :
( ( pCons(B,A2,Pa) = zero_zero(poly(B)) )
<=> ( ( A2 = zero_zero(B) )
& ( Pa = zero_zero(poly(B)) ) ) ) ) ).
tff(fact_16_pCons__0__0,axiom,
! [A: $tType] :
( zero(A)
=> ( pCons(A,zero_zero(A),zero_zero(poly(A))) = zero_zero(poly(A)) ) ) ).
tff(fact_17_coeff__0,axiom,
! [A: $tType] :
( zero(A)
=> ! [N: nat] : ( aa(nat,A,coeff(A,zero_zero(poly(A))),N) = zero_zero(A) ) ) ).
tff(fact_18_coeff__monom,axiom,
! [A: $tType] :
( zero(A)
=> ! [A1: A,N: nat,M: nat] :
( ( ( M = N )
=> ( aa(nat,A,coeff(A,monom(A,A1,M)),N) = A1 ) )
& ( ( M != N )
=> ( aa(nat,A,coeff(A,monom(A,A1,M)),N) = zero_zero(A) ) ) ) ) ).
tff(fact_19_monom__0,axiom,
! [A: $tType] :
( zero(A)
=> ! [A1: A] : ( monom(A,A1,zero_zero(nat)) = pCons(A,A1,zero_zero(poly(A))) ) ) ).
tff(fact_20_expand__poly__eq,axiom,
! [B: $tType] :
( zero(B)
=> ! [Q2: poly(B),Pa: poly(B)] :
( ( Pa = Q2 )
<=> ! [N3: nat] : ( aa(nat,B,coeff(B,Pa),N3) = aa(nat,B,coeff(B,Q2),N3) ) ) ) ).
tff(fact_21_poly__eq__iff,axiom,
! [B: $tType] :
( ( ring_char_0(B)
& idom(B) )
=> ! [Q2: poly(B),Pa: poly(B)] :
( ( poly1(B,Pa) = poly1(B,Q2) )
<=> ( Pa = Q2 ) ) ) ).
tff(fact_22_coeff__inject,axiom,
! [B: $tType] :
( zero(B)
=> ! [Y1: poly(B),X1: poly(B)] :
( ( coeff(B,X1) = coeff(B,Y1) )
<=> ( X1 = Y1 ) ) ) ).
tff(fact_23_coeff__pCons__0,axiom,
! [A: $tType] :
( zero(A)
=> ! [P1: poly(A),A1: A] : ( aa(nat,A,coeff(A,pCons(A,A1,P1)),zero_zero(nat)) = A1 ) ) ).
tff(fact_24_poly__pcompose,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> ! [X: A,Q: poly(A),P1: poly(A)] : ( aa(A,A,poly1(A,pcompose(A,P1,Q)),X) = aa(A,A,poly1(A,P1),aa(A,A,poly1(A,Q),X)) ) ) ).
tff(fact_25_poly__rec_Osimps,axiom,
! [B: $tType,C1: $tType] :
( zero(C1)
=> ! [Pa: poly(C1),A2: C1,F: fun(C1,fun(poly(C1),fun(B,B))),Z: B] : ( poly_rec(B,C1,Z,F,pCons(C1,A2,Pa)) = aa(B,B,aa(poly(C1),fun(B,B),aa(C1,fun(poly(C1),fun(B,B)),F,A2),Pa),if(B,fequal(poly(C1),Pa,zero_zero(poly(C1))),Z,poly_rec(B,C1,Z,F,Pa))) ) ) ).
tff(fact_26_poly__zero,axiom,
! [B: $tType] :
( ( ring_char_0(B)
& idom(B) )
=> ! [Pa: poly(B)] :
( ( poly1(B,Pa) = poly1(B,zero_zero(poly(B))) )
<=> ( Pa = zero_zero(poly(B)) ) ) ) ).
tff(fact_27_degree__pCons__0,axiom,
! [A: $tType] :
( zero(A)
=> ! [A1: A] : ( degree(A,pCons(A,A1,zero_zero(poly(A)))) = zero_zero(nat) ) ) ).
tff(fact_28_poly__rec__pCons,axiom,
! [B: $tType,C1: $tType] :
( zero(C1)
=> ! [Pa: poly(C1),A2: C1,Z: B,F: fun(C1,fun(poly(C1),fun(B,B)))] :
( ( aa(B,B,aa(poly(C1),fun(B,B),aa(C1,fun(poly(C1),fun(B,B)),F,zero_zero(C1)),zero_zero(poly(C1))),Z) = Z )
=> ( poly_rec(B,C1,Z,F,pCons(C1,A2,Pa)) = aa(B,B,aa(poly(C1),fun(B,B),aa(C1,fun(poly(C1),fun(B,B)),F,A2),Pa),poly_rec(B,C1,Z,F,Pa)) ) ) ) ).
tff(fact_29_pCons__induct,axiom,
! [B: $tType] :
( zero(B)
=> ! [Pa: poly(B),P2: fun(poly(B),bool)] :
( pp(aa(poly(B),bool,P2,zero_zero(poly(B))))
=> ( ! [A3: B,P3: poly(B)] :
( pp(aa(poly(B),bool,P2,P3))
=> pp(aa(poly(B),bool,P2,pCons(B,A3,P3))) )
=> pp(aa(poly(B),bool,P2,Pa)) ) ) ) ).
tff(fact_30_order__root,axiom,
! [B: $tType] :
( idom(B)
=> ! [A2: B,Pa: poly(B)] :
( ( aa(B,B,poly1(B,Pa),A2) = zero_zero(B) )
<=> ( ( Pa = zero_zero(poly(B)) )
| ( order(B,A2,Pa) != zero_zero(nat) ) ) ) ) ).
tff(fact_31_synthetic__div__pCons,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> ! [C: A,P1: poly(A),A1: A] : ( synthetic_div(A,pCons(A,A1,P1),C) = pCons(A,aa(A,A,poly1(A,P1),C),synthetic_div(A,P1,C)) ) ) ).
tff(fact_32_synthetic__div__eq__0__iff,axiom,
! [B: $tType] :
( comm_semiring_0(B)
=> ! [C2: B,Pa: poly(B)] :
( ( synthetic_div(B,Pa,C2) = zero_zero(poly(B)) )
<=> ( degree(B,Pa) = zero_zero(nat) ) ) ) ).
tff(fact_33_degree__pCons__eq__if,axiom,
! [A: $tType] :
( zero(A)
=> ! [A1: A,P1: poly(A)] :
( ( ( P1 = zero_zero(poly(A)) )
=> ( degree(A,pCons(A,A1,P1)) = zero_zero(nat) ) )
& ( ( P1 != zero_zero(poly(A)) )
=> ( degree(A,pCons(A,A1,P1)) = suc(degree(A,P1)) ) ) ) ) ).
tff(fact_34_poly__ext,axiom,
! [A: $tType] :
( zero(A)
=> ! [Q: poly(A),P1: poly(A)] :
( ! [N2: nat] : ( aa(nat,A,coeff(A,P1),N2) = aa(nat,A,coeff(A,Q),N2) )
=> ( P1 = Q ) ) ) ).
tff(fact_35_pCons__cases,axiom,
! [A: $tType] :
( zero(A)
=> ! [P1: poly(A)] :
~ ! [A3: A,Q1: poly(A)] : ( P1 != pCons(A,A3,Q1) ) ) ).
tff(fact_36_coeff__pCons,axiom,
! [B: $tType] :
( zero(B)
=> ! [Pa: poly(B),A2: B] : ( coeff(B,pCons(B,A2,Pa)) = nat_case(B,A2,coeff(B,Pa)) ) ) ).
tff(fact_37_degree__smult__eq,axiom,
! [A: $tType] :
( idom(A)
=> ! [P1: poly(A),A1: A] :
( ( ( A1 = zero_zero(A) )
=> ( degree(A,smult(A,A1,P1)) = zero_zero(nat) ) )
& ( ( A1 != zero_zero(A) )
=> ( degree(A,smult(A,A1,P1)) = degree(A,P1) ) ) ) ) ).
tff(fact_38_smult__0__right,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> ! [A1: A] : ( smult(A,A1,zero_zero(poly(A))) = zero_zero(poly(A)) ) ) ).
tff(fact_39_synthetic__div__0,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> ! [C: A] : ( synthetic_div(A,zero_zero(poly(A)),C) = zero_zero(poly(A)) ) ) ).
tff(fact_40_smult__0__left,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> ! [P1: poly(A)] : ( smult(A,zero_zero(A),P1) = zero_zero(poly(A)) ) ) ).
tff(fact_41_smult__eq__0__iff,axiom,
! [B: $tType] :
( idom(B)
=> ! [Pa: poly(B),A2: B] :
( ( smult(B,A2,Pa) = zero_zero(poly(B)) )
<=> ( ( A2 = zero_zero(B) )
| ( Pa = zero_zero(poly(B)) ) ) ) ) ).
tff(fact_42_coeff__pCons__Suc,axiom,
! [A: $tType] :
( zero(A)
=> ! [N: nat,P1: poly(A),A1: A] : ( aa(nat,A,coeff(A,pCons(A,A1,P1)),suc(N)) = aa(nat,A,coeff(A,P1),N) ) ) ).
tff(fact_43_synthetic__div__unique__lemma,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> ! [A1: A,P1: poly(A),C: A] :
( ( smult(A,C,P1) = pCons(A,A1,P1) )
=> ( P1 = zero_zero(poly(A)) ) ) ) ).
tff(fact_44_degree__pCons__eq,axiom,
! [A: $tType] :
( zero(A)
=> ! [A1: A,P1: poly(A)] :
( ( P1 != zero_zero(poly(A)) )
=> ( degree(A,pCons(A,A1,P1)) = suc(degree(A,P1)) ) ) ) ).
tff(fact_45_monom__Suc,axiom,
! [A: $tType] :
( zero(A)
=> ! [N: nat,A1: A] : ( monom(A,A1,suc(N)) = pCons(A,zero_zero(A),monom(A,A1,N)) ) ) ).
tff(fact_46_nat_Oinject,axiom,
! [Nat4: nat,Nat3: nat] :
( ( suc(Nat3) = suc(Nat4) )
<=> ( Nat3 = Nat4 ) ) ).
tff(fact_47_nat__case__Suc,axiom,
! [B: $tType,Nat3: nat,F2: fun(nat,B),F1: B] : ( aa(nat,B,nat_case(B,F1,F2),suc(Nat3)) = aa(nat,B,F2,Nat3) ) ).
tff(fact_48_nat__case__0,axiom,
! [B: $tType,F2: fun(nat,B),F1: B] : ( aa(nat,B,nat_case(B,F1,F2),zero_zero(nat)) = F1 ) ).
tff(fact_49_Zero__not__Suc,axiom,
! [M: nat] : ( zero_zero(nat) != suc(M) ) ).
tff(fact_50_n__not__Suc__n,axiom,
! [N: nat] : ( N != suc(N) ) ).
tff(fact_51_Suc__n__not__n,axiom,
! [N: nat] : ( suc(N) != N ) ).
tff(fact_52_Suc__inject,axiom,
! [Y: nat,X: nat] :
( ( suc(X) = suc(Y) )
=> ( X = Y ) ) ).
tff(fact_53_Suc__neq__Zero,axiom,
! [M: nat] : ( suc(M) != zero_zero(nat) ) ).
tff(fact_54_Zero__neq__Suc,axiom,
! [M: nat] : ( zero_zero(nat) != suc(M) ) ).
tff(fact_55_nat_Osimps_I3_J,axiom,
! [Nat2: nat] : ( suc(Nat2) != zero_zero(nat) ) ).
tff(fact_56_Suc__not__Zero,axiom,
! [M: nat] : ( suc(M) != zero_zero(nat) ) ).
tff(fact_57_nat_Osimps_I2_J,axiom,
! [Nat1: nat] : ( zero_zero(nat) != suc(Nat1) ) ).
tff(fact_58_nat_Oexhaust,axiom,
! [Y: nat] :
( ( Y != zero_zero(nat) )
=> ~ ! [Nat: nat] : ( Y != suc(Nat) ) ) ).
tff(fact_59_zero__induct,axiom,
! [K: nat,P2: fun(nat,bool)] :
( pp(aa(nat,bool,P2,K))
=> ( ! [N2: nat] :
( pp(aa(nat,bool,P2,suc(N2)))
=> pp(aa(nat,bool,P2,N2)) )
=> pp(aa(nat,bool,P2,zero_zero(nat))) ) ) ).
tff(fact_60_nat__induct,axiom,
! [N1: nat,P2: fun(nat,bool)] :
( pp(aa(nat,bool,P2,zero_zero(nat)))
=> ( ! [N2: nat] :
( pp(aa(nat,bool,P2,N2))
=> pp(aa(nat,bool,P2,suc(N2))) )
=> pp(aa(nat,bool,P2,N1)) ) ) ).
tff(fact_61_not0__implies__Suc,axiom,
! [N: nat] :
( ( N != zero_zero(nat) )
=> ? [M2: nat] : ( N = suc(M2) ) ) ).
tff(fact_62_of__nat__aux_Osimps_I2_J,axiom,
! [B: $tType] :
( semiring_1(B)
=> ! [I: B,N1: nat,Inc: fun(B,B)] : ( semiri532925092at_aux(B,Inc,suc(N1),I) = semiri532925092at_aux(B,Inc,N1,aa(B,B,Inc,I)) ) ) ).
tff(fact_63_pCons__def,axiom,
! [B: $tType] :
( zero(B)
=> ! [Pa: poly(B),A2: B] : ( pCons(B,A2,Pa) = abs_poly(B,nat_case(B,A2,coeff(B,Pa))) ) ) ).
tff(fact_64_synthetic__div__unique,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> ! [R: A,Q: poly(A),C: A,P1: poly(A)] :
( ( plus_plus(poly(A),P1,smult(A,C,Q)) = pCons(A,R,Q) )
=> ( ( R = aa(A,A,poly1(A,P1),C) )
& ( Q = synthetic_div(A,P1,C) ) ) ) ) ).
tff(fact_65_add__right__cancel,axiom,
! [B: $tType] :
( cancel_semigroup_add(B)
=> ! [C2: B,A2: B,B2: B] :
( ( plus_plus(B,B2,A2) = plus_plus(B,C2,A2) )
<=> ( B2 = C2 ) ) ) ).
tff(fact_66_add__left__cancel,axiom,
! [B: $tType] :
( cancel_semigroup_add(B)
=> ! [C2: B,B2: B,A2: B] :
( ( plus_plus(B,A2,B2) = plus_plus(B,A2,C2) )
<=> ( B2 = C2 ) ) ) ).
tff(fact_67_double__zero__sym,axiom,
! [B: $tType] :
( linord219039673up_add(B)
=> ! [A2: B] :
( ( zero_zero(B) = plus_plus(B,A2,A2) )
<=> ( A2 = zero_zero(B) ) ) ) ).
tff(fact_68_add__pCons,axiom,
! [A: $tType] :
( comm_monoid_add(A)
=> ! [Q: poly(A),B1: A,P1: poly(A),A1: A] : ( plus_plus(poly(A),pCons(A,A1,P1),pCons(A,B1,Q)) = pCons(A,plus_plus(A,A1,B1),plus_plus(poly(A),P1,Q)) ) ) ).
tff(fact_69_coeff__add,axiom,
! [A: $tType] :
( comm_monoid_add(A)
=> ! [N: nat,Q: poly(A),P1: poly(A)] : ( aa(nat,A,coeff(A,plus_plus(poly(A),P1,Q)),N) = plus_plus(A,aa(nat,A,coeff(A,P1),N),aa(nat,A,coeff(A,Q),N)) ) ) ).
tff(fact_70_poly__add,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> ! [X: A,Q: poly(A),P1: poly(A)] : ( aa(A,A,poly1(A,plus_plus(poly(A),P1,Q)),X) = plus_plus(A,aa(A,A,poly1(A,P1),X),aa(A,A,poly1(A,Q),X)) ) ) ).
tff(fact_71_smult__add__left,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> ! [P1: poly(A),B1: A,A1: A] : ( smult(A,plus_plus(A,A1,B1),P1) = plus_plus(poly(A),smult(A,A1,P1),smult(A,B1,P1)) ) ) ).
tff(fact_72_add__0__left,axiom,
! [A: $tType] :
( monoid_add(A)
=> ! [A1: A] : ( plus_plus(A,zero_zero(A),A1) = A1 ) ) ).
tff(fact_73_ext,axiom,
! [C1: $tType,B: $tType,G: fun(B,C1),F: fun(B,C1)] :
( ! [X2: B] : ( aa(B,C1,F,X2) = aa(B,C1,G,X2) )
=> ( F = G ) ) ).
tff(fact_74_add__0,axiom,
! [A: $tType] :
( comm_monoid_add(A)
=> ! [A1: A] : ( plus_plus(A,zero_zero(A),A1) = A1 ) ) ).
tff(fact_75_add__0__right,axiom,
! [A: $tType] :
( monoid_add(A)
=> ! [A1: A] : ( plus_plus(A,A1,zero_zero(A)) = A1 ) ) ).
tff(fact_76_add_Ocomm__neutral,axiom,
! [A: $tType] :
( comm_monoid_add(A)
=> ! [A1: A] : ( plus_plus(A,A1,zero_zero(A)) = A1 ) ) ).
tff(fact_77_add__right__imp__eq,axiom,
! [A: $tType] :
( cancel_semigroup_add(A)
=> ! [C: A,A1: A,B1: A] :
( ( plus_plus(A,B1,A1) = plus_plus(A,C,A1) )
=> ( B1 = C ) ) ) ).
tff(fact_78_add__imp__eq,axiom,
! [A: $tType] :
( cancel146912293up_add(A)
=> ! [C: A,B1: A,A1: A] :
( ( plus_plus(A,A1,B1) = plus_plus(A,A1,C) )
=> ( B1 = C ) ) ) ).
tff(fact_79_add__left__imp__eq,axiom,
! [A: $tType] :
( cancel_semigroup_add(A)
=> ! [C: A,B1: A,A1: A] :
( ( plus_plus(A,A1,B1) = plus_plus(A,A1,C) )
=> ( B1 = C ) ) ) ).
tff(fact_80_add__monom,axiom,
! [A: $tType] :
( comm_monoid_add(A)
=> ! [B1: A,N: nat,A1: A] : ( plus_plus(poly(A),monom(A,A1,N),monom(A,B1,N)) = monom(A,plus_plus(A,A1,B1),N) ) ) ).
tff(fact_81_ab__semigroup__add__class_Oadd__ac_I1_J,axiom,
! [A: $tType] :
( ab_semigroup_add(A)
=> ! [C: A,B1: A,A1: A] : ( plus_plus(A,plus_plus(A,A1,B1),C) = plus_plus(A,A1,plus_plus(A,B1,C)) ) ) ).
tff(fact_82_smult__add__right,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> ! [Q: poly(A),P1: poly(A),A1: A] : ( smult(A,A1,plus_plus(poly(A),P1,Q)) = plus_plus(poly(A),smult(A,A1,P1),smult(A,A1,Q)) ) ) ).
tff(fact_83_add__poly__code_I1_J,axiom,
! [A: $tType] :
( comm_monoid_add(A)
=> ! [Q: poly(A)] : ( plus_plus(poly(A),zero_zero(poly(A)),Q) = Q ) ) ).
tff(fact_84_add__poly__code_I2_J,axiom,
! [A: $tType] :
( comm_monoid_add(A)
=> ! [P1: poly(A)] : ( plus_plus(poly(A),P1,zero_zero(poly(A))) = P1 ) ) ).
tff(fact_85_coeff__inverse,axiom,
! [B: $tType] :
( zero(B)
=> ! [X1: poly(B)] : ( abs_poly(B,coeff(B,X1)) = X1 ) ) ).
tff(fact_86_poly__offset__poly,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> ! [X: A,H: A,P1: poly(A)] : ( aa(A,A,poly1(A,fundam296178794t_poly(A,P1,H)),X) = aa(A,A,poly1(A,P1),plus_plus(A,H,X)) ) ) ).
tff(fact_87_of__nat__aux_Osimps_I1_J,axiom,
! [B: $tType] :
( semiring_1(B)
=> ! [I: B,Inc: fun(B,B)] : ( semiri532925092at_aux(B,Inc,zero_zero(nat),I) = I ) ) ).
tff(fact_88_offset__poly__eq__0__lemma,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> ! [A1: A,P1: poly(A),C: A] :
( ( plus_plus(poly(A),smult(A,C,P1),pCons(A,A1,P1)) = zero_zero(poly(A)) )
=> ( P1 = zero_zero(poly(A)) ) ) ) ).
tff(fact_89_offset__poly__pCons,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> ! [H: A,P1: poly(A),A1: A] : ( fundam296178794t_poly(A,pCons(A,A1,P1),H) = plus_plus(poly(A),smult(A,H,fundam296178794t_poly(A,P1,H)),pCons(A,A1,fundam296178794t_poly(A,P1,H))) ) ) ).
tff(fact_90_synthetic__div__correct,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> ! [C: A,P1: poly(A)] : ( plus_plus(poly(A),P1,smult(A,C,synthetic_div(A,P1,C))) = pCons(A,aa(A,A,poly1(A,P1),C),synthetic_div(A,P1,C)) ) ) ).
tff(fact_91_double__eq__0__iff,axiom,
! [B: $tType] :
( linord219039673up_add(B)
=> ! [A2: B] :
( ( plus_plus(B,A2,A2) = zero_zero(B) )
<=> ( A2 = zero_zero(B) ) ) ) ).
tff(fact_92_comm__semiring__1__class_Onormalizing__semiring__rules_I5_J,axiom,
! [A: $tType] :
( comm_semiring_1(A)
=> ! [A1: A] : ( plus_plus(A,zero_zero(A),A1) = A1 ) ) ).
tff(fact_93_comm__semiring__1__class_Onormalizing__semiring__rules_I6_J,axiom,
! [A: $tType] :
( comm_semiring_1(A)
=> ! [A1: A] : ( plus_plus(A,A1,zero_zero(A)) = A1 ) ) ).
tff(fact_94_add__is__0,axiom,
! [N1: nat,M1: nat] :
( ( plus_plus(nat,M1,N1) = zero_zero(nat) )
<=> ( ( M1 = zero_zero(nat) )
& ( N1 = zero_zero(nat) ) ) ) ).
tff(fact_95_add__Suc__right,axiom,
! [N: nat,M: nat] : ( plus_plus(nat,M,suc(N)) = suc(plus_plus(nat,M,N)) ) ).
tff(fact_96_add__Suc,axiom,
! [N: nat,M: nat] : ( plus_plus(nat,suc(M),N) = suc(plus_plus(nat,M,N)) ) ).
tff(fact_97_plus__nat_Oadd__0,axiom,
! [N: nat] : ( plus_plus(nat,zero_zero(nat),N) = N ) ).
%----Class relationships (4)
tff(clar_Rings_Ocomm__semiring__0__Groups_Oab__semigroup__add,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> ab_semigroup_add(A) ) ).
tff(clar_Rings_Ocomm__semiring__0__Groups_Ocomm__monoid__add,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> comm_monoid_add(A) ) ).
tff(clar_Rings_Ocomm__semiring__0__Groups_Omonoid__add,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> monoid_add(A) ) ).
tff(clar_Rings_Ocomm__semiring__0__Groups_Ozero,axiom,
! [A: $tType] :
( comm_semiring_0(A)
=> zero(A) ) ).
%----Arities (24)
tff(arity_Polynomial_Opoly___Rings_Olinordered__idom,axiom,
! [T_1: $tType] :
( linordered_idom(T_1)
=> linordered_idom(poly(T_1)) ) ).
tff(arity_Polynomial_Opoly___Groups_Ocancel__comm__monoid__add,axiom,
! [T_1: $tType] :
( cancel1352612707id_add(T_1)
=> cancel1352612707id_add(poly(T_1)) ) ).
tff(arity_Nat_Onat___Groups_Ocancel__comm__monoid__add,axiom,
cancel1352612707id_add(nat) ).
tff(arity_Nat_Onat___Groups_Ocancel__ab__semigroup__add,axiom,
cancel146912293up_add(nat) ).
tff(arity_Nat_Onat___Groups_Ocancel__semigroup__add,axiom,
cancel_semigroup_add(nat) ).
tff(arity_Nat_Onat___Groups_Oab__semigroup__add,axiom,
ab_semigroup_add(nat) ).
tff(arity_Nat_Onat___Groups_Ocomm__monoid__add,axiom,
comm_monoid_add(nat) ).
tff(arity_Nat_Onat___Rings_Ocomm__semiring__1,axiom,
comm_semiring_1(nat) ).
tff(arity_Nat_Onat___Rings_Ocomm__semiring__0,axiom,
comm_semiring_0(nat) ).
tff(arity_Nat_Onat___Groups_Omonoid__add,axiom,
monoid_add(nat) ).
tff(arity_Nat_Onat___Rings_Osemiring__1,axiom,
semiring_1(nat) ).
tff(arity_Nat_Onat___Groups_Ozero,axiom,
zero(nat) ).
tff(arity_Polynomial_Opoly___Groups_Olinordered__ab__group__add,axiom,
! [T_1: $tType] :
( linordered_idom(T_1)
=> linord219039673up_add(poly(T_1)) ) ).
tff(arity_Polynomial_Opoly___Groups_Ocancel__ab__semigroup__add,axiom,
! [T_1: $tType] :
( cancel1352612707id_add(T_1)
=> cancel146912293up_add(poly(T_1)) ) ).
tff(arity_Polynomial_Opoly___Groups_Ocancel__semigroup__add,axiom,
! [T_1: $tType] :
( cancel1352612707id_add(T_1)
=> cancel_semigroup_add(poly(T_1)) ) ).
tff(arity_Polynomial_Opoly___Groups_Oab__semigroup__add,axiom,
! [T_1: $tType] :
( comm_monoid_add(T_1)
=> ab_semigroup_add(poly(T_1)) ) ).
tff(arity_Polynomial_Opoly___Groups_Ocomm__monoid__add,axiom,
! [T_1: $tType] :
( comm_monoid_add(T_1)
=> comm_monoid_add(poly(T_1)) ) ).
tff(arity_Polynomial_Opoly___Rings_Ocomm__semiring__1,axiom,
! [T_1: $tType] :
( comm_semiring_1(T_1)
=> comm_semiring_1(poly(T_1)) ) ).
tff(arity_Polynomial_Opoly___Rings_Ocomm__semiring__0,axiom,
! [T_1: $tType] :
( comm_semiring_0(T_1)
=> comm_semiring_0(poly(T_1)) ) ).
tff(arity_Polynomial_Opoly___Groups_Omonoid__add,axiom,
! [T_1: $tType] :
( comm_monoid_add(T_1)
=> monoid_add(poly(T_1)) ) ).
tff(arity_Polynomial_Opoly___Rings_Osemiring__1,axiom,
! [T_1: $tType] :
( comm_semiring_1(T_1)
=> semiring_1(poly(T_1)) ) ).
tff(arity_Polynomial_Opoly___Int_Oring__char__0,axiom,
! [T_1: $tType] :
( linordered_idom(T_1)
=> ring_char_0(poly(T_1)) ) ).
tff(arity_Polynomial_Opoly___Groups_Ozero,axiom,
! [T_1: $tType] :
( zero(T_1)
=> zero(poly(T_1)) ) ).
tff(arity_Polynomial_Opoly___Rings_Oidom,axiom,
! [T_1: $tType] :
( idom(T_1)
=> idom(poly(T_1)) ) ).
%----Helper facts (7)
tff(help_If_1_1_T,axiom,
! [A: $tType,Y: A,X: A] : ( if(A,fTrue,X,Y) = X ) ).
tff(help_If_2_1_T,axiom,
! [A: $tType,Y: A,X: A] : ( if(A,fFalse,X,Y) = Y ) ).
tff(help_If_3_1_T,axiom,
! [P: bool] :
( ( P = fTrue )
| ( P = fFalse ) ) ).
tff(help_pp_1_1_U,axiom,
~ pp(fFalse) ).
tff(help_pp_2_1_U,axiom,
pp(fTrue) ).
tff(help_fequal_1_1_T,axiom,
! [A: $tType,Y: A,X: A] :
( ~ pp(fequal(A,X,Y))
| ( X = Y ) ) ).
tff(help_fequal_2_1_T,axiom,
! [A: $tType,Y: A,X: A] :
( ( X != Y )
| pp(fequal(A,X,Y)) ) ).
%----Conjectures (1)
tff(conj_0,conjecture,
degree(a,fundam296178794t_poly(a,zero_zero(poly(a)),h)) = degree(a,zero_zero(poly(a))) ).
%----Type variables (1)
tff(tfree_0,hypothesis,
comm_semiring_0(a) ).
%------------------------------------------------------------------------------