How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
A tied two-sample Bernoulli permutation test
Example
Let , and for assign the four vectors masses These are two independent Bernoulli observations, one in each sample. Let act by swapping coordinates and take the signed two-sample score . Under the equal-distribution null, the law is invariant under this swap. For the discordant sample the full-orbit p-value is ; for it is , and either tied sample has inclusive p-value .
For a uniform-subset Monte Carlo example without replacement, let act on itself by addition with its full power-set sigma-algebra, let be uniform on , and take . Set , choose uniformly from the ten two-element subsets of independently of , and use . This is the identity-adjoined design of Identity-corrected random-permutation Monte Carlo p-value, with
The equal-distribution null above is stronger than equality of means. For a weak mean-difference null, use the data space with full power-set sigma-algebra, where , and let act by swapping coordinates. On assign mass , where puts mass on each of and puts masses on , respectively. Use the score . Both coordinate means are zero, so the weak mean-difference null holds. The pooled law is not invariant under the swap.
Facts & Assumptions
Given: The Bernoulli product law, its coordinate-swap action and score, and the full-orbit rank definitions; the uniform-subset design on ; and the weak-null product law on with the coordinate-swap action. Verify invariance and compute the ranks and design p-value.
Measurable finite-group permutation setups: a finite group acts measurably on the experiment data space, and the theorem's null premise is invariance under every group element.
Full-orbit and tie-randomized permutation p-values: the inclusive rank counts all group transformations with ; the randomized rank interpolates over the tied block using an independent uniform variable.
Exact finite-group permutation p-values and tests: under an invariant null, inclusive ranks are superuniform and tie-randomized ranks are exactly uniform.
Finite probability spaces, outcome weights, events, and event probabilities: nonnegative weights on a finite set that sum to one define a finite probability law, and event probabilities are sums of the weights.
Identity-corrected random-permutation Monte Carlo p-value: without replacement, adjoin the identity to a uniformly selected -subset of the nonidentity group elements, selected independently of the data , and divide the inclusive count by .
Verification
Given: The Bernoulli product law and swap score, the design, and the weak mean-difference model and swap action stated in the Example.
All four masses are nonnegative and sum to , so [F4] makes them a finite probability law. The swap fixes and and exchanges with , which have equal mass. Thus for every , and the group action is invariant for every .
The subset is uniform and independent of by the Example, so it satisfies the without-replacement design premise in [F5]. In the example, addition by any fixed group element permutes the six equally likely outcomes, so the null law is invariant. If , only the identity in has score at least , and the without-replacement p-value is . If , then and every element of has score at least zero, so the p-value is . Its distribution is therefore with probability and with probability ; its CDF is superuniform.
At and , both transformed scores are , giving and . At the two scores are , giving and . At they are , giving and .
Put . Then with probability and equals otherwise. Its CDF is for , for , and at , so it is superuniform. For , the tie-randomized CDF is : the branch contributes , the branch contributes zero except at a probability-zero endpoint, and the tied branches contribute . For , it is . Thus is uniform, in agreement with [F3].
In the weak mean-difference example, . But the coordinate swap sends to , and the product law assigns these points probabilities and , respectively. Hence this weak null does not make the pooled law invariant under the swap, so the invariant-null premise of [F3] cannot be inferred from equality of means.
Depends on
Used by
Nothing in the library uses this result yet.
Dependency tree · two levels
25 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.