#elif (n.name == '-' and ((n.left.name=='σ' and n.left.child==n.right) or (n.right.name=='σ' and n.right.child==n.left))): #Intersection of two equal things, but one has a selection
elifn.name=='-'andn.left==n.right:#Empty relation
elif(n.name=='-'and(n.right.name=='σ'andn.right.child==n.left)):#Subtraction of two equal things, but one has a selection