Identify attained high-skeleton weights with exact partial-cell fibres - #53
Draft
SamPetkov wants to merge 9 commits into
Draft
Conversation
SamPetkov
force-pushed
the
agent/625-attained-partial-weight-identification
branch
from
July 27, 2026 10:47
6115ee1 to
0badcf2
Compare
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 PR attacks the unique independent blocker isolated by the literal TeX audit in PR #52. It replaces the noncanonical “complete each cell and delete deficits” picture by a literal finite equivalence and then proves the missing pointwise bare-weight identity.
It is stacked on PR #49 and therefore already contains:
1. Completion-free physical-fibre equivalence
625/formalization/Erdos625/Section8MatchingDemandCellFibre.leandefinesas one literal
SingleCellStubMatchingfor every positive cell of a demand table. Under the sole structural hypothesisit proves the exact finite equivalence
The forward map unions the local physical edges. The reverse map filters a global physical skeleton into its positive type cells. The two round trips are proved directly.
No full-cell completion is selected or counted. This is the aggregate theorem missing from the canonical “complete, distinguish, and forget” prose.
Main declarations
2. Exact local-cell product cardinality
625/formalization/Erdos625/Section8ProfilePartialAggregateWeight.leanproves the cross-multiplied formulawhich says
The denominator is proved nonzero before division, yielding
Thus there is exactly one local factorial denominator for every positive cell and no additional completion multiplicity.
3. Pointwise profile high-skeleton weight identity
The central theorem is now kernel-checked:
For one matching-supported attained canonical high demand, it proves
Equivalently, if
j_e = demand(e)andJ = sum_e j_e, then the exact bare weight isThe cap-specialized theorem
automatically obtains matchingness from the canonical high-cell condition and the profile degree cap.
This closes the pointwise aggregate physical-fibre ambiguity identified in Lemma 8.3 of the TeX audit.
4. Exact finite regression
625/experiments/section8_attained_partial_weight_identity.pychecks with integer andFractionarithmetic that, for a large family of small matching-supported demands:The script passes under ordinary Python and
python -O.5. Reader-facing audit note
625/proofs/SECTION8_ATTAINED_PARTIAL_WEIGHT_IDENTIFICATION.mdexplains:Validation
The dedicated workflow is fully green on
with workflow run
Passed gates:
unsaferejection;Section8ProfilePartialAggregateWeightunder--wfail;The new public theorems report only the standard logical foundations already used throughout the project (
propext,Classical.choice, andQuot.sound); there is nosorryAx.Remaining Section VIII boundary
This PR closes the aggregate physical-fibre and pointwise profile-weight seam. It does not yet prove the global bare-skeleton estimate.
The remaining composition is now narrower:
m_e - h_e;(n-J)_H ≤ n^Hcomparison;PR #53 remains draft because those global summation steps, Proposition 9.2, and
Erdos625Statementare not yet proved.