Theorem 5.4(3), p. 16 — two-sided exit and upward first passage of an MBI
OpenSkipFreeFluct.MBI.theorem_5_4_3Let be a Markov branching process with immigration (MBI) with parameters on , with Q-matrix (5.1), branching mechanism , immigration mechanism , root , and the sequences of Lemma 5.1 (with for ). For let
. In every regime (transient, recurrent or MBP), for integers :
This is item (3) of Theorem 5.4: one-sided-before-two-sided hitting, exit from , and upward first passage over .
Formalization Note This is one item of SkipFreeFluct.MBI.theorem_5_4, stated verbatim with the same encodings (the MBI is the chain generated by mbiQ P on Set.Ici (0 : ℤ); probabilities and the resolvent are -valued path sums compared through .toReal; transience is for all , recurrence ; MBP means ). Sums , , , are Finset.Ioo a b, range b, range (b - x - 1), range (b - 1); the case is the else branch of 0 < β + q.
import Mathlib import Definitions.Def_SkipFreeFluct_MBI_Chain import Definitions.Def_SkipFreeFluct_MBI_Model open scoped ENNReal Topology open Filter MeasureTheory
namespace SkipFreeFluct.MBI
theorem theorem_5_4_3 (P : MBIParams) (hP : P.Valid) :
∀ a x b : ℕ, a ≤ x → x + 1 ≤ b →
(hitBeforeProb (Set.Ici 0) (mbiQ P) {(a : ℤ)} (Set.Ici (b : ℤ)) x).toReal =
calH P b x / calH P b a ∧
(hitProb (Set.Ici 0) (mbiQ P) (Set.Ioo (a : ℤ) b)ᶜ x).toReal =
1 - ∑ z ∈ Finset.Ioo a b,
(P.p * z + P.q) * (calH P b x / calH P b a * calH P z a - calH P z x) ∧
(hitProb (Set.Ici 0) (mbiQ P) (Set.Ici (b : ℤ)) x).toReal =
if 0 < P.beta + P.q then
1 - ∑ z ∈ Finset.range b,
(P.p * z + P.q) * (piSeq P z / piSeq P b * calH P b x - calH P z x)
else
1 + P.p * (∑ z ∈ Finset.range (b - x - 1), W P z) -
W P (b - x - 1) / W P (b - 1) * (1 + P.p * ∑ z ∈ Finset.range (b - 1), W P z) := by sorry
end SkipFreeFluct.MBI