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://mirror.codeforces.com/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://mirror.codeforces.com/blog/entry/51630)(http://mirror.codeforces.com/blog/entry/45223)(http://mirror.codeforces.com/blog/entry/45223) and I tried reading sum over superset from [here](http://mirror.codeforces.com/blog/entry/45825) and [here](http://mirror.codeforces.com/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