Logic definitions for Metamath projects
Project description
metamath-logic
metamath-logic is a small Python package that exports the “logic” layer used by ProofScaffold-based Metamath projects.
It provides reusable propositional and predicate logic artifacts that downstream packages can depend on and link against.
Versioning
- Package version:
0.0.2 - ProofScaffold dependency:
proof-scaffold==0.0.5 - Prelude dependency:
metamath-prelude==0.0.2
Installation
This package is published on PyPI: https://pypi.org/project/metamath-logic/
With uv:
uv add metamath-logic
What this package contains
- A ProofScaffold
build.pyentrypoint that emits the logic layer as a linkable unit. - Authoring-facing propositional and predicate logic libraries (Hilbert-style systems).
- A migration guide for the logic layer refactor.
Migration guide
Verification
This repository uses uv for reproducible installs and runs skfd verify --level 1 as the primary correctness gate.
From the metamath-logic/ directory:
uv sync --locked --dev
uv run --frozen ruff check .
uv run --frozen mypy .
uv run --frozen python -m pytest
uv run --frozen skfd verify --level 1 metamath-logic
skfd verify builds the package into a verification monolith (under target/) and checks it with the configured verifiers.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file metamath_logic-0.0.2.tar.gz.
File metadata
- Download URL: metamath_logic-0.0.2.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fcc5f786fefc16c6293b3b4243c2fa44daea84b0382683429d7e0fd415e7018
|
|
| MD5 |
69467497e56804e28dc6bba73c0492a0
|
|
| BLAKE2b-256 |
c96add1a5c614c043ffff67cdea82cb141c87ad6c18928f147af8a033fb216cd
|
File details
Details for the file metamath_logic-0.0.2-py3-none-any.whl.
File metadata
- Download URL: metamath_logic-0.0.2-py3-none-any.whl
- Upload date:
- Size: 21.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c347081b84ebf6d45afbc2be69d9dbc461b847daaf28fdd7bd2fa7289d156e44
|
|
| MD5 |
abf367209987efa88cc26e7e728e707a
|
|
| BLAKE2b-256 |
818616d3691f51e5d9b69f18ec11fa1153dd8ab8fd76e63ae6f31adf9e95bb71
|