{"action":"created","comment":{"url":"https://api.github.com/repos/kframework/k/pulls/comments/41677056","id":41677056,"diff_hunk":"@@ -454,7 +454,8 @@ public Term evaluateFunction(KItem kItem, boolean copyOnShareSubstAndEval, TermC\n                                     solution,\n                                     copyOnShareSubstAndEval ? rule.reusableVariables().elementSet() : null,\n                                     context,\n-                                    false);\n+                                    false)\n+                                    .substituteWithBinders(Variable.rename(rule.variableSet()), context);","path":"java-backend/src/main/java/org/kframework/backend/java/kil/KItem.java","position":6,"original_position":6,"commit_id":"17bd4604c4a97062b1cc0e316ed87e19896d38cd","original_commit_id":"17bd4604c4a97062b1cc0e316ed87e19896d38cd","user":{"login":"andreistefanescu","id":5104433,"avatar_url":"https://avatars.githubusercontent.com/u/5104433?v=3","gravatar_id":"","url":"https://api.github.com/users/andreistefanescu","html_url":"https://github.com/andreistefanescu","followers_url":"https://api.github.com/users/andreistefanescu/followers","following_url":"https://api.github.com/users/andreistefanescu/following{/other_user}","gists_url":"https://api.github.com/users/andreistefanescu/gists{/gist_id}","starred_url":"https://api.github.com/users/andreistefanescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreistefanescu/subscriptions","organizations_url":"https://api.github.com/users/andreistefanescu/orgs","repos_url":"https://api.github.com/users/andreistefanescu/repos","events_url":"https://api.github.com/users/andreistefanescu/events{/privacy}","received_events_url":"https://api.github.com/users/andreistefanescu/received_events","type":"User","site_admin":false},"body":"can you check if ```solution``` is a matching of all the rule variables, and only perform the renaming if that is not the case?","created_at":"2015-10-09T20:55:40Z","updated_at":"2015-10-09T20:55:40Z","html_url":"https://github.com/kframework/k/pull/1768#discussion_r41677056","pull_request_url":"https://api.github.com/repos/kframework/k/pulls/1768","_links":{"self":{"href":"https://api.github.com/repos/kframework/k/pulls/comments/41677056"},"html":{"href":"https://github.com/kframework/k/pull/1768#discussion_r41677056"},"pull_request":{"href":"https://api.github.com/repos/kframework/k/pulls/1768"}}},"pull_request":{"url":"https://api.github.com/repos/kframework/k/pulls/1768","id":47232945,"html_url":"https://github.com/kframework/k/pull/1768","diff_url":"https://github.com/kframework/k/pull/1768.diff","patch_url":"https://github.com/kframework/k/pull/1768.patch","issue_url":"https://api.github.com/repos/kframework/k/issues/1768","number":1768,"state":"open","locked":false,"title":"clean up and fix symbolic execution","user":{"login":"yilongli","id":4922997,"avatar_url":"https://avatars.githubusercontent.com/u/4922997?v=3","gravatar_id":"","url":"https://api.github.com/users/yilongli","html_url":"https://github.com/yilongli","followers_url":"https://api.github.com/users/yilongli/followers","following_url":"https://api.github.com/users/yilongli/following{/other_user}","gists_url":"https://api.github.com/users/yilongli/gists{/gist_id}","starred_url":"https://api.github.com/users/yilongli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yilongli/subscriptions","organizations_url":"https://api.github.com/users/yilongli/orgs","repos_url":"https://api.github.com/users/yilongli/repos","events_url":"https://api.github.com/users/yilongli/events{/privacy}","received_events_url":"https://api.github.com/users/yilongli/received_events","type":"User","site_admin":false},"body":"do not review yet","created_at":"2015-10-09T04:21:10Z","updated_at":"2015-10-09T20:55:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"46a4767d95422e7c293724fd39a51a50fdbe1cb5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kframework/k/pulls/1768/commits","review_comments_url":"https://api.github.com/repos/kframework/k/pulls/1768/comments","review_comment_url":"https://api.github.com/repos/kframework/k/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kframework/k/issues/1768/comments","statuses_url":"https://api.github.com/repos/kframework/k/statuses/17bd4604c4a97062b1cc0e316ed87e19896d38cd","head":{"label":"yilongli:master","ref":"master","sha":"17bd4604c4a97062b1cc0e316ed87e19896d38cd","user":{"login":"yilongli","id":4922997,"avatar_url":"https://avatars.githubusercontent.com/u/4922997?v=3","gravatar_id":"","url":"https://api.github.com/users/yilongli","html_url":"https://github.com/yilongli","followers_url":"https://api.github.com/users/yilongli/followers","following_url":"https://api.github.com/users/yilongli/following{/other_user}","gists_url":"https://api.github.com/users/yilongli/gists{/gist_id}","starred_url":"https://api.github.com/users/yilongli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yilongli/subscriptions","organizations_url":"https://api.github.com/users/yilongli/orgs","repos_url":"https://api.github.com/users/yilongli/repos","events_url":"https://api.github.com/users/yilongli/events{/privacy}","received_events_url":"https://api.github.com/users/yilongli/received_events","type":"User","site_admin":false},"repo":{"id":17353251,"name":"k","full_name":"yilongli/k","owner":{"login":"yilongli","id":4922997,"avatar_url":"https://avatars.githubusercontent.com/u/4922997?v=3","gravatar_id":"","url":"https://api.github.com/users/yilongli","html_url":"https://github.com/yilongli","followers_url":"https://api.github.com/users/yilongli/followers","following_url":"https://api.github.com/users/yilongli/following{/other_user}","gists_url":"https://api.github.com/users/yilongli/gists{/gist_id}","starred_url":"https://api.github.com/users/yilongli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yilongli/subscriptions","organizations_url":"https://api.github.com/users/yilongli/orgs","repos_url":"https://api.github.com/users/yilongli/repos","events_url":"https://api.github.com/users/yilongli/events{/privacy}","received_events_url":"https://api.github.com/users/yilongli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yilongli/k","description":"The K tools","fork":true,"url":"https://api.github.com/repos/yilongli/k","forks_url":"https://api.github.com/repos/yilongli/k/forks","keys_url":"https://api.github.com/repos/yilongli/k/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yilongli/k/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yilongli/k/teams","hooks_url":"https://api.github.com/repos/yilongli/k/hooks","issue_events_url":"https://api.github.com/repos/yilongli/k/issues/events{/number}","events_url":"https://api.github.com/repos/yilongli/k/events","assignees_url":"https://api.github.com/repos/yilongli/k/assignees{/user}","branches_url":"https://api.github.com/repos/yilongli/k/branches{/branch}","tags_url":"https://api.github.com/repos/yilongli/k/tags","blobs_url":"https://api.github.com/repos/yilongli/k/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yilongli/k/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yilongli/k/git/refs{/sha}","trees_url":"https://api.github.com/repos/yilongli/k/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yilongli/k/statuses/{sha}","languages_url":"https://api.github.com/repos/yilongli/k/languages","stargazers_url":"https://api.github.com/repos/yilongli/k/stargazers","contributors_url":"https://api.github.com/repos/yilongli/k/contributors","subscribers_url":"https://api.github.com/repos/yilongli/k/subscribers","subscription_url":"https://api.github.com/repos/yilongli/k/subscription","commits_url":"https://api.github.com/repos/yilongli/k/commits{/sha}","git_commits_url":"https://api.github.com/repos/yilongli/k/git/commits{/sha}","comments_url":"https://api.github.com/repos/yilongli/k/comments{/number}","issue_comment_url":"https://api.github.com/repos/yilongli/k/issues/comments{/number}","contents_url":"https://api.github.com/repos/yilongli/k/contents/{+path}","compare_url":"https://api.github.com/repos/yilongli/k/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yilongli/k/merges","archive_url":"https://api.github.com/repos/yilongli/k/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yilongli/k/downloads","issues_url":"https://api.github.com/repos/yilongli/k/issues{/number}","pulls_url":"https://api.github.com/repos/yilongli/k/pulls{/number}","milestones_url":"https://api.github.com/repos/yilongli/k/milestones{/number}","notifications_url":"https://api.github.com/repos/yilongli/k/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yilongli/k/labels{/name}","releases_url":"https://api.github.com/repos/yilongli/k/releases{/id}","created_at":"2014-03-03T02:49:47Z","updated_at":"2015-02-03T05:34:19Z","pushed_at":"2015-10-09T20:27:20Z","git_url":"git://github.com/yilongli/k.git","ssh_url":"git@github.com:yilongli/k.git","clone_url":"https://github.com/yilongli/k.git","svn_url":"https://github.com/yilongli/k","homepage":"kframework.org","size":261167,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"kframework:master","ref":"master","sha":"2ae7f4798e160b8c3212e671ede600fae510617d","user":{"login":"kframework","id":5104335,"avatar_url":"https://avatars.githubusercontent.com/u/5104335?v=3","gravatar_id":"","url":"https://api.github.com/users/kframework","html_url":"https://github.com/kframework","followers_url":"https://api.github.com/users/kframework/followers","following_url":"https://api.github.com/users/kframework/following{/other_user}","gists_url":"https://api.github.com/users/kframework/gists{/gist_id}","starred_url":"https://api.github.com/users/kframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kframework/subscriptions","organizations_url":"https://api.github.com/users/kframework/orgs","repos_url":"https://api.github.com/users/kframework/repos","events_url":"https://api.github.com/users/kframework/events{/privacy}","received_events_url":"https://api.github.com/users/kframework/received_events","type":"Organization","site_admin":false},"repo":{"id":11711223,"name":"k","full_name":"kframework/k","owner":{"login":"kframework","id":5104335,"avatar_url":"https://avatars.githubusercontent.com/u/5104335?v=3","gravatar_id":"","url":"https://api.github.com/users/kframework","html_url":"https://github.com/kframework","followers_url":"https://api.github.com/users/kframework/followers","following_url":"https://api.github.com/users/kframework/following{/other_user}","gists_url":"https://api.github.com/users/kframework/gists{/gist_id}","starred_url":"https://api.github.com/users/kframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kframework/subscriptions","organizations_url":"https://api.github.com/users/kframework/orgs","repos_url":"https://api.github.com/users/kframework/repos","events_url":"https://api.github.com/users/kframework/events{/privacy}","received_events_url":"https://api.github.com/users/kframework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kframework/k","description":"The K tools","fork":false,"url":"https://api.github.com/repos/kframework/k","forks_url":"https://api.github.com/repos/kframework/k/forks","keys_url":"https://api.github.com/repos/kframework/k/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kframework/k/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kframework/k/teams","hooks_url":"https://api.github.com/repos/kframework/k/hooks","issue_events_url":"https://api.github.com/repos/kframework/k/issues/events{/number}","events_url":"https://api.github.com/repos/kframework/k/events","assignees_url":"https://api.github.com/repos/kframework/k/assignees{/user}","branches_url":"https://api.github.com/repos/kframework/k/branches{/branch}","tags_url":"https://api.github.com/repos/kframework/k/tags","blobs_url":"https://api.github.com/repos/kframework/k/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kframework/k/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kframework/k/git/refs{/sha}","trees_url":"https://api.github.com/repos/kframework/k/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kframework/k/statuses/{sha}","languages_url":"https://api.github.com/repos/kframework/k/languages","stargazers_url":"https://api.github.com/repos/kframework/k/stargazers","contributors_url":"https://api.github.com/repos/kframework/k/contributors","subscribers_url":"https://api.github.com/repos/kframework/k/subscribers","subscription_url":"https://api.github.com/repos/kframework/k/subscription","commits_url":"https://api.github.com/repos/kframework/k/commits{/sha}","git_commits_url":"https://api.github.com/repos/kframework/k/git/commits{/sha}","comments_url":"https://api.github.com/repos/kframework/k/comments{/number}","issue_comment_url":"https://api.github.com/repos/kframework/k/issues/comments{/number}","contents_url":"https://api.github.com/repos/kframework/k/contents/{+path}","compare_url":"https://api.github.com/repos/kframework/k/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kframework/k/merges","archive_url":"https://api.github.com/repos/kframework/k/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kframework/k/downloads","issues_url":"https://api.github.com/repos/kframework/k/issues{/number}","pulls_url":"https://api.github.com/repos/kframework/k/pulls{/number}","milestones_url":"https://api.github.com/repos/kframework/k/milestones{/number}","notifications_url":"https://api.github.com/repos/kframework/k/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kframework/k/labels{/name}","releases_url":"https://api.github.com/repos/kframework/k/releases{/id}","created_at":"2013-07-27T21:22:53Z","updated_at":"2015-10-07T02:27:55Z","pushed_at":"2015-10-09T20:52:10Z","git_url":"git://github.com/kframework/k.git","ssh_url":"git@github.com:kframework/k.git","clone_url":"https://github.com/kframework/k.git","svn_url":"https://github.com/kframework/k","homepage":"kframework.org","size":346019,"stargazers_count":65,"watchers_count":65,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":52,"mirror_url":null,"open_issues_count":231,"forks":52,"open_issues":231,"watchers":65,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kframework/k/pulls/1768"},"html":{"href":"https://github.com/kframework/k/pull/1768"},"issue":{"href":"https://api.github.com/repos/kframework/k/issues/1768"},"comments":{"href":"https://api.github.com/repos/kframework/k/issues/1768/comments"},"review_comments":{"href":"https://api.github.com/repos/kframework/k/pulls/1768/comments"},"review_comment":{"href":"https://api.github.com/repos/kframework/k/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kframework/k/pulls/1768/commits"},"statuses":{"href":"https://api.github.com/repos/kframework/k/statuses/17bd4604c4a97062b1cc0e316ed87e19896d38cd"}}}}