piecewise[{{x-1,x<0},{x^2+3,x>0}}]