let a, b be object ; ( a <> b implies ( {[a,b],[b,a]} is irreflexive & {[a,b],[b,a]} is symmetric ) )
assume A0:
a <> b
; ( {[a,b],[b,a]} is irreflexive & {[a,b],[b,a]} is symmetric )
reconsider R = {[a,b],[b,a]} as Relation ;
a1:
for x, y being object st [x,y] in R holds
[y,x] in R
proof
let x,
y be
object ;
( [x,y] in R implies [y,x] in R )
assume
[x,y] in R
;
[y,x] in R
then
(
[x,y] = [a,b] or
[x,y] = [b,a] )
by TARSKI:def 2;
then
( (
x = a &
y = b ) or (
x = b &
y = a ) )
by XTUPLE_0:1;
hence
[y,x] in R
by TARSKI:def 2;
verum
end;
for x being object st x in field R holds
not [x,x] in R
hence
( {[a,b],[b,a]} is irreflexive & {[a,b],[b,a]} is symmetric )
by a1, RELAT_2:def 10, RELAT_2:def 2, LemSym; verum