Karan
Reputation
Next privilege 250 Rep.
 Sep24 awarded Autobiographer Jul25 comment Ordering oscillators with negative powers: Infinite loops @Szabolcs I understand and I have tried to explain the problem as briefly as I can in the Edit2. Please let me know if I can explain it better. Jul25 revised Ordering oscillators with negative powers: Infinite loops added 1282 characters in body Jul25 comment Ordering oscillators with negative powers: Infinite loops I have added a pastebin link to the full code. The last command at the end attempts to order a simple example and it gives an infinite loop I believe because the function will keep trying to order it. Jul25 revised Ordering oscillators with negative powers: Infinite loops Pastebin link for the code added Jul25 asked Ordering oscillators with negative powers: Infinite loops Jul8 comment Defining the Moyal Product in Mathematica @Jens Thanks a lot for the fix. It helps a lot! Jul8 comment Defining the Moyal Product in Mathematica @Jens I was worried about those issues but the fact that MMA 8 seems to give the right results makes me wonder if these ConditionalExpressions are meaningful. Also I am doing the integration away from the pole i.e. x>0 so x^-n is well defined in which case integrals should give the correct expressions. Is that not correct? Jul8 comment Defining the Moyal Product in Mathematica @Jens The MMA support guys replied and confirmed that it is a problem with the Integrate because it generates some ConditionalExpression which doesn't let it integrate. This is actually not polar coordinates but a type of nonlinear realization of noncompact Lie algebras which includes 1/x and 1/x^2 type terms. I am trying to see if the algebra defined by these nonlinear generators that closes under normal Lie bracket will also close under star bracket. Hence I need to use the star product between x and p normalized such that their star bracket is 1. I am not sure if x,p are correct variables. Jul8 comment Defining the Moyal Product in Mathematica @Jens I reported the problem to Mathematica. However I am still getting the buggy behavior in 9.0.1. It does run fine on 8.0.4 as you mentioned. Jul7 comment Defining the Moyal Product in Mathematica I get the correct result from star[(x + a)^-2, p] /. a :> 0. Jul7 comment Defining the Moyal Product in Mathematica I am using Mathematica 9 and I set \$Assumptions={x>0} at the beginning of the code as well. I tried quitting the kernel (and restarting MMA) and it still gives me the same results. Strange. Jul7 comment Defining the Moyal Product in Mathematica Using the Fourier transform code, I tried to compute star[1/x,p] with Assumptions x>0 and it gives the correct answer but with star[1/x^2,p] I get FourierTransform[-2 I E^(1/2 I (kg lf - kf lg)) kf \[Pi]^2 DiracDelta[kg] DiracDelta[lf] Sign[kf] Derivative[1][DiracDelta][lg], {kf, lf, kg, lg}, {x, p, x, p}] whereas star[p,1/x^2] gives the correct answer. How can this be fixed? Jul2 awarded Curious Jun30 awarded Popular Question Jan7 accepted Memory leak issues Jan7 comment Memory leak issues @Daniel The distributive rule didn't work till I put it at the top of the list in 'canonicalizeRules'. Could you tell me what caused that? Jan7 comment Memory leak issues @DanielLichtblau I think there is some extra stuff in the canonicalizeRules2 definition. I tried to use your modifications to see the results but the product is not behaving distributively. Its strange because the answer that you computed for Cas2b is correct and same as what I had gotten previously. I exactly copied your rules but still I don't know what's going wrong in my notebook. Jan6 revised Memory leak issues edited body Jan6 comment Memory leak issues Jacob, I just noticed the changes and was in the process of changing things. It should be fine now.