How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Revised-simplex basis QR recomputation with finite residual and pivot statuses
Definition
Input finite stored binary data for the standard-form LP of Basis dictionaries and reduced costs for revised simplex, with full-row-rank , a candidate ordered basis of distinct in-range indices, and a nonnegative integer budget of basis evaluations. Stored values represent their exact dyadic rationals. Invalid dimensions, nonfinite inputs or repeated/out-of-range basis indices return invalid-input. Nonsingularity of must be established as part of an admitted basis input; a numerical rank threshold is not such an establishment. A basis whose validity is unavailable returns basis-validity-inconclusive.
A caller may request a primal or dual simplex transition after an audit, or only an audit. It may supply a finite sequence of transition records, one for each requested basis replacement, from Primal revised simplex with Bland's rule or Dual revised simplex with a finite pivot budget. A transition record has fields mode (primal or dual), basis_before (the ordered current basis, with its validity witness), leaving_position , and entering_index ; it is checked rather than trusted as already verified. The initial basis and each record's basis_before must carry the validity witness described here. After a replacement, its checked nonzero pivot coefficient establishes the new basis; any next transition record must carry its own checked validity witness.
An admitted basis input includes either an exact rational inverse witness with , checked exactly, or a rational matrix and rational with and , also checked exactly. For matrices with at least one row, ; the empty matrix has norm . For vectors it is the maximum absolute coordinate, with empty value . For , the empty inverse witness satisfies the identities. If neither validity certificate is verified, return basis-validity-inconclusive before factorization. A numerical rank threshold is never a validity certificate.
With an exact inverse witness, first compare basis_before with the current ordered basis exactly. Then check a transition by exact rational arithmetic: compute , , for every nonbasic , and . A primal record is admissible exactly when , is the least-index nonbasic column with , some , and minimizes over rows with , with ties resolved by least basic-variable index. A dual record is admissible exactly when every nonbasic , is the least-index basic variable with , , and minimizes over nonbasic with , with ties resolved by least variable index. In either case, the checked nonzero pivot coefficient proves the replacement basis nonsingular.
Certified rational enclosures may instead establish a transition. For each current and , provide rational with , , and ; verify these inequalities exactly. For each solve , combine its returned candidate and a rational upper bound for its Step 3 residual bound to form the coordinate intervals . For closed rational intervals and , use , , , and when ; division is undefined otherwise. Evaluate dot products, reduced costs, and ratio expressions with these exact rational endpoint operations. First compare basis_before with the current ordered basis exactly. An interval proves a sign or order only when its endpoints imply that relation. If a ratio comparison is not decided by interval endpoints, return pivot-inconclusive unless an exact inverse witness is supplied for the current basis; with , compute the exact rational ratios and compare them exactly, resolving equality by the least-index rule. Admit the record only when the required signs and comparisons, including all least-index rules, are proved. If a needed sign, ratio comparison, or basis match is not established, return pivot-inconclusive with the current basis and its last completed audit, without changing the basis.
For , use the operationwise arithmetic of Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add, with , , , and . All nonzero exact intermediates must be normal. Norms and certificate expressions below are evaluated exactly or by certified upward bounds; failure to obtain a finite valid bound is a numerical failure. Process the following loop:
-
Maintain an attempt counter , initially . If , return
budget-exhaustedwith the current basis, the last completed audit if any, and the basis to which that audit belongs. Otherwise set before starting this basis evaluation. Every budget, numerical-failure, basis-validity-inconclusive, or pivot-inconclusive return includes the current basis and identifies the basis associated with any retained audit; state explicitly when no audit exists. -
Separately for and , copy the current stored entries into a working matrix . For , set , take the active column and trailing block , and call Scaled Householder reflector formation and application once on . On success, save its reflector data and replace the active block by its returned output, which writes the new diagonal entry and exact zeros below it; leave earlier rows and columns unchanged. If , save an identity marker and leave the trailing block unchanged. Stop with
numerical-failureat the first failed call, recording the factorization, column , and failure stage. The final is the computed upper-triangular factor .To apply these stored reflectors to any right-hand side , start with and visit in that same order. Skip an identity marker. Otherwise, on the active suffix compute the sequential rounded dot , then , componentwise, and componentwise, using the operation order of Scaled Householder reflector formation and application without a column overwrite. Stop at the first failure and record the right-hand side, reflector index, and failure stage. For , apply this replay to obtain the transformed right-hand side and solve by descending substitution: for , sequentially compute , , and . A zero diagonal or any failed operation returns
numerical-failurewith the solve and row index. Reuse the factorization for and every nonbasic direction ; reuse the factorization for . Never substitute a rounded dense orthogonal product for the exact orthogonal representative in the proof. After every admitted basis replacement discard both factorizations and recompute; no rank-one factorization-update implementation is claimed. -
Independently certify each returned solve for its actual current matrix or and right-hand side . Compute and by the sequential products/subtraction of Rounded matrix products give certified linear and normal-equation residual allowances. Put With the local coefficient of The scaled computed Householder step satisfies the local backward error premise, put and report the valid upper bound A finite concrete certificate option uses exact rational arithmetic on the stored dyadic entries and a rational upper bound for satisfying all displayed admissibility inequalities. Use and as rational upper bounds for every norm in the two nonnegative expressions. For the local coefficient, substitute for in the source formula: put , , , , and . These are rational upper bounds because and all constituent nonnegative formulas increase in their arguments. Then and are rational upper bounds for the QR coefficients. Compute both candidate bounds by finite exact rational sums/products/powers and take their minimum as the returned . This implements the certificate without a norm oracle; other finite certified upper-bound procedures are allowed. Any factorization, substitution, dot, subtraction, range or certificate failure returns
numerical-failure, with its stage and the last completed audit; it returns no certificate for the failed solve. -
Embed in with zero nonbasic entries, and call Exact residual audit of finite-precision simplex candidates on these actual stored . Retain its exact , , objective difference , and audit status together with all solve residual bounds.
basis-solves-residual-certifiedmeans only that the returned bounds certify those linear equations; any requested thresholds must also be checked before declaring them met.verified-optimal-for-stored-datais issued only by the exact audit's primal/sign/zero-gap checks. Other completed candidates remaincandidate-only; small residuals or a failed/ambiguous pivot never certify infeasibility. -
Return if audit-only mode or the caller has no further transition. Otherwise compare the next record with the current basis and apply the exact or enclosure admission predicate above. A failed or unresolved predicate returns
pivot-inconclusiveorbasis-validity-inconclusive, retaining the current basis and last completed audit. On admission, replace position by , discard both factorizations, and continue at Step 1. Exact driver invariants remain those of the existing driver, not consequences of successful floating solves.
For , skip QR and substitution: the basis and multiplier are empty, every direction is the empty vector, and their basis-equation residuals and solve bounds are zero. Evaluate the existing exact audit with ; no basis replacement is possible. The budget and invalid-input branches remain in force.
Remarks
No exact-arithmetic simplex method, Bland termination theorem, dual invariant, PhaseI certificate or existing residual audit is replaced. The procedure recomputes canonical current-basis QR data, checks caller-supplied transitions, and reports computed candidates with independently certified residuals. A useful forward-accuracy interpretation requires a conditioning bound; signs and ratios are used only when exact checks or certified enclosures establish them. Pre-rounded input uncertainty requires separate data enclosures. No numerical-success, anti-cycling or polynomial-time guarantee is added.
Depends on
- Basis dictionaries and reduced costs for revised simplex
- Primal revised simplex with Bland's rule
- Dual revised simplex with a finite pivot budget
- Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add
- Scaled Householder reflector formation and application
- Computed reduced QR least squares is backward stable for full column rank
- The scaled computed Householder step satisfies the local backward error premise
- Rounded matrix products give certified linear and normal-equation residual allowances
- Exact residual audit of finite-precision simplex candidates
Used by
Dependency tree · two levels
21 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- Stuart and Voss, Matrix Analysis and Algorithms (standard reference, not scraped)
- David Bindel, CS6210, Sums, Dots, and Error in Linear Systems (standard reference, not scraped)