answered 2017-02-05 21:25:05 +0100
The new piecewise is unfortunately not very user friendly. Here's one workaround:
piecewise
diff(f.expression_at(1))(1).n()