definition
let D be non
empty set ;
defpred S1[
object ,
Function]
means ( $1
in dom $2 & $2
. $1
= TRUE );
defpred S2[
object ,
Function,
Function]
means ( $1
in dom $2 & $2
. $1
= FALSE & $1
in dom $3 & $3
. $1
= FALSE );
deffunc H1(
Function,
Function)
-> set =
{ d where d is Element of D : ( S1[d,$1] or S1[d,$2] or S2[d,$1,$2] ) } ;
existence
ex b1 being Function of [:(Pr D),(Pr D):],(Pr D) st
for p, q being PartialPredicate of D holds
( dom (b1 . (p,q)) = { d where d is Element of D : ( ( d in dom p & p . d = TRUE ) or ( d in dom q & q . d = TRUE ) or ( d in dom p & p . d = FALSE & d in dom q & q . d = FALSE ) ) } & ( for d being object holds
( ( ( ( d in dom p & p . d = TRUE ) or ( d in dom q & q . d = TRUE ) ) implies (b1 . (p,q)) . d = TRUE ) & ( d in dom p & p . d = FALSE & d in dom q & q . d = FALSE implies (b1 . (p,q)) . d = FALSE ) ) ) )
uniqueness
for b1, b2 being Function of [:(Pr D),(Pr D):],(Pr D) st ( for p, q being PartialPredicate of D holds
( dom (b1 . (p,q)) = { d where d is Element of D : ( ( d in dom p & p . d = TRUE ) or ( d in dom q & q . d = TRUE ) or ( d in dom p & p . d = FALSE & d in dom q & q . d = FALSE ) ) } & ( for d being object holds
( ( ( ( d in dom p & p . d = TRUE ) or ( d in dom q & q . d = TRUE ) ) implies (b1 . (p,q)) . d = TRUE ) & ( d in dom p & p . d = FALSE & d in dom q & q . d = FALSE implies (b1 . (p,q)) . d = FALSE ) ) ) ) ) & ( for p, q being PartialPredicate of D holds
( dom (b2 . (p,q)) = { d where d is Element of D : ( ( d in dom p & p . d = TRUE ) or ( d in dom q & q . d = TRUE ) or ( d in dom p & p . d = FALSE & d in dom q & q . d = FALSE ) ) } & ( for d being object holds
( ( ( ( d in dom p & p . d = TRUE ) or ( d in dom q & q . d = TRUE ) ) implies (b2 . (p,q)) . d = TRUE ) & ( d in dom p & p . d = FALSE & d in dom q & q . d = FALSE implies (b2 . (p,q)) . d = FALSE ) ) ) ) ) holds
b1 = b2
end;
definition
let D be non
empty set ;
existence
ex b1 being BinOp of (Pr D) st
for p, q being PartialPredicate of D holds b1 . (p,q) = PP_and (p,q)
uniqueness
for b1, b2 being BinOp of (Pr D) st ( for p, q being PartialPredicate of D holds b1 . (p,q) = PP_and (p,q) ) & ( for p, q being PartialPredicate of D holds b2 . (p,q) = PP_and (p,q) ) holds
b1 = b2
existence
ex b1 being BinOp of (Pr D) st
for p, q being PartialPredicate of D holds b1 . (p,q) = PP_or (p,q)
uniqueness
for b1, b2 being BinOp of (Pr D) st ( for p, q being PartialPredicate of D holds b1 . (p,q) = PP_or (p,q) ) & ( for p, q being PartialPredicate of D holds b2 . (p,q) = PP_or (p,q) ) holds
b1 = b2
existence
ex b1 being UnOp of (Pr D) st
for p being PartialPredicate of D holds b1 . p = PP_not p
uniqueness
for b1, b2 being UnOp of (Pr D) st ( for p being PartialPredicate of D holds b1 . p = PP_not p ) & ( for p being PartialPredicate of D holds b2 . p = PP_not p ) holds
b1 = b2
end;