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.
Positive Conservative Production Destruction Integrators — Examples
1 · Prerequisites
- Banach-Space Differential Calculus and Banach Manifolds
- Binary Operations, Monoids, Groups and Subgroups
- Bounded Linear Operators and Quotient Spaces
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Complex Norms and Realification
- Complexification, Realification and Real Structures
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Darboux, L'Hôpital, and Taylor's Theorem
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Dimensional Normed Spaces and Riesz Lemma
- Finite generator master equations and uniformization
- Finite-precision direct factorizations and least squares
- Foundations of the Real Numbers for Analysis
- Hilbert Space Geometry and Riesz Representation
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear multistep methods and Dahlquist equivalence
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Matrix Norms, Condition Numbers and Numerical Stability
- Metric Spaces
- Mixed Partials, Taylor Formulae, and Extrema
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Normed and Banach Spaces
- One-step ODE Consistency and Local Error
- Order, Zorn's Lemma, and the Axiom of Choice
- Picard-Lindelöf and First-Order Ordinary Differential Equations
- Polynomial Rings, the Division Algorithm and Roots
- Positive Conservative Production Destruction Integrators
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Runge–Kutta Methods and Order
- Sequences and Limits
- Series: Convergence and the Nonnegative Tests
- Simple Field Extensions and the Construction of the Complex Numbers
- Stability regions and stiff equations
- Subspaces, Products, and Quotients
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The Riemann Integral: Definition and Integrability
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Vector Spaces, Linear Subspaces, Span and Direct Sums
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
A stiff reversible two-compartment transfer
Example
Take state domain and two compartments with transfers and , all other transfers zero. This is a stiff reversible conservative system: its fast difference mode has decay rate . Starting from and taking , verify one modified Patankar Euler step and the finite column-generator convention.
Verification
Given: The transfer rates in the Example, the positive input , and step .
[F1] Finite conservative production destruction systems: the PDS equations are with .
[F2] Modified Patankar Euler for conservative transfer systems: for positive input and denominators , 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 is the source state.
The rates satisfy and , so [F1] gives and . In the state order the coefficient matrix is ; its off-diagonal entries are nonnegative and both column sums are zero, so it is a finite column generator under [F4].
With and , [F2] gives . The determinant is , and direct elimination gives and . Both coordinates are positive and their sum is , as also predicted by [F3].
For total mass and , the continuous first coordinate obeys with equilibrium . The one-step formula in step 1.2 satisfies ; for this positive damping factor is although . This verifies the large-rate damping for the specified example without inferring a general stability theorem.
Three species with weighted number-to-mass conservation
Example
Let state domain and factorization neighborhood be , and let . Let species have molecular weights . In number variables let the reactions be , with forward event rate and reverse event rate . Convert to mass variables . Verify the conservative transfer representation and one zero-compatible step from with .
Verification
Given: The reactions and molecular weights in the Example, mass coordinates , and step .
[F1] Finite conservative production destruction systems: paired rates define a finite closed PDS and preserve the sum in its internal-transfer form.
[F2] Source-factored transfer rates for zero compartments: rates and have a ratio-free representation at zero coordinates.
[F3] Zero-compatible modified Patankar Euler in rate-factor form: the step solves using donor-rate factors .
[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.
One forward event consumes mass from and produces mass in each of ; one reverse event consumes mass from each of and produces mass in . Thus the mass transfer rates are and , with all other rates zero. These paired rates satisfy [F1], and is the molecular-weight mass.
The transfer factors are , , and , with all other factors zero; hence the rates have the form required by [F2], even when or is zero. At , the matrix in [F3] is . Solving it against gives .
The updated coordinates are nonnegative, and . This is the weighted number-to-mass conservation verified in step 1.1; it also agrees with the general zero-compatible theorem [F4].
A zero compartment makes the standard ratio undefined
Example
Take state domain and factorization neighborhood and . Consider two compartments with transfers at rate and at rate , starting from . Verify that the standard denominator choice is undefined, while the source-factored zero-compatible step with is well-defined and conserves mass.
Verification
Given: The two transfer rates, initial state , and step .
[F1] Finite conservative production destruction systems: a transfer from donor to recipient is .
[F2] Modified Patankar Euler for conservative transfer systems: the standard step requires every declared denominator and rejects nonpositive denominators before rate evaluation; its standard consistency choice is .
[F3] Source-factored transfer rates for zero compartments: a transfer from donor factors as , with the coefficient defined also at zero.
[F4] Zero-compatible modified Patankar Euler in rate-factor form: the factorized update solves without dividing by .
[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 , the update is uniquely defined, nonnegative, and mass-conservative for and .
The rates are and , so [F1] holds. At , the standard choice has , so [F2] returns inadmissible-input before evaluating a rate. The displayed standard-step equation itself would contain , which is undefined; assigning is not an algebraic evaluation of that expression.
The transfer factors and are nonnegative and on , and with , so the hypotheses of [F5] hold. With , [F4] gives , whose determinant is and whose solution is .
The computed coordinates are nonnegative and sum to , 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.
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 and one compartment with no transfers, so its Patankar matrix is and its nonnegative right-hand side is . For any , the candidate has residual , which can be arbitrarily small while the candidate is negative.
Facts & Assumptions
Given: A one-compartment closed system with no transfers, right-hand side , and any real .
Finite conservative production destruction systems permits and zero paired transfer rates.
Modified Patankar Euler for conservative transfer systems with any positive denominator and zero rates has solve matrix .
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
Set , , , , and . These data satisfy [F1] and the admissible input conditions of [F2], and the system is .
For the candidate , the exact residual is , so can be made smaller than any prescribed positive tolerance while .
Here the exact solve is . Whenever the stored-operand and successful-arithmetic hypotheses of [F3] hold, its radius satisfies , so its sufficient margin fails. For every real , step 2.1 already gives a negative candidate with exact residual magnitude , refuting the statement independently of floating-point evaluation.
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 , then the forward Euler step preserves nonnegative compartment values.
Witness
Use state domain and two compartments with and all other transfers zero. The exact system is , . From the nonnegative initial state , take the forward Euler step . The step is in the absolute-stability interval for the negative scalar eigenvalue , yet its first component is negative.
Facts & Assumptions
Given: The stated two-compartment transfer system, initial state , and .
Finite conservative production destruction systems: paired internal rates give a finite conservative PDS.
Orders and scalar stability functions of Euler, midpoint, and classical RK4: forward Euler has stability function and has uniform local order at least one under the stated smooth compact-tube hypotheses.
Forward Euler has the closed unit disk centered at −1 as its absolute-stability region: on , forward Euler is absolutely stable exactly when .
Refutation
The rates satisfy and all other pair rates vanish, so [F1] gives and with conserved sum .
Forward Euler gives , so the first concentration is negative even though the sum remains .
The system matrix is lower triangular with eigenvalues and . For , [F3] gives absolute stability because ; for , [F2] gives multiplier . Thus for both eigenvalues even though step 2.1 has a negative component.
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.