Alphabeta Math
Pipeline-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.

✓ 5 results · all verified · 4 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 1 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Positive Conservative Production Destruction Integrators — Examples

1 · Prerequisites

2 · Summary

Summary

The examples compute one step for a fast reversible two-compartment transfer and a three-species reaction after converting molecule counts into weighted mass variables. They show how a source-factor representation handles an initially empty compartment without a zero denominator. Two counterexamples mark separate limits: a scalar-stable, first-order forward Euler step can produce a negative concentration, and an arbitrarily small linear residual does not certify that a computed vector is nonnegative.

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

A stiff reversible two-compartment transfer

Example

Take state domain Ω=R2 and two compartments with transfers p21=d12=1000y1 and p12=d21=y2, all other transfers zero. This is a stiff reversible conservative system: its fast difference mode has decay rate 1001. Starting from yn=(1,1) and taking h=1, verify one modified Patankar Euler step and the finite column-generator convention.

Verification

Given: The transfer rates in the Example, the positive input (1,1), and step h=1.

[F1] Finite conservative production destruction systems: the PDS equations are yi′=∑j(pij−dij) with pij=dji.

[F2] Modified Patankar Euler for conservative transfer systems: for positive input and denominators σi=yin, the step solves the transfer-weighted linear system.

[F3] Modified Patankar Euler preserves positivity and total mass: that solve is positive and preserves the sum.

[F4] Finite column generator: a finite column generator has nonnegative off-diagonal entries and each column sums to zero; column j is the source state.

1.1F1F4algebra

The rates satisfy p21=d12=1000y1 and p12=d21=y2, so [F1] gives y1′=−1000y1+y2 and y2′=1000y1−y2. In the state order (1,2) the coefficient matrix is Q=(−100011000−1); its off-diagonal entries are nonnegative and both column sums are zero, so it is a finite column generator under [F4].

1.2F2F3algebra

With h=1 and yn=(1,1), [F2] gives (1001−1−10002)yn+1=(11). The determinant is 1001⋅2−1000=1002, and direct elimination gives y1n+1=3/1002=1/334 and y2n+1=2001/1002=667/334. Both coordinates are positive and their sum is 2, as also predicted by [F3].

2.1F1step 1.2algebra∎

For total mass M=y1+y2 and s=1001, the continuous first coordinate obeys y1′=−s(y1−y1∗) with equilibrium y1∗=M/1001. The one-step formula in step 1.2 satisfies y1n+1−y1∗=(y1n−y1∗)/(1+hs); for h=1 this positive damping factor is 1/1002 although hs=1001. This verifies the large-rate damping for the specified example without inferring a general stability theorem.

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

Three species with weighted number-to-mass conservation

Example

Let state domain and factorization neighborhood be Ω=U=R3, and let K={(2,0,0)}. Let species A,B,C have molecular weights 2,1,1. In number variables let the reactions be A⇄B+C, with forward event rate r=2nA and reverse event rate s=nBnC. Convert to mass variables y=(2nA,nB,nC). Verify the conservative transfer representation and one zero-compatible step from yn=(2,0,0) with h=1.

Verification

Given: The reactions and molecular weights in the Example, mass coordinates y=(2nA,nB,nC), and step h=1.

[F1] Finite conservative production destruction systems: paired rates pij=dji define a finite closed PDS and preserve the sum in its internal-transfer form.

[F2] Source-factored transfer rates for zero compartments: rates pij=yjaij and dij=yiaji have a ratio-free representation at zero coordinates.

[F3] Zero-compatible modified Patankar Euler in rate-factor form: the step solves (I−hB(yn))yn+1=yn using donor-rate factors aij(yn).

[F4] The factorized zero-state step is well-defined, nonnegative, conservative, and locally first order: for the stated factorization the output is nonnegative and conserves total mass, including at zero compartments.

1.1givenF1algebra

One forward event consumes mass 2 from A and produces mass 1 in each of B,C; one reverse event consumes mass 1 from each of B,C and produces mass 2 in A. Thus the mass transfer rates are p21=p31=d12=d13=r=y1 and p12=p13=d21=d31=s=y2y3, with all other rates zero. These paired rates satisfy [F1], and y1+y2+y3=2nA+nB+nC is the molecular-weight mass.

1.2F2F3algebra

The transfer factors are a21=a31=1, a12=y3, and a13=y2, with all other factors zero; hence the rates have the form required by [F2], even when y2 or y3 is zero. At yn=(2,0,0), the matrix in [F3] is I−B(yn)=(300−110−101). Solving it against (2,0,0)T gives yn+1=(2/3,2/3,2/3)T.

2.1F1F4step 1.1step 1.2algebra∎

The updated coordinates are nonnegative, and 2/3+2/3+2/3=2=2+0+0. This is the weighted number-to-mass conservation verified in step 1.1; it also agrees with the general zero-compatible theorem [F4].

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passOpen item page →

A zero compartment makes the standard ratio undefined

Example

Take state domain and factorization neighborhood Ω=U=R2 and K={(1,0)}. Consider two compartments X,Y with transfers X→Y at rate 2yX and Y→X at rate 3yY, starting from (yXn,yYn)=(1,0). Verify that the standard denominator choice σi=yin is undefined, while the source-factored zero-compatible step with h=1 is well-defined and conserves mass.

Verification

Given: The two transfer rates, initial state (1,0), and step h=1.

[F1] Finite conservative production destruction systems: a transfer from donor j to recipient i is pij=dji.

[F2] Modified Patankar Euler for conservative transfer systems: the standard step requires every declared denominator σj>0 and rejects nonpositive denominators before rate evaluation; its standard consistency choice is σj=yjn.

[F3] Source-factored transfer rates for zero compartments: a transfer from donor j factors as pij(y)=yjaij(y), with the coefficient defined also at zero.

[F4] Zero-compatible modified Patankar Euler in rate-factor form: the factorized update solves (I−hB(yn))yn+1=yn without dividing by yjn.

[F5] The factorized zero-state step is well-defined, nonnegative, conservative, and locally first order: under the source-factorization hypotheses on an open neighborhood of compact K⊆[0,∞)m, the update is uniquely defined, nonnegative, and mass-conservative for yn∈K and h>0.

1.1F1F2algebra

The rates are p21=d12=2yX and p12=d21=3yY, so [F1] holds. At yn=(1,0), the standard choice has σY=0, so [F2] returns inadmissible-input before evaluating a rate. The displayed standard-step equation itself would contain p12(yn)yYn+1/σY=0⋅yYn+1/0, which is undefined; assigning 0/0=0 is not an algebraic evaluation of that expression.

1.2F3F4F5algebra

The transfer factors a21=2 and a12=3 are nonnegative and C2 on U=R2, and yn=(1,0)∈K with h=1>0, so the hypotheses of [F5] hold. With h=1, [F4] gives (3−3−24)yn+1=(10), whose determinant is 6 and whose solution is (yXn+1,yYn+1)=(2/3,1/3).

2.1F5step 1.2algebra∎

The computed coordinates are nonnegative and sum to 1, equal to the initial total. This agrees with [F5] and exhibits a well-defined first-order zero-state extension; it makes no second-order claim for a zero MPRK stage.

CounterexampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

An arbitrarily small residual does not certify the candidate's nonnegativity

Statement refuted

For every conservative Patankar linear system, a sufficiently small linear residual by itself certifies that the computed candidate is nonnegative.

Witness

Take state domain Ω=R and one compartment with no transfers, so its Patankar matrix is M=(1) and its nonnegative right-hand side is b=0. For any ε>0, the candidate y^=−ε has residual My^−b=−ε, which can be arbitrarily small while the candidate is negative.

Facts & Assumptions

Given: A one-compartment closed system with no transfers, right-hand side 0, and any real ε>0.

[F1]

Finite conservative production destruction systems permits m=1 and zero paired transfer rates.

[F2]

Modified Patankar Euler for conservative transfer systems with any positive denominator and zero rates has solve matrix M=(1).

[F3]

Certified residuals bound mass drift and the exact-solve positivity margin: under its stored-operand and successful-arithmetic hypotheses, the componentwise margin is sufficient to certify nonnegativity of the exact solution; the residual alone is not a sign condition on the candidate.

Refutation

1.1givenF1F2algebra

Set m=1, p11=d11=0, h=1, yn=0, and σ1=1. These data satisfy [F1] and the admissible input conditions of [F2], and the system My+=yn is y+=0.

2.1step 1.1algebrachoose

For the candidate y^=−ε, the exact residual is r=My^−b=−ε, so ∣r∣=ε can be made smaller than any prescribed positive tolerance while y^<0.

3.1F3step 2.1algebra∎

Here the exact solve is y∗=0. Whenever the stored-operand and successful-arithmetic hypotheses of [F3] hold, its radius satisfies ρ≥ε, so its sufficient margin y^≥ρ fails. For every real ε>0, step 2.1 already gives a negative candidate with exact residual magnitude ε, refuting the statement independently of floating-point evaluation.

CounterexampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

A stable forward Euler step can still make a concentration negative

Statement refuted

For every linear finite conservative PDS, if each eigenvalue λ of its system matrix satisfies ∣1+hλ∣≤1, then the forward Euler step preserves nonnegative compartment values.

Witness

Use state domain Ω=R2 and two compartments with p21=d12=y1 and all other transfers zero. The exact system is y1′=−y1, y2′=y1. From the nonnegative initial state (1,0), take the forward Euler step h=3/2. The step is in the absolute-stability interval for the negative scalar eigenvalue −1, yet its first component is negative.

Facts & Assumptions

Given: The stated two-compartment transfer system, initial state (1,0), and h=3/2.

[F1]

Finite conservative production destruction systems: paired internal rates pij=dji give a finite conservative PDS.

[F2]

Orders and scalar stability functions of Euler, midpoint, and classical RK4: forward Euler has stability function RE(z)=1+z and has uniform local order at least one under the stated smooth compact-tube hypotheses.

[F3]

Forward Euler has the closed unit disk centered at −1 as its absolute-stability region: on y′=−ρy, forward Euler is absolutely stable exactly when 0<hρ≤2.

Refutation

1.1givenF1algebra

The rates satisfy p21=d12=y1≥0 and all other pair rates vanish, so [F1] gives y1′=−y1 and y2′=y1 with conserved sum y1+y2.

2.1givenstep 1.1algebra

Forward Euler gives y1=y0+hF(y0)=(1,0)+(3/2)(−1,1)=(−1/2,3/2), so the first concentration is negative even though the sum remains 1.

3.1givenF2F3step 1.1algebra

The system matrix is lower triangular with eigenvalues −1 and 0. For λ=−1, [F3] gives absolute stability because 0<hρ=3/2<2; for λ=0, [F2] gives multiplier RE(0)=1. Thus ∣1+hλ∣≤1 for both eigenvalues even though step 2.1 has a negative component.

4.1F2step 2.1step 3.1∎

The vector field is linear and smooth, so the compact-tube hypotheses of [F2] hold locally and forward Euler has first-order local consistency. Steps 2.1 and 3.1 show that neither this accuracy order nor scalar absolute stability implies positivity preservation.