{"id":19647459,"url":"https://github.com/mohazamani/logic-project-spring00-01","last_synced_at":"2026-06-10T03:31:34.580Z","repository":{"id":50287707,"uuid":"518691926","full_name":"MohaZamani/Logic-Project-Spring00-01","owner":"MohaZamani","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-28T04:16:48.000Z","size":125,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-09T22:19:14.702Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MohaZamani.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-28T03:51:08.000Z","updated_at":"2022-07-28T03:56:27.000Z","dependencies_parsed_at":"2022-09-06T16:50:20.051Z","dependency_job_id":null,"html_url":"https://github.com/MohaZamani/Logic-Project-Spring00-01","commit_stats":null,"previous_names":["mohazamani/logic-project-spring00-01"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohaZamani%2FLogic-Project-Spring00-01","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohaZamani%2FLogic-Project-Spring00-01/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohaZamani%2FLogic-Project-Spring00-01/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohaZamani%2FLogic-Project-Spring00-01/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MohaZamani","download_url":"https://codeload.github.com/MohaZamani/Logic-Project-Spring00-01/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240954374,"owners_count":19884177,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-11T14:44:14.838Z","updated_at":"2026-06-10T03:31:34.572Z","avatar_url":"https://github.com/MohaZamani.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Logic-Project-Spring00-01\n\n## finding interpolant of a WFF formula in first order logic.\n\n#### WFF formula defenition :\n\n- True and False are wffs.\n- Each atomic formula (i.e. a specific predicate with variables) is a wff.\n- If A, B, and C are wffs, then so are  A, (A \u0026 B), (A | B), and (A \u003e B).\n- If C is wffs, then so are  (~C).\n\n\n\n#### Craig interpolation :\n\nIn mathematical logic, Craig's interpolation theorem is a result about the relationship between different logical theories. Roughly stated, the theorem says that if a formula φ implies a formula ψ, and the two have at least one atomic variable symbol in common, then there is a formula ρ, called an interpolant, such that every non-logical symbol in ρ occurs both in φ and ψ, φ implies ρ, and ρ implies ψ. The theorem was first proved for first-order logic by William Craig in 1957. Variants of the theorem hold for other logics, such as propositional logic. A stronger form of Craig's interpolation theorem for first-order logic was proved by Roger Lyndon in 1959; the overall result is sometimes called the Craig–Lyndon theorem.\n\n\nHow Run:\n```\ng++ main.cpp\n./a.out\ninput : a WFF formula Like (A\u003eB).\noutput : WFF formulas like C that is interpolation.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohazamani%2Flogic-project-spring00-01","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohazamani%2Flogic-project-spring00-01","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohazamani%2Flogic-project-spring00-01/lists"}