Skip to content

[formalization] Root-flux budgets for forced Weyl recurrences #1879

Closed as not planned

Description

@PerAlexandersson

Purpose

Formalize the exact statewise criterion for an affine Weyl companion with external forcing:

q = U f + V f' + sum_i L_i g_i + H.

For a simple split current row f, positive-leading output q, and

deg f <= deg q <= deg f + 1,

the recurrence is suitable for the directed transition f << q exactly when the forcing flux fits inside the derivative-and-lag margin at every root r of f:

H(r) f'(r)
  <= -(V(r) f'(r)^2 + sum_i L_i(r) g_i(r) f'(r)).

Strict inequality is the coprime branch and yields simple output roots. When each g_i << f, all leading coefficients are positive, and V(r),L_i(r)<=0, the right side is nonnegative. Hence only roots with H(r)f'(r)>0 need a quantitative estimate.

This is an exact certificate for the actual recurrence state. It is not universal preservation by the affine 2 x 2 Weyl companion

 [q]   [U+VD  L] [f]   [H]
 [f] = [ I    0] [g] + [0].

Paper/formalization contract: forcing-budget-weyl-recurrences.md.

Dependencies and routing: #1844, #1847, #1873, #1878. Parent #601; long-proof consolidation #1675 and derivative-recurrence umbrella #1234. Claude owns Lean source, downstream migrations, serialized builds, source guards, and axiom audits. The research lane edits no Lean or downstream source and runs no Lean build.

Existing checked ingredients

At RealRooted 0554219dd735d0472b30ddec77855a19f7b8336e, reuse:

RealRooted.strictInterl_of_eval_mul_derivative_nonpos
RealRooted.StrictInterl.eval_mul_derivative_nonpos_of_left_root
RealRooted.StrictInterl.eval_mul_derivative_neg_of_left_root_of_isCoprime
RealRooted.StrictInterl.eval_mul_eval_derivative_nonneg
RealRooted.StrictInterl.hasSimpleRoots_of_isCoprime
RealRooted.LiuWang.strictInterl_derivative_lag_of_combined_flux
RealRooted.LiuWang.strictInterl_mul_add_sum_mul_of_combined_flux_of_pos.

Do not reprove a root-count theorem. The new mathematics is the exact iff facade and the recurrence-budget algebra around these declarations.

1. Exact root-flux iff

Under explicit hypotheses

hf_pos    : HasPosLeadingCoeff f
hf_split  : f.Splits
hf_simple : f.roots.Nodup
hq_pos    : HasPosLeadingCoeff q
hdeg_lo   : f.natDegree <= q.natDegree
hdeg_hi   : q.natDegree <= f.natDegree + 1,

prove a reusable theorem equivalent to

StrictInterl f q <->
  forall r, f.IsRoot r -> q.eval r * f.derivative.eval r <= 0.

A provisional name is

strictInterl_iff_eval_mul_derivative_nonpos_of_roots_nodup

but review it against project naming rules. The reverse direction is the checked derivative-sign theorem; the forward direction is the checked left-root evaluation theorem.

Also prove the strict/coprime form

(StrictInterl f q /\ IsCoprime f q) <->
  forall r, f.IsRoot r -> q.eval r * f.derivative.eval r < 0.

For the reverse direction, derive StrictInterl, exclude common real roots from strict negativity, obtain IsCoprime, and expose the corollary that q has simple roots. Cover the degree-zero boundary rather than silently assuming 0<deg f.

StrictInterl has weak root comparisons despite its name. Keep the nonpositive and strict/coprime conclusions distinct.

2. One-lag forcing budget

For a supplied polynomial identity

hrec : q = U*f + V*f.derivative + L*g + H,

prove the exact weak equivalence

StrictInterl f q <->
  forall r, f.IsRoot r ->
    H.eval r * f.derivative.eval r <=
      -(V.eval r * (f.derivative.eval r)^2
        + L.eval r * g.eval r * f.derivative.eval r).

The U*f term must disappear by evaluation at the root. Add the strict/coprime version with <.

Then add margin lemmas under

StrictInterl g f
HasPosLeadingCoeff g
V.eval r <= 0
L.eval r <= 0.

Use StrictInterl.eval_mul_eval_derivative_nonneg to show the available margin is nonnegative. Provide an adverse-root wrapper: callers prove the quantitative budget only under

0 < H.eval r * f.derivative.eval r;

all other roots are discharged from margin nonnegativity. Keep the core theorem division-free.

The arbitrary-forcing iff requires the current row to have simple roots. At a repeated root f'(r)=0, the flux inequality is vacuous. For repeated current roots, route to the checked combined-flux Liu--Wang theorem only when its termwise repeated-root sign hypotheses are available.

3. Finite-family and pointwise frontends

Generalize to

q = U*f + V*f.derivative + sum i in s, L_i*g_i + H.

Each g_i only needs g_i << f; no pairwise relation among lag states is required. State the exact budget against the sum of all lag fluxes, plus the signed-margin and adverse-root corollaries.

Also add a pointwise-root-identity frontend. It should accept

forall r, f.IsRoot r ->
  q.eval r = v r * f.derivative.eval r
    + sum i in s, ell i r * (g i).eval r
    + H.eval r

with real-valued v and ell. This is needed when a polynomial recurrence produces rational coefficients only after root evaluation. Do not require callers to encode such coefficients as Weyl-polynomial entries.

Prefer direct theorem arguments until the statement shapes stabilize. Add a public predicate only if it has multiple callers and improves theorem signatures.

4. OEIS source regressions and migrations

Use downstream sqrt-of-2/real-rooted-oeis-proofs commit 4da79256c504843df1f8d2ddcfbe7522d9186657. These are theorem-level normalization and assembly regressions; no finite root sampling counts as verification.

A157012

At a root r of P_n, normalize the successor to

P_(n+1)(r) = r(1-r)P_n'(r) - 1.

The strict budget must split into:

  • P_n'(r)>0: automatic;
  • P_n'(r)<0: exactly
    1 < (r^2-r)(-P_n'(r)), the existing A157012NegativeSlopeAmplitude.

Replace A157012_root_sign_of_amplitude and the local Ma--Wang assembly with the generic theorem after a fresh reference audit. Do not claim that this proves the still-open amplitude estimate or adjacent interlacing.

For the deflated pair, normalize

M_n(beta) = (n+1) + beta(1-beta)B_n'(beta).

The adverse positive-slope budget is exactly A157012DeflatedAmplitude. Coordinate this migration with #1878; do not duplicate its anchored-capacity theorem.

A366159

Use the authoritative constant-deleted Eulerian model

C_(n+1) = (2+(n+1)X)C_n + X(1-X)C_n' + (n+2).

Negative slopes are automatic. The adverse positive-slope residual must be exactly

n+2 < (xi^2-xi)C_n'(xi).

The current absolute-value amplitude hypothesis is stronger because it treats both slope orientations. Replace only the generic sign-transfer and private root-sign wrapper. Retain the coefficient/tail analysis proving the adverse-root estimate.

A099759

At a negative root u of f=hSucc N Hprev, consume the existing pointwise identity

K(u) = alpha_N*u*f'(u) + b_N(u)*Hprev(u) + S(u),
alpha_N>0, u<0, b_N(u)<0, Hprev(u)f'(u)>0.

The exact strict budget is

S(u)f'(u)
  < alpha_N*(-u)*f'(u)^2 - b_N(u)*Hprev(u)*f'(u).

For f'(u)<0 and S(u)>0, this is automatic. For f'(u)>0, retain the favorable lag term:

S(u) < alpha_N*(-u)*f'(u) - b_N(u)*Hprev(u).

The current kernel_mul_derivative_neg_of_sufficient discards -b_N Hprev and assumes the stronger bound S<alpha_N*(-u)f'. Add a regression that prevents this margin from being discarded. We do not claim that the generic theorem removes the remaining pole/gap estimates.

A166073

Normalize the private A166073_prec_step to the zero-forcing case. From V(r)<0, L(r)<=0, a simple current row, and g<<f, the generic strict budget must produce:

StrictInterl f F;
no common root of f and F;
F.roots.Nodup.

After a fresh caller audit, replace the private root-sign, no-common-root, and simple-root assembly. Preserve its coefficient positivity, degree, root-location, and sequence induction.

5. Tactic and router behavior

Extend #1847 or share a narrow backend so the recognized recurrence may contain an external +H term and several lag terms. Normalize theta=XD without changing composition order.

On failure, print the exact residual

H(r)f'(r) <= -(V(r)f'(r)^2 + sum_i L_i(r)g_i(r)f'(r)).

Diagnostics must distinguish:

  • current row not known split/simple;
  • output degree or positive-leading endpoint unresolved;
  • lag edge or leading sign missing;
  • derivative/lag coefficient sign unresolved;
  • automatic forcing branch closed;
  • adverse-root budget remains;
  • strict/coprime output requested but only a weak budget proved.

Register the checked theorem with #1873 as a scalar actual-state route supporting PF/splitness and the explicit edge f<<q. A failed budget solver is inconclusive; it is not a refutation of the recurrence or of universal matrix preservation. HasNonnegCoeffs q remains a separate PF obligation.

6. Regression contract

Add focused theorem-level tests for:

  1. weak equality budget producing StrictInterl with a possible common root;
  2. strict budget producing IsCoprime and simple output roots;
  3. a zero-degree current row;
  4. one lag and two lags, where only each lag-to-current edge is assumed;
  5. automatic H(r)f'(r)<=0 and adverse 0<H(r)f'(r) branches;
  6. a repeated-root current row rejected by the arbitrary-forcing iff and routed to the combined-flux theorem when applicable;
  7. a rational pointwise coefficient whose denominator is proved nonzero at negative roots;
  8. exact A157012, A366159, A099759, and A166073 source normalizations;
  9. missing adverse-root amplitude reported as a residual;
  10. successful scalar/edge output producing no universal companion-matrix claim.

Acceptance

Completion requires the exact weak and strict root-flux iff, one-lag and finite-family forcing budgets, the pointwise identity frontend, margin/adverse-root wrappers, source-pinned client regressions, useful diagnostics, and deletion of superseded client-local assembly after caller audits.

No sorry, added axiom, self-assumed statement scaffold, finite root sampling, hidden floating-point test, or unchecked Boolean counts as completion. The exact revision must pass focused builds, the full default build, source guards, and applicable axiom audits. Document final declaration names and route registration on #1873, and coordinate the A157012 deflated client with #1878.

Activity

  1. PerAlexandersson commented on Oct 19, 2026

    @PerAlexandersson
    OwnerAuthor

    #1881 is the second-order extension of this exact root-flux facade. It keeps the division-free core

    v(r)f'(r)^2+w(r)f''(r)f'(r)+sum_i ell_i(r)g_i(r)f'(r)+H(r)f'(r)<=0
    

    and, for a simple current root, rewrites f''(r)/f'(r) as twice the signed inverse-gap sum over the other roots. The same lag and forcing margins therefore survive unchanged; the new obligation is the curvature load. #1881 should depend on the root-sign iff here rather than duplicate its root-count proof.

    Paper proof and formalization map: root-gap-jet-budgets.md.

  2. PerAlexandersson commented on Oct 20, 2026

    @PerAlexandersson
    OwnerAuthor

    New source client for the root-flux frontend: the unrestricted all-threshold big-block recurrence in #1773.

    With f=P_(n,j) and Q=P_(n+1,j)-P_(n,j)=T f'+G_(n,j), the required sign is exactly

    -Q(rho)f'(rho)>0
    

    at each simple negative root. An unsigned -Q(rho)>0 frontend would be wrong: for j=3,n=6, the smaller root of 76+117T+10T^2 has Q(rho)>0 and f'(rho)<0, while the normalized product has the required sign.

    Please retain this as a regression for the strict/coprime branch after the generic theorem lands. The recurrence-specific residual can be emitted in either of two exact forms:

    sum_(k<n) S_k/(k(k+1))
      < (1-rho)(S_(j-1)-S_(j-2))/(j-1),
    

    or the equivalent remainder--Bezout positive-definiteness target cross-linked to #1936. The generic theorem should only perform flux-to-edge assembly; it must not claim the missing reachable inequality.

    The j=2 specialization is a positive theorem-level client:

    Q(rho)/f'(rho)
     =rho(1+n P_(n-1,2)(rho)/f'(rho))<0
    

    from the preceding directed edge. Full derivation and 182-check exact audit: source note. No Lean work was done in the research lane.

  3. PerAlexandersson commented on Oct 20, 2026

    @PerAlexandersson
    OwnerAuthor

    New issue #1961 packages a sharper finite reachable cone for the special forcing (lambda+muX)g. The normalized endpoint simplex gives the exact cone budget lambdar<=c and the closed update beta |-> 1/(a+lambda*beta). The router should try it before this general rootwise budget; failure of the projective bound continues here as inconclusive.

  4. PerAlexandersson commented on Oct 20, 2026

    @PerAlexandersson
    OwnerAuthor

    New reachable-state backend #1962 should run before the unrestricted root-flux fallback here. It first tries compact projective ratio polytopes; when favorable X lags matter, it requests lifted root-residue facets or a sharp endpoint-jet/mixed-Bezout certificate. Failure is inconclusive and should continue to this rootwise backend.

  5. PerAlexandersson commented on Oct 21, 2026

    @PerAlexandersson
    OwnerAuthor

    Please add a small reusable specialization of the root-flux facade: a relative root-motion margin.

    For c>=0, put

    q_c = q-c*theta f = q-c*X*f'.
    

    Under the existing simple-split current-row hypotheses and the degree/positive-leading endpoints for q_c, prove

    StrictInterl f q_c
      <->
    forall r, f.IsRoot r ->
      q.eval r * f.derivative.eval r
        <= c*r*(f.derivative.eval r)^2.
    

    Because the roots of f are simple, add the real-valued corollary

    -q(r)/f'(r) >= c*(-r).
    

    Keep the first theorem as the primary division-free API. The quotient form is for root-motion clients with proved nonvanishing derivative. Do not use it for the repeated-root branch.

    Add three wrappers, each explicitly retaining the degree and leading-sign gates:

    1. invariance under adding a scalar multiple of f to q;
    2. invariance under positive simultaneous scaling of f and q;
    3. downward closure in the margin for PF f: from margin c and
      0<=c'<=c, obtain margin c' using
      q-c'theta f=(q-ctheta f)+(c-c')theta f and the checked
      f<<theta f/fixed-left cone route.

    The threshold-Bell client #1773 uses c=1/(j-1). This turns its derivative-corrected comparison into the statement that every negative root moves right at least that fraction of its distance to the origin. It is also a useful tactic diagnostic: failure should print the residual relative-motion inequality rather than an opaque corrected polynomial.

    Paper proof and client derivation: research commit 7f8b58f,
    notes/forcing-budget-weyl-recurrences.md, equations (4a)--(4c). This is a corollary of the exact root-flux theorem, not a new root-count argument. No Lean source or build was touched.

  6. added
    formalizationPlanned formalization of a specific statement
    weyl-programDifferential BKW / Weyl-matrix interlacing program (#601)
    on Oct 25, 2026
  7. PerAlexandersson commented on Nov 9, 2026

    @PerAlexandersson
    OwnerAuthor

    Consolidated into the Weyl-program cluster tracker #2464 (Cluster I: Root-sign endpoints; roadmap #2018). This issue keeps its statement, proof plan and sources as the reference for that cluster; it is linked from the tracker's member table.

  8. added a commit that references this issue on Nov 22, 2026
  9. PerAlexandersson commented on Nov 22, 2026

    @PerAlexandersson
    OwnerAuthor

    Formalized and merged: PR #2632 (anchored Euler capacity transport and forced root-flux budgets). The downstream migration of A157012 and A366159 follows in oeis-proofs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    formalizationPlanned formalization of a specific statementweyl-programDifferential BKW / Weyl-matrix interlacing program (#601)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions