let X, Y be non empty set ; for E being Subset of [:X,Y:]
for p being set holds
( ( p in X implies X-section (([:X,Y:] \ E),p) = Y \ (X-section (E,p)) ) & ( p in Y implies Y-section (([:X,Y:] \ E),p) = X \ (Y-section (E,p)) ) )
let E be Subset of [:X,Y:]; for p being set holds
( ( p in X implies X-section (([:X,Y:] \ E),p) = Y \ (X-section (E,p)) ) & ( p in Y implies Y-section (([:X,Y:] \ E),p) = X \ (Y-section (E,p)) ) )
let p be set ; ( ( p in X implies X-section (([:X,Y:] \ E),p) = Y \ (X-section (E,p)) ) & ( p in Y implies Y-section (([:X,Y:] \ E),p) = X \ (Y-section (E,p)) ) )
hereby ( p in Y implies Y-section (([:X,Y:] \ E),p) = X \ (Y-section (E,p)) )
assume A1:
p in X
;
X-section (([:X,Y:] \ E),p) = Y \ (X-section (E,p))now for y being set st y in X-section (([:X,Y:] \ E),p) holds
y in Y \ (X-section (E,p))let y be
set ;
( y in X-section (([:X,Y:] \ E),p) implies y in Y \ (X-section (E,p)) )assume A2:
y in X-section (
([:X,Y:] \ E),
p)
;
y in Y \ (X-section (E,p))then A3:
ex
y1 being
Element of
Y st
(
y = y1 &
[p,y1] in [:X,Y:] \ E )
;
hence
y in Y \ (X-section (E,p))
by A2, XBOOLE_0:def 5;
verum end; then A4:
X-section (
([:X,Y:] \ E),
p)
c= Y \ (X-section (E,p))
;
now for y being set st y in Y \ (X-section (E,p)) holds
y in X-section (([:X,Y:] \ E),p)let y be
set ;
( y in Y \ (X-section (E,p)) implies y in X-section (([:X,Y:] \ E),p) )assume A5:
y in Y \ (X-section (E,p))
;
y in X-section (([:X,Y:] \ E),p)then
(
y in Y & not
y in X-section (
E,
p) )
by XBOOLE_0:def 5;
then A6:
not
[p,y] in E
;
[p,y] in [:X,Y:]
by A1, A5, ZFMISC_1:def 2;
then
[p,y] in [:X,Y:] \ E
by A6, XBOOLE_0:def 5;
hence
y in X-section (
([:X,Y:] \ E),
p)
by A5;
verum end; then
Y \ (X-section (E,p)) c= X-section (
([:X,Y:] \ E),
p)
;
hence
X-section (
([:X,Y:] \ E),
p)
= Y \ (X-section (E,p))
by A4;
verum
end;
assume A7:
p in Y
; Y-section (([:X,Y:] \ E),p) = X \ (Y-section (E,p))
now for y being set st y in Y-section (([:X,Y:] \ E),p) holds
y in X \ (Y-section (E,p))let y be
set ;
( y in Y-section (([:X,Y:] \ E),p) implies y in X \ (Y-section (E,p)) )assume A8:
y in Y-section (
([:X,Y:] \ E),
p)
;
y in X \ (Y-section (E,p))then A9:
ex
y1 being
Element of
X st
(
y = y1 &
[y1,p] in [:X,Y:] \ E )
;
hence
y in X \ (Y-section (E,p))
by A8, XBOOLE_0:def 5;
verum end;
then A10:
Y-section (([:X,Y:] \ E),p) c= X \ (Y-section (E,p))
;
now for y being set st y in X \ (Y-section (E,p)) holds
y in Y-section (([:X,Y:] \ E),p)let y be
set ;
( y in X \ (Y-section (E,p)) implies y in Y-section (([:X,Y:] \ E),p) )assume A11:
y in X \ (Y-section (E,p))
;
y in Y-section (([:X,Y:] \ E),p)then
(
y in X & not
y in Y-section (
E,
p) )
by XBOOLE_0:def 5;
then A12:
not
[y,p] in E
;
[y,p] in [:X,Y:]
by A7, A11, ZFMISC_1:def 2;
then
[y,p] in [:X,Y:] \ E
by A12, XBOOLE_0:def 5;
hence
y in Y-section (
([:X,Y:] \ E),
p)
by A11;
verum end;
then
X \ (Y-section (E,p)) c= Y-section (([:X,Y:] \ E),p)
;
hence
Y-section (([:X,Y:] \ E),p) = X \ (Y-section (E,p))
by A10; verum