Documentation

Copula.Patchwork.Partition

← Copula mathematical handbook

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.

Instances For

    Length of a partition cell.

    Equations
    Instances For

      Inverse affine coordinate in a cell, clipped to the unit interval.

      Equations
      Instances For
        theorem ProbabilityTheory.Copula.IntervalPartition.coe_coord_of_mem {n : ℕ} (P : IntervalPartition n) (i : Fin n) (u : ↑unitInterval) (hl : P.point i.castSucc ≤ u) (hr : u ≤ P.point i.succ) :
        ↑(P.coord i u) = (↑u - ↑(P.point i.castSucc)) / P.width i
        theorem ProbabilityTheory.Copula.IntervalPartition.width_mul_coord {n : ℕ} (P : IntervalPartition n) (i : Fin n) (u : ↑unitInterval) :
        P.width i * ↑(P.coord i u) = min ↑u ↑(P.point i.succ) - min ↑u ↑(P.point i.castSucc)
        theorem ProbabilityTheory.Copula.IntervalPartition.sum_differences {n : ℕ} (f : Fin (n + 1) → ℝ) :
        ∑ i : Fin n, (f i.succ - f i.castSucc) = f (Fin.last n) - f 0

        Telescoping over consecutive endpoints, including the empty sum.

        The equally spaced partition into n cells, for n > 0.

        Equations
        Instances For
          @[simp]
          theorem ProbabilityTheory.Copula.IntervalPartition.width_uniform (n : ℕ) (hn : 0 < n) (i : Fin n) :
          (uniform n hn).width i = 1 / ↑n