Hi All,
This patch implements transform for pattern " ( ( A ^ B ) ^ ( ( ~A ) | B ) -> ( A | ( ~ B ) ) ".
Z3 Link : http://rise4fun.com/Z3/jS88
Please help in reviewing the same.
David,
I tried to generalize the expression for " ( ~ A ) " by using " (A ^ C) " as you mentioned in few of my previous patches. But by doing that, I found the following result.
( ( A ^ B ) ^ ( ( A ^ C ) | B ) -> ( ( A & B) | ( ( ~B ) & C ) )
So, I think by doing this we are not reducing the number of operations. Am I thinking in the right direction.
Your inputs are highly welcomed. :)
Thanks,
Sonam.