Skip to main content

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.py entrypoint 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.mm lines 1–648; propositional logic starts at line 649 (the ax-mp block).
  • Mapping notes and migrated comments: docs/SETMM_PRELUDE_1_648.md

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

metamath_prelude-0.0.3.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

metamath_prelude-0.0.3-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file metamath_prelude-0.0.3.tar.gz.

File metadata

  • Download URL: metamath_prelude-0.0.3.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for metamath_prelude-0.0.3.tar.gz
Algorithm Hash digest
SHA256 7859d5824c99a24f02a441581a1ffed49311ce61ed9b5379f30bd27b8350e5e6
MD5 3bb98652bf9a9fcf2de0819850b936ce
BLAKE2b-256 c602fbed2fd742563367c9056a9cf30fa21aa6c8650da3442891e8f1daf0686f

See more details on using hashes here.

Provenance

The following attestation bundles were made for metamath_prelude-0.0.3.tar.gz:

Publisher: release.yml on epistemic-frontier/metamath-prelude

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file metamath_prelude-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for metamath_prelude-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3f2ea0df4ce47b820f7c235a5c5178c41545326473c600e4c668895e8dca8091
MD5 bd22acd6cc33296ca73048d0e0f374e6
BLAKE2b-256 5557e90f2ca0154095a1e79484b32f9bbc038e0cabdba10f89eb64c3ef7d1014

See more details on using hashes here.

Provenance

The following attestation bundles were made for metamath_prelude-0.0.3-py3-none-any.whl:

Publisher: release.yml on epistemic-frontier/metamath-prelude

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page