Compare price to truth tables logic