Let's say you have a function
$ f(t) = t, \text{ for } t > 0,$
declared in Mathematica as
f[t_?(# > 0 &)] := t;
How do you print that function?
I have tried multiple options like
f[t]
FunctionExpand[f[t], t > 0]
f[t] /; t > 0
These return
f[t]
f[t]
f[t] /; t > 0
and not
t
or
t /; t > 0
Which is what I want.
Piecewise
. $\endgroup$