Skip to main content

Logic definitions for Metamath projects

Project description

metamath-logic

metamath-logic is a small Python package that exports the “logic” layer used by ProofScaffold-based Metamath projects. It provides reusable propositional and predicate logic artifacts that downstream packages can depend on and link against.

Versioning

  • Package version: 0.0.6
  • ProofScaffold dependency: proof-scaffold==0.0.9
  • Prelude dependency: metamath-prelude==0.0.5

Installation

This package is published on PyPI: https://pypi.org/project/metamath-logic/

With uv:

uv add metamath-logic

What this package contains

  • A ProofScaffold build.py entrypoint that emits the logic layer as a linkable unit.
  • Authoring-facing propositional and predicate logic libraries (Hilbert-style systems).
  • Complete propositional and predicate theorem registries: 1,684 declared proofs, all emitted into the verifier-checked build.
  • Propositional syntax/helpers beyond the foundation frame: wa, wo, wb, wtru, wfal, mp, idi, a1ii.
  • A migration guide for the logic layer refactor.

Migration guide

Verification

This repository uses uv for reproducible installs and runs skfd verify --level 1 as the primary correctness gate.

From this repository 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-logic

skfd verify builds the package into a verification monolith (under target/) and checks it with the configured verifiers.

For a concise verification of the current checkout, run:

uv run --no-sync skfd verify --level 1 metamath-logic

Latest result: 1,684 declared proofs, 3,610 emitted proofs, and 0 declared-but-unemitted; mmverify, metamath, and knife all pass.

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_logic-0.0.6.tar.gz (282.4 kB view details)

Uploaded Source

Built Distribution

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

metamath_logic-0.0.6-py3-none-any.whl (292.5 kB view details)

Uploaded Python 3

File details

Details for the file metamath_logic-0.0.6.tar.gz.

File metadata

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

File hashes

Hashes for metamath_logic-0.0.6.tar.gz
Algorithm Hash digest
SHA256 59806a7e82045b2871a0fb5afad0e9a832c6ecf1326a3d204a2d7036041ed986
MD5 cad556acb8391c2a74bba89f71ac8da5
BLAKE2b-256 f3dbb2b8141c38bd703ad06a164cf7b0fe2a1eb2ce95ea4a6c4d2b0dd652d571

See more details on using hashes here.

Provenance

The following attestation bundles were made for metamath_logic-0.0.6.tar.gz:

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

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_logic-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: metamath_logic-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 292.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for metamath_logic-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b0e4f078268aba5c599fe28830c144524cf0842029229c68fce7fce02f574378
MD5 da96cbc36076392a0727196c11c49afc
BLAKE2b-256 4b22db2005a1c87d6c72fba843b49bfe5e225863f8dfbeae9dcaf715df2a3d8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for metamath_logic-0.0.6-py3-none-any.whl:

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

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