{"action":"created","comment":{"url":"https://api.github.com/repos/jwiegley/category-solver/pulls/comments/122882814","pull_request_review_id":45034552,"id":122882814,"diff_hunk":"@@ -0,0 +1,143 @@\n+Require Import Coq.PArith.BinPos.\n+\n+Require Import Cat.\n+Require Import Functor.\n+\n+Definition catI : Set := positive.\n+\n+Inductive obj_expr : Set :=\n+| ORef : positive -> obj_expr\n+| OFun : positive -> obj_expr -> obj_expr\n+.\n+\n+Inductive mor_expr : Set :=\n+| MRef : positive -> mor_expr\n+| MIdentity : obj_expr -> mor_expr\n+| MCompose : mor_expr -> mor_expr -> mor_expr\n+| MFun : positive -> list obj_expr -> list mor_expr -> mor_expr\n+.\n+\n+Section denote.\n+  Context {cats : catI -> option Category}.","path":"src/Lang.v","position":21,"original_position":21,"commit_id":"a8a8fb221aed3c108be72d67d8f2820732dd4549","original_commit_id":"a8a8fb221aed3c108be72d67d8f2820732dd4549","user":{"login":"jwiegley","id":8460,"avatar_url":"https://avatars1.githubusercontent.com/u/8460?v=3","gravatar_id":"","url":"https://api.github.com/users/jwiegley","html_url":"https://github.com/jwiegley","followers_url":"https://api.github.com/users/jwiegley/followers","following_url":"https://api.github.com/users/jwiegley/following{/other_user}","gists_url":"https://api.github.com/users/jwiegley/gists{/gist_id}","starred_url":"https://api.github.com/users/jwiegley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwiegley/subscriptions","organizations_url":"https://api.github.com/users/jwiegley/orgs","repos_url":"https://api.github.com/users/jwiegley/repos","events_url":"https://api.github.com/users/jwiegley/events{/privacy}","received_events_url":"https://api.github.com/users/jwiegley/received_events","type":"User","site_admin":false},"body":"We could make this total by return the Zero category for any invalid instance.","created_at":"2017-06-20T05:17:17Z","updated_at":"2017-06-20T05:17:17Z","html_url":"https://github.com/jwiegley/category-solver/pull/15#discussion_r122882814","pull_request_url":"https://api.github.com/repos/jwiegley/category-solver/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/jwiegley/category-solver/pulls/comments/122882814"},"html":{"href":"https://github.com/jwiegley/category-solver/pull/15#discussion_r122882814"},"pull_request":{"href":"https://api.github.com/repos/jwiegley/category-solver/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/jwiegley/category-solver/pulls/15","id":126439963,"html_url":"https://github.com/jwiegley/category-solver/pull/15","diff_url":"https://github.com/jwiegley/category-solver/pull/15.diff","patch_url":"https://github.com/jwiegley/category-solver/pull/15.patch","issue_url":"https://api.github.com/repos/jwiegley/category-solver/issues/15","number":15,"state":"open","locked":false,"title":"the (not quite full) language is quite complex.","user":{"login":"gmalecha","id":304471,"avatar_url":"https://avatars2.githubusercontent.com/u/304471?v=3","gravatar_id":"","url":"https://api.github.com/users/gmalecha","html_url":"https://github.com/gmalecha","followers_url":"https://api.github.com/users/gmalecha/followers","following_url":"https://api.github.com/users/gmalecha/following{/other_user}","gists_url":"https://api.github.com/users/gmalecha/gists{/gist_id}","starred_url":"https://api.github.com/users/gmalecha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmalecha/subscriptions","organizations_url":"https://api.github.com/users/gmalecha/orgs","repos_url":"https://api.github.com/users/gmalecha/repos","events_url":"https://api.github.com/users/gmalecha/events{/privacy}","received_events_url":"https://api.github.com/users/gmalecha/received_events","type":"User","site_admin":false},"body":"- dependent types might make it easier.","created_at":"2017-06-20T03:23:38Z","updated_at":"2017-06-20T05:17:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c9791308ee1793e19637c0bbf2488b5cf9df8097","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/jwiegley/category-solver/pulls/15/commits","review_comments_url":"https://api.github.com/repos/jwiegley/category-solver/pulls/15/comments","review_comment_url":"https://api.github.com/repos/jwiegley/category-solver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jwiegley/category-solver/issues/15/comments","statuses_url":"https://api.github.com/repos/jwiegley/category-solver/statuses/a8a8fb221aed3c108be72d67d8f2820732dd4549","head":{"label":"jwiegley:full-lang","ref":"full-lang","sha":"a8a8fb221aed3c108be72d67d8f2820732dd4549","user":{"login":"jwiegley","id":8460,"avatar_url":"https://avatars1.githubusercontent.com/u/8460?v=3","gravatar_id":"","url":"https://api.github.com/users/jwiegley","html_url":"https://github.com/jwiegley","followers_url":"https://api.github.com/users/jwiegley/followers","following_url":"https://api.github.com/users/jwiegley/following{/other_user}","gists_url":"https://api.github.com/users/jwiegley/gists{/gist_id}","starred_url":"https://api.github.com/users/jwiegley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwiegley/subscriptions","organizations_url":"https://api.github.com/users/jwiegley/orgs","repos_url":"https://api.github.com/users/jwiegley/repos","events_url":"https://api.github.com/users/jwiegley/events{/privacy}","received_events_url":"https://api.github.com/users/jwiegley/received_events","type":"User","site_admin":false},"repo":{"id":94099032,"name":"category-solver","full_name":"jwiegley/category-solver","owner":{"login":"jwiegley","id":8460,"avatar_url":"https://avatars1.githubusercontent.com/u/8460?v=3","gravatar_id":"","url":"https://api.github.com/users/jwiegley","html_url":"https://github.com/jwiegley","followers_url":"https://api.github.com/users/jwiegley/followers","following_url":"https://api.github.com/users/jwiegley/following{/other_user}","gists_url":"https://api.github.com/users/jwiegley/gists{/gist_id}","starred_url":"https://api.github.com/users/jwiegley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwiegley/subscriptions","organizations_url":"https://api.github.com/users/jwiegley/orgs","repos_url":"https://api.github.com/users/jwiegley/repos","events_url":"https://api.github.com/users/jwiegley/events{/privacy}","received_events_url":"https://api.github.com/users/jwiegley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jwiegley/category-solver","description":"A solver for categorical equivalences in Coq based on computational reflection","fork":false,"url":"https://api.github.com/repos/jwiegley/category-solver","forks_url":"https://api.github.com/repos/jwiegley/category-solver/forks","keys_url":"https://api.github.com/repos/jwiegley/category-solver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jwiegley/category-solver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jwiegley/category-solver/teams","hooks_url":"https://api.github.com/repos/jwiegley/category-solver/hooks","issue_events_url":"https://api.github.com/repos/jwiegley/category-solver/issues/events{/number}","events_url":"https://api.github.com/repos/jwiegley/category-solver/events","assignees_url":"https://api.github.com/repos/jwiegley/category-solver/assignees{/user}","branches_url":"https://api.github.com/repos/jwiegley/category-solver/branches{/branch}","tags_url":"https://api.github.com/repos/jwiegley/category-solver/tags","blobs_url":"https://api.github.com/repos/jwiegley/category-solver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jwiegley/category-solver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jwiegley/category-solver/git/refs{/sha}","trees_url":"https://api.github.com/repos/jwiegley/category-solver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jwiegley/category-solver/statuses/{sha}","languages_url":"https://api.github.com/repos/jwiegley/category-solver/languages","stargazers_url":"https://api.github.com/repos/jwiegley/category-solver/stargazers","contributors_url":"https://api.github.com/repos/jwiegley/category-solver/contributors","subscribers_url":"https://api.github.com/repos/jwiegley/category-solver/subscribers","subscription_url":"https://api.github.com/repos/jwiegley/category-solver/subscription","commits_url":"https://api.github.com/repos/jwiegley/category-solver/commits{/sha}","git_commits_url":"https://api.github.com/repos/jwiegley/category-solver/git/commits{/sha}","comments_url":"https://api.github.com/repos/jwiegley/category-solver/comments{/number}","issue_comment_url":"https://api.github.com/repos/jwiegley/category-solver/issues/comments{/number}","contents_url":"https://api.github.com/repos/jwiegley/category-solver/contents/{+path}","compare_url":"https://api.github.com/repos/jwiegley/category-solver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jwiegley/category-solver/merges","archive_url":"https://api.github.com/repos/jwiegley/category-solver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jwiegley/category-solver/downloads","issues_url":"https://api.github.com/repos/jwiegley/category-solver/issues{/number}","pulls_url":"https://api.github.com/repos/jwiegley/category-solver/pulls{/number}","milestones_url":"https://api.github.com/repos/jwiegley/category-solver/milestones{/number}","notifications_url":"https://api.github.com/repos/jwiegley/category-solver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jwiegley/category-solver/labels{/name}","releases_url":"https://api.github.com/repos/jwiegley/category-solver/releases{/id}","deployments_url":"https://api.github.com/repos/jwiegley/category-solver/deployments","created_at":"2017-06-12T13:25:40Z","updated_at":"2017-06-13T08:11:02Z","pushed_at":"2017-06-20T03:23:38Z","git_url":"git://github.com/jwiegley/category-solver.git","ssh_url":"git@github.com:jwiegley/category-solver.git","clone_url":"https://github.com/jwiegley/category-solver.git","svn_url":"https://github.com/jwiegley/category-solver","homepage":null,"size":134,"stargazers_count":11,"watchers_count":11,"language":"Coq","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":11,"default_branch":"master"}},"base":{"label":"jwiegley:master","ref":"master","sha":"e044810d0a8fbb4c1c7b53909fa6626322f9af66","user":{"login":"jwiegley","id":8460,"avatar_url":"https://avatars1.githubusercontent.com/u/8460?v=3","gravatar_id":"","url":"https://api.github.com/users/jwiegley","html_url":"https://github.com/jwiegley","followers_url":"https://api.github.com/users/jwiegley/followers","following_url":"https://api.github.com/users/jwiegley/following{/other_user}","gists_url":"https://api.github.com/users/jwiegley/gists{/gist_id}","starred_url":"https://api.github.com/users/jwiegley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwiegley/subscriptions","organizations_url":"https://api.github.com/users/jwiegley/orgs","repos_url":"https://api.github.com/users/jwiegley/repos","events_url":"https://api.github.com/users/jwiegley/events{/privacy}","received_events_url":"https://api.github.com/users/jwiegley/received_events","type":"User","site_admin":false},"repo":{"id":94099032,"name":"category-solver","full_name":"jwiegley/category-solver","owner":{"login":"jwiegley","id":8460,"avatar_url":"https://avatars1.githubusercontent.com/u/8460?v=3","gravatar_id":"","url":"https://api.github.com/users/jwiegley","html_url":"https://github.com/jwiegley","followers_url":"https://api.github.com/users/jwiegley/followers","following_url":"https://api.github.com/users/jwiegley/following{/other_user}","gists_url":"https://api.github.com/users/jwiegley/gists{/gist_id}","starred_url":"https://api.github.com/users/jwiegley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwiegley/subscriptions","organizations_url":"https://api.github.com/users/jwiegley/orgs","repos_url":"https://api.github.com/users/jwiegley/repos","events_url":"https://api.github.com/users/jwiegley/events{/privacy}","received_events_url":"https://api.github.com/users/jwiegley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jwiegley/category-solver","description":"A solver for categorical equivalences in Coq based on computational reflection","fork":false,"url":"https://api.github.com/repos/jwiegley/category-solver","forks_url":"https://api.github.com/repos/jwiegley/category-solver/forks","keys_url":"https://api.github.com/repos/jwiegley/category-solver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jwiegley/category-solver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jwiegley/category-solver/teams","hooks_url":"https://api.github.com/repos/jwiegley/category-solver/hooks","issue_events_url":"https://api.github.com/repos/jwiegley/category-solver/issues/events{/number}","events_url":"https://api.github.com/repos/jwiegley/category-solver/events","assignees_url":"https://api.github.com/repos/jwiegley/category-solver/assignees{/user}","branches_url":"https://api.github.com/repos/jwiegley/category-solver/branches{/branch}","tags_url":"https://api.github.com/repos/jwiegley/category-solver/tags","blobs_url":"https://api.github.com/repos/jwiegley/category-solver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jwiegley/category-solver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jwiegley/category-solver/git/refs{/sha}","trees_url":"https://api.github.com/repos/jwiegley/category-solver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jwiegley/category-solver/statuses/{sha}","languages_url":"https://api.github.com/repos/jwiegley/category-solver/languages","stargazers_url":"https://api.github.com/repos/jwiegley/category-solver/stargazers","contributors_url":"https://api.github.com/repos/jwiegley/category-solver/contributors","subscribers_url":"https://api.github.com/repos/jwiegley/category-solver/subscribers","subscription_url":"https://api.github.com/repos/jwiegley/category-solver/subscription","commits_url":"https://api.github.com/repos/jwiegley/category-solver/commits{/sha}","git_commits_url":"https://api.github.com/repos/jwiegley/category-solver/git/commits{/sha}","comments_url":"https://api.github.com/repos/jwiegley/category-solver/comments{/number}","issue_comment_url":"https://api.github.com/repos/jwiegley/category-solver/issues/comments{/number}","contents_url":"https://api.github.com/repos/jwiegley/category-solver/contents/{+path}","compare_url":"https://api.github.com/repos/jwiegley/category-solver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jwiegley/category-solver/merges","archive_url":"https://api.github.com/repos/jwiegley/category-solver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jwiegley/category-solver/downloads","issues_url":"https://api.github.com/repos/jwiegley/category-solver/issues{/number}","pulls_url":"https://api.github.com/repos/jwiegley/category-solver/pulls{/number}","milestones_url":"https://api.github.com/repos/jwiegley/category-solver/milestones{/number}","notifications_url":"https://api.github.com/repos/jwiegley/category-solver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jwiegley/category-solver/labels{/name}","releases_url":"https://api.github.com/repos/jwiegley/category-solver/releases{/id}","deployments_url":"https://api.github.com/repos/jwiegley/category-solver/deployments","created_at":"2017-06-12T13:25:40Z","updated_at":"2017-06-13T08:11:02Z","pushed_at":"2017-06-20T03:23:38Z","git_url":"git://github.com/jwiegley/category-solver.git","ssh_url":"git@github.com:jwiegley/category-solver.git","clone_url":"https://github.com/jwiegley/category-solver.git","svn_url":"https://github.com/jwiegley/category-solver","homepage":null,"size":134,"stargazers_count":11,"watchers_count":11,"language":"Coq","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jwiegley/category-solver/pulls/15"},"html":{"href":"https://github.com/jwiegley/category-solver/pull/15"},"issue":{"href":"https://api.github.com/repos/jwiegley/category-solver/issues/15"},"comments":{"href":"https://api.github.com/repos/jwiegley/category-solver/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/jwiegley/category-solver/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/jwiegley/category-solver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jwiegley/category-solver/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/jwiegley/category-solver/statuses/a8a8fb221aed3c108be72d67d8f2820732dd4549"}}}}
{"actor":{"display_login":"jwiegley"}}