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.6 - ProofScaffold dependency:
proof-scaffold==0.0.9 - Prelude dependency:
metamath-prelude==0.0.5
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).
- Complete propositional and predicate theorem registries: 1,684 declared proofs, all emitted into the verifier-checked build.
- Propositional syntax/helpers beyond the foundation frame:
wa,wo,wb,wtru,wfal,mp,idi,a1ii. - 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 this repository 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.
For a concise verification of the current checkout, run:
uv run --no-sync skfd verify --level 1 metamath-logic
Latest result: 1,684 declared proofs, 3,610 emitted proofs, and 0
declared-but-unemitted; mmverify, metamath, and knife all pass.
Project details
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.7.tar.gz.
File metadata
- Download URL: metamath_logic-0.0.7.tar.gz
- Upload date:
- Size: 448.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec8703e918518645f699ba7d8c2a9caaa4b80ac3ca206de6a9dd031e25e14983
|
|
| MD5 |
c527f468d3a22d0ba2dbfe8cf9666939
|
|
| BLAKE2b-256 |
ad73071fce41bd24415a5746bbcffe01c851dc6b0bec2bd47ed84d02f8ef9b15
|
Provenance
The following attestation bundles were made for metamath_logic-0.0.7.tar.gz:
Publisher:
release.yml on epistemic-frontier/metamath-logic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
metamath_logic-0.0.7.tar.gz -
Subject digest:
ec8703e918518645f699ba7d8c2a9caaa4b80ac3ca206de6a9dd031e25e14983 - Sigstore transparency entry: 2170927238
- Sigstore integration time:
-
Permalink:
epistemic-frontier/metamath-logic@643ce5742abd8e157429c43113db42b8c519cd1e -
Branch / Tag:
refs/tags/v0.0.7 - Owner: https://github.com/epistemic-frontier
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@643ce5742abd8e157429c43113db42b8c519cd1e -
Trigger Event:
push
-
Statement type:
File details
Details for the file metamath_logic-0.0.7-py3-none-any.whl.
File metadata
- Download URL: metamath_logic-0.0.7-py3-none-any.whl
- Upload date:
- Size: 462.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec91c4c40cc79223fbe6db8d3c0c9769b8f34308b84146718bf015b9797f9896
|
|
| MD5 |
5999d4cd5a7c53eeaf2de1c6ca067a82
|
|
| BLAKE2b-256 |
20aa9257a9a95633914ea3694c0fb0f5e44d7a2cf10c8e66377f77df62022923
|
Provenance
The following attestation bundles were made for metamath_logic-0.0.7-py3-none-any.whl:
Publisher:
release.yml on epistemic-frontier/metamath-logic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
metamath_logic-0.0.7-py3-none-any.whl -
Subject digest:
ec91c4c40cc79223fbe6db8d3c0c9769b8f34308b84146718bf015b9797f9896 - Sigstore transparency entry: 2170927245
- Sigstore integration time:
-
Permalink:
epistemic-frontier/metamath-logic@643ce5742abd8e157429c43113db42b8c519cd1e -
Branch / Tag:
refs/tags/v0.0.7 - Owner: https://github.com/epistemic-frontier
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@643ce5742abd8e157429c43113db42b8c519cd1e -
Trigger Event:
push
-
Statement type: