{"id":37070987,"url":"https://github.com/digitalformallogic/mathesis","last_synced_at":"2026-01-14T08:17:28.099Z","repository":{"id":186206842,"uuid":"674811042","full_name":"DigitalFormalLogic/mathesis","owner":"DigitalFormalLogic","description":"Python library for computational formal logic, formal semantics, and theorem proving","archived":false,"fork":false,"pushed_at":"2025-12-11T21:32:21.000Z","size":1230,"stargazers_count":29,"open_issues_count":1,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-12-12T06:14:37.143Z","etag":null,"topics":["first-order-logic","formal-logic","logic","mathematical-logic","philosophical-logic","philosophy","proof","propositional-logic","prover","semantics","symbolic-logic"],"latest_commit_sha":null,"homepage":"https://digitalformallogic.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/DigitalFormalLogic.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-08-04T21:00:44.000Z","updated_at":"2025-12-11T21:32:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"41a21262-07c5-4c56-94f3-b443161b8899","html_url":"https://github.com/DigitalFormalLogic/mathesis","commit_stats":null,"previous_names":["ozekik/mathesis","digitalformallogic/mathesis"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/DigitalFormalLogic/mathesis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DigitalFormalLogic%2Fmathesis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DigitalFormalLogic%2Fmathesis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DigitalFormalLogic%2Fmathesis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DigitalFormalLogic%2Fmathesis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DigitalFormalLogic","download_url":"https://codeload.github.com/DigitalFormalLogic/mathesis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DigitalFormalLogic%2Fmathesis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413748,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["first-order-logic","formal-logic","logic","mathematical-logic","philosophical-logic","philosophy","proof","propositional-logic","prover","semantics","symbolic-logic"],"created_at":"2026-01-14T08:17:27.486Z","updated_at":"2026-01-14T08:17:28.079Z","avatar_url":"https://github.com/DigitalFormalLogic.png","language":"Python","readme":"# Mathesis\n\n[![CI](https://github.com/digitalformallogic/mathesis/actions/workflows/ci.yml/badge.svg)](https://github.com/digitalformallogic/mathesis/actions/workflows/ci.yml)\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/digitalformallogic/mathesis/pages/pages-build-deployment?branch=gh-pages\u0026label=docs)](https://digitalformallogic.github.io/mathesis/)\n[![PyPI downloads](https://img.shields.io/pypi/dm/mathesis.svg)](https://pypistats.org/packages/mathesis)\n\n[Mathesis](//github.com/digitalformallogic/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://digitalformallogic.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 (WIP)\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%2Fdigitalformallogic%2Fmathesis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigitalformallogic%2Fmathesis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitalformallogic%2Fmathesis/lists"}