Absorb Section 9 into a q-only intrinsic residual split - #37
Draft
SamPetkov wants to merge 25 commits into
Draft
Conversation
SamPetkov
added a commit
that referenced
this pull request
Jul 25, 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.
Summary
This is a stacked follow-up to PR #35. It removes the redundant analytic split in the direct matching-restriction attachment route, carries the simplification through the attained-profile layer, and packages both residual regimes into a literal attachment-sum estimate.
Outside the exposed matching,
so
residualLambda <= residualQpointwise. The same total-q bound controls both the local-increment product and the direct outside-matching q product.Main q-only conclusion
For one absolute positive finite constant
kappa,under the degree caps and exact quadratic condition
2^U <= m^3.This replaces
by a single
O(U^2)term. The final route no longer needs the separate total-lambda estimate or its cubic degree-moment calculation.Files
625/formalization/Erdos625/Section9MatchingRestrictionQOnly.lean625/formalization/Erdos625/Section9ProfileAttachmentQOnly.lean625/formalization/Erdos625/Section9ProfileAttachmentIntrinsicSplit.lean625/formalization/Erdos625/Section9QOnlyTwoRegimeAssembly.lean625/formalization/Q_ONLY_ATTACHMENT_ENVELOPE_AUDIT.md.github/workflows/erdos625-q-only-attachment-envelope.ymlTheorem chain
residualLambda_le_residualQproves pointwise domination.lambda_matching_products_le_exp_two_q_boundcharges both finite products to twice one total-q sum.exists_absolute_residualActualAttachmentNumerator_le_qOnlyEnvelopecombines this with the accepted total-q estimate at scaleU^2.exists_absolute_profileHighSkeletonAttachment_le_qOnlyEnvelopespecializes the finite result to every attained canonical high skeleton.eventually_profileHighSkeletonAttachment_le_qOnly_logScalegives the uniform profile endpointexp(O((log n)^2))in the quadratic regime.exists_absolute_profileHighSkeletonAttachment_intrinsic_splitpackages the quadratic and deterministic branches in one exact finite statement.exists_midpointCanonicalAttachment_qOnly_twoRegime_errorcombines the two regimes over the literal attained attachment sum and produces a deterministic coefficientepsilon_n -> 0at scalen/(log n)^4.Finite regime split and phase assembly
The module proves
The profile-level split is therefore:
2^U <= m^3: attachment<= exp(kappa U^2);2^U > m^3:m < 2^ceil(U/3)and attachment<= 2^(U m/2).The exported assembly theorem uses the phase-controlled implication in the large-residual range and the literal deterministic bound in the complementary range. It concludes
Thus Section IX is reduced to the Section VIII bare-skeleton estimate; no independent polymer surrogate or remaining Section IX phase adapter is needed.
Validation
The focused workflow rejects placeholders and project-defined axioms/constants and builds the q-only two-regime assembly with its dependency closure under Lean 4.31 and
--wfail.The focused run succeeded at commit
2ea82c988218dee89d3639f598090ce813501c40. The repaired proof replaces three brittle automation steps by explicitNat.maxmonotonicity and removes a redundant algebra tactic afterfield_simp.This branch was mechanically integrated into the cumulative audit head through PR #40; PR #39 now contains both the Section VIII and Section IX simplification lines.
Scope boundary
This PR does not bound the Section VIII bare skeleton sum, prove the final normalized second-moment estimate without that Section VIII input, rewrite the canonical manuscript, or prove
Erdos625Statement.PR #34 and PR #35 should still be reviewed first in the original stack. The cumulative cross-stack review is PR #39.