Repository navigation
Conversation
Prove that on the documented signed concave invoice screen, every invoice with fixed paid/target entry counts and rank masses is pointwise bounded by its polarized canonical invoice: paid ranks spread to the ambient extreme, target ranks balanced. The extreme is independent of the exponent, so one two-rank declaration bounds a whole class, gives an O(1) necessary condition and an O(1) sufficient uniformly-worse certificate that composes with the hinge comparator. The written proof is corroborated by exhaustive certified interval checks over four count/rank boxes and by the comparator itself.
This was referenced Nov 11, 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.
Result
Claim type: scoped written proof with exact finite corroboration.
On the documented signed concave invoice screen (
scripts/compare_recursive_invoices.py), the net of a declaration at exponentx = 1 - CisThis PR answers the question the comparator does not: over the whole class of declarations sharing the four numbers
(paid entry count Kp, paid rank mass Mp, target entry count Kt, target rank mass Mt), which declaration is the most favourable, and is that extreme independent ofx?Theorem. For ambient rank
m >= 2, the pointwise-in-xminimum ofNover the class is attained by the polarized declaration:jcopies ofm, one remainderr0, the rest1, withj = min(Kp-1, (Mp-Kp)//(m-1))andr0 = Mp - Kp + 1 - j(m-1);q = Mt//Ktandq+1.Every declaration in the class satisfies
N(x) >= N_canonical(x)for all0 < x < 1simultaneously, with equality exactly at the canonical declaration. Because the canonical declaration depends only on(Kp, Mp, Kt, Mt, m), one two-rank declaration bounds a whole class.Two consequences that need no construction replay:
(Kp, Mp, Kt, Mt)can beat an incumbent with netPsi(x)only ifLambda(x) < Psi(x); the mass-only form isMt > Mp m^(x-1) - Psi(x).Uthe antipodal declaration of the incumbent class (paid balanced, targets spread),Lambda_candidate(x) > U_incumbent(x)for allximplies every candidate declaration is uniformly worse than every incumbent declaration. Both sides are two-rank declarations, so the existing hinge comparator verifies the hypothesis exactly in constant time.The proof is an exchange argument: increments of a strictly concave power are strictly decreasing, so spreading paid mass and equalizing target mass never hurt, and the terminal configurations are unique (
PROOF.md, Lemmas 1-3, Propositions 1-2, Theorem). The exponent range is sharp: atx = 1the inequality is an equality for every declaration with the same masses, and atx = 0it degenerates to entry counts, so0 < x < 1is exactly where the polarized extreme exists.Evidence
PROOF.md— written proof, uniqueness of both extreme declarations, sharpness of the exponent range, and the two screening consequences.verify.py— integer interval arithmetic only (rank powers bracketed by integer k-th roots, 24 digits; no floating point). It checks both exchange lemmas for every admissible pair withm <= 6and five exponents1/2, 1/3, 2/3, 1/5, 3/7; Propositions 1 and 2 exhaustively over every integer multiset in the boxes(m, max entries) = (5,3), (4,4), (6,2), (3,5); the class theorem on every ordered pair in those boxes (40,705 strict comparisons, 16,995 equality cases); thex = 1andx = 0boundary controls; and mutation/hypothesis controls.uniformly_worsewith a strictly positive power sign, the reverseuniformly_better, identical canonical declarationsequal, a rank above the declared ambient rank is rejected, and the antipodal class certificate is confirmed on concrete declarations.RESULT.json— generated census with source hashes, rewritten by the verifier.Reproduction from the repository root, with the pinned interpreter:
All of the above pass locally on commit
a9b48385719c50b2a710906b70e975585e24a631; the verifier runs in about 0.2 s.Limitations and unrun obligations
kappachange, and no claim that a canonical declaration is realizable by a word. The bound is over declarations and is sharp inside the declared class only.mor allx; the universal statement rests on the written exchange proof.Open next questions
chostable targets of a given rank, the target maximum becomes a bounded-composition problem. First step: compute the exact maximum ofsum s_j^xunder per-rank caps. Blocked by: no declared cap inventory bound for a concrete word.(Kp, Mp, Kt, Mt)a fixed controller can realize. First step: count the four numbers for one audited declaration and compare against its own class ceiling. Blocked by: no source inventory is bound in this package.Related open work
x^c, a sharp single-fusion cap and a total fusion budget for a fixed partition. It changes the paid multiset of one declared invoice; this PR bounds the signed net over a whole class of declarations. The two are complementary and share no computed number, so no numeric comparison is made here.docs/research/recursive-invoice-preflight.mdrecords the signed-invoice comparison procedure and its "not a new theorem" disclaimer for the concave-order interface; this PR supplies the class-extremal theorem there and changes nothing in that document.CI notes
Head
a9b48385719c50b2a710906b70e975585e24a631, runhttps://github.com/CrocSwap/integer-mult-bounds/actions/runs/43107053327.
planfailed. Thereplayjob was then skipped, so CI did not certify this package.test_research_current_status.CurrentCiNavigationTests.test_current_ci_section_matches_selected_record(
760tests,24skipped,1failure), withAssertionError: 'make frontier7000-verify' not found in '# CI verification ...'.e54523517,certificates/selected-result.jsonhas"reproduce": "make frontier7000-verify",while
docs/ci-verification.mdstill describesmake frontier6030-verify(line 9), and the test compares those two. This PR touches neither file and
adds only
research/invoice-class-polarization/.43105433200, run43105694304,run
43105875821, and in another contributor's run42905094314.VERIFY.jsoncommand,scripts/research_package.pyandscripts/check_research_commit.py --check-source-historypass at this head(verifier runtime about 0.2 s).
Apache-2.0.