Skip to main content

Local draft scanner for direct Mathlib dependency evidence.

Project description

zero-mathlib-checker draft

Local draft package candidate for scanning a repository or fixture tree for direct Mathlib import/dependency evidence.

This package candidate is not published, not release-ready, not upload-ready, and has not had its package name availability checked. No PyPI token is needed or handled.

Local Draft Status

  • Version: 0.0.0.dev0
  • Package name availability: UNKNOWN_NOT_CHECKED
  • Publish status: no package publish performed
  • Upload status: no PyPI upload performed
  • Token status: no PyPI token handling performed
  • Release status: not release-ready

Install From Source Locally

Use a local editable install only after human review:

python -m pip install -e package_candidates/zero_mathlib_checker

No upload, build, or twine command is required for local testing.

Usage

zero-mathlib-checker scan .
zero-mathlib-checker scan . --json
zero-mathlib-checker scan . --allow-policy-text
zero-mathlib-checker scan . --include "*.lean"
zero-mathlib-checker scan . --exclude-dir node_modules
python -m zero_mathlib_checker.cli scan . --json

JSON Output Example

{
  "dependency_evidence_count": 0,
  "direct_match_count": 0,
  "evidence": [],
  "passed": true,
  "policy_text_count": 0,
  "root": "/path/to/repo",
  "scanned_files": 1,
  "skipped_files": 0
}

Exit Codes

  • 0: no dependency evidence found
  • 1: dependency evidence found

Scanner Scope

The scanner recursively reads text-like files, skips common cache/build/vendor directories, and detects:

  • IMPORT_MATHLIB
  • FROM_MATHLIB
  • MATHLIB_DOT_REFERENCE
  • MATHLIB_DEPENDENCY_DECLARATION

Policy or historical text can be ignored only when the line is explicitly marked and --allow-policy-text is set.

Relation To MachLib

This draft is inspired by MachLib's local zero-Mathlib checker, but it is a smaller package-shaped prototype. It does not replace the repository gate.

Limitations

  • String-pattern scanner only
  • No package name availability check
  • No publish or upload path
  • No certification of a repository
  • No theorem/proof/open-problem claim

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

zero_mathlib_checker-0.0.0.dev0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

zero_mathlib_checker-0.0.0.dev0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file zero_mathlib_checker-0.0.0.dev0.tar.gz.

File metadata

File hashes

Hashes for zero_mathlib_checker-0.0.0.dev0.tar.gz
Algorithm Hash digest
SHA256 6d896e26ef70b8f61fa5ae8a725ca78eced6fb2c3def787974a4f6ad3bfb2906
MD5 6d22e38b78579bf5decebdf0217b46e8
BLAKE2b-256 486ae968dda2d12019c34545fb1c6b5589d485fd3954ab19d4b792db608b0d50

See more details on using hashes here.

File details

Details for the file zero_mathlib_checker-0.0.0.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for zero_mathlib_checker-0.0.0.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 575cc0b3fa8b39ff03cb7c95629dc5922add6c0f549a2b6b5a7ae55510ab0909
MD5 64e6cde6b1fb16db5191d7e30b47d4bc
BLAKE2b-256 b56341a982f0376f4ffaabe808db09912db485aade820f1b1605258515f42d78

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