When you make your own LPEs and you plan to composite them additively, it is important not to miss any light contribution, but also important not to have any double contribution of light.
(a) & ((b) | (c)) (b) & ((a) | (c)) (c) & ((a) | (b))
… to find out if they have any light in common. The results of each test should be black. If a result is not black, compositing the elements will not sum up to the correct result.
Don't forget to use parentheses to ensure the proper order of evaluation.
L.*E & ^((a) | (b) | (c))
... this takes all possible light paths (L.*E) and from those chooses only the ones not present in any of the LPEs a, b, or c.