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.
Statistical, resampling, simulation, and numerical error ledger — Examples
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Conditional and Finite-Group Exact Inference
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Estimators and Randomized Procedures
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability Spaces and Random Variables
- Foundations of the Real Numbers for Analysis
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Independence Borel Cantelli and Zero One Laws
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrix Norms, Condition Numbers and Numerical Stability
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Pointwise Extended-Real Function Products
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Resampling schemes and the sampling-unit contract
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Simple Field Extensions and the Construction of the Complex Numbers
- Statistical Experiments, Models and Identifiability
- Statistical, resampling, simulation, and numerical error ledger
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Lebesgue Integral and the Convergence Theorems
- The Riemann Integral: Definition and Integrability
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Vector Spaces, Linear Subspaces, Span and Direct Sums
- Weak Laws and Series of Independent Random Variables
2 · Summary
Examples
- Sampling and finite-bootstrap errors for a Bernoulli mean separates the observed-data error from a realized finite bootstrap average.
- Exact-orbit and finite-B permutation p-value resolution compares the full-orbit and finite-B p-value grids without transferring validity to an unproved procedure.
- Euler discretization bias and path-to-path variance computes one-step Euler bias and Monte Carlo variance across simulated paths.
- Replicate variance for randomized quadrature uses independent randomizations to estimate computation variability for fixed data.
- Dot-product cancellation under normal-range rounding checks a left-to-right dot-product bound in binary64's normal range.
- Perfectly correlated error components shows why covariance terms matter in a mean-squared error calculation.
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
Sampling and finite-bootstrap errors for a Bernoulli mean
Example
Let be IID observations in with and . Take each observation as one resampling unit in the finite measurable space , and define on . The map is measurable because its domain has the full power-set sigma-algebra. Suppose the observed ordered sample is , an event of probability . The population mean is , while the data estimate is . Fix these data and use the size-two empirical-law bootstrap of Size-n bootstrap from the empirical law. Each resample chooses two indices independently and uniformly from , with replacement. Its conditional sample-mean law has values with probabilities . In four independent resamples, suppose the ordered index pairs are , giving means . This finite realization lets us compare the data-sampling error, the exact conditional bootstrap target, and finite- simulation error. It makes no bootstrap-validity claim.
Facts & Assumptions
Given: The stated IID two-point observation law, observed sample , finite unit space and map , bootstrap procedure, and four realized resamples. Prove the conditional bootstrap law and error separation.
The error ledger uses a declared scalar target and explicit successive reference values, with each stage error equal to the difference of adjacent references. (Successive statistical and computational error targets)
The total realized error along the finite reference chain is the sum of its signed stage errors. (Pathwise error decomposition along a reference chain)
Identical distribution and IID families: IID means a common law and mutual independence.
Size-n bootstrap from the empirical law: for a fixed tuple of length , draw indices independently and uniformly from , with replacement, and apply the declared measurable statistic to the resampled tuple.
Empirical-law bootstrap draws are conditionally IID: conditional on the fixed observed tuple, the resampled coordinates are IID with common law equal to its empirical measure.
For IID finite-variance replicate outputs, is unbiased for the variance of their average. (Unbiased variance estimate from independent computation replicates)
The observations are IID with the stated two-point law; the target is their mean .
The observed ordered tuple is in the finite measurable unit space ; each entry is one resampling unit and is measurable on the full power-set sample space.
Four independent repetitions of the stated bootstrap algorithm produce the listed ordered index pairs.
Verification
By [A1], the observed event has probability . By [A2], its statistic is , so the realized data-sampling error is .
By [F4] and [F5], the four equally likely ordered pairs of bootstrap indices have sample means , respectively. Therefore the conditional bootstrap mean is and its conditional variance is .
The four stated means average to , so the finite- simulation error relative to the exact conditional bootstrap mean is . Each ordered index pair has conditional probability ; independence across the four repetitions makes this listed realization have probability .
Under the conditional resampling law, the four replicate means are IID with variance by step 1.2 and [A3]; [F6] gives variance for their average. This is computation-randomization variance conditional on the data, distinct from the data-sampling error in step 1.1.
The chain has successive errors . Their sum is , so the realized total error is exactly the separate sampling and finite- errors in steps 1.1 and 2.1.
Exact-orbit and finite-B permutation p-value resolution
Example
Let with multiplication , so . The group acts on itself by left multiplication, the null law is uniform on , and , , . For the observed point , the full-orbit inclusive upper-tail rank is one out of three. Separately, define a finite- reported value for this example by adjoining the observed identity and using Take and the realized sampled transformations . This example calculates the two resolutions and their realized difference; it does not establish validity, unbiasedness, or a general error bound for the finite- formula.
Facts & Assumptions
Given: The group, action, statistic, invariant uniform null law, and finite list of sampled transformations in the Example. Prove the exact-orbit and realized finite- calculations.
A finite-group randomization setup consists of a finite probability space, finite group action, statistic, and null laws invariant under that action. (Finite-group randomization setups)
The inclusive orbit upper-tail rank counts group elements with and divides by . (Orbit upper-tail rank p-values)
Under an invariant null, the full-orbit inclusive rank p-value is superuniform. (Finite-group orbit-rank validity)
For a finite scalar reference chain, the total realized error is the sum of its signed adjacent-stage errors. (Pathwise error decomposition along a reference chain)
The operation is associative with identity and inverses ; for each , left multiplication is a bijection of .
The finite- formula is the explicitly defined calculation in the Example; no validity property is assumed for it.
Verification
Each map permutes , so the uniform law is invariant and the data form the finite-group setup of [F1].
The sampled statistic values are , so the inclusive count among the four sampled transforms is one and .
Exactly one of has statistic at least , so [F2] gives the exact-orbit rank ; [F3] supplies its superuniformity under this invariant null.
The finite- output lies on the grid because its count is an integer from zero through four. Set , , and ; then the one-stage error is by [F4].
Euler discretization bias and path-to-path variance
Example
Let take values in with probability each, and consider the random-initial-value ODE on . Its exact endpoint is , and the target is . Define the one-step explicit Euler rule at by . For an integer , independently simulate initial values with this law, set , and return .
Facts & Assumptions
Given: The ODE, initial-value law, one-step Euler rule, and independent path simulations specified in the Example. Compute the discretized-target bias and the path-simulation variance.
A scalar error ledger uses successive same-scale references and defines each stage error as the adjacent difference. (Successive statistical and computational error targets)
The total error along a finite scalar reference chain is the sum of its signed stage errors. (Pathwise error decomposition along a reference chain)
For IID finite-variance replicate outputs with variance , the variance of their average is . (Unbiased variance estimate from independent computation replicates)
For real , a real function continuous on and differentiable on satisfies for some . (The mean value theorem, as the case of Cauchy's: for continuous on with and differentiable on there is with )
is differentiable with . (The exponential function is smooth and )
The derivative of a differentiable composition is given by the chain rule. (The chain rule, in one line from Carathéodory: if is differentiable at and is differentiable at , then is differentiable at with )
IID means common distribution and mutual independence. (Identical distribution and IID families)
A function differentiable at a limit point is continuous there. (A function differentiable at is continuous at )
Applying measurable maps coordinatewise to independent random variables preserves independence. (Measurable coordinatewise functions preserve independence)
Products of measurable real-valued functions and their real scalar multiples are measurable. (Arithmetic and lattice operations preserve measurability whenever they are defined)
equals and with probabilities each; an ODE solution is defined and differentiable on an open interval containing , satisfies , and has initial value .
The discretization is the explicitly defined one-step rule at ; the simulated initial values are IID copies of .
Verification
By [F5] and [F6], solves the stated initial-value problem. For any solution , put and . By [F6] and [F7], . For with , . As , continuity of and differentiability of make the right side tend to because . Thus on . The solution is continuous at by [F9], so is continuous on ; [F4] gives . The same derivative calculation applied to the continuous product gives on ; [F4] then yields , since by [F5]. Multiplying by therefore gives . By [F5] and , the exact target is .
The Euler update gives , so the exact-arithmetic discretized target is . Since , its bias is .
By [F8] and [A2], a single simulated squared Euler endpoint is , equal to or with equal probability. Its mean is and its variance is .
By [F11], is measurable; by [F8] and [A2] the initial values are IID, so [F10] makes the outputs independent. Their common two-point law is computed in step 1.3, hence they are IID. Then [F3] gives variance for their average, while the discretization bias in step 1.2 remains for every .
For a realized path average , the ledger chain gives by [F1] and [F2], separating discretization bias from path-simulation error.
Replicate variance for randomized quadrature
Example
Fix the observed data and one randomized quadrature rule for an exact integral . Suppose its independent full-set randomizations produce IID estimates with mean and finite variance, and the three realized outputs are , , and . Compute the replicate mean and the variance estimate for that mean. This calculation does not assert a Student interval or estimate variability across new data samples.
Facts & Assumptions
Given: Fixed data and exact integral target , with IID randomized-rule outputs of mean and finite variance. The observed outputs are .
For IID replicate outputs, is unbiased for the variance of their average. (Unbiased variance estimate from independent computation replicates)
A computation stage is recorded as the difference between its exact reference target and its realized output, with all values on the same scalar scale. (Successive statistical and computational error targets)
Verification
The replicate mean is .
The squared deviations from sum to .
The replicate variance estimate for the mean is by [F1]. With the data fixed, this estimate concerns only the independent rule-randomization law, not data-sampling variation. The realized computation error in the ledger is .
Dot-product cancellation under normal-range rounding
Example
In radix-two binary64 arithmetic with precision and round-to-nearest, ties-to-even, compute the left-to-right dot product of and . The unit roundoff is . All three products and all intermediate sums are in the normal range. Define the dot-product condition ratio for this nonzero exact result by This example checks an absolute roundoff bound and illustrates why a bound small relative to the sum of term magnitudes need not mean small relative error in the result when cancellation makes large.
Facts & Assumptions
Given: The vectors, binary64 round-to-nearest ties-to-even arithmetic, unit roundoff , and the left-to-right evaluation order. Check the exact result, computed result, normal-range hypotheses, and gamma bound.
If , , and every exact product , rounded product , and intermediate sum lies in the normal range, the computed left-to-right dot product satisfies , where . (The computed floating-point dot product obeys componentwise and normwise error bounds)
The floating-point model uses relative error at most only on its stated normal-range operation domain; exact zero is handled separately. (The standard relative floating-point model and unit roundoff)
The final numerical error is for the error ledger. (Successive statistical and computational error targets)
The total error along a finite scalar reference chain is the sum of its signed adjacent-stage errors. (Pathwise error decomposition along a reference chain)
In the binade , a radix-two format with precision has spacing . Since , and are adjacent representable values. The lower significand is , an even integer, whereas the upper significand is odd; therefore the exact midpoint rounds to under ties-to-even.
Verification
The exact dot product is , and each product by a component of is exact.
By [A1], the first rounded partial sum is ; the next exact sum is , which is represented exactly. The exact intermediate sums are and , and the rounded partial sums are and . Together with the exact products of magnitudes , all lie between the binary64 smallest and largest normal magnitudes stated in [F2].
Here , , and . The bound is , since its numerator exceeds its denominator; this is consistent with the computed error .
The condition ratio is , while the relative forward error is . In the ledger take , , and ; [F3] gives the sole error , and [F4] identifies it with the total error. No sampling or simulation stage occurs.