def
MindFormal.FocalMatching.transfer
{A : Type u_1}
[Fintype A]
[DecidableEq A]
(p d : A → ℝ)
(ell a : A)
:
Equations
- MindFormal.FocalMatching.transfer p d ell a = if a = ell then p a + ∑ b ∈ Finset.univ.erase ell, d b else p a - d a
Instances For
theorem
MindFormal.FocalMatching.split_sum
{A : Type u_1}
[Fintype A]
[DecidableEq A]
(f : A → ℝ)
(ell : A)
:
theorem
MindFormal.FocalMatching.transfer_probability
{A : Type u_1}
[Fintype A]
[DecidableEq A]
(p d : A → ℝ)
(ell : A)
(hp : FiniteDecision.Probability p)
(hd : ∀ (a : A), a ≠ ell → d a ∈ Set.Icc 0 (p a))
:
FiniteDecision.Probability (transfer p d ell)
theorem
MindFormal.FocalMatching.matching_identity
{A : Type u_1}
[Fintype A]
[DecidableEq A]
(p d : A → ℝ)
(ell : A)
:
theorem
MindFormal.FocalMatching.matching_increase
{A : Type u_1}
[Fintype A]
[DecidableEq A]
(p d : A → ℝ)
(ell : A)
(hp : FiniteDecision.Probability p)
(hd : ∀ (a : A), a ≠ ell → d a ∈ Set.Icc 0 (p a))
(modal : ∀ (a : A), p a ≤ p ell)
(positive : ∃ (a : A), a ≠ ell ∧ 0 < d a)
:
def
MindFormal.FocalMatching.anonymousMatch
{A : Type u_1}
[Fintype A]
[DecidableEq A]
(p : A → ℝ)
:
The declared independent anonymous picking instrument. This is the expected diagonal indicator of the product of its two picking laws.
Equations
Instances For
theorem
MindFormal.FocalMatching.anonymous_match_formula
{A : Type u_1}
[Fintype A]
[DecidableEq A]
(p : A → ℝ)
:
theorem
MindFormal.FocalMatching.anonymous_matching_increases
{A : Type u_1}
[Fintype A]
[DecidableEq A]
(p d : A → ℝ)
(ell : A)
(hp : FiniteDecision.Probability p)
(hd : ∀ (a : A), a ≠ ell → d a ∈ Set.Icc 0 (p a))
(modal : ∀ (a : A), p a ≤ p ell)
(positive : ∃ (a : A), a ≠ ell ∧ 0 < d a)
:
FiniteDecision.Probability (transfer p d ell) ∧ anonymousMatch p < anonymousMatch (transfer p d ell) ∧ anonymousMatch (transfer p d ell) - anonymousMatch p = 2 * ∑ a ∈ Finset.univ.erase ell, d a * (p ell - p a) + (∑ a ∈ Finset.univ.erase ell, d a) ^ 2 + ∑ a ∈ Finset.univ.erase ell, d a ^ 2