moving definitions of implies2 to the top since technically the rest
depends on it.