{"action":"opened","number":569,"pull_request":{"url":"https://api.github.com/repos/sympy/symengine/pulls/569","id":41081365,"html_url":"https://github.com/sympy/symengine/pull/569","diff_url":"https://github.com/sympy/symengine/pull/569.diff","patch_url":"https://github.com/sympy/symengine/pull/569.patch","issue_url":"https://api.github.com/repos/sympy/symengine/issues/569","number":569,"state":"open","locked":false,"title":"Make derivatives of abstract functions less tautological","user":{"login":"cbehan","id":13301871,"avatar_url":"https://avatars.githubusercontent.com/u/13301871?v=3","gravatar_id":"","url":"https://api.github.com/users/cbehan","html_url":"https://github.com/cbehan","followers_url":"https://api.github.com/users/cbehan/followers","following_url":"https://api.github.com/users/cbehan/following{/other_user}","gists_url":"https://api.github.com/users/cbehan/gists{/gist_id}","starred_url":"https://api.github.com/users/cbehan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbehan/subscriptions","organizations_url":"https://api.github.com/users/cbehan/orgs","repos_url":"https://api.github.com/users/cbehan/repos","events_url":"https://api.github.com/users/cbehan/events{/privacy}","received_events_url":"https://api.github.com/users/cbehan/received_events","type":"User","site_admin":false},"body":"Repeatedly differentiating composed function_symbol types should build up the Faa di Bruno formula (chain rule). However, the simplest implementation of Derivative::diff gives up too quickly by just adding symbols to differentiate by even when they are not directly present in the function. This modification gets the right answer when differentiating by symbols and falls back to the old method when it detects that non-symbols are present as well.","created_at":"2015-07-29T02:20:50Z","updated_at":"2015-07-29T02:20:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sympy/symengine/pulls/569/commits","review_comments_url":"https://api.github.com/repos/sympy/symengine/pulls/569/comments","review_comment_url":"https://api.github.com/repos/sympy/symengine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sympy/symengine/issues/569/comments","statuses_url":"https://api.github.com/repos/sympy/symengine/statuses/c444846d44c50ccdc50ca1926da66b03de010096","head":{"label":"cbehan:patch-1","ref":"patch-1","sha":"c444846d44c50ccdc50ca1926da66b03de010096","user":{"login":"cbehan","id":13301871,"avatar_url":"https://avatars.githubusercontent.com/u/13301871?v=3","gravatar_id":"","url":"https://api.github.com/users/cbehan","html_url":"https://github.com/cbehan","followers_url":"https://api.github.com/users/cbehan/followers","following_url":"https://api.github.com/users/cbehan/following{/other_user}","gists_url":"https://api.github.com/users/cbehan/gists{/gist_id}","starred_url":"https://api.github.com/users/cbehan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbehan/subscriptions","organizations_url":"https://api.github.com/users/cbehan/orgs","repos_url":"https://api.github.com/users/cbehan/repos","events_url":"https://api.github.com/users/cbehan/events{/privacy}","received_events_url":"https://api.github.com/users/cbehan/received_events","type":"User","site_admin":false},"repo":{"id":38969486,"name":"symengine","full_name":"cbehan/symengine","owner":{"login":"cbehan","id":13301871,"avatar_url":"https://avatars.githubusercontent.com/u/13301871?v=3","gravatar_id":"","url":"https://api.github.com/users/cbehan","html_url":"https://github.com/cbehan","followers_url":"https://api.github.com/users/cbehan/followers","following_url":"https://api.github.com/users/cbehan/following{/other_user}","gists_url":"https://api.github.com/users/cbehan/gists{/gist_id}","starred_url":"https://api.github.com/users/cbehan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbehan/subscriptions","organizations_url":"https://api.github.com/users/cbehan/orgs","repos_url":"https://api.github.com/users/cbehan/repos","events_url":"https://api.github.com/users/cbehan/events{/privacy}","received_events_url":"https://api.github.com/users/cbehan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbehan/symengine","description":"SymEngine is a fast symbolic manipulation library, written in C++ (SymEngine was previously called CSymPy)","fork":true,"url":"https://api.github.com/repos/cbehan/symengine","forks_url":"https://api.github.com/repos/cbehan/symengine/forks","keys_url":"https://api.github.com/repos/cbehan/symengine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbehan/symengine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbehan/symengine/teams","hooks_url":"https://api.github.com/repos/cbehan/symengine/hooks","issue_events_url":"https://api.github.com/repos/cbehan/symengine/issues/events{/number}","events_url":"https://api.github.com/repos/cbehan/symengine/events","assignees_url":"https://api.github.com/repos/cbehan/symengine/assignees{/user}","branches_url":"https://api.github.com/repos/cbehan/symengine/branches{/branch}","tags_url":"https://api.github.com/repos/cbehan/symengine/tags","blobs_url":"https://api.github.com/repos/cbehan/symengine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbehan/symengine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbehan/symengine/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbehan/symengine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbehan/symengine/statuses/{sha}","languages_url":"https://api.github.com/repos/cbehan/symengine/languages","stargazers_url":"https://api.github.com/repos/cbehan/symengine/stargazers","contributors_url":"https://api.github.com/repos/cbehan/symengine/contributors","subscribers_url":"https://api.github.com/repos/cbehan/symengine/subscribers","subscription_url":"https://api.github.com/repos/cbehan/symengine/subscription","commits_url":"https://api.github.com/repos/cbehan/symengine/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbehan/symengine/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbehan/symengine/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbehan/symengine/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbehan/symengine/contents/{+path}","compare_url":"https://api.github.com/repos/cbehan/symengine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbehan/symengine/merges","archive_url":"https://api.github.com/repos/cbehan/symengine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbehan/symengine/downloads","issues_url":"https://api.github.com/repos/cbehan/symengine/issues{/number}","pulls_url":"https://api.github.com/repos/cbehan/symengine/pulls{/number}","milestones_url":"https://api.github.com/repos/cbehan/symengine/milestones{/number}","notifications_url":"https://api.github.com/repos/cbehan/symengine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbehan/symengine/labels{/name}","releases_url":"https://api.github.com/repos/cbehan/symengine/releases{/id}","created_at":"2015-07-12T16:48:10Z","updated_at":"2015-07-12T16:48:12Z","pushed_at":"2015-07-29T02:20:20Z","git_url":"git://github.com/cbehan/symengine.git","ssh_url":"git@github.com:cbehan/symengine.git","clone_url":"https://github.com/cbehan/symengine.git","svn_url":"https://github.com/cbehan/symengine","homepage":"http://sympy.org","size":2919,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sympy:master","ref":"master","sha":"737df418f8fb18e72629becf8cecbe8ce45323a6","user":{"login":"sympy","id":260832,"avatar_url":"https://avatars.githubusercontent.com/u/260832?v=3","gravatar_id":"","url":"https://api.github.com/users/sympy","html_url":"https://github.com/sympy","followers_url":"https://api.github.com/users/sympy/followers","following_url":"https://api.github.com/users/sympy/following{/other_user}","gists_url":"https://api.github.com/users/sympy/gists{/gist_id}","starred_url":"https://api.github.com/users/sympy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sympy/subscriptions","organizations_url":"https://api.github.com/users/sympy/orgs","repos_url":"https://api.github.com/users/sympy/repos","events_url":"https://api.github.com/users/sympy/events{/privacy}","received_events_url":"https://api.github.com/users/sympy/received_events","type":"Organization","site_admin":false},"repo":{"id":42376,"name":"symengine","full_name":"sympy/symengine","owner":{"login":"sympy","id":260832,"avatar_url":"https://avatars.githubusercontent.com/u/260832?v=3","gravatar_id":"","url":"https://api.github.com/users/sympy","html_url":"https://github.com/sympy","followers_url":"https://api.github.com/users/sympy/followers","following_url":"https://api.github.com/users/sympy/following{/other_user}","gists_url":"https://api.github.com/users/sympy/gists{/gist_id}","starred_url":"https://api.github.com/users/sympy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sympy/subscriptions","organizations_url":"https://api.github.com/users/sympy/orgs","repos_url":"https://api.github.com/users/sympy/repos","events_url":"https://api.github.com/users/sympy/events{/privacy}","received_events_url":"https://api.github.com/users/sympy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sympy/symengine","description":"SymEngine is a fast symbolic manipulation library, written in C++ (SymEngine was previously called CSymPy)","fork":false,"url":"https://api.github.com/repos/sympy/symengine","forks_url":"https://api.github.com/repos/sympy/symengine/forks","keys_url":"https://api.github.com/repos/sympy/symengine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sympy/symengine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sympy/symengine/teams","hooks_url":"https://api.github.com/repos/sympy/symengine/hooks","issue_events_url":"https://api.github.com/repos/sympy/symengine/issues/events{/number}","events_url":"https://api.github.com/repos/sympy/symengine/events","assignees_url":"https://api.github.com/repos/sympy/symengine/assignees{/user}","branches_url":"https://api.github.com/repos/sympy/symengine/branches{/branch}","tags_url":"https://api.github.com/repos/sympy/symengine/tags","blobs_url":"https://api.github.com/repos/sympy/symengine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sympy/symengine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sympy/symengine/git/refs{/sha}","trees_url":"https://api.github.com/repos/sympy/symengine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sympy/symengine/statuses/{sha}","languages_url":"https://api.github.com/repos/sympy/symengine/languages","stargazers_url":"https://api.github.com/repos/sympy/symengine/stargazers","contributors_url":"https://api.github.com/repos/sympy/symengine/contributors","subscribers_url":"https://api.github.com/repos/sympy/symengine/subscribers","subscription_url":"https://api.github.com/repos/sympy/symengine/subscription","commits_url":"https://api.github.com/repos/sympy/symengine/commits{/sha}","git_commits_url":"https://api.github.com/repos/sympy/symengine/git/commits{/sha}","comments_url":"https://api.github.com/repos/sympy/symengine/comments{/number}","issue_comment_url":"https://api.github.com/repos/sympy/symengine/issues/comments{/number}","contents_url":"https://api.github.com/repos/sympy/symengine/contents/{+path}","compare_url":"https://api.github.com/repos/sympy/symengine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sympy/symengine/merges","archive_url":"https://api.github.com/repos/sympy/symengine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sympy/symengine/downloads","issues_url":"https://api.github.com/repos/sympy/symengine/issues{/number}","pulls_url":"https://api.github.com/repos/sympy/symengine/pulls{/number}","milestones_url":"https://api.github.com/repos/sympy/symengine/milestones{/number}","notifications_url":"https://api.github.com/repos/sympy/symengine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sympy/symengine/labels{/name}","releases_url":"https://api.github.com/repos/sympy/symengine/releases{/id}","created_at":"2008-08-13T18:40:14Z","updated_at":"2015-07-22T01:52:50Z","pushed_at":"2015-07-29T02:20:50Z","git_url":"git://github.com/sympy/symengine.git","ssh_url":"git@github.com:sympy/symengine.git","clone_url":"https://github.com/sympy/symengine.git","svn_url":"https://github.com/sympy/symengine","homepage":"http://sympy.org","size":23880,"stargazers_count":71,"watchers_count":71,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":90,"forks":60,"open_issues":90,"watchers":71,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sympy/symengine/pulls/569"},"html":{"href":"https://github.com/sympy/symengine/pull/569"},"issue":{"href":"https://api.github.com/repos/sympy/symengine/issues/569"},"comments":{"href":"https://api.github.com/repos/sympy/symengine/issues/569/comments"},"review_comments":{"href":"https://api.github.com/repos/sympy/symengine/pulls/569/comments"},"review_comment":{"href":"https://api.github.com/repos/sympy/symengine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sympy/symengine/pulls/569/commits"},"statuses":{"href":"https://api.github.com/repos/sympy/symengine/statuses/c444846d44c50ccdc50ca1926da66b03de010096"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":26,"deletions":2,"changed_files":1}}