let Y be non empty set ; :: thesis: for d being constant Function of Y,BOOLEAN holds
( B_INF d = d & B_SUP d = d )

let d be constant Function of Y,BOOLEAN; :: thesis: ( B_INF d = d & B_SUP d = d )
A1: now :: thesis: ( ( for x being Element of Y holds d . x = TRUE or for x being Element of Y holds d . x = FALSE ) implies ( B_INF d = d & B_SUP d = d ) )
assume A2: ( for x being Element of Y holds d . x = TRUE or for x being Element of Y holds d . x = FALSE ) ; :: thesis: ( B_INF d = d & B_SUP d = d )
now :: thesis: ( ( ( for x being Element of Y holds d . x = TRUE ) & not for x being Element of Y holds d . x = FALSE & B_INF d = d & B_SUP d = d ) or ( ( for x being Element of Y holds d . x = FALSE ) & not for x being Element of Y holds d . x = TRUE & B_INF d = d & B_SUP d = d ) or ( ( for x being Element of Y holds d . x = TRUE ) & ( for x being Element of Y holds d . x = FALSE ) & ( for x being Element of Y holds
( B_INF d = d & B_SUP d = d ) ) ) )
per cases ( ( ( for x being Element of Y holds d . x = TRUE ) & not for x being Element of Y holds d . x = FALSE ) or ( ( for x being Element of Y holds d . x = FALSE ) & not for x being Element of Y holds d . x = TRUE ) or ( ( for x being Element of Y holds d . x = TRUE ) & ( for x being Element of Y holds d . x = FALSE ) ) ) by A2;
case A3: ( ( for x being Element of Y holds d . x = TRUE ) & not for x being Element of Y holds d . x = FALSE ) ; :: thesis: ( B_INF d = d & B_SUP d = d )
then d = I_el Y by Def11;
hence ( B_INF d = d & B_SUP d = d ) by A3, Def13, Def14; :: thesis: verum
end;
case A4: ( ( for x being Element of Y holds d . x = FALSE ) & not for x being Element of Y holds d . x = TRUE ) ; :: thesis: ( B_INF d = d & B_SUP d = d )
then d = O_el Y by Def10;
hence ( B_INF d = d & B_SUP d = d ) by A4, Def13, Def14; :: thesis: verum
end;
case A5: ( ( for x being Element of Y holds d . x = TRUE ) & ( for x being Element of Y holds d . x = FALSE ) ) ; :: thesis: for x being Element of Y holds
( B_INF d = d & B_SUP d = d )

let x be Element of Y; :: thesis: ( B_INF d = d & B_SUP d = d )
d . x = TRUE by A5;
hence ( B_INF d = d & B_SUP d = d ) by A5; :: thesis: verum
end;
end;
end;
hence ( B_INF d = d & B_SUP d = d ) ; :: thesis: verum
end;
now :: thesis: ( not for x being Element of Y holds d . x = TRUE & not for x being Element of Y holds d . x = FALSE implies ( B_INF d = d & B_SUP d = d ) )
assume that
A6: not for x being Element of Y holds d . x = TRUE and
A7: not for x being Element of Y holds d . x = FALSE ; :: thesis: ( B_INF d = d & B_SUP d = d )
now :: thesis: ( ( d = O_el Y & B_INF d = d & B_SUP d = d ) or ( d = I_el Y & B_INF d = d & B_SUP d = d ) )
per cases ( d = O_el Y or d = I_el Y ) by Th20;
case d = O_el Y ; :: thesis: ( B_INF d = d & B_SUP d = d )
hence ( B_INF d = d & B_SUP d = d ) by A7, Def10; :: thesis: verum
end;
case d = I_el Y ; :: thesis: ( B_INF d = d & B_SUP d = d )
hence ( B_INF d = d & B_SUP d = d ) by A6, Def11; :: thesis: verum
end;
end;
end;
hence ( B_INF d = d & B_SUP d = d ) ; :: thesis: verum
end;
hence ( B_INF d = d & B_SUP d = d ) by A1; :: thesis: verum