OAI/Combinatorics/PerfectMatching/Coupling.lean
17 declarations, 0 contain sorry, 0 declared as axioms
Finite pushforwards and couplings with a prescribed common marginal.
- def
OAI.MatchingEntropy.fiberMassline 17Source documentation
Finite pushforward weights.
def fiberMass {A C : Type*} [Fintype A] [DecidableEq C] (p : A → ℝ) (f : A → C) (c : C) : ℝ := ∑ a, if f a = c then p a else 0 - theorem
OAI.MatchingEntropy.fiberMass_nonnegline 20 - theorem
OAI.MatchingEntropy.le_fiberMass_selfline 27 - def
OAI.MatchingEntropy.jointLawline 36Source documentation
The explicit cut-choice coupling. Only equal choices receive mass.
def jointLaw {A B C : Type*} [Fintype A] [Fintype B] [DecidableEq C] (p : A → ℝ) (q : B → ℝ) (f : A → C) (g : B → C) (z : A × B) : ℝ := … - theorem
OAI.MatchingEntropy.jointLaw_nonnegline 40 - theorem
OAI.MatchingEntropy.jointLaw_firstline 48 - theorem
OAI.MatchingEntropy.jointLaw_secondline 68 - theorem
OAI.MatchingEntropy.jointLaw_mem_simplexline 88 - theorem
OAI.MatchingEntropy.sum_subtype_supportedline 97 - theorem
OAI.MatchingEntropy.compatible_jointLaw_mem_simplexline 107Source documentation
No mass is lost in retaining only compatible pairs.
theorem compatible_jointLaw_mem_simplex {A B C : Type*} [Fintype A] [Fintype B] [DecidableEq C] {p : A → ℝ} {q : B → ℝ} (hp : p ∈ probabilitySimplex A) (hq : q ∈ probabilitySimplex B) (f : A → C) (g : B → C) (hcompat : ∀ c, fiberMass p f c = fiberMass q g c) : (fun z : {z : A × B // f z.1=g z.2} => jointLaw p q f g z.val) ∈ probabilitySimplex {z : A × B // f z.1=g z.2} := by …Mentions: OAI.MatchingEntropy.probabilitySimplex, OAI.MatchingEntropy.fiberMass, OAI.MatchingEntropy.jointLaw
- theorem
OAI.MatchingEntropy.fiberMass_sumline 117 - theorem
OAI.MatchingEntropy.fiberMass_expectline 123 - theorem
OAI.MatchingEntropy.fiberMass_mem_simplexline 134 - theorem
OAI.MatchingEntropy.jointLaw_expect_firstline 139 - theorem
OAI.MatchingEntropy.jointLaw_expect_secondline 146 - theorem
OAI.MatchingEntropy.compatible_jointLaw_expect_firstline 153 - theorem
OAI.MatchingEntropy.compatible_jointLaw_expect_secondline 163