{"id":19494639,"url":"https://github.com/ozekik/mathesis","last_synced_at":"2025-04-25T21:31:54.221Z","repository":{"id":186206842,"uuid":"674811042","full_name":"ozekik/mathesis","owner":"ozekik","description":"Python library for computational formal logic, formal semantics, and theorem proving","archived":false,"fork":false,"pushed_at":"2024-04-26T16:10:54.000Z","size":1044,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-27T16:55:59.484Z","etag":null,"topics":["first-order-logic","formal-logic","logic","mathematical-logic","philosophical-logic","philosophy","proof","propositional-logic","prover","semantics"],"latest_commit_sha":null,"homepage":"https://ozekik.github.io/mathesis/","language":"Python","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/ozekik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.md","funding":null,"license":"LICENSE.md","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-08-04T21:00:44.000Z","updated_at":"2024-06-27T00:44:17.376Z","dependencies_parsed_at":null,"dependency_job_id":"41a21262-07c5-4c56-94f3-b443161b8899","html_url":"https://github.com/ozekik/mathesis","commit_stats":null,"previous_names":["ozekik/mathesis"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozekik%2Fmathesis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozekik%2Fmathesis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozekik%2Fmathesis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozekik%2Fmathesis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ozekik","download_url":"https://codeload.github.com/ozekik/mathesis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224018068,"owners_count":17242009,"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":["first-order-logic","formal-logic","logic","mathematical-logic","philosophical-logic","philosophy","proof","propositional-logic","prover","semantics"],"created_at":"2024-11-10T21:31:06.589Z","updated_at":"2024-11-10T21:32:56.931Z","avatar_url":"https://github.com/ozekik.png","language":"Python","readme":"# Mathesis\n\n[![PyPI](https://img.shields.io/pypi/v/mathesis.svg)](https://pypi.org/project/mathesis/)\n[![Documentation Status](https://img.shields.io/github/actions/workflow/status/ozekik/mathesis/pages/pages-build-deployment?branch=gh-pages\u0026label=docs)](https://ozekik.github.io/mathesis/)\n[![PyPI downloads](https://img.shields.io/pypi/dm/mathesis.svg)](https://pypistats.org/packages/mathesis)\n\n[Mathesis](//github.com/ozekik/mathesis) is a human-friendly Python library for computational formal logic (including mathematical, symbolic, philosophical logic), formal semantics, and theorem proving.\nIt is particularly well-suited for:\n\n- Students learning logic and educators teaching it\n- Researchers in fields like logic, philosophy, linguistics, computer science, and many others\n\n**Documentation:** \u003chttps://ozekik.github.io/mathesis/\u003e\n\n## Installation\n\n```bash\npip install mathesis\n```\n\n## Key features\n\n- Interactive theorem proving for humans (proof assistant)\n- Automated reasoning (theorem prover)\n- Define models and check validity of inferences in the models\n- JupyterLab/Jupyter Notebook support\n- Output formulas/proofs in LaTeX\n- Customizable ASCII/Unicode syntax (like `A -\u003e B`, `A → B`, `A ⊃ B` for the conditional)\n\n## Supported logics\n\n### Propositional logics\n\n|   | Truth Table | Tableau | Natural Deduction | Sequent Calculus |\n|---:|:---:|:---:|:---:|:---:|\n| Classical logic | ✅ | ✅ | ✅ | ✅ |\n| Many-valued logics | ✅ | - | - | - |\n| Intuitionistic logic | n/a | - | - | ✅ |\n\n#### In Progress\n\n- Modal logics\n- Fuzzy logics\n- Substructural logics\n- Epistemic, doxastic, deontic logics\n- Temporal logics\n\n### First-order logics (quantified, predicate logics)\n\n|   | Model | Tableau | Natural Deduction | Sequent Calculus |\n|---:|:---:|:---:|:---:|:---:|\n| Classical logic | ✅ | ✅ | - | - |\n\n#### In Progress\n\n- Many-valued logics\n- Modal logics\n- Intuitionistic logic\n- Fuzzy logics\n- Substructural logics\n- Higher-order logics\n\n## Development status\n\n### Proof theories\n\n- **Tableaux** (semantic tableaux, analytic tableaux)\n    * [x] Unsigned tableaux\n    * [x] Signed tableaux\n- **Hilbert systems**\n    * [ ] Hilbert systems\n- **Natural deduction**\n    * [x] Generic natural deduction\n    * [x] Gentzen-style natural deduction (Output)\n    * [ ] Fitch-style natural deduction\n- **Sequent calculi** (Gentzen-style sequent calculi)\n    - [x] Two-sided sequent calculi\n    - [ ] Hilbert systems in sequent calculus\n    - [ ] Natural deduction in sequent calculus\n\n### Semantics\n\n- [x] Truth tables\n- [x] Set-theoretic models\n- [ ] Possible world semantics (Kripke semantics)\n- [ ] Algebraic semantics\n- [ ] Game-theoretic semantics\n- [ ] Category-theoretic semantics\n\n## Internals\n\n- Parsing with [lark](https://github.com/lark-parser/lark)\n- Trees with [anytree](https://github.com/c0fec0de/anytree)\n\n## Roadmap\n\n- [ ] Add tests\n- [ ] Hilbert systems\n- [x] Natural deduction\n- [ ] Boolean algebra\n- [ ] Type theory\n- [ ] Metatheorems\n- [ ] Output graphical representations of models\n- [ ] Support tptp syntax\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozekik%2Fmathesis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fozekik%2Fmathesis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozekik%2Fmathesis/lists"}