let g, p be Real; for h being PartFunc of REAL,REAL st ( h | [.p,g.] is increasing or h | [.p,g.] is decreasing ) holds
h | [.p,g.] is one-to-one
let h be PartFunc of REAL,REAL; ( ( h | [.p,g.] is increasing or h | [.p,g.] is decreasing ) implies h | [.p,g.] is one-to-one )
assume A1:
( h | [.p,g.] is increasing or h | [.p,g.] is decreasing )
; h | [.p,g.] is one-to-one
now h | [.p,g.] is one-to-one per cases
( h | [.p,g.] is increasing or h | [.p,g.] is decreasing )
by A1;
suppose A2:
h | [.p,g.] is
increasing
;
h | [.p,g.] is one-to-one now for p1, p2 being Element of REAL st p1 in dom (h | [.p,g.]) & p2 in dom (h | [.p,g.]) & (h | [.p,g.]) . p1 = (h | [.p,g.]) . p2 holds
p1 = p2let p1,
p2 be
Element of
REAL ;
( p1 in dom (h | [.p,g.]) & p2 in dom (h | [.p,g.]) & (h | [.p,g.]) . p1 = (h | [.p,g.]) . p2 implies p1 = p2 )assume that A3:
p1 in dom (h | [.p,g.])
and A4:
p2 in dom (h | [.p,g.])
and A5:
(h | [.p,g.]) . p1 = (h | [.p,g.]) . p2
;
p1 = p2A6:
(
p1 in [.p,g.] /\ (dom h) &
p2 in [.p,g.] /\ (dom h) )
by A3, A4, RELAT_1:61;
A7:
h . p1 =
(h | [.p,g.]) . p2
by A3, A5, FUNCT_1:47
.=
h . p2
by A4, FUNCT_1:47
;
thus
p1 = p2
verumproof
assume A8:
p1 <> p2
;
contradiction
hence
contradiction
;
verum
end; end; hence
h | [.p,g.] is
one-to-one
;
verum end; suppose A9:
h | [.p,g.] is
decreasing
;
h | [.p,g.] is one-to-one now for p1, p2 being Element of REAL st p1 in dom (h | [.p,g.]) & p2 in dom (h | [.p,g.]) & (h | [.p,g.]) . p1 = (h | [.p,g.]) . p2 holds
p1 = p2let p1,
p2 be
Element of
REAL ;
( p1 in dom (h | [.p,g.]) & p2 in dom (h | [.p,g.]) & (h | [.p,g.]) . p1 = (h | [.p,g.]) . p2 implies p1 = p2 )assume that A10:
p1 in dom (h | [.p,g.])
and A11:
p2 in dom (h | [.p,g.])
and A12:
(h | [.p,g.]) . p1 = (h | [.p,g.]) . p2
;
p1 = p2A13:
(
p1 in [.p,g.] /\ (dom h) &
p2 in [.p,g.] /\ (dom h) )
by A10, A11, RELAT_1:61;
A14:
h . p1 =
(h | [.p,g.]) . p2
by A10, A12, FUNCT_1:47
.=
h . p2
by A11, FUNCT_1:47
;
thus
p1 = p2
verumproof
assume A15:
p1 <> p2
;
contradiction
hence
contradiction
;
verum
end; end; hence
h | [.p,g.] is
one-to-one
;
verum end; end; end;
hence
h | [.p,g.] is one-to-one
; verum