Skip to content

v0.3.0 — From a signed rate matrix to a particle bound

Latest

Choose a tag to compare

@abenenson abenenson released this 23 Nov 21:24
· 1 commit to main since this release
v0.3.0

Import a conventional signed rate matrix as a Lean generator by checking nonnegative off-diagonal entries. When the input rows sum to zero, the round-trip theorem recovers the original matrix, including its diagonal.

The worked two-state example starts with [[-1, 1], [0, 0]] and follows independent particles over one second. Lean verifies that with 4,480 particles the probability of an integrated occupancy and directed-transition-count error of at least half a second is at most 1/20. The result is a certified upper bound for this example.

import FiniteMarkovProcessesExamples.SignedGeneratorConfidence

#check FiniteMarkovProcessesExamples.SignedGeneratorConfidence.measure_deviation_at_budget

Verified with Lean 4.35.0 and Mathlib 56a005855ea17e0b0958f73ec801ae140b0a1679. Release candidate c0918fbfccb1508a17e0240c0ac735611781e3f8.

Worked example · Verification · Changes since v0.2.0