I would like to simplify an expression, part of which looks like:
$$\frac{\left(E_{k+p}-\epsilon _{k+p}\right) \left(E_{k+p}-\epsilon _k-i \omega _p\right)}{2 E_{k+p} \left(-E_k+E_{k+p}-i \omega _p\right) \left(E_k+E_{k+p}-i \omega _p\right) \left(1+e^{\beta \left(E_{k+p}-i \omega _p\right)}\right)}$$
the Mathematica code of which is:
a3 = ((-Subscript[\[Epsilon], k+p]+Subscript[\[CapitalEpsilon], k+p]) (-Subscript[\[Epsilon], k]+Subscript[\[CapitalEpsilon], k+p]-I Subscript[\[Omega], p]))/(2 (1+E^(\[Beta] (Subscript[\[CapitalEpsilon], k+p]-I Subscript[\[Omega], p]))) Subscript[\[CapitalEpsilon], k+p] (-Subscript[\[CapitalEpsilon], k]+Subscript[\[CapitalEpsilon], k+p]-I Subscript[\[Omega], p]) (Subscript[\[CapitalEpsilon], k]+Subscript[\[CapitalEpsilon], k+p]-I Subscript[\[Omega], p]))
but I want to simplify this expression with the assumption that $e^{i\ \beta \omega_p}=1$ while keeping other parts unaffected, I have tried to use things like:
Simplify[ a3, Assumptions->{ E^(I \[Beta] Subscript[\[Omega], p])=1 } ]
however, I got an error message like:
Set::write: Tag Power in E^(I Subscript[[Omega], p]) is Protected.
Simplify::bass: 1 is not a well-formed assumption.
Hope someone can tell me how to get the result I want.
==
in place of=
$\endgroup$a3 /. Exp[x_]:>Exp[x /. Subscript[ω, p]->0]
. Presumably you want to keep $\omega_p$'s in sums but not in exponents? $\endgroup$==
should be used rather than=
, it doesn't seem to solve the problem --Simplify
fails to use the relation (as it often seems to do in not-quite-trivial cases). $\endgroup$