https://123dok.net/document/zgw28pny-using-slicing-to-improve-the-performance-of-model-invariant-checking.html