set A = the carrier of L;
defpred S1[ Element of L, Element of L, set ] means ( ( $1 = $2 implies $3 = Bottom L ) & ( $1 <> $2 implies $3 = $1 "\/" $2 ) );
A1:
for x, y being Element of L ex z being Element of L st S1[x,y,z]
consider f being Function of [:the carrier of L,the carrier of L:],the carrier of L such that
A4:
for x, y being Element of L holds S1[x,y,f . x,y]
from BINOP_1:sch 3(A1);
reconsider f = f as BiFunction of the carrier of L,L ;
A5:
f is zeroed
A6:
f is symmetric
f is u.t.i.
proof
let x,
y,
z be
Element of the
carrier of
L;
:: according to LATTICE5:def 8 :: thesis: (f . x,y) "\/" (f . y,z) >= f . x,z
reconsider x' =
x,
y' =
y,
z' =
z as
Element of
L ;
per cases
( x = z or x <> z )
;
suppose A9:
x <> z
;
:: thesis: (f . x,y) "\/" (f . y,z) >= f . x,zthus
(f . x,y) "\/" (f . y,z) >= f . x,
z
:: thesis: verumproof
per cases
( x = y or x <> y )
;
suppose A10:
x = y
;
:: thesis: (f . x,y) "\/" (f . y,z) >= f . x,z
x' "\/" z' >= x' "\/" z'
by ORDERS_2:24;
then
f . x,
z >= x' "\/" z'
by A4, A9;
then
(Bottom L) "\/" (f . x,z) >= x' "\/" z'
by WAYBEL_1:4;
then
(f . x,y) "\/" (f . y,z) >= x' "\/" z'
by A4, A10;
hence
(f . x,y) "\/" (f . y,z) >= f . x,
z
by A4, A9;
:: thesis: verum end; end;
end; end; end;
end;
then reconsider f = f as distance_function of the carrier of L,L by A5, A6;
take
f
; :: thesis: for x, y being Element of L holds
( ( x <> y implies f . x,y = x "\/" y ) & ( x = y implies f . x,y = Bottom L ) )
thus
for x, y being Element of L holds
( ( x <> y implies f . x,y = x "\/" y ) & ( x = y implies f . x,y = Bottom L ) )
by A4; :: thesis: verum