fix(meta): erdos-25 register Erdos25LogDensity.lean orphan companion#21918
Merged
Conversation
Primary file Erdos25Problem.lean:16 imports Proofs.Erdos25LogDensity, but the companion file was absent from both meta.additionalFiles and leanFile.additionalFiles — making it an orphan. The companion is already referenced in prose: meta.assumptions attributes the 3 axioms to it, and meta.overview.proofStrategy cites "defined constructively via Erdos25LogDensity.lean". Registered in both meta.additionalFiles and leanFile.additionalFiles per the canonical mirror convention. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix
erdos-25was missingProofs/Erdos25LogDensity.leanfrom itsadditionalFilesregistration. The primary fileErdos25Problem.lean:16importsProofs.Erdos25LogDensity, but the file appeared nowhere in anymeta.jsonadditionalFileslist — making it an orphan.The companion is already referenced in prose elsewhere in this very
meta.json:meta.assumptionsattributes 3 axioms to it (naturalDensity_implies_logDensity,exists_logDensity_no_naturalDensity,davenport_erdos)meta.overview.proofStrategycites "defined constructively viaErdos25LogDensity.lean"sections[*].mathContextreferences the companion definition ofHasLogDensityEvidence
Before:
After:
Verification:
Erdos25Problem.lean:16:import Proofs.Erdos25LogDensityproofs/Proofs/Erdos25LogDensity.leanexists (736 lines)Mathlib.Tactic(not custom)Registered in both
meta.additionalFilesandleanFile.additionalFilesper the canonical mirror convention.Automated fix by lean-mechanic agent.