{"id":32388633,"url":"https://github.com/master-q/coqtactic-injectfalse","last_synced_at":"2026-05-14T20:01:23.426Z","repository":{"id":18798980,"uuid":"22012987","full_name":"master-q/coqtactic-injectfalse","owner":"master-q","description":"Custom tactic named \"ij_injectfalse\" injects False into the hypothesis","archived":false,"fork":false,"pushed_at":"2017-08-03T06:47:58.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-25T03:51:53.506Z","etag":null,"topics":["coq","ocaml","proof"],"latest_commit_sha":null,"homepage":"","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/master-q.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-19T15:41:57.000Z","updated_at":"2017-07-23T07:05:09.000Z","dependencies_parsed_at":"2022-07-22T10:22:35.280Z","dependency_job_id":null,"html_url":"https://github.com/master-q/coqtactic-injectfalse","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/master-q/coqtactic-injectfalse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/master-q%2Fcoqtactic-injectfalse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/master-q%2Fcoqtactic-injectfalse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/master-q%2Fcoqtactic-injectfalse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/master-q%2Fcoqtactic-injectfalse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/master-q","download_url":"https://codeload.github.com/master-q/coqtactic-injectfalse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/master-q%2Fcoqtactic-injectfalse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33041204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coq","ocaml","proof"],"created_at":"2025-10-25T03:51:30.535Z","updated_at":"2026-05-14T20:01:23.421Z","avatar_url":"https://github.com/master-q.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"coqtactic-injectfalse\n=====================\n\nCustom tactic named `ij_injectfalse` injects `False` into the hypothesis.\nBut the proof occurs an error on `Qed.`, because Coq checks the soundness of the proof.\n\nCoq is safe!\n\n```\ncat /etc/os-release  | head -1\nPRETTY_NAME=\"Debian GNU/Linux 8 (jessie)\"\n$ sudo apt-get install git make coq ocaml ocaml-findlib camlp5 libcoq-ocaml-dev devscripts dh-ocaml\n$ git clone https://github.com/master-q/coqtactic-injectfalse.git\n$ cd coqtactic-injectfalse\n$ debuild -us -uc\n$ ls ../*.deb\n../libinjectfalse-tactics-ocaml_0.1_amd64.deb  ../libinjectfalse-tactics-ocaml-dev_0.1_amd64.deb\n$ sudo dpkg -i ../libinjectfalse-tactics-ocaml*.deb\n$ coqtop\nWelcome to Coq 8.4pl4 (July 2014)\n\nCoq \u003c Declare ML Module \"injectfalse\".\n[Loading ML file injectfalse.cmxs ... done]\n\nCoq \u003c Theorem plus_0_r : forall n:nat, n + 0 = n.\n1 subgoal\n\n  ============================\n   forall n : nat, n + 0 = n\n\nplus_0_r \u003c Proof.\n1 subgoal\n\n  ============================\n   forall n : nat, n + 0 = n\n\nplus_0_r \u003c intros n.\n1 subgoal\n\n  n : nat\n  ============================\n   n + 0 = n\n\nplus_0_r \u003c destruct n as [| n'].\n2 subgoals\n\n  ============================\n   0 + 0 = 0\n\nsubgoal 2 is:\n S n' + 0 = S n'\n\nplus_0_r \u003c ij_injectfalse.\n1 subgoal\n\n  n' : nat\n  ============================\n   S n' + 0 = S n'\n\nplus_0_r \u003c ij_injectfalse.\nNo more subgoals.\n\nplus_0_r \u003c Show Proof.\n(fun n : nat =\u003e\n match n as n0 return (n0 + 0 = n0) with\n | 0 =\u003e False\n | S _ =\u003e False\n end)\n\nplus_0_r \u003c Qed.\nintros n.\ndestruct n as [| n'].\n ij_injectfalse.\n\n ij_injectfalse.\n\nError: In pattern-matching on term \"n\" the branch for constructor\n\"0\" has type \"Prop\" which should be \"0 + 0 = 0\".\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaster-q%2Fcoqtactic-injectfalse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaster-q%2Fcoqtactic-injectfalse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaster-q%2Fcoqtactic-injectfalse/lists"}