Can anyone properly explain me how supermask dp works? I learnt sos dp from [here] and I tried reading sum over superset from [here] and [here](http://codeforces.me/blog/entry/45825) but didnt understand properly. Can anyone explain with some proofs or how to reduce a supermask problem into a submask if at all possible. Thanks(http://codeforces.me/blog/entry/51630)(http://codeforces.me/blog/entry/45223)(http://codeforces.me/blog/entry/45223) and I tried reading sum over superset from [here](http://codeforces.me/blog/entry/45825) and [here](http://codeforces.me/blog/entry/51630) but didnt understand properly. Can anyone explain with some proofs or how to reduce a supermask problem into a submask if at all possible. Thanks