{"id":19794766,"url":"https://github.com/vityaman-edu/math-logic-deduction-theorem","last_synced_at":"2026-06-10T08:31:18.344Z","repository":{"id":70124561,"uuid":"588058385","full_name":"vityaman-edu/math-logic-deduction-theorem","owner":"vityaman-edu","description":"Math Logic course lab: Deduction theorem.","archived":false,"fork":false,"pushed_at":"2023-03-27T21:03:12.000Z","size":94,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"trunk","last_synced_at":"2025-02-28T16:05:44.892Z","etag":null,"topics":["bison","cpp","yacc"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vityaman-edu.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-12T08:20:25.000Z","updated_at":"2025-01-07T20:03:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3748c64-2c95-4fb4-ba6a-3045ec4b9217","html_url":"https://github.com/vityaman-edu/math-logic-deduction-theorem","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vityaman-edu/math-logic-deduction-theorem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vityaman-edu%2Fmath-logic-deduction-theorem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vityaman-edu%2Fmath-logic-deduction-theorem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vityaman-edu%2Fmath-logic-deduction-theorem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vityaman-edu%2Fmath-logic-deduction-theorem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vityaman-edu","download_url":"https://codeload.github.com/vityaman-edu/math-logic-deduction-theorem/tar.gz/refs/heads/trunk","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vityaman-edu%2Fmath-logic-deduction-theorem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34144679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":["bison","cpp","yacc"],"created_at":"2024-11-12T07:14:25.368Z","updated_at":"2026-06-10T08:31:18.324Z","avatar_url":"https://github.com/vityaman-edu.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# math-logic-deduction-theorem\n\n```c\nbool is_axiom_1(expression* e) {\n    // (1) a -\u003e (b -\u003e a)\n    if (e-\u003etype() != IMPLICATION) return false;\n\n    auto base_impl = e-\u003eas_binary();\n    auto a = base_impl-\u003eleft();\n    auto right = base_impl-\u003eright();\n\n    if (right-\u003etype() != IMPLICATION) return false;\n\n    auto right_impl = right-\u003eas_binary();\n    auto b = right_impl-\u003eleft();\n    auto a1 = right_impl-\u003eright();\n\n    if (a-\u003eis_equal_to(a1)) return true;\n\n    return false;\n}\n\nbool is_axiom(expression* e) {\n    if (is_axiom_1(e)) return true;\n    // 2\n    // 3\n    // 4\n    // 5\n    // 6\n    // 7\n    // 8\n    // 9\n    // 10\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvityaman-edu%2Fmath-logic-deduction-theorem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvityaman-edu%2Fmath-logic-deduction-theorem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvityaman-edu%2Fmath-logic-deduction-theorem/lists"}