let n be 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 ( R is bounded_above & upper_bound R in R & R is bounded_below & lower_bound R in R )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 )set x = the
Element of
R;
reconsider x = the
Element of
R as
Real ;
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:31;
then
card (R \ {x}) = (card R) - (card {x})
by CARD_2:44;
then A7:
card X =
(n + 1) - 1
by A3, CARD_1:30
.=
n
;
then A8:
upper_bound X in X
by A1, A6, CARD_1:27;
A11:
lower_bound X in X
by A1, A6, A7, CARD_1:27;
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, Def1;
( 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, Def2;
verum end; end; end;
hence
( R is bounded_above & upper_bound R in R & R is bounded_below & lower_bound R in R )
; verum