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.
When using a ProofScaffold version that supports proof coverage declarations,
the package declares its Hilbert theorem registry during build(ctx). To require
that every declared theorem is emitted into the verification monolith, run:
uv run --frozen skfd verify --coverage declared --level 1 metamath-logic
This is stricter than artifact verification and is expected to fail until the declared registry and emitted proof closure are aligned.
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.4.tar.gz.
File metadata
- Download URL: metamath_logic-0.0.4.tar.gz
- Upload date:
- Size: 31.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b7cccd9364c3ea6864f5e349e53d53b2c8d9a680380d7803ad4eb5a4412aca0
|
|
| MD5 |
aa0dd2e7a15f21638e1173036ed0aa67
|
|
| BLAKE2b-256 |
1ea24deba16e2d6730ab5fbf6d5424eb9c44c419bb2ec70696b83a963731d856
|
Provenance
The following attestation bundles were made for metamath_logic-0.0.4.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.4.tar.gz -
Subject digest:
3b7cccd9364c3ea6864f5e349e53d53b2c8d9a680380d7803ad4eb5a4412aca0 - Sigstore transparency entry: 2064306193
- Sigstore integration time:
-
Permalink:
epistemic-frontier/metamath-logic@6395f6f32c1b4aa59a656fac8457f1b34537292b -
Branch / Tag:
refs/tags/v0.0.4 - Owner: https://github.com/epistemic-frontier
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6395f6f32c1b4aa59a656fac8457f1b34537292b -
Trigger Event:
push
-
Statement type:
File details
Details for the file metamath_logic-0.0.4-py3-none-any.whl.
File metadata
- Download URL: metamath_logic-0.0.4-py3-none-any.whl
- Upload date:
- Size: 38.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 |
8c2f1b5b03d84e0a39f2eca5320f3c71d20c092443aa08c6d9213369b650ef80
|
|
| MD5 |
3b8e82fe3e64a4b95e275be562098d47
|
|
| BLAKE2b-256 |
b8fccbcf6e9ca2729f1b22b4336cb7ddca6606cdfbe3275d437199e5db9943aa
|
Provenance
The following attestation bundles were made for metamath_logic-0.0.4-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.4-py3-none-any.whl -
Subject digest:
8c2f1b5b03d84e0a39f2eca5320f3c71d20c092443aa08c6d9213369b650ef80 - Sigstore transparency entry: 2064306198
- Sigstore integration time:
-
Permalink:
epistemic-frontier/metamath-logic@6395f6f32c1b4aa59a656fac8457f1b34537292b -
Branch / Tag:
refs/tags/v0.0.4 - Owner: https://github.com/epistemic-frontier
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6395f6f32c1b4aa59a656fac8457f1b34537292b -
Trigger Event:
push
-
Statement type: