https://123dok.net/document/zpnjn50y-functional-synthesis-for-linear-arithmetic-and-sets.html