let Y be set ; :: thesis: for h being PartFunc of REAL,REAL holds
( h | Y is non-increasing iff for r1, r2 being Real st r1 in Y /\ (dom h) & r2 in Y /\ (dom h) & r1 <= r2 holds
h . r2 <= h . r1 )

let h be PartFunc of REAL,REAL; :: thesis: ( h | Y is non-increasing iff for r1, r2 being Real st r1 in Y /\ (dom h) & r2 in Y /\ (dom h) & r1 <= r2 holds
h . r2 <= h . r1 )

thus ( h | Y is non-increasing implies for r1, r2 being Real st r1 in Y /\ (dom h) & r2 in Y /\ (dom h) & r1 <= r2 holds
h . r2 <= h . r1 ) :: thesis: ( ( for r1, r2 being Real st r1 in Y /\ (dom h) & r2 in Y /\ (dom h) & r1 <= r2 holds
h . r2 <= h . r1 ) implies h | Y is non-increasing )
proof
assume A1: h | Y is non-increasing ; :: thesis: for r1, r2 being Real st r1 in Y /\ (dom h) & r2 in Y /\ (dom h) & r1 <= r2 holds
h . r2 <= h . r1

let r1, r2 be Real; :: thesis: ( r1 in Y /\ (dom h) & r2 in Y /\ (dom h) & r1 <= r2 implies h . r2 <= h . r1 )
assume that
A2: ( r1 in Y /\ (dom h) & r2 in Y /\ (dom h) ) and
A3: r1 <= r2 ; :: thesis: h . r2 <= h . r1
now :: thesis: h . r2 <= h . r1
per cases ( r1 < r2 or r1 = r2 ) by ;
suppose r1 < r2 ; :: thesis: h . r2 <= h . r1
hence h . r2 <= h . r1 by A1, A2, Th23; :: thesis: verum
end;
suppose r1 = r2 ; :: thesis: h . r2 <= h . r1
hence h . r2 <= h . r1 ; :: thesis: verum
end;
end;
end;
hence h . r2 <= h . r1 ; :: thesis: verum
end;
assume A4: for r1, r2 being Real st r1 in Y /\ (dom h) & r2 in Y /\ (dom h) & r1 <= r2 holds
h . r2 <= h . r1 ; :: thesis: h | Y is non-increasing
let r1 be Real; :: according to RFUNCT_2:def 4 :: thesis: for r2 being Real st r1 in dom (h | Y) & r2 in dom (h | Y) & r1 < r2 holds
(h | Y) . r2 <= (h | Y) . r1

let r2 be Real; :: thesis: ( r1 in dom (h | Y) & r2 in dom (h | Y) & r1 < r2 implies (h | Y) . r2 <= (h | Y) . r1 )
assume that
A5: ( r1 in dom (h | Y) & r2 in dom (h | Y) ) and
A6: r1 < r2 ; :: thesis: (h | Y) . r2 <= (h | Y) . r1
A7: ( (h | Y) . r1 = h . r1 & (h | Y) . r2 = h . r2 ) by ;
( r1 in Y /\ (dom h) & r2 in Y /\ (dom h) ) by ;
hence (h | Y) . r2 <= (h | Y) . r1 by A4, A6, A7; :: thesis: verum