User:Crissov/Collapsing

When to do what
0 || 1 || 0 || 0 = 1 1 || 0 || 1 || 0 = 1 1 || 1 || 0 || 0 = 1 (default) 1 || 1 || 1 || 0 = 1 0 || 1 || 0 || 1 = 0 1 || 1 || 0 || 1 = 0 1 || 0 || 0 || 0 = 0 1 || 1 || 1 || 1 = 0 A   B    a    b

0 = B¬ab || A(Bab || ¬B¬a¬b) 1 otherwise

=> ¬(B¬ab || A(Bab || ¬B¬a¬b)) = ¬(B¬ab || A(B=a=b)) = ¬(B¬ab || ABab || A¬B¬a¬b) = ¬(B¬ab) && ¬(ABab || A¬B¬a¬b) = (¬B|a|¬b) && (¬A || ¬(Bab || ¬B¬a¬b) ) = (¬B|a|¬b) && (¬A || ( ¬(Bab) && ¬(¬B¬a¬b) ) ) = (¬B|a|¬b) && (¬A || ( ¬(Bab) && (B|a|b) ) ) = ¬( Bb( ¬A¬a || A ) || ¬B¬bA¬a ) = ¬( Bb( ¬A¬a || A ) || ¬(B|b|¬A|a) ) = ¬(Bb( ¬A¬a || A )) && (B|b|¬A|a)