The expression below
fd < S && ld > e || fs > s && ld > e || fd > s && ld < e || fd < s && ld < e
Is the same as this...
fd < e && ld > s
But how can I simplify the first into the second? The first one was easily constructed by looking at a generalized version of my data. The second was a bit more tricky to figure out.