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

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.7.tar.gz (9.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.7-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for metamath_prelude-0.0.7.tar.gz
Algorithm Hash digest
SHA256 fcfd7a3aefae6e5315e58ff36c985686d14aa52edbd193940010956ddb7b3805
MD5 7962fed361ba183f269cb7fec41ad651
BLAKE2b-256 a5f6ef705884d272854eab702d36c6eac9f22430a6c32b8ecd4fb15adb67bc07

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for metamath_prelude-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7673016b6dac3dc8511bdf176dd49f783b081527c1b7ac5bda6d6dda8bb1064a
MD5 a143b388a69434f6c3aa7c16ef3df857
BLAKE2b-256 56fd0fd61b12a11476249cfe5c219de890adf1dfb185aa25f1f1282887d61ff8

See more details on using hashes here.

Provenance

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