For a measurable set , define
where is its indicator function. This is finite because has finite measure and hence . If the sets are pairwise disjoint and , then
The continuity of the positive linear functional therefore gives
so is a measure by countable additivity. Moreover, a set of zero Lebesgue measure has zero indicator in , so is absolutely continuous with respect to Lebesgue measure.
The Radon-Nikodym theorem now supplies a measurable function such that
Consequently, first for nonnegative simple functions and then, by approximation by nonnegative simple functions, for every nonnegative ,
Applying the stated characterization of the Lp norm to shows that and . The Holder inequality makes continuous on , while bounded simple functions form a dense subset; hence
This is the positive functional representation on Lp.
Let with irrational . This irrational rotation of the circle preserves Lebesgue measure and is ergodic. Apply the Birkhoff ergodic theorem to the indicator function . Its limit
is invariant, hence almost everywhere constant by ergodicity. Its integral must equal that of , so the constant is . Therefore
for Lebesgue measure-almost every .
The function is the support function . For a nonempty compact convex set,
so its convex conjugate is the indicator function . Applying the Moreau decomposition,
Multiplication of an indicator function by a positive scalar does not change it, and its proximal operator is the Euclidean projection onto a convex set. Therefore
Suppose first that the system is ergodic and . For each real , the level set
is invariant modulo a null set, so . The distribution function of can therefore jump only once, which makes constant almost everywhere. The same argument applies to .
Conversely, if is invariant, then . If every invariant function is constant, the indicator function is almost everywhere zero or one, and hence or . This proves the invariant-function characterization of ergodicity.
Apply the preceding Fourier argument to , retaining the frequencies needed to make the oscillation of strictly smaller than its mean . The standard optimized cutoff gives a set with
such that the nonnegative function cannot fall from a maximal value to zero under any shift in . If maximizes , then
The support of a convolution of indicator functions is the corresponding sumset, so
The pushforward measure of under is , defined for by
The Lebesgue decomposition theorem says that if and are sigma-finite measures on the same measurable space, then uniquely
Let be convex with . If dominates the probability distributions , with densities , their f-divergence is
using the lower-semicontinuous perspective convention where . This definition is independent of the dominating measure.
The data processing inequality for f-divergences states
To prove it, take and let . If and , then the pullbacks of the densities of and with respect to are respectively and . The perspective of a convex function is jointly convex. Conditional Jensen inequality therefore gives
Integration proves the claim.
The Squared Hellinger distance is
If have densities with respect to a sigma-finite measure , this becomes
Fix any probability distribution and set , , and . Applying the data processing inequality to the indicator function of gives the Bernoulli Hellinger bound
The hinted inequality implies
The function is concave on . Since the form a set partition, , and Jensen inequality gives
Taking the infimum over proves the stated inequality.
The printed assertion needs an endpoint qualification: the enumeration includes zero, but is identically zero. In fact is continuous at zero; the claimed discontinuities occur at every .
Define the finite step function sums
The assumed convergence of and the bound on each indicator function give
Thus the defining series converges everywhere and has uniform convergence. Part (b) proves that is Riemann integrable; it also gives, if desired,
For and , every indicator function is nonincreasing, and the th drops by one between and . Hence
Taking inputs from the left tending to proves a discontinuity there.
For completeness, continuity at zero follows directly from a finite-head and tail argument. Given , choose with . Choose below every positive with . For , the first indicator functions have exactly their values at zero; the one with , if present, is always zero. Thus . This confirms that the endpoint exception is real. Replacing the printed enumeration of by one of would remove it.
Finally, the density of the rational numbers supplies a positive rational in every nonempty open subinterval of . Thus a Riemann integrable function can have a discontinuity in every open subinterval: dense jumps do not prevent Riemann integrability.
For any chosen proper prior density on with positive evidence, Bayes' theorem gives
The prior density comes from the first two random draws. The likelihood is the probability of satisfying all observed-label constraints after integrating the past duration noises. The factor is the probability of the five-day outcome conditional on the shared parameters. The denominator is the probability of acceptance, which converts the numerator's joint probability into the required conditional probability.
For the independent uniform priors in part (a), the constant cancels and both integrals reduce to , . A prior on the variance would require transforming the density: this chosen prior has density for conditional on . One must not silently replace it by a uniform prior on .
There is no unique numerical probability until the prior distribution is chosen. As a check for the stated uniform priors, independent Gaussian quadrature calculations with 256 and 512 nodes per coordinate agree at the shown precision:
The prior-predictive probability of all observed labels is approximately , explaining the rejection cost. These numbers are illustrations of the explicit model, not additional observed data.
A subtle point is that the five future days are independent only conditional on . Integrating shared parameter uncertainty gives , not . The latter is about for these priors and understates the five-day probability. Jensen's inequality gives , while gives . For two future late-arrival indicator functions, their posterior covariance is . This is the posterior predictive repeated-success identity.
Figure 1.
Posterior uncertainty and the five-day predictive probability for the explicitly chosen uniform priors. The contour is cropped to the parameter region carrying the visible mass; integration uses the full prior rectangle.
Details.
The precise conclusion is
To prove it, observe that the maximum rises exactly when the new height difference is positive:
A block landing in a shorter column produces and no rise; every other case raises the maximum and leaves . Starting from , telescoping gives
The difference chain is irreducible and positive recurrent by part (i). Apply the countable-state Markov chain ergodic theorem to the bounded indicator function . Its stationary mean is , giving the asserted almost sure convergence. No aperiodicity assumption is needed for this time average. This establishes the growth rate of two-column sticky deposition.
Put . Both and its indicator function are measurable, and . Thus is an integrable random variable. Monotonicity of conditional expectation gives
The measurable-factor property of conditional expectation says that a bounded -measurable function satisfies for every integrable random variable . Here the factor need not be bounded. Apply that property first to and , then use monotone convergence on the nonnegative products, including the conditional version, to obtain
All the left-hand conditional expectations are well defined; the final one is finite almost surely because is an integrable random variable. Since almost surely, division now yields
This proves the conditional Markov inequality with a measurable threshold without assuming that is an integrable random variable. The measurable-factor rule, with its product-integrability condition, is also stated in the standard conditional expectation theory.[ref]
For every , is a sigma-algebra contained in , and including one more random variable among its generators can only enlarge it. Hence ; the trivial is contained in every sigma-algebra. These are exactly the requirements for a filtration.
The constant is -measurable. Suppose is -measurable. The pair is then -measurable, and the event is -measurable because comparison of two real coordinates defines a Borel set. Define its indicator function by . The recursion becomes
It is a measurable function of that pair. Mathematical induction proves is -measurable for every , so is an adapted process. The same recursion also proves at every finite time, a useful bound for the later integrability arguments.
Consider the Borel set
Its indicator function is nonnegative and measurable, so the Tonelli theorem applies to the product measure, without needing any separate absolute-integrability argument. At a fixed , its section in the first coordinate is ; outside that section is empty. Therefore
The last equality uses the definition of a cumulative distribution function on the half-closed interval. It retains all point atoms of a measure on the diagonal , excludes a possible point atom of a measure at , and includes , exactly as required by the set . If , both sides vanish. This verifies the identity even when the probability measures are not non-atomic measures.[ref]
Put . Before , all three players are active. Each unordered pair is selected with probability , and each direction of transfer then has conditional probability . Given the current holdings , a transfer within the first pair has mean product
For transfers within the other two pairs the analogous values are and . Averaging over pairs gives
At and after elimination the product is zero, since an eliminated player never re-enters. In particular the stopped process has increment
The indicator function is -measurable, and the expression in parentheses has zero conditional expectation on its support. The stopped process is adapted and integrable: at fixed , its absolute value is bounded by . Hence
This is the product martingale for three-player token exchange.
Let . Inverse images commute with complements and countable unions, so this is a sub-sigma-algebra of . The random variable is -measurable.
The assumption says that is a measure-preserving transformation. Consequently has the same probability distribution as and is integrable. It also implies for every integrable random variable , first for indicator functions, then for simple functions, and then by positive and negative approximation.
To identify a conditional expectation, take any . The assumed identity with the bounded random variable gives
Every member of has the displayed form , so this verifies all defining conditional expectation identities. Therefore
Apply part (iii), since this conditional expectation has the same probability distribution as . We conclude
This is invariance from integral duality for a measure-preserving transformation; neither invertibility of nor a second moment of is required.
For each , choose an open arc about of arclength , and put . It contains every point used by every empirical measure, whereas
Thus for all . Let . This is closed and for all . But is irrational, so the weak-star limit is normalized arclength and
Therefore the proposed implication is false. Weak-star convergence tests continuous functions and does not assert convergence of the indicator function of an arbitrary closed set.
For the proposed joint probability density , define the acceptance indicator function
On the proposal's support the importance weight is . Therefore the requested augmented-space importance sampling estimator is
Its expected value is , provided . This is not the ordinary estimator from question 1. Taking the conditional expectation of this augmented estimator given all produces that ordinary estimator, because . This is the Rao-Blackwell identity for a fixed-denominator rejection estimator.
Use the same acceptance indicator functions and set , . The rejection sampling estimator based on these proposals is the mean over the accepted observations:
For , any fixed convention, such as zero, is harmless asymptotically. The are independent and identically distributed random variables with Bernoulli distribution and success probability , so the strong law of large numbers gives almost surely. In particular eventually almost surely. The exact identity
then holds whenever . Wherever , it follows that
A qualification is missing from the printed claim: the quotient must be defined eventually. A convenient sufficient assumption is and . Indeed, another application of the strong law of large numbers gives , ensuring that is eventually nonzero. This proves the stated quotient limit under that assumption.
As printed, the assertion is false as a universally defined quotient. For example, makes both estimates zero for every . Even excluding that example is insufficient: take to be the uniform distribution on , , and for and otherwise. Then is a simple symmetric random walk, which returns to zero infinitely often almost surely, leaving the quotient undefined infinitely often.
With integrability but no assumption , the exact multiplicative identity remains valid, and both estimates converge to almost surely. In particular almost surely. One may alternatively define the quotient's removable cases as ; that explicitly extended quantity always converges to one. These are valid repairs of the source's unrestricted statement.
Store one entry per occurrence in an immutable list. Use lower type bounds for arguments that might widen the element type, and remove only the first matching occurrence:
class CoMSet[+T](c: List[T]) {
  private val elems: List[T] = c

  def insert[U >: T](x: U): CoMSet[U] =
    new CoMSet[U](x :: elems)

  def delete[U >: T](x: U): CoMSet[T] = {
    def removeOne(xs: List[T]): List[T] = xs match {
      case Nil => Nil
      case h :: tail =>
        if (h == x) tail else h :: removeOne(tail)
    }
    new CoMSet[T](removeOne(elems))
  }

  def count[U >: T](x: U): Int =
    elems.count(y => y == x)

  def union[U >: T](that: CoMSet[U]): CoMSet[U] =
    new CoMSet[U](elems ::: that.elems)
}
A covariant type parameter cannot appear directly as an ordinary object method argument type. The fresh with permits insertion, deletion queries and count queries without imposing such a negative occurrence of . delete can retain result type CoMSet[T] because it introduces no new elements; widening its result to CoMSet[U] would also be valid. union must widen because the other multiset may contain the broader type. The class-private immutable elems is accessible on another instance of the same software class; it is not private[this].[ref]
Let be a multiset multiplicity. The implementations satisfy
The brackets denote an indicator function. Structural induction on the list proves removeOne removes precisely one equal entry if present, otherwise none. filterNot would incorrectly remove every occurrence. List concatenation adds multiplicities, implementing the paper's additive additive multiset union, rather than the maximum-multiplicity convention sometimes used for that name.
All methods preserve the original immutable object. insert takes constant time through structural sharing; count and delete take time, and union takes time to copy the receiver's list spine. Equality is ordinary stable value equality; finite representable counts are assumed.
Perimeter 2026-10-07
The perimeter of a measurable set relative to an open domain is the total variation seminorm of its indicator function there. For a smooth region it equals the Hausdorff measure of the boundary lying inside the domain. Global perimeter uses the entire space as the domain; an internal interface shared by two regions appears in both relative perimeters and must be counted only once in a segmentation energy.
Define the indicator function of the rational numbers on the real line by for rational and otherwise. Every rational shift preserves rationality and irrationality, so every nonzero rational number is a period of a function. Conversely, an irrational shift sends from value one to value zero, so it is not a period. The period group of a function is exactly , and the positive periods approach zero without a smallest one. The function is nonconstant and discontinuous everywhere; this is why continuity matters in continuous periodic functions have a least positive period.