OAI/Combinatorics/TreewidthL1/MarkovProduct.lean
18 declarations, 0 contain sorry, 0 declared as axioms
- abbrev
OAI.BoundedTreewidthL1.MarkovProduct.Historyline 10 - def
OAI.BoundedTreewidthL1.MarkovProduct.weightline 11 - def
OAI.BoundedTreewidthL1.MarkovProduct.forwardline 14 - lemma
OAI.BoundedTreewidthL1.MarkovProduct.weight_snocline 25 - lemma
OAI.BoundedTreewidthL1.MarkovProduct.sum_history_snocline 39 - lemma
OAI.BoundedTreewidthL1.MarkovProduct.terminal_marginalline 46 - lemma
OAI.BoundedTreewidthL1.MarkovProduct.forward_totalline 72 - theorem
OAI.BoundedTreewidthL1.MarkovProduct.product_lawline 84Source documentation
Normalization and the exact terminal marginal of the product measure.
theorem product_law (p : L 0 → ℝ) (K : (i : ℕ) → L i → L (i+1) → ℝ) (hp : ∀ a, 0 ≤ p a) (hp₁ : (∑ a, p a) = 1) (hK : ∀ i a b, 0 ≤ K i a b) (hK₁ : ∀ i a, (∑ b, K i a b) = 1) (n : ℕ) : (∀ x, 0 ≤ weight L p K n x) ∧ (∑ x, weight L p K n x) = 1 ∧ ∀ b : L n, (∑ x : History L n, if x (Fin.last n) = b then weight L p K n x else 0) = forward L p K n b := by …Mentions: OAI.BoundedTreewidthL1.MarkovProduct.weight, OAI.BoundedTreewidthL1.MarkovProduct.History, OAI.BoundedTreewidthL1.MarkovProduct.forward
- theorem
OAI.BoundedTreewidthL1.MarkovProduct.last_pairline 100Source documentation
The product has its prescribed final adjacent-pair marginal, including zero-probability states and transitions.
theorem last_pair (p : L 0 → ℝ) (K : (i : ℕ) → L i → L (i+1) → ℝ) (n : ℕ) (a : L n) (b : L (n+1)) : (∑ x : History L (n+1), if x (Fin.last n).castSucc = a ∧ x (Fin.last (n+1)) = b then weight L p K (n+1) x else 0) = forward L p K n a * K n a b := by …Mentions: OAI.BoundedTreewidthL1.MarkovProduct.History, OAI.BoundedTreewidthL1.MarkovProduct.weight, OAI.BoundedTreewidthL1.MarkovProduct.forward
- def
OAI.BoundedTreewidthL1.MarkovProduct.couplingKernelline 124Source documentation
Transition obtained from a prescribed adjacent-pair marginal. A zero-mass row is filled with the next marginal; the row is never visited.
noncomputable def couplingKernel (μ : (i : ℕ) → L i → ℝ) (J : (i : ℕ) → L i → L (i+1) → ℝ) (i : ℕ) (a : L i) (b : L (i+1)) : ℝ := … - def
OAI.BoundedTreewidthL1.MarkovProduct.historyPrefixline 129 - lemma
OAI.BoundedTreewidthL1.MarkovProduct.joint_zero_rowline 138 - lemma
OAI.BoundedTreewidthL1.MarkovProduct.couplingKernel_stochasticline 148 - lemma
OAI.BoundedTreewidthL1.MarkovProduct.couplingKernel_balanceline 166 - lemma
OAI.BoundedTreewidthL1.MarkovProduct.coupling_forwardline 176 - lemma
OAI.BoundedTreewidthL1.MarkovProduct.prefix_snocline 190 - lemma
OAI.BoundedTreewidthL1.MarkovProduct.prefix_expectationline 202Source documentation
Integrating out a stochastic suffix preserves the complete historyPrefix law, not only one-coordinate marginals.
lemma prefix_expectation (p : L 0 → ℝ) (K : (i : ℕ) → L i → L (i+1) → ℝ) (hK₁ : ∀ i a, (∑ b, K i a b) = 1) (m n : ℕ) (hmn : m ≤ n) (f : History L m → ℝ) : (∑ x : History L n, weight L p K n x * f (historyPrefix L m n hmn x)) = ∑ x : History L m, weight L p K m x * f x := by …Mentions: OAI.BoundedTreewidthL1.MarkovProduct.History, OAI.BoundedTreewidthL1.MarkovProduct.weight, OAI.BoundedTreewidthL1.MarkovProduct.historyPrefix
- theorem
OAI.BoundedTreewidthL1.MarkovProduct.coupling_chainline 227