Efficient optimization of a class of relational expressions | Synapse