First- and second-order optimality conditions for piecewise smooth objective functions
On stable piecewise linearization and generalized algorithmic differentiation