Coupled route sampling with shared vertex images
Lax263307.CoupledRouteSampling · concepts/Lax263307/CoupledRouteSampling.lean · lax-263307
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Choose independently a uniform image for every source vertex, then sample one graph route per source edge from its conditional endpoint law. Positive outcomes give every route the chosen images of its source endpoints. Each edge's route has the original route distribution. Routes of two nonincident source edges have its independent product law, because the four source endpoints have independently chosen images.
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax263307.ConditionalRoutes |
| 2 | import Lax263307.FiniteProductSampling |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Coupled route sampling with shared vertex images |
| 7 | type: theorem |
| 8 | --- |
| 9 | Choose independently a uniform image for every source vertex, then sample |
| 10 | one graph route per source edge from its conditional endpoint law. Positive |
| 11 | outcomes give every route the chosen images of its source endpoints. |
| 12 | Each edge's route has the original route distribution. Routes of two |
| 13 | nonincident source edges have its independent product law, because the four |
| 14 | source endpoints have independently chosen images. |
| 15 | |
| 16 | # Formalization notes |
| 17 | |
| 18 | The finite outcome is a pair consisting of a source-vertex image assignment |
| 19 | and a route-index assignment. Edge endpoints are given explicitly by two |
| 20 | maps; the marginal assertions require distinct endpoints for a single edge |
| 21 | and four distinct endpoints for a pair. The construction does not assume |
| 22 | independence for incident source edges. |
| 23 | |
| 24 | # Attribution |
| 25 | |
| 26 | Bonnet–Chang, the coupled sampling construction in Lemma 11. |
| 27 | -/ |
| 28 | |
| 29 | namespace Lax263307.CoupledRouteSampling |
| 30 | |
| 31 | open Lax263307.RouteDistributions Lax263307.ConditionalRoutes |
| 32 | open Lax263307.FiniteProductSampling |
| 33 | |
| 34 | noncomputable def uniformWeight (n : ℕ) : Fin n → ℝ := fun _ => 1 / (n : ℝ) |
| 35 | |
| 36 | noncomputable def jointWeight {n q t m : ℕ} {G : SimpleGraph (Fin n)} |
| 37 | (D : Distribution G q) (a b : Fin m → Fin t) |
| 38 | (φ : Fin t → Fin n) (ψ : Fin m → Fin q) : ℝ := |
| 39 | weight (fun _ : Fin t => uniformWeight n) φ * |
| 40 | weight (fun e => conditional D (φ (a e)) (φ (b e))) ψ |
| 41 | |
| 42 | axiom joint_normalized {n q t m : ℕ} {G : SimpleGraph (Fin n)} |
| 43 | (D : Distribution G q) (hn : 0 < n) (a b : Fin m → Fin t) : |
| 44 | (∀ φ ψ, 0 ≤ jointWeight D a b φ ψ) ∧ |
| 45 | (∑ φ, ∑ ψ, jointWeight D a b φ ψ) = 1 |
| 46 | |
| 47 | axiom joint_valid {n q t m : ℕ} {G : SimpleGraph (Fin n)} |
| 48 | (D : Distribution G q) (hn : 0 < n) (a b : Fin m → Fin t) |
| 49 | (φ : Fin t → Fin n) (ψ : Fin m → Fin q) (positive : 0 < jointWeight D a b φ ψ) : |
| 50 | ∀ e, (D.route (ψ e)).head? = some (φ (a e)) ∧ |
| 51 | (D.route (ψ e)).getLast? = some (φ (b e)) ∧ |
| 52 | (D.route (ψ e)).Nodup ∧ (D.route (ψ e)).IsChain G.Adj |
| 53 | |
| 54 | axiom single_edge_law {n q t m : ℕ} {G : SimpleGraph (Fin n)} |
| 55 | (D : Distribution G q) (hn : 0 < n) (a b : Fin m → Fin t) |
| 56 | (e : Fin m) (nonloop : a e ≠ b e) (i : Fin q) : |
| 57 | (∑ φ, ∑ ψ, jointWeight D a b φ ψ * (if ψ e = i then (1 : ℝ) else 0)) = |
| 58 | D.probability i |
| 59 | |
| 60 | axiom nonincident_edge_law {n q t m : ℕ} {G : SimpleGraph (Fin n)} |
| 61 | (D : Distribution G q) (hn : 0 < n) (a b : Fin m → Fin t) |
| 62 | (e f : Fin m) (nonincident : Function.Injective ![a e, b e, a f, b f]) (i j : Fin q) : |
| 63 | (∑ φ, ∑ ψ, jointWeight D a b φ ψ * |
| 64 | ((if ψ e = i then (1 : ℝ) else 0) * (if ψ f = j then (1 : ℝ) else 0))) = |
| 65 | D.probability i * D.probability j |
| 66 | |
| 67 | end Lax263307.CoupledRouteSampling |
| 68 |
Formalization notes
The finite outcome is a pair consisting of a source-vertex image assignment and a route-index assignment. Edge endpoints are given explicitly by two maps; the marginal assertions require distinct endpoints for a single edge and four distinct endpoints for a pair. The construction does not assume independence for incident source edges.
Attribution
Bonnet–Chang, the coupled sampling construction in Lemma 11.
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments