{"action":"closed","issue":{"url":"https://api.github.com/repos/leanprover/lean/issues/361","labels_url":"https://api.github.com/repos/leanprover/lean/issues/361/labels{/name}","comments_url":"https://api.github.com/repos/leanprover/lean/issues/361/comments","events_url":"https://api.github.com/repos/leanprover/lean/issues/361/events","html_url":"https://github.com/leanprover/lean/issues/361","id":50610938,"number":361,"title":"apply fails if conclusion is a function space","user":{"login":"fpvandoorn","id":7376012,"avatar_url":"https://avatars.githubusercontent.com/u/7376012?v=3","gravatar_id":"","url":"https://api.github.com/users/fpvandoorn","html_url":"https://github.com/fpvandoorn","followers_url":"https://api.github.com/users/fpvandoorn/followers","following_url":"https://api.github.com/users/fpvandoorn/following{/other_user}","gists_url":"https://api.github.com/users/fpvandoorn/gists{/gist_id}","starred_url":"https://api.github.com/users/fpvandoorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpvandoorn/subscriptions","organizations_url":"https://api.github.com/users/fpvandoorn/orgs","repos_url":"https://api.github.com/users/fpvandoorn/repos","events_url":"https://api.github.com/users/fpvandoorn/events{/privacy}","received_events_url":"https://api.github.com/users/fpvandoorn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"leodemoura","id":2778936,"avatar_url":"https://avatars.githubusercontent.com/u/2778936?v=3","gravatar_id":"","url":"https://api.github.com/users/leodemoura","html_url":"https://github.com/leodemoura","followers_url":"https://api.github.com/users/leodemoura/followers","following_url":"https://api.github.com/users/leodemoura/following{/other_user}","gists_url":"https://api.github.com/users/leodemoura/gists{/gist_id}","starred_url":"https://api.github.com/users/leodemoura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leodemoura/subscriptions","organizations_url":"https://api.github.com/users/leodemoura/orgs","repos_url":"https://api.github.com/users/leodemoura/repos","events_url":"https://api.github.com/users/leodemoura/events{/privacy}","received_events_url":"https://api.github.com/users/leodemoura/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2014-12-02T04:17:49Z","updated_at":"2015-05-01T23:25:11Z","closed_at":"2015-05-01T23:25:11Z","body":"```\r\nvariables {P Q R : Prop}\r\ntheorem foo (H : P → Q → R) (x : P) : Q → R :=\r\nbegin\r\n  apply H, -- error\r\n  exact x\r\nend\r\n```\r\nthe goal `Q → R` should not only be unified with the \"final codomain\" `R` of `H`, but also with \"intermediate codomains\" `Q → R` and `P → Q → R`, if possible."}}