Let a simple symmetric random walk start from a deterministic integer , and put . Then is a martingale with . The visit count includes time if .
For every integer and step , the pathwise identityholds with . Subtract the indicator function and sum over time to obtainThe sign function of the current state is a bounded predictable process for the next increment, so the sum is a martingale transform. Alternatively, averaging the two possible next absolute values shows directly that the conditional drift is . Bounds and verify integrability at each finite time.
This is an absolute-value version of the discrete Tanaka formula. The correction records the occasions when the random walk is at the corner of the absolute-value function; away from zero that function is locally linear along a single step.
Balanced indicator function of a finite subset Created 2026-10-05 Updated 2026-10-06
For nonempty finite set and , let be the density of a finite subset. The balanced indicator function , extended by zero to an ambient finite group, has sum zero and vanishing zero Fourier coefficient. The sum of on a subset is , measuring the excess density of a finite subset there.
Bipartite four-cycle density 2026-10-06
This is the part-preserving homomorphism density of a four-cycle in a bipartite graph with independently uniform labels in the first part and in the second. Repeated labels are included. It equals the fourth power of the four-cycle norm of the adjacency indicator function. It differs at finite sizes from a count requiring four distinct vertices.
Bipartite Szemerédi regularity lemma 2026-10-03
For every there is a positive integer such that every finite bipartite graph has an -regular pair of partitions with at most cells on each side.
To prove this, give the uniform probability measure, let be the indicator function of the edge set, and for partitions define their energy byThis conditional expectation is an orthogonal projection, so . If the partitions are not -regular, choose witnesses and in every irregular cell pair and refine each by all its and each by all its . The refined energy exceeds the old energy byOn the absolute value function of the mean of the difference is greater than , while this rectangle occupies at least an fraction of . The Cauchy-Schwarz inequality therefore contributes more than from that cell pair. Irregular pairs have total weight greater than , so every refinement raises the energy by more than . The process stops after at most refinements. If the current cell counts are , the construction gives at most new cells, so a finite iterated bound depending only on supplies .
Boolean operations on events 2026-10-14
Events turn Boolean operations into operations on sets. For a die with sample space , let be the event “even outcome” and the event “outcome at least four”. At outcome , use the indicator functions and . ThenThus logical conjunction becomes set intersection, logical disjunction becomes set union, exclusive or becomes symmetric difference, and logical negation becomes the complement of a set within . Outcome four satisfies both events, so inclusive logical disjunction includes it and exclusive or excludes it. If the die is fair, these four events have probabilities , , , and , respectively. No assumption of independent events is needed for the set identities; indeed and here are not independent, since .
Boole's inequality 2026-10-14
Boole's inequality, also called the union bound, bounds the probability that at least one of several events occurs by adding their individual probabilities. For a finite or countable family of events in the same probability space,The union includes outcomes where several events occur together. There is no independence assumption: adding the individual probabilities counts such outcomes repeatedly, which can only make the sum larger. The cap at one uses the total mass of a probability measure. For infinitely many events, the sum is a nonnegative series, possibly infinite; an infinite sum gives only the bound one. This is countable subadditivity of a measure specialized to a probability measure. See Probability: Theory and Examples (fifth edition) by Rick Durrett (Section 1.1, Theorem 1.1.1(ii), printed p. 2).
For example, choose uniformly from the twelve outcomes , using the discrete uniform distribution. Put . If , these are disjoint events and their union has probability , exactly the union bound. If , the union has only six outcomes, so its exact probability is , although both individual probabilities are still and the bound is still . If , the exact probability falls to with the same bound. These examples isolate overlap in the union bound by keeping the individual probabilities fixed.
The same individual event probabilities give different exact union probabilities as overlap increases
. Each panel is a fully specified discrete uniform distribution on twelve numbered outcomes. Blue means only, orange means only, purple means their intersection, and white means neither. The bottom bars compare the exact union probability with the sum of the individual probabilities. The three unions contain eight, six, and four outcomes; the sum counts eight in every panel. Details.The union bound is useful when each event is easy to control but their joint behavior is difficult to determine. A short proof uses indicator functions: at every outcome,Taking expected values and using linearity of expectation proves the finite bound.[ref] For a countable family, the finite unions increase to the full union; continuity of probability passes the finite inequalities to the limit. The closure of a sigma-algebra under countable unions ensures that this limiting union is an event. For the continuity of probability step, see Probability: Theory and Examples (fifth edition) by Rick Durrett (Section 1.1, Theorem 1.1.1(iii), printed p. 2).
Bounded exceptional primes for least quadratic nonresidues Created 2026-10-06 Updated 2026-10-14
If, for every , the smooth numbers up to with all prime factors at most have density at least , then for fixed there are only primes with . Apply the variance form of the large sieve to the indicator function of the -smooth numbers up to . For every exceptional prime, all these numbers are nonzero quadratic residues, so half its nonzero residue classes are empty. Their variance contribution is at least one third of the square of the total count. The large sieve bounds the sum of contributions by a constant times times that count. The density assumption with finishes the argument.
Bounded-variation step outside W11 2026-10-06
The distributional derivative of this indicator function is on the vertical segment , so its total variation seminorm on a domain is one. This is singular with respect to planar Lebesgue measure, whereas Sobolev space weak derivatives in have integrable densities. Its bounded-variation space norm is .
Cantor's diagonal argument Created 2026-09-24 Updated 2026-10-14
Cantor's diagonal argument shows that the set of all infinite binary sequences is an uncountable set. Suppose a proposed enumeration is , where is coordinate of row . Construct a new binary sequence byIt differs from row at coordinate , for every . It is consequently absent from the entire proposed list, regardless of how that list was chosen. The failure of an enumeration of all binary sequences follows from this precise point of disagreement, rather than from a claim that the list looks too small.
Flipping the nth coordinate of the nth row constructs a binary sequence missing from every proposed row
. Details. For the displayed window, the first six diagonal bits are , so the new sequence starts . The drawing shows only finitely many rows, but the rule defines every coordinate and excludes every row of an infinite list. This distinguishes the argument from the Cantor pairing function: that construction lists all pairs of finite indices, whereas this one concerns an entire infinite sequence as each object to be listed. Finite binary strings form a countable set; all infinite binary sequences do not.
The connection with power sets is exact: a subset corresponds to its indicator function, with a one in position exactly when . Changing the diagonal membership bit is the same mechanism as the Cantor's theorem construction . This reusable method turns a purported complete list into an explicit omitted object.
In his paper [ref]
https://onepagepapers.com/cantor-diagonal/read/. Cantor, Ueber eine elementare Frage der Mannigfaltigkeitslehre, pp. 75–78
, presented in 1891 and printed in the 1890–91 volume in 1892, Cantor uses infinite sequences of two symbols for the diagonal construction and then gives the broader comparison of cardinalities. The binary notation here is a modern presentation of that construction.If a strongly additive arithmetic function is supported on primes up to , its th uniform central moment differs from the independent Bernoulli random variables model with probabilities by . Expansion of divisibility indicator functions reduces the comparison to .
Central contribution to kurtosis 2026-10-14
For a standard score and , split kurtosis into the contribution from within standard deviations of the mean and the contribution from outside:The indicator function selects the central outcomes. The bound follows directly from there. Thus : when kurtosis is large, any fixed central range contributes a small fraction. This is a precise reason to emphasize extreme standard scores rather than peak height.[ref]
Kurtosis as Peakedness, 1905 – 2014. R.I.P. by Peter H. Westfall. §5, Why Tails Mostly Determine Kurtosis, inequality (1) and following fixed-h argument
For the rare-outlier three-point distribution with , and . At the other endpoint , all probability mass lies at , so : central dominance is possible when kurtosis is small. More generally, the Cauchy-Schwarz inequality gives ; the equally weighted outcomes attain this minimum.
Circuit size class 2026-10-07
The languages whose length- indicator functions have Boolean circuits with at most gates for sufficiently large , over a fixed bounded-fan-in complete basis. The family need not be constructible by one algorithm. Polynomial-size bounds give P/poly; the truth-table upper bound for circuit size applies even to undecidable languages.
In an arbitrage-free one-period market with finitely many assets and an equivalent martingale measure, market completeness is equivalent to uniqueness of the dominated martingale measure. Completeness prices every indicator function, forcing two measures to agree on every event. Conversely, if the attainable payoff span has dimension but is not the whole payoff space, choose disjoint positive-probability events. Their moment vectors against a basis of attainable payoffs are linearly dependent. A nonzero bounded linear combination of their indicators consequently has zero pricing moments. Multiplying an existing equivalent density by , for sufficiently small positive and negative , constructs distinct equivalent martingale measures. This proves the converse without assuming that the original space was finite. On a general probability space, completeness here means replication of all bounded claims, or equivalently all square-integrable claims when asset payoffs are square-integrable.
Conditional expectation Created 2026-09-24 Updated 2026-10-14
The conditional expectation is the average of a random variable that can be predicted using specified information. It is itself a random variable: the average appropriate to one observed group may differ from that appropriate to another group. The sigma-algebra records which events can be distinguished with the available information.
For a real integrable random variable on a probability space and a sub-sigma-algebra , the conditional expectation is the almost surely unique integrable random variable that is measurable with respect to and satisfiesIts average therefore agrees with that of on every distinguishable event. The integral characterization handles discrete observations, continuous observations, and information that is not given by a single numerical value.[ref]
If the information tells us which member of a finite measurable partition contains the outcome, then on every member of positive probability,Here is an indicator function. Zero-probability members do not determine a unique value, which is why uniqueness is only almost surely. For square-integrable , this same conditional mean is the best predictor among -measurable random variables under mean squared error; the conditional variance describes its remaining error. A conditional mean is generally not the same as the actual observed value of .[ref]
For a Borel probability measure on a compact metric space, inner regularity and outer regularity give with compact, open and . The Urysohn lemma supplies a continuous function equal to one on and zero outside , with values in . Its difference from the indicator function of is supported in and bounded by one, proving the displayed estimate. This transfers identities established for continuous test functions to measurable sets.
Convolution Created 2026-09-24 Updated 2026-10-14
Convolution combines two functions by adding their products over all ways of splitting an argument. For Lebesgue integrable functions on the real line, their convolution isThe arguments and always add to . For in the L1 space, the integral exists almost everywhere and defines another element of the L1 space, with by Young's convolution inequality. Particular examples below have a value at every .
To see what the integral counts, take the indicator function . The product equals one exactly when belongs to both intervals and . Its integral is their overlap length, soAt , the overlap is and the output is ; at , the two intervals coincide and the output is one. The result is the shifted triangular function . As changes, is a reflected and translated copy of : the moving overlap makes the entire graph visible without a difficult integration.
The same calculation gives the probability distribution of a sum of two independent random variables. If are independent random variables with the continuous uniform distribution on , each has probability density function . Their sum has probability density function by convolution of probability densities. The probability density function at one is larger than near zero or two because there are more combinations of the two inputs giving that sum. Its total integral is one; its expected value is one and its variance is . These follow equally from integrating the triangular function or from linearity of expectation and variance additivity for independent random variables.
Convolution also gives a useful averaging operation. For , let . Thenthe mean of in a neighborhood of . A smaller examines a smaller neighborhood. For a continuous function , this mean tends to as , an example of an approximate identity. Integrating a sharp input against a distributed convolution kernel can produce a smoother output; the triangular example turns two discontinuous inputs into a continuous output.
In signal processing, a linear time-invariant system combines shifted copies of its impulse response by the same rule. In discrete time, an input value at index contributes a scaled response at index , and discrete convolution sums these contributions. This is the superposition interpretation developed in Oppenheim, MIT Signals and Systems, Lecture 4, convolution sums and integrals. The convolution theorem then gives another description: transform both inputs with a Fourier transform and multiply their transforms. Combining shifts, combining independent quantities and multiplying frequency descriptions are three faces of the same operation.
Convolution theorem Created 2026-09-24 Updated 2026-10-14
For Lebesgue integrable functions on , use the Fourier transform convention . ThenThus the integral combining all translated products becomes an ordinary multiplication at each frequency. Different Fourier transform normalizations can place a constant in this identity; fixing the convention prevents that ambiguity. Its use in filtering is illustrated by [ref]
https://see.stanford.edu/materials/lsoftaee261/transcripts/TheFourierTransformAndItsApplications-Lecture09.pdf. Brad Osgood, Stanford EE261, Lecture 9, convolution and Fourier-domain filtering
.For the indicator function ,with . Therefore the triangular function has Fourier transform . The extra factor of the sinc function improves the large-frequency bound from a constant times to one times , matching the smoother output in the overlap picture. Fourier decay of repeated interval convolutions extends this calculation to further repetitions.
For a proof outline, Fubini's theorem permits exchanging the two integrals because the integral of over is . Set in the inner integral:The factorization of the complex exponential is the mechanism behind the simplification. The discrete convolution version similarly turns coefficient sums into products of generating functions.
Coordinate revealment 2026-10-14
The coordinate revealment of coordinate for a decision tree under input probability distribution isIt depends on the chosen decision tree and the probability distribution, not just on the Boolean function. Since no coordinate is queried twice on a graph path, indicator functions giveThe second equality uses linearity of expectation; it does not require independence of random variables or a product measure. The cited paper defines these inspection probabilities and their sum for product measures; the displayed indicator function argument extends the identity to any input probability distribution.[ref]
For the three-bit majority decision tree under the discrete uniform distribution, , whose sum is . Reading coordinate 3 first, then coordinate 1, and stopping on agreement gives the same majority function, depth and expected query cost, but coordinate revealments . The asymmetry belongs to the chosen query order. Parity gives for every exact decision tree without repeated queries. If repeated queries were charged, inspection probabilities would count distinct coordinates; total query count would instead require expected multiplicities.
Cost of trials until the first success 2026-10-14
Consider a stipulated repeated-attempt model, with independent Bernoulli trials of success probability . An unsuccessful attempt costs three units of work, and a successful attempt costs one. Let be its success indicator function, its cost, and the first success. Observing reveals , so is a stopping time for the costs' natural filtration. The geometric distribution gives and , including the deterministic case . ThusAt , the average is four attempts and ten units of work. An independent check uses the pathwise identity : there are failures and one final success. No success probabilities or costs in this example are measured data.
Cost and survival probabilities for stopping at the first success
. Original stipulated model with success probability , failure cost three, and success cost one. The top shows one illustrative stopped sequence; the lower panels show exact probabilities and the contributions to the expected value from each admitted step. Details.Here is not independent of the observed costs. In particular, conditioning on forces every preceding cost to be three and the final cost to be one, so , generally different from at . Nevertheless the unconditional identity holds. This distinction explains why conditioning on the total count as though the original cost law remained unchanged is a faulty proof.
Counting measure Created 2026-09-29 Updated 2026-10-14
Counting measure makes integration into summation by giving every measurable singleton unit weight. On any measurable space , it is the measure defined byThus , a finite set has its usual cardinality, and every infinite set has the same value in the extended real number line. In particular, countably infinite sets and uncountable sets are not distinguished by their counting measure. Taking to be the power set makes every subset measurable; restricting the same rule to a smaller sigma-algebra is also allowed. [ref]
https://www.math.ucdavis.edu/~hunter/measure_theory/measure_notes_ch1.pdf. John K. Hunter, Measure Theory, Example 1.11: counting measure
Why is this a countably additive measure? For pairwise disjoint measurable sets ,If the union is finite, only finitely many are nonempty, and finite cardinality adds. If the union is infinite, either one is infinite or infinitely many are nonempty; in both cases the nonnegative series on the right is infinite. For example, and have counting measures and , and their union has counting measure . The singletons for positive natural numbers give the infinite case: .
With the power set as sigma-algebra, counting measure is a finite measure exactly when is finite, and a sigma-finite measure exactly when is at most countable. For the latter assertion, enumerate by measurable singletons; conversely, every finite-measure set is finite, and a countable union of finite sets is countable. Specifying the sigma-algebra matters: if and , counting measure is not a sigma-finite measure, since the only measurable finite-measure set is the empty set.
For a finite or countably infinite set equipped with its power set, every nonnegative function is a measurable function, andThe supremum allows an infinite result and avoids choosing an order for the terms. On a finite set, expand as a simple function using singleton indicator functions. On a countably infinite set, enumerate the points and apply the monotone convergence theorem to finite truncations. Real or complex functions are integrable functions for counting measure exactly when ; then their integral equals the absolutely convergent sum. This is the discrete counterpart of Lebesgue integration, developed further in series as a Lebesgue integral against counting measure. [ref]
https://www.math.ucdavis.edu/~hunter/measure_theory/measure_notes_ch4.pdf. John K. Hunter, Measure Theory, Example 4.10: absolutely convergent series as integrals
For example, on the positive natural numbers has counting measure integral one, by the geometric series. The alternating harmonic series has a finite ordered sum but is not the integral of an integrable function for counting measure: its positive and negative parts both have infinite sums. Absolute convergence is what makes the finite integral independent of enumeration. In particular, the Lp spaces for counting measure on are the l-p sequence spaces, with their sums replacing continuous integrals.
Compare three measures on the same Borel sigma-algebra of the real numbers: counting measure , Dirac measure , and Lebesgue measure .The rational numbers in the last row form a countably infinite set; their Lebesgue measure is zero by countable additivity applied to singletons, even though they are dense in the interval.
The same Borel sets have different sizes under counting measure, Dirac measure, and Lebesgue measure
. Original analytical comparison on the real numbers, with the selected point marked in orange. Drawings show the finite sets and the interval; the rational numbers are named symbolically because finitely many plotted points cannot depict that infinite dense set. Green zero entries mark the null sets for each column's measure. Details.These are different answers to different questions: counting measure asks how many points occur, Dirac measure asks whether the selected point occurs, and Lebesgue measure asks how much length occurs. A null set therefore depends on its measure. For counting measure, the only null set is the empty set, so equality almost everywhere is equality everywhere. For , a measurable set is a null set exactly when it misses ; for Lebesgue measure, even the infinite set is a null set. Integrating an indicator function recovers each table entry through . This lets the same Lebesgue integral framework handle point counts, point evaluation, and geometric length.




