Permuted finite copula blocks #
Allowing arbitrary copulas inside the permuted squares proves the signed shuffle formula by taking each component to be M or W. Degenerate blocks have zero measure and require no limiting argument.
noncomputable def
Verification.ShuffleStrip.blockPoint
(S : ShuffleStrip)
(u : Fin 2 → ↑unitInterval)
:
Fin 2 → ↑unitInterval
Equations
- S.blockPoint u j = S.point (u j) j
Instances For
noncomputable def
Verification.ShuffleStrip.blockLaw
(S : ShuffleStrip)
(C : ProbabilityTheory.Copula 2)
:
MeasureTheory.Measure (Fin 2 → ↑unitInterval)
Equations
Instances For
theorem
Verification.ShuffleStrip.blockLaw_univ
(S : ShuffleStrip)
(C : ProbabilityTheory.Copula 2)
:
theorem
Verification.ShuffleStrip.blockLaw_marginal
(S : ShuffleStrip)
(C : ProbabilityTheory.Copula 2)
(j : Fin 2)
:
MeasureTheory.Measure.map (fun (x : Fin 2 → ↑unitInterval) => x j) (S.blockLaw C) = MeasureTheory.Measure.map (fun (x : Fin 2 → ↑unitInterval) => x j) S.law
theorem
Verification.ShuffleStrip.blockLaw_Iic_self
(S : ShuffleStrip)
(C : ProbabilityTheory.Copula 2)
(u : Fin 2 → ↑unitInterval)
:
theorem
Verification.ShuffleStrip.blockPoint_bounds
(S : ShuffleStrip)
(u : Fin 2 → ↑unitInterval)
(j : Fin 2)
:
theorem
Verification.ShuffleStrip.blockLaw_Iic_full
(S : ShuffleStrip)
(C : ProbabilityTheory.Copula 2)
(z : Fin 2 → ↑unitInterval)
(hz : S.point 1 ≤ z)
:
theorem
Verification.ShuffleStrip.blockLaw_Iic_zero
(S : ShuffleStrip)
(C : ProbabilityTheory.Copula 2)
(z : Fin 2 → ↑unitInterval)
(j : Fin 2)
(hz : z j ≤ S.point 0 j)
:
theorem
Verification.ShuffleStrip.integral_blockLaw
(S : ShuffleStrip)
(C : ProbabilityTheory.Copula 2)
{f : (Fin 2 → ↑unitInterval) → ℝ}
(hf : Continuous f)
:
noncomputable def
Verification.PositiveShuffle.blockLaw
{n : ℕ}
(S : PositiveShuffle n)
(C : Fin n → ProbabilityTheory.Copula 2)
:
MeasureTheory.Measure (Fin 2 → ↑unitInterval)
Instances For
instance
Verification.PositiveShuffle.instIsFiniteMeasureForallFinOfNatNatElemRealUnitIntervalBlockLaw
{n : ℕ}
(S : PositiveShuffle n)
(C : Fin n → ProbabilityTheory.Copula 2)
:
instance
Verification.PositiveShuffle.instIsProbabilityMeasureForallFinOfNatNatElemRealUnitIntervalBlockLaw
{n : ℕ}
(S : PositiveShuffle n)
(C : Fin n → ProbabilityTheory.Copula 2)
:
noncomputable def
Verification.PositiveShuffle.blockCopula
{n : ℕ}
(S : PositiveShuffle n)
(C : Fin n → ProbabilityTheory.Copula 2)
:
Instances For
theorem
Verification.PositiveShuffle.block_cdf
{n : ℕ}
(S : PositiveShuffle n)
(C : Fin n → ProbabilityTheory.Copula 2)
(z : Fin 2 → ↑unitInterval)
:
theorem
Verification.PositiveShuffle.block_cdf_point
{n : ℕ}
(S : PositiveShuffle n)
(C : Fin n → ProbabilityTheory.Copula 2)
(π : Equiv.Perm (Fin n))
(hx : ∀ (i j : Fin n), i < j → (S.strip i).x + (S.strip i).width ≤ (S.strip j).x)
(hy : ∀ (i j : Fin n), π i < π j → (S.strip i).y + (S.strip i).width ≤ (S.strip j).y)
(i : Fin n)
(u : Fin 2 → ↑unitInterval)
:
theorem
Verification.PositiveShuffle.integral_blockCopula
{n : ℕ}
(S : PositiveShuffle n)
(C : Fin n → ProbabilityTheory.Copula 2)
{f : (Fin 2 → ↑unitInterval) → ℝ}
(hf : Continuous f)
:
∫ (x : Fin 2 → ↑unitInterval), f x ∂(S.blockCopula C).toMeasure = ∑ i : Fin n, (S.strip i).width * ∫ (u : Fin 2 → ↑unitInterval), f ((S.strip i).blockPoint u) ∂(C i).toMeasure
theorem
Verification.PositiveShuffle.block_tau_raw
{n : ℕ}
(S : PositiveShuffle n)
(C : Fin n → ProbabilityTheory.Copula 2)
(π : Equiv.Perm (Fin n))
(hx : ∀ (i j : Fin n), i < j → (S.strip i).x + (S.strip i).width ≤ (S.strip j).x)
(hy : ∀ (i j : Fin n), π i < π j → (S.strip i).y + (S.strip i).width ≤ (S.strip j).y)
:
theorem
Verification.PositiveShuffle.block_tau
{n : ℕ}
(S : PositiveShuffle n)
(C : Fin n → ProbabilityTheory.Copula 2)
(π : Equiv.Perm (Fin n))
(hx : ∀ (i j : Fin n), i < j → (S.strip i).x + (S.strip i).width ≤ (S.strip j).x)
(hy : ∀ (i j : Fin n), π i < π j → (S.strip i).y + (S.strip i).width ≤ (S.strip j).y)
:
noncomputable def
Verification.PositiveShuffle.signedCopula
{n : ℕ}
(S : PositiveShuffle n)
(ε : Fin n → Bool)
:
A signed shuffle of M: true selects a diagonal and false an antidiagonal.
Equations
- S.signedCopula ε = S.blockCopula fun (i : Fin n) => if ε i = true then ProbabilityTheory.Copula.comonotonic 2 else ProbabilityTheory.Copula.countermonotonic
Instances For
theorem
Verification.PositiveShuffle.signed_tau
{n : ℕ}
(S : PositiveShuffle n)
(ε : Fin n → Bool)
(π : Equiv.Perm (Fin n))
(hx : ∀ (i j : Fin n), i < j → (S.strip i).x + (S.strip i).width ≤ (S.strip j).x)
(hy : ∀ (i j : Fin n), π i < π j → (S.strip i).y + (S.strip i).width ≤ (S.strip j).y)
:
The signed shuffle identity, with the pair sum written over j < i.