Added sat-solve functions for formula