let x, y be object ; for X, Y being set holds swap ((X \/ Y),x,y) = (swap (X,x,y)) \/ (swap (Y,x,y))
let X, Y be set ; swap ((X \/ Y),x,y) = (swap (X,x,y)) \/ (swap (Y,x,y))
thus
swap ((X \/ Y),x,y) c= (swap (X,x,y)) \/ (swap (Y,x,y))
XBOOLE_0:def 10 (swap (X,x,y)) \/ (swap (Y,x,y)) c= swap ((X \/ Y),x,y)proof
let a be
object ;
TARSKI:def 3 ( not a in swap ((X \/ Y),x,y) or a in (swap (X,x,y)) \/ (swap (Y,x,y)) )
assume
a in swap (
(X \/ Y),
x,
y)
;
a in (swap (X,x,y)) \/ (swap (Y,x,y))
end;
A3:
swap (X,x,y) c= swap ((X \/ Y),x,y)
swap (Y,x,y) c= swap ((X \/ Y),x,y)
hence
(swap (X,x,y)) \/ (swap (Y,x,y)) c= swap ((X \/ Y),x,y)
by A3, XBOOLE_1:8; verum