let k, m, n be Nat; for f being Function of (Segm n),(Segm k)
for g being Function of (Segm (n + 1)),(Segm (k + m)) st f is onto & f is "increasing & f = g | n holds
for i, j being Nat st i in rng g & j in rng g & i < j holds
min* (g " {i}) < min* (g " {j})
let f be Function of (Segm n),(Segm k); for g being Function of (Segm (n + 1)),(Segm (k + m)) st f is onto & f is "increasing & f = g | n holds
for i, j being Nat st i in rng g & j in rng g & i < j holds
min* (g " {i}) < min* (g " {j})
let g be Function of (Segm (n + 1)),(Segm (k + m)); ( f is onto & f is "increasing & f = g | n implies for i, j being Nat st i in rng g & j in rng g & i < j holds
min* (g " {i}) < min* (g " {j}) )
assume that
A1:
( f is onto & f is "increasing )
and
A2:
f = g | n
; for i, j being Nat st i in rng g & j in rng g & i < j holds
min* (g " {i}) < min* (g " {j})
A3:
for i being Nat st i < n holds
f . i = g . i
A5:
for l being Nat st l in rng g & not l in rng f holds
l = g . n
proof
let l be
Nat;
( l in rng g & not l in rng f implies l = g . n )
assume that A6:
l in rng g
and A7:
not
l in rng f
;
l = g . n
consider x being
object such that A8:
x in dom g
and A9:
g . x = l
by A6, FUNCT_1:def 3;
assume A10:
l <> g . n
;
contradiction
dom g = n + 1
by A6, FUNCT_2:def 1;
then reconsider x =
x as
Element of
NAT by A8;
x < n + 1
by A8, NAT_1:44;
then
x <= n
by NAT_1:13;
then A11:
x < n
by A10, A9, XXREAL_0:1;
then A12:
x in Segm n
by NAT_1:44;
k <> 0
by A1, A11;
then A13:
dom f = n
by FUNCT_2:def 1;
f . x = g . x
by A3, A11;
hence
contradiction
by A7, A9, A13, A12, FUNCT_1:def 3;
verum
end;
A14:
for l being Nat st l in rng g & not l in rng f holds
min* (g " {l}) = n
proof
A15:
n < n + 1
by NAT_1:13;
let l be
Nat;
( l in rng g & not l in rng f implies min* (g " {l}) = n )
assume that A16:
l in rng g
and A17:
not
l in rng f
;
min* (g " {l}) = n
A18:
l in {l}
by TARSKI:def 1;
dom g = n + 1
by A16, FUNCT_2:def 1;
then A19:
n in dom g
by A15, NAT_1:44;
g . n = l
by A5, A16, A17;
then
n in g " {l}
by A19, A18, FUNCT_1:def 7;
then
min* (g " {l}) in g " {l}
by NAT_1:def 1;
then A20:
g . (min* (g " {l})) in {l}
by FUNCT_1:def 7;
assume A21:
min* (g " {l}) <> n
;
contradiction
min* (g " {l}) <= (n + 1) - 1
by Th16;
then A22:
min* (g " {l}) < n
by A21, XXREAL_0:1;
then
k <> 0
by A1;
then A23:
dom f = n
by FUNCT_2:def 1;
min* (g " {l}) in Segm n
by A22, NAT_1:44;
then A24:
f . (min* (g " {l})) in rng f
by A23, FUNCT_1:def 3;
f . (min* (g " {l})) = g . (min* (g " {l}))
by A3, A22;
hence
contradiction
by A17, A20, A24, TARSKI:def 1;
verum
end;
A25:
for k1 being Element of NAT st k1 in rng f holds
min* (g " {k1}) = min* (f " {k1})
proof
n <= n + 1
by NAT_1:11;
then A26:
Segm n c= Segm (n + 1)
by NAT_1:39;
let k1 be
Element of
NAT ;
( k1 in rng f implies min* (g " {k1}) = min* (f " {k1}) )
assume A27:
k1 in rng f
;
min* (g " {k1}) = min* (f " {k1})
consider x being
object such that A28:
x in dom f
and A29:
f . x = k1
by A27, FUNCT_1:def 3;
A30:
x in n
by A28;
not
Segm k is
empty
by A27;
then
not
k is
zero
;
then
not
k + m is
zero
;
then
not
Segm (k + m) is
empty
;
then A31:
dom g = Segm (n + 1)
by FUNCT_2:def 1;
n is
Subset of
NAT
by Th8;
then reconsider x =
x as
Element of
NAT by A30;
k1 in {k1}
by TARSKI:def 1;
then A32:
x in f " {k1}
by A28, A29, FUNCT_1:def 7;
then A33:
min* (f " {k1}) <= x
by NAT_1:def 1;
A34:
x < n
by A28, NAT_1:44;
then A35:
min* (f " {k1}) < n
by A33, XXREAL_0:2;
A36:
dom f = n
by A27, FUNCT_2:def 1;
min* (f " {k1}) in f " {k1}
by A32, NAT_1:def 1;
then
f . (min* (f " {k1})) in {k1}
by FUNCT_1:def 7;
then A42:
g . (min* (f " {k1})) in {k1}
by A3, A35;
min* (f " {k1}) in n
by A35, NAT_1:44;
then
min* (f " {k1}) in g " {k1}
by A31, A26, A42, FUNCT_1:def 7;
hence
min* (g " {k1}) = min* (f " {k1})
by A37, NAT_1:def 1;
verum
end;
let i, j be Nat; ( i in rng g & j in rng g & i < j implies min* (g " {i}) < min* (g " {j}) )
assume that
A43:
i in rng g
and
A44:
j in rng g
and
A45:
i < j
; min* (g " {i}) < min* (g " {j})
A46:
for l being Nat st l in rng g & not l in rng f holds
l >= k
A48:
( i in NAT & j in NAT )
by ORDINAL1:def 12;
hence
min* (g " {i}) < min* (g " {j})
; verum