OverABCXY:={aāA,cāC:ā(bāB:(b,a)āY:(b,c)āX):(a,c)}
RelationBAX
RelationBCY
Notation.
OverABCXY can be written OverXY when A, B and C are clear from the context.
OverXY is written in symbols as X/Y.
fun Over(A,B,C: set univ, X: B->C, Y: B->A) : A->C {
{ a: A, c: C | all b: B | b->a in Y implies b->c in X }
}
UnderABCXY:={cāC,aāA:ā(bāB:(a,b)āX:(c,b)āY):(c,a)}
RelationABX
RelationCBY
Notation.
UnderABCXYcan be written UnderXYwhen A, B and C are clear from the context.
UnderXY is written in symbols as X\Y.
fun Under(A,B,C: set univ, X: A->B, Y: C->B) : C->A {
{ c: C, a: A | all b: B | a->b in X implies c->b in Y }
}