Alphabeta Math
AlgorithmAlgorithm: AI-adaptedProof: Not applicablePipeline-generated
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.

Safeguarded certified event location and mode restart

Definition

Inputs. A smooth hybrid ODE system with a fixed total event-priority order; an initial mode, time t0, and state; a finite bound E0≥0 on the discrepancy between that state and the exact reference state at t0 (take E0=0 when the reference trajectory starts from the supplied state); a finite horizon T≥t0; a finite trial-step provider; a finite enclosure provider satisfying Certified dense-output and reference-guard enclosure data for hybrid events for every accumulated mode prefix; a physical-time root-box width target ω>0; a separate guard-residual tolerance ϵ>0; and finite nonnegative integer limits Bstep,Broot,Bevent. All scalar certificate data used in decisions have finite exact rational representations, including E0,ω,ϵ,δ and the error, Lipschitz, and field bounds. Time values have finite exact representations. Each provider or certificate-validation call returns data or a failure status in finite time; all computations and comparisons use exact rational or certified outward interval arithmetic, and any comparison that cannot be certified returns inconclusive. The trial provider returns a finite interval J=[a,b] with exact finite endpoints and positive rational duration b−a with a equal to the current reported time and a<b≤T. For each trial interval use θ=(t−a)/(b−a) and the transformed guard h~mn(θ)=gmn(a+(b−a)θ,yref(a+(b−a)θ)). The root isolator then starts from the finite dyadic interval [0,1], regardless of the physical-time endpoints. For Q⊆[0,1], write J(Q)=[a+(b−a)inf⁡Q,a+(b−a)sup⁡Q]. Broot is the maximum number of root-isolator boxes processed for one guard on one trial interval, summed over initial isolation, root-box refinement, endpoint checks, and event-order refinement. The enclosure provider supplies justified local and total reference-error bounds, valid dense-guard, exact-guard, and exact-guard-derivative enclosures on every queried subinterval, and a certified positive separation bound δ between consecutive selected exact event times on the horizon. It may use a rational residual-tube checker as one provider branch; no particular checker is required. A common-root certificate is a finite proof object with a finite sound validation procedure; it is admissible only when validated to certify that the unique exact roots in all named physical-time boxes occur at one common time. A certified exact singleton root is one such certificate. The error ledger E is an upper bound on discrepancy between reported and reference states at the aligned mode-segment start. The provider accumulates a continuous piecewise-C1 reconstruction U from the last reported reset. The formula in Quadratic continuous extension for Heun's method is one possible reconstruction, not an error certificate.

Procedure. Before any root-isolator call or further root-box work, if its per-guard counter equals Broot, return budget-exhausted with the certified prefix. After a call, if unresolved boxes remain and that counter has reached Broot, return budget-exhausted; if unresolved boxes remain with budget available, return inconclusive unless the refinement procedure below explicitly continues them. A completed certificate may be used even when its last call exactly spends the budget. These budget checks take precedence over the unresolved-result branches below.

  1. Initialize the current reported time, mode, and state from the inputs; set the accepted-event count and trial-step count to zero; set E=E0. If the current time is T, return the completed prefix. If the trial-step budget is exhausted before reaching T, return budget-exhausted with the certified prefix. Check the event budget only after a next enabled event has been certified, so it does not prevent a no-event step from reaching T.

  2. Increment the trial-step count and request the next interval J=[a,b]. If the increment exceeds Bstep, return budget-exhausted. If a is not the current reported time or a<b≤T fails, return inconclusive. Extend U by the proposed panel. Obtain and validate the provider's data for the whole accumulated prefix, including a C1 reference-mode continuation on an open interval containing J, the total bound ηref, and each active guard's interval evaluators. Continue only on a certified response under Certified dense-output and reference-guard enclosure data for hybrid events; if the provider returns inconclusive or any required bound, inclusion, reset datum, or evaluator is missing, unjustified, or nonfinite, return inconclusive with the certified prefix.

  3. For each outgoing transition in its fixed order, initialize a processed-box counter cmn=0 and apply Finite-budget interval isolation for smooth scalar roots to h~mn on [0,1]. On each queried local interval Q, use the exact-guard range enclosure Emn(J(Q)) and the derivative enclosure (b−a)Dmn(J(Q)); these enclose h~mn(Q) and h~mn′(Q). Set the minimum width to η=ω/(b−a) and the box budget to Broot. Add the returned processed-box count to cmn. If any result is inconclusive or contains unresolved boxes, return inconclusive. The result is usable only when it is complete, so all roots in the physical interval J are covered by excluded or certified boxes.

  4. Classify each certified local-time root box Q using Dmn(J(Q)). If σmnDmn(J(Q))⊆(−∞,−νQ] for some νQ>0, record that root as strictly opposite-oriented and nontriggering. If σmnDmn(J(Q))⊆[νQ,∞) for some νQ>0, it is an enabled candidate. If neither inclusion is proved and (b−a)width⁡(Q)=0, return inconclusive; otherwise call the refinement procedure below with requested physical width w=(b−a)width⁡(Q)/2, then repeat this classification on the returned smaller unique-root box. If further refinement is required after the box budget is spent, return budget-exhausted; any other failure to certify a strict sign returns inconclusive.

    Unique-root refinement. This procedure is called only on a local-time box Q already certified to contain exactly one root and with a positive requested physical width w. While (b−a)width⁡(Q)>w, initialize a FIFO worklist with Q and an empty set of certified subboxes. Remove the first local-time interval I from the worklist. If (b−a)width⁡(I)=0, return inconclusive; otherwise bisect I at its dyadic midpoint into two closed halves. For each half K, call Finite-budget interval isolation for smooth scalar roots on K with minimum width ηK=min⁡{w/(b−a),width⁡(K)/2} and the remaining per-guard budget; charge every processed box, including singleton calls, to cmn. Add every certified root box returned to the set of certified subboxes, and append every unresolved box returned to the worklist; discard root-free boxes. Any certified subbox lies in Q, so the unique root of Q is the root it certifies. If the certified set is nonempty, replace Q by the intersection of its boxes; they all contain the same root, so the intersection is nonempty and contains exactly that root. If the new box is still too wide in physical time, repeat with worklist initialized to this smaller Q. If the certified set is empty, continue processing the worklist; root-isolation soundness ensures the root remains in its unresolved union. If cmn=Broot while more work is required, return budget-exhausted. If the worklist empties without a certified subbox, return inconclusive. Closed halves include their shared midpoint, so an endpoint root cannot be dropped; if both halves certify it, their intersection records it once, possibly as a singleton.

  5. For each guard, sort its certified local-time root boxes by lower endpoint. Normalize adjacent boxes that share a bisection endpoint m by calling the root isolator on {m} for h~mn with minimum width ω/(b−a) and the remaining per-guard budget, charging its processed boxes to that guard's counter. If it certifies a root, replace all touching boxes by the singleton root. If it certifies that m is root-free, keep the boxes as distinct roots on opposite sides of m. If it is inconclusive, refine the touching boxes using step 4; if more work is required and cmn=Broot, return budget-exhausted; if their relation otherwise remains undecided, return inconclusive.

  6. If every isolator is complete and every certified root is strictly opposite-oriented, accept the no-event panel. Set the current reported time to b and state to U(b), append the dense panel, and retain the aligned-start ledger E. Obtain updated certified local and total error bounds on the enlarged prefix; if the provider does not certify them, return inconclusive. A no-event decision is therefore based on complete root isolation and direction classification of the entire trial interval, not on endpoint signs or on the absence of guard roots.

  7. If enabled candidates remain, order their local-time root boxes. For boxes that are strictly disjoint, their interval order gives their physical root order. If two boxes meet only at a local-time endpoint m, query the root isolator on {m} for each guard with minimum width ω/(b−a) and the remaining budget, charging each call to that guard: two certified singleton roots give a common-root certificate at physical time a+(b−a)m and a priority-selected tie; a singleton root-free result proves that guard's root is strictly to its box's side of m and orders it against a root at m or on the other side. If a singleton result is inconclusive, refine the boxes. For boxes with a nontrivial overlap, use a valid common-root certificate to establish exact simultaneity and apply the fixed priority among those enabled transitions; otherwise refine the overlapping boxes one bisection level at a time by requesting half their physical widths in step 4. If a box has zero physical width and still overlaps another candidate without a certified tie, return inconclusive. For same-guard boxes that touch at a bisection endpoint, the singleton check in step 5 either merges one root there or proves that the roots lie strictly on opposite sides. If the order is not certified before a box budget is exhausted, return budget-exhausted. Select the earliest enabled root or the priority-selected transition at a certified tie. Refine its box to physical width at most ω.

  8. Let τ^=a+(b−a)sup⁡Q be the physical upper endpoint of the selected local-time box Q, so the exact root τ satisfies τ≤τ^. From the dense-guard enclosure GmnU({τ^}), take the maximum absolute endpoint as a certified upper bound ϵobs for ∣gmn(τ^,U(τ^))∣. If the enclosure is nonfinite or ϵobs>ϵ, return inconclusive when (b−a)width⁡(Q)=0; otherwise call unique-root refinement with requested physical width w=(b−a)width⁡(Q)/2 and recompute. If the tolerance still requires root-box work after the budget is spent, return budget-exhausted; any other failure to certify it returns inconclusive.

  9. If the accepted-event count is already Bevent, return budget-exhausted with the certified prefix without applying another reset. Otherwise let ν>0 be the certified signed derivative margin on the selected physical-time root box. If that box is a singleton, its certified root is τ=τ^; set Δ=0. For a positive-length box, compute Δ=(Lgηref+ϵobs)/ν by A transverse hybrid event time is stable under dense-output and root error. In both cases the selected box contains its unique exact root τ, and step 8 selects its upper endpoint, so 0≤τ^−τ≤Δ. If the certified separation bound is missing or Δ≥δ/3, return inconclusive without restarting, since another selected exact event may occur before the reported time. Otherwise, separation by δ ensures no next selected exact event occurs before τ^. Check that (τ^,U(τ^)) lies in the reset domain and that (τ^,x+)∈Dn, where x+ is the actual proposed exact or approximate reset value and n is the selected target mode; a failed check returns domain-failure. Apply the exact reset and set ϵR=0, or obtain a finite certified error bound εR≥0 between the applied approximate reset value and R(τ^,U(τ^)); if that bound is unavailable, return inconclusive. A root at T is processed by this same rule, and the output at T is post-reset. The exact reference trajectory has reset at τ and followed the outgoing field through the alignment time τ^; its flow over this lag contributes at most M+Δ. By Reset and smooth-mode flow propagate a transverse event-time error, then add the reported reset-evaluation error to set the next aligned-segment state-error bound to E←LRηref+(LRM−+LR,t+M+)Δ+εR. Then discard the pre-reset reconstruction, set the current reported time and state to τ^ and the applied reset value, start a new accumulated reconstruction in the selected mode, append the event certificate, and increment the accepted-event count. Before processing any later trial interval, step 2 must obtain certified provider data whose total reference-error bound is valid on that whole accumulated prefix and includes this aligned-start discrepancy (or is independently justified on that full prefix); if the provider cannot certify it, return inconclusive with the certified prefix. Continue from step 1. Whenever further step, root-box, or event work is required after its budget is spent, return budget-exhausted with the certified prefix.

Outputs. A finite list of certified no-event panels and transverse event boxes with selected transitions, reset states, event-time bounds, and an updated state-error ledger; or an explicit inconclusive, domain-failure, or budget-exhausted status with the certified prefix. No no-event conclusion is drawn from endpoint signs alone.

Depends on

Used by

Dependency tree · two levels

23 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