let n be Element of NAT ; ( S1[n] implies S1[n + 1] )
assume A1:
S1[n]
; S1[n + 1]
let R be finite Subset of REAL ; ( R <> {} & card R = n + 1 implies ( R is bounded_above & upper_bound R in R & R is bounded_below & lower_bound R in R ) )
assume that
A2:
R <> {}
and
A3:
card R = n + 1
; ( R is bounded_above & upper_bound R in R & R is bounded_below & lower_bound R in R )
now per cases
( n = 0 or n <> 0 )
;
suppose A6:
n <> 0
;
( R is bounded_above & upper_bound R in R & R is bounded_below & lower_bound R in R )consider x being
Element of
R;
reconsider x =
x as
Real by A2, TARSKI:def 3;
reconsider X =
R \ {x} as
finite Subset of
REAL ;
set u =
upper_bound X;
set m =
max x,
(upper_bound X);
set l =
lower_bound X;
set mi =
min x,
(lower_bound X);
{x} c= R
by A2, ZFMISC_1:37;
then
card (R \ {x}) = (card R) - (card {x})
by CARD_2:63;
then A7:
card X =
(n + 1) - 1
by A3, CARD_1:50
.=
n
;
then A8:
upper_bound X in X
by A1, A6, CARD_1:47;
A11:
lower_bound X in X
by A1, A6, A7, CARD_1:47;
thus
R is
bounded_above
;
( upper_bound R in R & R is bounded_below & lower_bound R in R )A14:
upper_bound X <= max x,
(upper_bound X)
by XXREAL_0:25;
hence
upper_bound R in R
by A15, A9, SEQ_4:def 4;
( R is bounded_below & lower_bound R in R )thus
R is
bounded_below
;
lower_bound R in RA17:
min x,
(lower_bound X) <= lower_bound X
by XXREAL_0:17;
hence
lower_bound R in R
by A18, A12, SEQ_4:def 5;
verum end; end; end;
hence
( R is bounded_above & upper_bound R in R & R is bounded_below & lower_bound R in R )
; verum