theorem
ProbabilityTheory.Copula.RankRegion.RhoTau.adjacent_extremal_flip
{n : ℕ}
(π : Equiv.Perm (Fin (n + 2)))
{p q : Fin (n + 2)}
(hgap : ↑q = ↑p + 1)
(hp : π p = 0)
(hq : π q = Fin.last (n + 1))
:
(permutationSigns (Equiv.trans (Equiv.swap p q) π)).relabel (Equiv.swap p q) = (permutationSigns π).flipPair p q ⋯
Swapping the adjacent minimum and maximum flips exactly one signed edge, after relabeling the weights by the same transposition.
theorem
ProbabilityTheory.Copula.RankRegion.RhoTau.adjacent_extremal_improvement
{n : ℕ}
(π : Equiv.Perm (Fin (n + 2)))
(u : Fin (n + 2) → ℝ)
(hu : ∀ (i : Fin (n + 2)), 0 < u i)
{p q : Fin (n + 2)}
(hgap : ↑q = ↑p + 1)
(hp : π p = 0)
(hq : π q = Fin.last (n + 1))
(hthird : ∃ (k : Fin (n + 2)), k ≠ p ∧ k ≠ q)
:
A strictly positive weighted permutation with adjacent extremal entries cannot minimize b at fixed a when a third strip is present.