This is what I want, for an arbitrary function x
This is what I have done:
Wigner[f_[t_]] := Integrate[f[t - τ/2] Simplify[Conjugate[f[t + τ/2]], Assumptions -> {t ∈ Reals && τ ∈ Reals }] Exp[-I 2 Pi τ f], {τ, -∞, ∞}]; But this is what I end up getting:
Right now, I just want to get the substitution right.


ftwice in your expression, once for the argument of the Wigner function and once forx. Isfin the argument ofWignersupposed to bex? The problem is thatyy[t]evaluates before getting plugged intoWigner. Are you okay with pure functions? And do you really need a value oftin there? Or is it okay if it spits back an expression withtin it symbolically? $\endgroup$Exp[t]automatically evaluates toPower[E, t], so that wouldn't match the pattern. $\endgroup$