{"action":"opened","issue":{"url":"https://api.github.com/repos/Z3Prover/z3/issues/330","labels_url":"https://api.github.com/repos/Z3Prover/z3/issues/330/labels{/name}","comments_url":"https://api.github.com/repos/Z3Prover/z3/issues/330/comments","events_url":"https://api.github.com/repos/Z3Prover/z3/issues/330/events","html_url":"https://github.com/Z3Prover/z3/issues/330","id":117736401,"number":330,"title":"z3 can't solve constraints int const in function power","user":{"login":"chineshboy","id":14286784,"avatar_url":"https://avatars.githubusercontent.com/u/14286784?v=3","gravatar_id":"","url":"https://api.github.com/users/chineshboy","html_url":"https://github.com/chineshboy","followers_url":"https://api.github.com/users/chineshboy/followers","following_url":"https://api.github.com/users/chineshboy/following{/other_user}","gists_url":"https://api.github.com/users/chineshboy/gists{/gist_id}","starred_url":"https://api.github.com/users/chineshboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chineshboy/subscriptions","organizations_url":"https://api.github.com/users/chineshboy/orgs","repos_url":"https://api.github.com/users/chineshboy/repos","events_url":"https://api.github.com/users/chineshboy/events{/privacy}","received_events_url":"https://api.github.com/users/chineshboy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-19T04:00:00Z","updated_at":"2015-11-19T04:00:00Z","closed_at":null,"body":"z3 version: 4.4.0\r\n\r\ntry the following constraint\r\n\r\n; \r\n(set-info :status unknown)\r\n(declare-fun b () Int)\r\n(assert\r\n(= (^ b 4) 16))\r\n(check-sat)\r\n\r\nthe result is 'unknown'\r\nthe same with this one:\r\n\r\n; \r\n(set-info :status unknown)\r\n(declare-fun b () Int)\r\n(assert\r\n(= (^ 4 b) 16))\r\n(check-sat)\r\n\r\nbut another one would give the right result:\r\n\r\n; \r\n(set-info :status unknown)\r\n(declare-fun b () Int)\r\n(assert\r\n(= (^ 2 4) b))\r\n(check-sat)"}}