{"action":"created","issue":{"url":"https://api.github.com/repos/sympy/sympy/issues/10739","repository_url":"https://api.github.com/repos/sympy/sympy","labels_url":"https://api.github.com/repos/sympy/sympy/issues/10739/labels{/name}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/10739/comments","events_url":"https://api.github.com/repos/sympy/sympy/issues/10739/events","html_url":"https://github.com/sympy/sympy/issues/10739","id":138707699,"number":10739,"title":"employ transformation simplification for trig expressions","user":{"login":"smichr","id":90703,"avatar_url":"https://avatars.githubusercontent.com/u/90703?v=3","gravatar_id":"","url":"https://api.github.com/users/smichr","html_url":"https://github.com/smichr","followers_url":"https://api.github.com/users/smichr/followers","following_url":"https://api.github.com/users/smichr/following{/other_user}","gists_url":"https://api.github.com/users/smichr/gists{/gist_id}","starred_url":"https://api.github.com/users/smichr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smichr/subscriptions","organizations_url":"https://api.github.com/users/smichr/orgs","repos_url":"https://api.github.com/users/smichr/repos","events_url":"https://api.github.com/users/smichr/events{/privacy}","received_events_url":"https://api.github.com/users/smichr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-05T18:46:49Z","updated_at":"2016-03-12T16:02:01Z","closed_at":null,"body":"It is perhaps worth looking into using transformations to accomplish simplification of trig expressions as they should be much faster:\r\n\r\n```\r\n>>> eq\r\n-8*sin(x)*cos(x)/sin(2*x)\r\n>>> eq.simplify()\r\n-4\r\n>>> eq.rewrite(exp).subs(exp(I*x),y).cancel()\r\n-4\r\n```"},"comment":{"url":"https://api.github.com/repos/sympy/sympy/issues/comments/195766637","html_url":"https://github.com/sympy/sympy/issues/10739#issuecomment-195766637","issue_url":"https://api.github.com/repos/sympy/sympy/issues/10739","id":195766637,"user":{"login":"smichr","id":90703,"avatar_url":"https://avatars.githubusercontent.com/u/90703?v=3","gravatar_id":"","url":"https://api.github.com/users/smichr","html_url":"https://github.com/smichr","followers_url":"https://api.github.com/users/smichr/followers","following_url":"https://api.github.com/users/smichr/following{/other_user}","gists_url":"https://api.github.com/users/smichr/gists{/gist_id}","starred_url":"https://api.github.com/users/smichr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smichr/subscriptions","organizations_url":"https://api.github.com/users/smichr/orgs","repos_url":"https://api.github.com/users/smichr/repos","events_url":"https://api.github.com/users/smichr/events{/privacy}","received_events_url":"https://api.github.com/users/smichr/received_events","type":"User","site_admin":false},"created_at":"2016-03-12T16:02:01Z","updated_at":"2016-03-12T16:02:01Z","body":"This was mentioned in #10280"}}