Prelude definitions for Metamath projects
Project description
metamath-prelude
metamath-prelude is a small Python package that exports the “prelude” layer used by ProofScaffold-based Metamath projects.
It provides the core constants, variables, and a minimal set of foundational statements that downstream packages can depend on and link against.
Versioning
- Package version:
0.0.2 - ProofScaffold dependency:
proof-scaffold==0.0.5
Installation
This package is published on PyPI: https://pypi.org/project/metamath-prelude/
With uv:
uv add metamath-prelude
What this package contains
- A ProofScaffold
build.pyentrypoint that emits the prelude statements as a linkable unit. - Authoring helpers for the Hilbert-style propositional fragment (rule bundle used by downstream proof scripts).
- A documented alignment with the early part of
set.mm.
Verification
This repository uses uv for reproducible installs and runs skfd verify --level 1 as the primary correctness gate.
From the metamath-prelude/ 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-prelude
skfd verify builds the package into a verification monolith (under target/) and checks it with the configured verifiers.
set.mm alignment
- Milestone boundary (within the first ~700 lines): prelude =
set.mmlines 1–648; propositional logic starts at line 649 (theax-mpblock). - Mapping notes and migrated comments:
docs/SETMM_PRELUDE_1_648.md
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_prelude-0.0.2.tar.gz.
File metadata
- Download URL: metamath_prelude-0.0.2.tar.gz
- Upload date:
- Size: 6.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 |
04cdf54b0a2a4ce69ed61ee50d79dc991ad10acb94d0efbb8814e5f1b269bcc4
|
|
| MD5 |
e038b5c0dbb5c283b8917ebe0db778a6
|
|
| BLAKE2b-256 |
1c5b702dea132a7c5f6df28f0a44daf1c41eacca7e0cec904d1b5c0cda3ae5ff
|
File details
Details for the file metamath_prelude-0.0.2-py3-none-any.whl.
File metadata
- Download URL: metamath_prelude-0.0.2-py3-none-any.whl
- Upload date:
- Size: 7.4 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 |
7df463754458fe28eaaae98fa711f407d8a2db12bd67a94f786e6cce1e0b7c02
|
|
| MD5 |
f0ed8d464d5c1c075e5144bcdd46ea74
|
|
| BLAKE2b-256 |
7b26b07305fcfff9b12bea85256dd69d1275216c48b95900a479f0c5835d8a04
|