Attaching an unchanged conditional tail to a repaired head #
Attaching the same normalized tail law to two head/latent-state laws preserves their total variation exactly. Prepending the head then forgets only the latent state. The coordinate formulas retain every source occurrence and apply also to zero-mass rows.
theorem
Algebraic.Cutwidth.Extractor.Internal.attachTail_probability
{α : Type u_1}
{Ω : Type u_2}
{β : Type u_3}
[Fintype α]
[Fintype Ω]
[Fintype β]
(c : Ω × α → ℝ)
(tail : α → β → ℝ)
(hc : IsProbabilityWeight c)
(htail : ∀ (a : α), IsProbabilityWeight (tail a))
:
IsProbabilityWeight fun (z : (Ω × α) × β) => c z.1 * tail z.1.2 z.2
theorem
Algebraic.Cutwidth.Extractor.Internal.attachTail_dist
{α : Type u_1}
{Ω : Type u_2}
{β : Type u_3}
[Fintype α]
[Fintype Ω]
[Fintype β]
(c d : Ω × α → ℝ)
(tail : α → β → ℝ)
(htail : ∀ (a : α), IsProbabilityWeight (tail a))
:
(weightDist (fun (z : (Ω × α) × β) => c z.1 * tail z.1.2 z.2) fun (z : (Ω × α) × β) => d z.1 * tail z.1.2 z.2) = weightDist c d