let s be positive Nat; ( ( s = 1 or s = 4 or s >= 6 ) iff ex f being s -element natural-valued positive FinSequence st f is with_sum_of_squares_of_reciprocals_equal_1 )
defpred S1[ Nat] means ex f being $1 -element natural-valued positive FinSequence st f is with_sum_of_squares_of_reciprocals_equal_1 ;
thus
( not S1[s] or s = 1 or s = 4 or s >= 6 )
( ( s = 1 or s = 4 or s >= 6 ) implies ex f being s -element natural-valued positive FinSequence st f is with_sum_of_squares_of_reciprocals_equal_1 )proof
given f being
s -element natural-valued positive FinSequence such that A1:
f is
with_sum_of_squares_of_reciprocals_equal_1
;
( s = 1 or s = 4 or s >= 6 )
A2:
f is
FinSequence of
NAT
by FINSEQ_1:103;
per cases
( s = 1 or s = 4 or s >= 6 or s = 2 or s = 3 or s = 5 )
by Lm27;
suppose
(
s = 1 or
s = 4 or
s >= 6 )
;
( s = 1 or s = 4 or s >= 6 )hence
(
s = 1 or
s = 4 or
s >= 6 )
;
verum end; suppose
s = 3
;
( s = 1 or s = 4 or s >= 6 )then consider a,
b,
c being
Element of
NAT such that A5:
f = <*a,b,c*>
by A2, FINSEQ_2:103;
reconsider a =
a,
b =
b,
c =
c as
positive Nat by A5;
<*a,b,c*> " = <*(a "),(b "),(c ")*>
by NUMBER15:65;
then
(<*a,b,c*> ") ^2 = <*((a ") ^2),((b ") ^2),((c ") ^2)*>
by Th9;
then A6:
Sum ((<*a,b,c*> ") ^2) = (((a ") ^2) + ((b ") ^2)) + ((c ") ^2)
by RVSUM_2:35;
(
a >= 1 &
b >= 1 &
c >= 1 )
by NAT_1:14;
end; suppose
s = 5
;
( s = 1 or s = 4 or s >= 6 )then consider a,
b,
c,
d,
e being
Element of
NAT such that A8:
f = <*a,b,c,d,e*>
by A2, Th6;
reconsider a =
a,
b =
b,
c =
c,
d =
d,
e =
e as
positive Nat by A8;
<*a,b,c,d,e*> " = <*(a "),(b "),(c "),(d "),(e ")*>
by Th16;
then
(<*a,b,c,d,e*> ") ^2 = <*((a ") ^2),((b ") ^2),((c ") ^2),((d ") ^2),((e ") ^2)*>
by Th11;
then A9:
Sum ((<*a,b,c,d,e*> ") ^2) = (((((a ") ^2) + ((b ") ^2)) + ((c ") ^2)) + ((d ") ^2)) + ((e ") ^2)
by Th21;
A10:
(((((a ") ^2) + ((b ") ^2)) + ((c ") ^2)) + ((d ") ^2)) + ((e ") ^2) = (((((a ") ^2) + ((b ") ^2)) + ((c ") ^2)) + ((e ") ^2)) + ((d ") ^2)
;
A11:
(((((a ") ^2) + ((b ") ^2)) + ((c ") ^2)) + ((d ") ^2)) + ((e ") ^2) = (((((b ") ^2) + ((c ") ^2)) + ((d ") ^2)) + ((e ") ^2)) + ((a ") ^2)
;
A12:
(((((a ") ^2) + ((b ") ^2)) + ((c ") ^2)) + ((d ") ^2)) + ((e ") ^2) = (((((a ") ^2) + ((b ") ^2)) + ((d ") ^2)) + ((e ") ^2)) + ((c ") ^2)
;
(
a >= 1 &
b >= 1 &
c >= 1 &
d >= 1 &
e >= 1 )
by NAT_1:14;
per cases then
( a = 1 or b = 1 or c = 1 or d = 1 or e = 1 or ( a > 1 & b > 1 & c > 1 & d > 1 & e > 1 ) )
by XXREAL_0:1;
suppose that A13:
a > 1
and A14:
b > 1
and A15:
c > 1
and A16:
d > 1
and A17:
e > 1
;
( s = 1 or s = 4 or s >= 6 )A18:
b >= 1
+ 1
by A14, NAT_1:13;
A19:
c >= 1
+ 1
by A15, NAT_1:13;
A20:
d >= 1
+ 1
by A16, NAT_1:13;
A21:
e >= 1
+ 1
by A17, NAT_1:13;
A22:
(a ") ^2 <= 1
/ 4
by A13, Lm29;
A23:
(b ") ^2 <= 1
/ 4
by A14, Lm29;
A24:
(c ") ^2 <= 1
/ 4
by A15, Lm29;
A25:
(d ") ^2 <= 1
/ 4
by A16, Lm29;
A26:
(e ") ^2 <= 1
/ 4
by A17, Lm29;
a >= 1
+ 1
by A13, NAT_1:13;
per cases then
( ( a = 2 & b = 2 & c = 2 & d = 2 & e = 2 ) or a > 2 or ( a = 2 & b > 2 ) or ( a = 2 & b = 2 & c > 2 ) or ( a = 2 & b = 2 & c = 2 & d > 2 & e = 2 ) or ( a = 2 & b = 2 & c = 2 & d > 2 & e > 2 ) or ( a = 2 & b = 2 & c = 2 & d = 2 & e > 2 ) )
by A18, A19, A20, A21, XXREAL_0:1;
suppose
(
a = 2 &
b = 2 &
c = 2 &
d = 2 &
e = 2 )
;
( s = 1 or s = 4 or s >= 6 )hence
(
s = 1 or
s = 4 or
s >= 6 )
by A1, A8, A9;
verum end; suppose that A35:
a = 2
and A36:
b > 2
;
( s = 1 or s = 4 or s >= 6 )end; suppose that A43:
(
a = 2 &
b = 2 )
and A44:
c > 2
;
( s = 1 or s = 4 or s >= 6 )end; suppose
(
a = 2 &
b = 2 &
c = 2 &
d > 2 &
e = 2 )
;
( s = 1 or s = 4 or s >= 6 )end; suppose that A48:
(
a = 2 &
b = 2 &
c = 2 )
and A49:
(
d > 2 &
e > 2 )
;
( s = 1 or s = 4 or s >= 6 )end; suppose
(
a = 2 &
b = 2 &
c = 2 &
d = 2 &
e > 2 )
;
( s = 1 or s = 4 or s >= 6 )end; end; end; end; end; end;
end;
assume
( s = 1 or s = 4 or s >= 6 )
; ex f being s -element natural-valued positive FinSequence st f is with_sum_of_squares_of_reciprocals_equal_1