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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: metamath_prelude-0.0.1.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

Hashes for metamath_prelude-0.0.1.tar.gz
Algorithm Hash digest
SHA256 11186a135ff8f297c7f87aef2c99731cec431565dd61224a87acd0d82e535790
MD5 cb59c18ad6956e935610243beba2b89d
BLAKE2b-256 19ee2045aa145dc1c2db2ca17c0644f513188732f0329eba7920fd3fbc284b5d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: metamath_prelude-0.0.1-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

Hashes for metamath_prelude-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0bcce822eafd4f783b5bf0ebba98f7b38bf5407a6c43fa8eaf5c166b0299e613
MD5 73d9f43a8af2f0674311d8ff4db3aade
BLAKE2b-256 f88077b04bec400a3707a08e7e5678bce7c5fa0f4137bb9cb05b3107bca377f1

See more details on using hashes here.

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