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.5
  • ProofScaffold dependency: proof-scaffold>=0.0.8

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 foundation frame as a linkable unit.
  • Authoring helpers for foundation syntax only (wi / wn).
  • 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

  • Foundation boundary: prelude emits only the ambient frame (wff, |-, schema variables and $f, wn, wi).
  • Logic-owned helpers and syntax such as mp, wa, wo, wb, wtru, wfal, idi, and a1ii live in metamath-logic.
  • 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.5.tar.gz (6.5 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.5-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metamath_prelude-0.0.5.tar.gz
  • Upload date:
  • Size: 6.5 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.5.tar.gz
Algorithm Hash digest
SHA256 922bfd3461a25c1e2bc59789459ec4a3ff4d71544f7de7695f8b70a2faa6e562
MD5 8ea1f1180bbbd7d00a073436c375d7fd
BLAKE2b-256 9c24d61c66858832b9860f84c68e55828a6c4c16c120c96cc557165fcdfa67ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for metamath_prelude-0.0.5.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.5-py3-none-any.whl.

File metadata

File hashes

Hashes for metamath_prelude-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d71d4f15b51c375f79ca6ce6f1842eaf9d94fecf7d9dba777b585a817482f676
MD5 5f953459f7db37e8785f39abd803fa5c
BLAKE2b-256 1bd5e0a91ee9f032ac7bf62d2bd8b42a2df7e687d8e0171f38f70bd0f93de1cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for metamath_prelude-0.0.5-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