Documentation

ZPM.Probability.Exchangeability.ValidSplit

ValidSplit: combinatorial splits of 2m into two groups of m #

A ValidSplit m is an assignment of each of 2m indices to one of two groups, with exactly m indices assigned to the first group. The type has cardinality Nat.choose (2 * m) m and comes equipped with Fintype and (discrete) MeasurableSpace instances.

A split of a 2m-element set into two groups of m.

  • assign : Fin (2 * m)Bool

    Assignment of each of 2 * m indices to one of two groups.

  • card_true : {i : Fin (2 * m) | self.assign i = true}.card = m

    Exactly m indices are assigned to the first group.

Instances For
    def ProbabilityTheory.instDecidableEqValidSplit.decEq {m✝ : } (x✝ x✝¹ : ValidSplit m✝) :
    Decidable (x✝ = x✝¹)
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      @[implicit_reducible]

      ValidSplit m is finite: a subtype of the finite type Fin (2*m) → Bool.

      Equations
      @[implicit_reducible]

      Discrete measurable space on ValidSplit m (all sets measurable).

      Equations