Reindex attained high demands by block support and bounded deficits - #48
Draft
SamPetkov wants to merge 2 commits into
Draft
Conversation
This was referenced Jul 27, 2026
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.
Purpose
This is the next closure-focused PR stacked on PR #45. It formalizes the exact finite statement that an attained canonical high-demand table is determined without multiplicity by:
The base branch already contains the endpoint decorated/physical equivalence, the literal partial-cell fibre, the attained-demand block support, and the four-deficit profile-cover adapter.
Main finite data type
For one four-endpoint profile, the PR defines the finite sigma type
whose elements consist of:
UnlabelledTypedSkeletonbetween the four endpoint slot families;e, a bounded deficith_esatisfyingZero deficit is included and represents full containment.
Exact encoding and decoding
The PR defines:
and proves the target equality
The proof uses the checked reconstruction
on support cells and the exact positive-support equivalence to prove that all off-support cells decode to zero.
Injectivity and finite sum domination
The main declarations are intended to prove:
The final theorem says that any pointwise bound on the encoded demand weights may be summed over the full finite support/deficit family with no additional fibre multiplicity. This is the exact combinatorial seam required before inserting the aggregate local weight and geometric all-deficit estimate.
Files
625/formalization/Erdos625/Section8AttainedAllDeficitReindexing.leanThe focused workflow is inherited from PR #45 and automatically builds this module warning-fatally, rejects placeholders/project axioms, and reruns the exact finite regression.
Scope boundary
This PR is draft until the exact target is green. It does not yet prove the pointwise equality between
profileHighSkeletonWeightand the aggregate partial-cell weight, the full bare-skeleton estimate, Proposition 9.2, orErdos625Statement.