Finite interval partitions and clipped local coordinates #
A strictly increasing finite partition of the whole unit interval. Positive cell lengths exclude division by zero; a partition with no cells cannot satisfy the two endpoint requirements.
- point : Fin (n + 1) → ↑unitInterval
- strictMono : StrictMono self.point
Instances For
theorem
ProbabilityTheory.Copula.IntervalPartition.width_pos
{n : ℕ}
(P : IntervalPartition n)
(i : Fin n)
:
noncomputable def
ProbabilityTheory.Copula.IntervalPartition.coord
{n : ℕ}
(P : IntervalPartition n)
(i : Fin n)
(u : ↑unitInterval)
:
Inverse affine coordinate in a cell, clipped to the unit interval.
Equations
- P.coord i u = Set.projIcc 0 1 ProbabilityTheory.Copula.IntervalPartition.coord._proof_1 ((↑u - ↑(P.point i.castSucc)) / P.width i)
Instances For
theorem
ProbabilityTheory.Copula.IntervalPartition.coord_mono
{n : ℕ}
(P : IntervalPartition n)
(i : Fin n)
:
theorem
ProbabilityTheory.Copula.IntervalPartition.coord_of_le
{n : ℕ}
(P : IntervalPartition n)
(i : Fin n)
(u : ↑unitInterval)
(hu : u ≤ P.point i.castSucc)
:
theorem
ProbabilityTheory.Copula.IntervalPartition.coord_of_ge
{n : ℕ}
(P : IntervalPartition n)
(i : Fin n)
(u : ↑unitInterval)
(hu : P.point i.succ ≤ u)
:
@[simp]
theorem
ProbabilityTheory.Copula.IntervalPartition.coord_zero
{n : ℕ}
(P : IntervalPartition n)
(i : Fin n)
:
@[simp]
theorem
ProbabilityTheory.Copula.IntervalPartition.coord_one
{n : ℕ}
(P : IntervalPartition n)
(i : Fin n)
:
theorem
ProbabilityTheory.Copula.IntervalPartition.sum_width_mul_coord
{n : ℕ}
(P : IntervalPartition n)
(u : ↑unitInterval)
:
@[simp]
The equally spaced partition into n cells, for n > 0.