lean-pkg 0.30.2__tar.gz → 0.30.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/CHANGELOG.md +19 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/CITATION.cff +5 -2
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/PKG-INFO +1 -1
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/README.md +1 -1
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/pyproject.toml +1 -1
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/__init__.py +1 -1
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/coverage.py +27 -8
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg.egg-info/PKG-INFO +1 -1
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_verify_preflight.py +57 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/LICENSE +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/MANIFEST.in +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/PYPI.md +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/setup.cfg +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/adapters/__init__.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/adapters/github.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/adapters/leansearch.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/adapters/loogle.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/adapters/palomar.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/adapters/reservoir.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/anchor.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/audit.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/binding_file.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/blueprint.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/build_scope.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/ci_github.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/claim_axioms.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/claims.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/claims_mark.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/cli.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/cli_parser.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/command_tree.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/comparator_config.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/comparator_contracts.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/comparator_receipt.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/comparator_stage.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/comparator_types.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/container.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/controls.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/core.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/data/stacks/lts-2026.10.yaml +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/data/toolchain-advisories.yaml +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/data/upgrade-breaking.yaml +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/data/verify-workflow-pins.yaml +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/deps_closure.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/deps_fill.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/dup_constants.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/exercise.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/exercise_forbid.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/export_paths.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/extract.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/extract_decls.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/extract_ledger.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/extract_summary.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/extract_types.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/extract_write.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/formalization.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/formalization_kept.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/fresh_repo.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/gate.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/headline.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/help_topics.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/holes.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/host_routes.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/html_blocks.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/hypotheses.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/index.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/json_stdout.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/lake_hygiene.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/lean_diag.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/lean_scan.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/ledger.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/next_step.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/page.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/page_html.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/palomar.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/palomar_check.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/port_modules.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/prior_art.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/producer.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/producer_skew.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/public_safety.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/publish.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/rebase.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/receipt.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/receipt_check.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/receipt_ci.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/receipt_systemd.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/recommended.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/report.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/reservoir.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/scaffold.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/schemas/formalization-0.4.schema.json +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/schemas/formalization-0.4.schema.source.txt +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/scripts/ClaimAxioms.lean +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/scripts/ContractsOnly.lean +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/scripts/ControlsProbe.lean +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/scripts/DupConstants.lean +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/scripts/HypProbe.lean +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/scripts/comparator-check.sh +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/scripts/verify-comparator.sh +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/seal_bundle.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/search.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/site_check.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/site_profiles/easley.yaml +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/site_profiles/github-actions.yaml +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/sites.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/stacks.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/statements_module.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/templates/Apache-2.0.txt +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/toolchain_advisories.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/upgrade.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/verify.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg.egg-info/SOURCES.txt +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg.egg-info/dependency_links.txt +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg.egg-info/entry_points.txt +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg.egg-info/requires.txt +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg.egg-info/top_level.txt +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_adapters.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_append_note.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_audit_claims_coverage.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_audit_gh_outcomes.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_audit_missing_path.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_audit_no_github_mirror.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_audit_palomar.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_audit_receipts_paths.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_audit_reference_branch.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_binding_file.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_binding_file_g3.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_blueprint_check.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_bootstrap_collaborator.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_branch_notice.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_campaign_recovery_docs.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_check_changelog_releases.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_ci_attested.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_ci_comparator.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_ci_corroborate.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_ci_receipt_level1.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_claim_axioms.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_claims.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_claims_ledger.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_claims_mark.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_claims_rebase.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_cli.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_cli_consistency.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_cli_contract_argv.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_cli_contract_corpus.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_cli_contract_help.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_cli_contract_json.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_cli_contract_names.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_columns.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_command_docs.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_command_tree_stage2.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_commit.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_comparator.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_comparator_attempts.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_comparator_config.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_comparator_contracts.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_comparator_coverage.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_comparator_evidence_dir.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_comparator_host_label.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_comparator_list_defaults.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_comparator_log_transport.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_comparator_mismatch_next.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_comparator_name_hints.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_comparator_no_mathlib.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_comparator_readiness.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_comparator_receipt.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_comparator_replace.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_comparator_repo_claims_file.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_comparator_sacct_seal.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_comparator_stage.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_comparator_tool_toolchain.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_comparator_types.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_comparator_types_deep.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_compressed_log_bindings.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_conditional_claims.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_conditional_closeout.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_conditional_outputs.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_consent_dedupe.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_controls.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_core_split.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_coverage_accounted.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_coverage_conclusion.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_coverage_extensions.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_coverage_offline.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_coverage_witness.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_cut_release.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_defaults.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_docs.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_docs_classifier_preflight.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_docs_descendants.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_docs_old_spellings.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_doctor.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_dup_constants.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_evidence_formalization.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_exercise.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_exercise_course.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_extract_decls.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_extract_ledger.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_extract_plan.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_extract_summary.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_extract_types.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_fields_only.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_formalization.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_formalization_anchor.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_formalization_kept.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_formalization_refresh.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_formats.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_fresh_repo.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_gate.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_gate_binding.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_gate_binding_scope.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_gate_check.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_gate_check_next.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_gate_claims.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_gate_pins.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_gate_receipt_path.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_gate_refresh.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_gate_regate.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_headline.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_help_topics.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_hints_and_time.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_host_check.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_host_routes.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_hypotheses_ledger.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_hypotheses_probe.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_ignored_evidence.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_index_add.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_index_built_on.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_index_check.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_index_claims.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_index_docs_descendants.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_index_render.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_index_schema.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_init.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_input_hygiene.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_internal_claims.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_json.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_json_control_chars.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_json_stdout.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_judged_as.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_lake_cache_systemd.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_lake_hygiene.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_large_artifacts_recipe.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_lean_diag.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_lean_scan_extract.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_lease.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_lease_actor.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_lease_expiry_notice.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_lease_registry_stamp.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_ledger_exact_covers.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_ledger_golden.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_lifecycle_notes.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_llms.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_locking.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_manuscript_findings.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_mathlib_none.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_migrate.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_migrate_v3.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_namespace_notes.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_new.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_next.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_noninteractive.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_olean_manifest.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_outputs_golden.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_package_fields.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_packaging.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_page.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_page_repo_head.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_page_site.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_palomar_check.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_palomar_prepare.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_palomar_snapshot.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_paper.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_port_modules.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_prior_art.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_producer_skew.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_promote_audit.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_promote_scope.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_public_allow.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_public_safety.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_public_safety_gzip.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_public_safety_long_line_stream.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_public_safety_scope.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_publication_hold.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_publish.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_receipt_check.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_receipt_check_opt_in.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_receipt_ci.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_receipt_container.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_receipt_private_scan.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_receipt_producer.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_receipt_slurm.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_receipt_slurm_artifacts.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_receipt_slurm_contracts_preflight.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_receipt_slurm_fill_plan.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_receipt_slurm_preflight_deps.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_receipt_slurm_runtime_preflight.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_receipt_slurm_sacct_seal.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_receipt_slurm_template_src.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_receipt_subdir_package.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_receipt_systemd.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_recommended.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_record.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_record_evidence.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_record_transitions.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_refresh_descendant.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_register.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_registry_core.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_registry_snapshot.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_release_script.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_release_version.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_render_cache.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_repo_override.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_report.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_report_log_required.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_reservoir_check.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_review_fixes_prior_art.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_robustness.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_seal_bundle.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_search.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_search_completeness.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_search_declarations.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_search_field_coverage.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_search_scan.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_search_sources.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_sibling_packages.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_signoff_sidecar.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_site_check.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_sites.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_skills.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_smoke_configs.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_source_paper_ai.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_stack_opt_in.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_stacks.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_statements_module.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_status_scope.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_subdir_package.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_template_module_headers.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_toolchain_advisories.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_toolchain_floor.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_trust.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_update_publication_fields.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_update_relocate.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_upgrade.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_user_default.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_validate.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_verdict_first.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_verify_workflow_oidc.py +0 -0
- {lean_pkg-0.30.2 → lean_pkg-0.30.3}/tests/test_wiki.py +0 -0
|
@@ -9,6 +9,23 @@ full policy, and the criteria for 1.0.0, are in RELEASING.md, "When to tag".
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [0.30.3] - 2026-12-04
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- `verify`'s preflight accepts a compared theorem that is the declaration
|
|
17
|
+
of an `internal` or `reusable` claim Lean generates (a structure field,
|
|
18
|
+
an `@[ext]` lemma) when the gate receipt committed at `HEAD` read it
|
|
19
|
+
from the built environment (its `claim_axioms`), as `coverage check
|
|
20
|
+
NAME`, `page --check` and `receipt check` have since 0.30.2 (#465). The
|
|
21
|
+
preflight runs before the build and read only the claims' files, so a
|
|
22
|
+
field report's 106 generated helper declarations stopped `verify`
|
|
23
|
+
unless their configuration was marked as a smoke check. The check's
|
|
24
|
+
line names the receipt it relied on; `coverage check --file` is
|
|
25
|
+
unchanged.
|
|
26
|
+
|
|
27
|
+
public-safety (make public-safety, --strict, history): 0 hit(s) (0 tree, 0 history); 0 blocking, 0 warning(s)
|
|
28
|
+
|
|
12
29
|
## [0.30.2] - 2026-12-02
|
|
13
30
|
|
|
14
31
|
### Changed
|
|
@@ -51,6 +68,8 @@ full policy, and the criteria for 1.0.0, are in RELEASING.md, "When to tag".
|
|
|
51
68
|
|
|
52
69
|
public-safety (make public-safety, --strict, history): 0 hit(s) (0 tree, 0 history); 0 blocking, 0 warning(s)
|
|
53
70
|
|
|
71
|
+
Zenodo version DOI: [10.5281/zenodo.24762717](https://doi.org/10.5281/zenodo.24762717)
|
|
72
|
+
|
|
54
73
|
## [0.30.1] - 2026-11-30
|
|
55
74
|
|
|
56
75
|
### Changed
|
|
@@ -6,8 +6,8 @@ authors:
|
|
|
6
6
|
- family-names: Chen
|
|
7
7
|
given-names: Le
|
|
8
8
|
affiliation: "Auburn University"
|
|
9
|
-
version: "0.30.
|
|
10
|
-
date-released: "2026-12-
|
|
9
|
+
version: "0.30.3"
|
|
10
|
+
date-released: "2026-12-04"
|
|
11
11
|
license: Apache-2.0
|
|
12
12
|
repository-code: "https://github.com/lean-pkg/lean-pkg"
|
|
13
13
|
doi: 10.5281/zenodo.23272098
|
|
@@ -216,6 +216,9 @@ identifiers:
|
|
|
216
216
|
- type: doi
|
|
217
217
|
value: 10.5281/zenodo.24690284
|
|
218
218
|
description: Version DOI for 0.30.1
|
|
219
|
+
- type: doi
|
|
220
|
+
value: 10.5281/zenodo.24762717
|
|
221
|
+
description: Version DOI for 0.30.2
|
|
219
222
|
url: "https://lean-pkg.github.io/lean-pkg/"
|
|
220
223
|
keywords:
|
|
221
224
|
- Lean 4
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lean-pkg
|
|
3
|
-
Version: 0.30.
|
|
3
|
+
Version: 0.30.3
|
|
4
4
|
Summary: Lifecycle registry and trust gate for Lean 4 formalization packages: leases, receipt-bound gates, comparator (Palomar) evidence, one-way promotion.
|
|
5
5
|
Author: Le Chen
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -365,7 +365,7 @@ DOIs. To cite a state between releases, cite the repository at a commit:
|
|
|
365
365
|
author = {Chen, Le},
|
|
366
366
|
title = {lean-pkg: a registry and trust gate for Lean 4 formalization packages},
|
|
367
367
|
year = {2026},
|
|
368
|
-
version = {0.30.
|
|
368
|
+
version = {0.30.3},
|
|
369
369
|
url = {https://github.com/lean-pkg/lean-pkg},
|
|
370
370
|
note = {commit <sha>}
|
|
371
371
|
}
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "lean-pkg"
|
|
7
|
-
version = "0.30.
|
|
7
|
+
version = "0.30.3"
|
|
8
8
|
description = "Lifecycle registry and trust gate for Lean 4 formalization packages: leases, receipt-bound gates, comparator (Palomar) evidence, one-way promotion."
|
|
9
9
|
# PyPI renders the long description without the repository around it, so README.md's relative links and
|
|
10
10
|
# images would break there: PYPI.md is a short page whose links are all absolute (tests/test_packaging.py).
|
|
@@ -1143,13 +1143,16 @@ UNPOSTED_PROBLEM = ("manuscript.version: unposted: theorem numbers of a private
|
|
|
1143
1143
|
|
|
1144
1144
|
def offline_check(text: str, where: str, *, claims_text: str | None = None, claims_where: str = "claims.yaml",
|
|
1145
1145
|
configs: dict[str, bytes] | None = None, sidecar: dict | None = None, read_file=None,
|
|
1146
|
-
profiles: dict | None = None, allow_private: bool = False, draft: bool = False
|
|
1146
|
+
profiles: dict | None = None, allow_private: bool = False, draft: bool = False,
|
|
1147
|
+
built: frozenset[str] = frozenset(), built_from: str = "") -> dict:
|
|
1147
1148
|
"""Every check of `coverage check` that needs no registry record and no receipt, on the coverage file's
|
|
1148
1149
|
text: the coverage/1 schema and its length limits, the manuscript version, lean_pkg_version; with the
|
|
1149
1150
|
claims file's text, its claims/1 schema, each row's claim ids (present, not superseded) and a warning for
|
|
1150
1151
|
each reusable claim no row names; with comparator configurations ({path: bytes}), R10/R11 (each theorem
|
|
1151
1152
|
the declaration of a claim a row names or of an internal or reusable claim; `sidecar` marks smoke
|
|
1152
|
-
configurations; `read_file(rel)` reads the claims' Lean files, skipped when one is unreadable
|
|
1153
|
+
configurations; `read_file(rel)` reads the claims' Lean files, skipped when one is unreadable; `built`, the
|
|
1154
|
+
decls an earlier gate receipt's claim_axioms read from the built environment (built_decls), described by
|
|
1155
|
+
`built_from`). draft (verify's preflight): placeholder text and an
|
|
1153
1156
|
unposted manuscript are warnings, not problems (`coverage check` and `page` still refuse them).
|
|
1154
1157
|
{doc, errors, warnings, checks[{check, status pass|fail|warn|skipped, detail}], skipped[]}."""
|
|
1155
1158
|
from . import claims as claims_mod
|
|
@@ -1247,15 +1250,16 @@ def offline_check(text: str, where: str, *, claims_text: str | None = None, clai
|
|
|
1247
1250
|
else:
|
|
1248
1251
|
_add("reusable claims", "pass", "every reusable claim is named by a row")
|
|
1249
1252
|
_offline_comparator(_add, doc if valid else None, claims, configs, sidecar, read_file,
|
|
1250
|
-
why_not if not valid else None, claims_text is None)
|
|
1253
|
+
why_not if not valid else None, claims_text is None, built, built_from)
|
|
1251
1254
|
for check, why in OFFLINE_SKIPPED:
|
|
1252
1255
|
_add(check, "skipped", why)
|
|
1253
1256
|
return out
|
|
1254
1257
|
|
|
1255
1258
|
|
|
1256
1259
|
def _offline_comparator(_add, doc, claims, configs, sidecar, read_file, invalid: str | None,
|
|
1257
|
-
no_claims: bool) -> None:
|
|
1260
|
+
no_claims: bool, built: frozenset[str] = frozenset(), built_from: str = "") -> None:
|
|
1258
1261
|
"""The R10/R11 entry of offline_check."""
|
|
1262
|
+
from . import comparator_config as cc
|
|
1259
1263
|
from . import holes
|
|
1260
1264
|
check = "comparator theorems"
|
|
1261
1265
|
if configs is None:
|
|
@@ -1289,10 +1293,15 @@ def _offline_comparator(_add, doc, claims, configs, sidecar, read_file, invalid:
|
|
|
1289
1293
|
+ ", ".join(unreadable[:5]) + "): a decl counts only when its file declares it")
|
|
1290
1294
|
return
|
|
1291
1295
|
p = theorem_mapping_problems(doc, claims, parsed, holes.smoke_paths(sidecar), read_file,
|
|
1292
|
-
"comparator configuration")
|
|
1296
|
+
"comparator configuration", built)
|
|
1293
1297
|
n = sum(len(c["theorem_names"]) for c in parsed)
|
|
1298
|
+
# the decls R11 counted only because the earlier build had them: no file's text declares them
|
|
1299
|
+
generated = {str(c.get("decl") or "") for c in claims.values()} & set(built)
|
|
1300
|
+
generated -= cc.qualified_decls(read_file, list(claims.values()))
|
|
1294
1301
|
_add(check, "fail" if p else "pass", f"each of {n} theorem(s) in {len(parsed)} configuration(s) is the "
|
|
1295
|
-
f"declaration of a claim a row names or of an internal or reusable claim (R11)"
|
|
1302
|
+
f"declaration of a claim a row names or of an internal or reusable claim (R11)"
|
|
1303
|
+
+ (f"; {len(generated)} generated declaration(s) counted because {built_from} read them from the "
|
|
1304
|
+
f"built environment (claim_axioms)" if generated else ""), p)
|
|
1296
1305
|
|
|
1297
1306
|
|
|
1298
1307
|
def _offline_reader(root: pathlib.Path):
|
|
@@ -1392,7 +1401,8 @@ def do_coverage_check_file(file: str, claims_path: str | None, comparator_paths:
|
|
|
1392
1401
|
def preflight_at_head(name: str, pkg: dict, repo: pathlib.Path) -> dict:
|
|
1393
1402
|
"""verify's step 0 (#325): at HEAD, the claims/1 check `claims check --file` runs on the claims file
|
|
1394
1403
|
(refused: its errors), and, when coverage.yaml is committed, offline_check in draft mode against that
|
|
1395
|
-
claims file and the comparator configurations committed at HEAD
|
|
1404
|
+
claims file and the comparator configurations committed at HEAD; R11 also counts the generated declarations
|
|
1405
|
+
the gate receipt committed at HEAD read from its build (built_decls). Reads only HEAD, never the working tree.
|
|
1396
1406
|
{ok, claims {file, present, claims, errors[]}, coverage {file, present, ...offline_check} , lines[]}."""
|
|
1397
1407
|
from . import claims as claims_mod
|
|
1398
1408
|
from . import comparator_config as cc
|
|
@@ -1431,9 +1441,18 @@ def preflight_at_head(name: str, pkg: dict, repo: pathlib.Path) -> dict:
|
|
|
1431
1441
|
verdict = f"{where}: coverage: INVALID (1 problem(s); offline)"
|
|
1432
1442
|
res["lines"] = lines + [verdict, f" {e}", verdict]
|
|
1433
1443
|
return res
|
|
1444
|
+
# R11's generated declarations (a structure field, an @[ext] lemma) are in no file's text: before the build,
|
|
1445
|
+
# the gate receipt committed at HEAD is the only evidence that they exist (built_decls; the new gate receipt,
|
|
1446
|
+
# which `coverage check`, `page --check` and `receipt check` read after the run, must show them again)
|
|
1447
|
+
gate_rel = (pkg.get("gate") or {}).get("receipt")
|
|
1448
|
+
lower, _raw = receipt_at_head(repo, gate_rel) if gate_rel else (None, None)
|
|
1449
|
+
built = built_decls(repo, lower)
|
|
1450
|
+
built_from = (f"the gate receipt {gate_rel} (commit {str((lower or {}).get('commit'))[:12]})"
|
|
1451
|
+
if built else "")
|
|
1434
1452
|
rep = offline_check(craw.decode("utf-8", errors="replace"), where, claims_text=claims_text,
|
|
1435
1453
|
claims_where=f"{rel} at {c12}", configs=cc._configs_at(repo, "HEAD"), sidecar=sidecar,
|
|
1436
|
-
read_file=claims_mod._reader(repo, "HEAD"), profiles=profiles, draft=True
|
|
1454
|
+
read_file=claims_mod._reader(repo, "HEAD"), profiles=profiles, draft=True,
|
|
1455
|
+
built=built, built_from=built_from)
|
|
1437
1456
|
res["coverage"].update(present=True, errors=rep["errors"], warnings=rep["warnings"], checks=rep["checks"],
|
|
1438
1457
|
skipped=rep["skipped"])
|
|
1439
1458
|
payload = offline_payload(rep, name, where, rel if claims_text is not None else None,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lean-pkg
|
|
3
|
-
Version: 0.30.
|
|
3
|
+
Version: 0.30.3
|
|
4
4
|
Summary: Lifecycle registry and trust gate for Lean 4 formalization packages: leases, receipt-bound gates, comparator (Palomar) evidence, one-way promotion.
|
|
5
5
|
Author: Le Chen
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -207,3 +207,60 @@ def test_verify_passes_memory_max_to_the_lower_tier_receipt(lp, vpkg, capsys, mo
|
|
|
207
207
|
calls.clear()
|
|
208
208
|
verify(lp, capsys, reg, tmp_path)
|
|
209
209
|
assert all("--memory-max" not in c for c in calls) # absent: receipt systemd's 8G default
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
# --- R11's generated declarations before the build: the gate receipt committed at HEAD (a field report) ------
|
|
213
|
+
|
|
214
|
+
GENERATED = "Demo.Good.smooth" # a structure field: Lean declares it, no line of Demo/Main.lean does
|
|
215
|
+
CLAIMS_GENERATED = CLAIMS + f"""\
|
|
216
|
+
- id: v/good-smooth
|
|
217
|
+
decl: {GENERATED}
|
|
218
|
+
kind: lemma
|
|
219
|
+
summary: The smoothness field of a good kernel.
|
|
220
|
+
file: Demo/Main.lean
|
|
221
|
+
status: internal
|
|
222
|
+
"""
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
def _preflight_repo(tmp_path, missing: list[str] | None) -> tuple:
|
|
226
|
+
"""A package whose comparator compares a generated internal claim; with `missing` not None, a gate receipt
|
|
227
|
+
committed at HEAD whose claim_axioms checked claims.yaml at the package commit, `missing` absent."""
|
|
228
|
+
repo = tmp_path / "pkg"
|
|
229
|
+
repo.mkdir(parents=True)
|
|
230
|
+
_git(repo, "init", "-q")
|
|
231
|
+
cfg = {"challenge_module": "Challenge", "solution_module": "Solution",
|
|
232
|
+
"theorem_names": ["Demo.main_bound", GENERATED]}
|
|
233
|
+
built = commit(repo, {"claims.yaml": CLAIMS_GENERATED, "Demo/Main.lean": LEAN, "comparator.json": json.dumps(cfg),
|
|
234
|
+
"coverage.yaml": yaml.safe_dump(COVERAGE, sort_keys=False)})
|
|
235
|
+
pkg: dict = {}
|
|
236
|
+
if missing is not None:
|
|
237
|
+
lower = {"commit": built, "claim_axioms": {"checked": 2 - len(missing), "nonstandard": [], "missing": missing}}
|
|
238
|
+
commit(repo, {".lean-receipts/gate.json": json.dumps(lower)})
|
|
239
|
+
pkg = {"gate": {"receipt": ".lean-receipts/gate.json"}}
|
|
240
|
+
return repo, pkg, built
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
def _r11(res: dict) -> dict:
|
|
244
|
+
return next(c for c in res["coverage"]["checks"] if c["check"] == "comparator theorems")
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
def test_the_preflight_counts_a_generated_declaration_the_gate_receipt_read(tmp_path):
|
|
248
|
+
"""verify's preflight runs before any build, so R11 cannot see a declaration Lean generates. The gate receipt
|
|
249
|
+
committed at HEAD read it from the last build (claim_axioms): the preflight counts it, and says so."""
|
|
250
|
+
from lean_pkg import coverage as cov
|
|
251
|
+
repo, pkg, built = _preflight_repo(tmp_path, [])
|
|
252
|
+
res = cov.preflight_at_head("v", pkg, repo)
|
|
253
|
+
assert res["ok"] is True, res["coverage"]["errors"]
|
|
254
|
+
detail = _r11(res)["detail"]
|
|
255
|
+
assert _r11(res)["status"] == "pass"
|
|
256
|
+
assert (f"1 generated declaration(s) counted because the gate receipt .lean-receipts/gate.json "
|
|
257
|
+
f"(commit {built[:12]}) read them from the built environment") in detail
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
def test_the_preflight_without_that_evidence_still_refuses_a_generated_declaration(tmp_path):
|
|
261
|
+
from lean_pkg import coverage as cov
|
|
262
|
+
for missing in (None, [GENERATED]): # no gate receipt; a gate receipt whose build lacked it
|
|
263
|
+
repo, pkg, _built = _preflight_repo(tmp_path / str(missing is None), missing)
|
|
264
|
+
res = cov.preflight_at_head("v", pkg, repo)
|
|
265
|
+
assert res["ok"] is False and any(f"'{GENERATED}'" in e for e in res["coverage"]["errors"])
|
|
266
|
+
assert "generated declaration" not in _r11(res)["detail"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lean_pkg-0.30.2 → lean_pkg-0.30.3}/src/lean_pkg/schemas/formalization-0.4.schema.source.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|