GLOBAL KNOWLEDGE ARK

Mathematics · Article

Communicating mathematics and building shared knowledge

Learn to communicate a mathematical result so another reader can reconstruct, check and extend it. Work through exact proof claims, reproducible calculations, graphical evidence, dependency records and independent certificates.

Back to Mathematics

After reading, you can

  • Make quantifier order, hypotheses, units and error margins explicit in a claim.
  • Recover exact data from stable encodings and distinguish the guarantees of different checks.
  • Construct independently verifiable certificates for divisibility, linear residual bounds and route optimality.
  • Trace proof and calculation dependencies to identify which existing checks still apply.
  • Explain how displayed coordinates, bin widths, group denominators or rounding order affect a conclusion.
  • Reconcile finite evidence by using exact interval and cycle tests, and explain how a reader can reconstruct the result.
01

Give a reader enough to reconstruct the result

Someone reports that the lowest route cost is three. A reader could verify the reported route and its cost. To verify that it is lowest, the reader also needs an argument bounding every other route. This lesson begins with a related distinction at the level of language. The order of two choices changes who must find a witness, and a short numerical check proves an identity only when the available domain and degree assumptions justify it.

What a report retains changes what a later reader can test. A table with stable keys can be reconstructed after its records are reordered. A summary can hide the group sizes that reverse an aggregate comparison. A histogram uses areas, and a segment in a sketch requires a separate coordinate test for a claimed crossing. Through these examples, the explanatory sequence connects a visual or numerical presentation to the exact mathematical assertion it supports.

Paul Halmos discusses punctuation and the balance between prose and mathematical displays. Sandve and colleagues ask researchers to keep a record of the operations that produced a result. Here those principles become mathematical checks for error bounds, exact dependencies, reproducible rounding and shared inference steps. We finish with independent teams' differences on a network, where the sum around a cycle can establish a precise disagreement and an anchor makes consistent values reconstructable.

02

Identify who chooses a bound

Write P(i,k) for the stated test at index i and nonnegative integer k. For each i in a nonempty finite catalog, choose one witness k_i at which it holds. There are only finitely many chosen witnesses.

Let K be their maximum. For each index i, we have K≥k_i. The upward-stability condition propagates P(i,k_i) to P(i,K), so the single K can be given before any one i is selected. For an empty catalog every k works and zero is enough.

With an infinite catalog, let the indices be the nonnegative integers and let P(i,k) mean k≥i. Every test has an upward-stable witness, but the index K+1 defeats any proposed finite K.

With two indices and no stability, let one test hold only at k=0 and the other only at k=1. Both individual tests have witnesses and no common witness exists. The finite list gives a maximum, and the separate upward rule makes that maximum valid for every row. See [Quantifier order and the form of a negation](https://ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-fall-2010/7853d585044ef21bce5f48ce5fc89d28_MIT6_042JF10_chap01.pdf). The selected text distinguishes the order of universal and existential choices. The maximum-witness proof states its own finite and upward-stability hypotheses.

03

Negate a claim while retaining the order of its choices

For a fixed x the inner assertion is that the set of y∈Y with R(x,y) true is nonempty. In classical logic the negation of that inner assertion says every y in Y has R(x,y) false.

The original universal assertion fails precisely when some x has a false inner assertion. Written with all choices visible, ¬(∀x∈X ∃y∈Y R(x,y)) is equivalent to ∃x∈X ∀y∈Y ¬R(x,y). The witness x stays fixed while y varies.

In a finite table let a row represent x and a column represent y. The original claim requires a true cell in every row. A complete counterexample is one row containing only false cells. A false cell in a row with a true cell cannot serve as that counterexample.

Negate each quantifier without switching the choice orderEach row has a witness, but no shared column; An all-zero row witnesses the exact negation. A common column of ones witnesses a different, reversed-order statement.Negate each quantifier without switching the choice orderx \ y01Row witness01001011A cell is 1 exactly when R(x,y) holds.∀x∃y R(x,y): True; exact negation ∃x∀y ¬R(x,y): False.A shared column verifies ∃y∀x R(x,y): False.
An all-zero row witnesses the exact negation. A common column of ones witnesses a different, reversed-order statement.

Negating a universal gives an existential statement and negating an existential gives a universal. Applying both rules keeps x as the first chosen variable.

Exact quantifier verdict
QuantityExact result
∀x∃y R(x,y)True
∃x∀y ¬R(x,y)False
All-zero rows{}
∃y∀x R(x,y)False
All-one columns{}
Exact inputs and supporting calculations
Declared inputs
ParameterValue
R[[1,0],[0,1]]

If X is empty the original universal assertion holds vacuously and the negation has no x to supply. If Y is empty and X is nonempty, every row fails the inner existence test, and any row witnesses the negation with its vacuous inner universal statement. If both are empty the empty-X case applies. See [Quantifier order and the form of a negation](https://ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-fall-2010/7853d585044ef21bce5f48ce5fc89d28_MIT6_042JF10_chap01.pdf). The course notes give the classical negation rule. This argument applies it twice and checks completeness of the negation in a table and across empty domains.

04

State exactly when modular cancellation works

Set d=gcd(a,m)>0, a′=a/d and m′=m/d. The congruence ax≡ay modulo m means m divides a(x−y). Dividing the divisibility equality by d gives the equivalent condition m′ divides a′(x−y).

The integers a′ and m′ have greatest common divisor one. Bézout's identity gives integers u,v with ua′+vm′=1. Multiplying by x−y shows m′ divides x−y whenever it divides a′(x−y).

Conversely, m′ dividing x−y immediately implies m′ divides a′(x−y). Multiplying by d produces the initial congruence, so the equivalence holds in both directions. When a=0, we have d=m and the reduced modulus is one, for which all integers agree.

If d=1 the reduced modulus is m. If d>1, the difference x−y=m′ satisfies the reduced congruence while m fails to divide that difference. Thus cancellation using the same modulus as a rule for every pair x,y requires the multiplier to be relatively prime to m. See [An integer combination gives the greatest common divisor](https://ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-fall-2010/a608e339ab265c79de46c7c3830a49cb_MIT6_042JF10_chap04.pdf#page=12). The selected Euclidean construction gives an integer combination for the greatest common divisor. Coprime cancellation and the new modulus follow from that exact identity.

05

Retain a calibration law when its scales change

The positive coefficient α makes x↦x′ reversible, with x=(x′−β)/α. Substitute into y′=γy+δ to obtain y′=γa(x′−β)/α+γb+δ.

After collecting the coefficient of x′, the slope is γa/α and the intercept is γb+δ−γaβ/α. The intercept is the value corresponding to x′=0, which represents x=−β/α in the old coordinates.

For old numerical threshold c, the condition y≥c is equivalent to y′≥γc+δ, since γ>0. An inequality with the opposite direction is preserved in the same way. Converting this into a threshold on x′ also requires the sign of the new slope, with the zero-slope case constant.

The slope is a difference in y′ units divided by a difference in x′ units. Offsets disappear when differences are taken, while the two scale factors act in the ratio γ/α. Recording reference origins as well as scales is necessary to reproduce the intercept. See [Numerical values change with units](https://doi.org/10.59161/AUEZ1291), [Nearest-site regions and affine interpolation](https://graphics.stanford.edu/courses/cs205a-13-fall/assets/notes/cs205a_notes.pdf#page=168). The sources describe numerical coordinate values and affine interpolation. The calibrated coefficient, offset and threshold transformation are derived for the declared pair of scales.

06

Compute the exact range of a linear expression on declared intervals

Write the affine expression as F(x)=c+∑a_i x_i, with each x_i in [l_i,u_i]. Independent choices here mean that every point of the Cartesian product of the given intervals is admissible. There is no probability law in this range calculation.

The minimum contribution from index i is a_i l_i when a_i≥0 and a_i u_i when a_i<0. The maximum contribution selects the other endpoint. Summing termwise bounds and adding c proves bounds on F, and the independent endpoint choices give one vector attaining each bound.

Let x⁻ and x⁺ be achieving vectors for the two bounds. Every point (1−t)x⁻+tx⁺, with t∈[0,1], still belongs to the product. Affinity sends this segment to the full interval between F(x⁻) and F(x⁺), including the degenerate case of equal endpoints.

Each occurrence of one recorded variable in a formula shares the same value, so first collect its coefficients. For x∈[0,1], x−x is always zero. Giving the two occurrences independent choices would generate the interval [−1,1] for a different formula on a different input set. See [Nearest-site regions and affine interpolation](https://graphics.stanford.edu/courses/cs205a-13-fall/assets/notes/cs205a_notes.pdf#page=168). The source treats affine evaluation with coefficients summing to one. The box endpoint proof identifies precisely which inputs may vary independently and applies the affine property to a segment.

07

Put a verifiable tolerance on a reported ratio

The reverse triangle inequality gives |v|≥|V|−e_v>0, so both the reported ratio and the underlying ratio are defined. The right side is a positive lower bound on the magnitude of every admissible true denominator.

Set R=U/V. Since U=RV, subtracting gives u/v−R=((u−U)−R(v−V))/v. The same signed denominator appears in both terms of this exact equality.

By the triangle inequality and the denominator margin, |u/v−R|≤(e_u+|R|e_v)/(|V|−e_v). The term |R|e_v and e_u have the numerator's units, and division by the denominator margin gives the ratio's units.

When the allowed denominator interval reaches zero this argument may give neither a finite tolerance nor a ratio for every allowed pair. For U=V=1, e_u=0 and e_v=1, taking v positive and arbitrarily close to zero makes 1/v arbitrarily large. The stated margin excludes that obstruction. See [Numerical values change with units](https://doi.org/10.59161/AUEZ1291), [A result should carry a record of how it was produced](https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1003285). The units passage concerns numerical reporting, and the reproducibility article asks for the operations behind it. The upper bound comes from the exact signed residual identity and the denominator margin.

08

Carry an error guarantee through a chain of calculations

Let x_i=f_i(x_{i−1}) be the exact states and y_i=g_i(y_{i−1}) the approximate states. Use a common distance at each stage, call their distance e_i, and suppose f_i has Lipschitz bound L_i and f_i versus g_i has pointwise error at most δ_i throughout the declared inputs for stage i.

Insert the intermediate value f_i(y_{i−1}) into the distance from x_i to y_i. The first part is bounded by L_i e_{i−1}, and the second is bounded by δ_i because it compares the two maps at one input. It follows that e_i≤L_i e_{i−1}+δ_i.

Repeated substitution gives e_m≤e_0∏ from j=1 to m of L_j + ∑ from i=1 to m of δ_i times ∏ from j=i+1 to m of L_j. The empty product is one. An induction adds the final δ_m and multiplies all earlier contributions by L_m.

These checks require both trajectories to remain in the stated domains and the exact-map evaluation at each approximate input to be defined there. The coefficients specify how earlier errors can be amplified or damped. The bound includes cancellation-free sums of magnitudes, allowing an actual discrepancy to be smaller. See [The role of uniformity and continuity](https://live.ocw.mit.edu/courses/18-100a-real-analysis-fall-2020/mit18_100af20_basic_analysis.pdf), [A result should carry a record of how it was produced](https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1003285). The analysis scope distinguishes uniform control from pointwise control, and the workflow article calls for recorded operations. The per-stage Lipschitz and uniform-error hypotheses supply the proved composition bound.

09

Distinguish rounding a total from rounding each contribution

Let R_h be nearest-multiple rounding with positive step h, and choose a fixed tie rule. For any real input z the rounding error |R_h(z)−z| is at most h/2, including exact ties.

For inputs z_1,…,z_n, the sum of individually rounded amounts differs from the exact sum by ∑(R_h(z_i)−z_i). Taking absolute values and using the triangle inequality gives the bound nh/2.

Rounding once after adding the exact values changes the exact sum by at most h/2. This statement concerns the single final rounding operation. If the inputs were already rounded, summing them before a final display still carries their input errors.

With step 0.1 and exact values 0.06 and 0.06, the displayed inputs are 0.1 and 0.1, whose sum is 0.2. The exact total 0.12 rounds to 0.1. A record giving merely the step and total would leave the order of these operations unresolved. See [Round down to the lower integer](https://www.ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-spring-2015/mit6_042js15_textbook2.pdf#page=41), [Amplitude quantization on a finite scale](https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/95b4b245722073e5d0c4ea95b384446e_MIT6_003F11_lec22.pdf). The source passages describe floor conventions and amplitude quantization. The lesson applies the stated nearest-multiple rule and separates input rounding from output rounding.

10

Make a concatenated record unambiguously decodable

A prefix-free code has no codeword that is the proper beginning of another. Each alphabet symbol receives a distinct nonempty word. The decoding question concerns a finite string that is known to be a concatenation of those words.

If there were two decodings of a nonempty string, their first codewords would both be initial segments of it. The shorter would be a prefix of the longer, so prefix freedom and distinctness force identical first codewords and therefore identical first symbols.

Remove that shared initial word and repeat on the shorter suffix. Induction on string length proves uniqueness, with the empty suffix as the base case. A parser may read until it sees a codeword, emit the associated symbol, and restart at the next unread character. A leftover incomplete word fails the declared format.

Using separate symbols with codewords 0, 01 and 1, the string 01 can be decoded as the one second symbol or as the first and third symbols. This example witnesses ambiguity for that code and explains why a reader needs the declared decoding convention. See [A prefix tree gives unambiguous code boundaries](https://www.rfc-editor.org/rfc/rfc1951). The specification gives a prefix-tree parsing convention. The proof covers arbitrary finite prefix-free word sets and states the behavior of an incomplete suffix.

11

Reconstruct a finite table using stable row and column labels

List the distinct row keys and column keys and regard the table as a function on their Cartesian product. Encode the cell at pair (r,c) by the triple (r,c,T(r,c)). Keys are part of the data used to identify a cell.

For each triple, check both keys are valid and use their pair as the address. A complete record uses each possible pair, and a unique record uses each only once. Together these checks supply exactly one value at each address with the stated format.

Reconstruct by setting T(r,c) equal to the value in the record with that pair. A permutation of the records leaves every pair attached to the same value. Producing the triples from that reconstructed complete table gives the same collection of triples.

For two rows a,b and one column c, the tables with respective values (2,5) and (5,2) are different. After omitting the row key and discarding record order, both supply the same two column-value records (c,2) and (c,5). The lost key supplied the missing distinction. See [A group of fields can serve as one record key](https://www.postgresql.org/docs/18/ddl-constraints.html#DDL-CONSTRAINTS-PRIMARY-KEYS), [Derived entities and their recorded antecedents](https://www.w3.org/TR/prov-dm/). Composite identity and documented derivation motivate attaching stable keys to records. The exact coverage and uniqueness checks prove table reconstruction.

12

Give an order-independent representation of a labeled undirected graph

A simple undirected edge is a set {u,v} of two distinct vertices. Because the listed vertex set has a total order, that set has one increasing pair (min(u,v),max(u,v)). This representation is independent of the order in which somebody named the endpoints.

Sort the pairs lexicographically using the stated vertex order. Swapping endpoint order in any input description or permuting the raw edge records then leaves the final sorted list unchanged. A simple graph has only one record per pair after normalization.

In the other direction, a list with increasing endpoints, a valid key at each endpoint and no repeated pair specifies exactly the edge set obtained by forgetting endpoint order. Applying the original operation to this set returns the same sorted list.

The graph representation also keeps the complete vertex list. A graph with an isolated additional vertex has unchanged edge records but a different vertex set. A format that allowed loops or parallel edges would need corresponding rules and is outside the claim for simple graphs. See [A group of fields can serve as one record key](https://www.postgresql.org/docs/18/ddl-constraints.html#DDL-CONSTRAINTS-PRIMARY-KEYS), [Check precedence through a topological order](https://www.cs.cornell.edu/courses/cs3110/2009sp/lectures/lec22.html). The sources supply key and directed-edge context. The lesson proves that sorting endpoint pairs and keeping the vertex list uniquely represents the stated simple undirected graph.

13

Check what a decimal checksum proves

Interpret the fixed-length string with digits d_i indexed from the right as the nonnegative integer ∑d_i10^i. Leading zeros occupy recorded positions while contributing zero. Since 10≡−1 modulo eleven, the remainder is represented by ∑d_i(−1)^i modulo eleven.

Changing one digit in position i changes the integer by (d′_i−d_i)10^i. The factor 10 is invertible modulo eleven, and the nonzero digit difference has absolute value at most nine. Thus the remainder changes.

Swapping unequal neighboring digits in positions i and i+1 changes the integer by ±9(a−b)10^i, with the sign depending on order. Both 9 and 10 are invertible modulo eleven, and a−b is a nonzero integer of magnitude at most nine, so this alteration also changes the remainder.

Identify exactly what the mod-9 checksum preservesOne changed digit is detected; Orange cells are edited positions. Leading zeros retain their positions in the record even though they contribute zero to the digit sum.Identify exactly what the mod-9 checksum preservesRecord0123412345123451234612346Mod-9 digit-sum test, contrasted with the manuscript’s mod-11 test.Digit sums 15 → 16; residues 6 → 7.The edit changes this checksum and is detected.For comparison only: mod-11 residues 3 → 4.
Orange cells are edited positions. Leading zeros retain their positions in the record even though they contribute zero to the digit sum.

Since 10≡1 modulo nine, the digit sum preserves the remainder modulo nine. This test cannot certify digit order. The alternating checksum discussed in the manuscript uses 10≡−1 modulo eleven and has different guarantees.

Exact digit-sum check
QuantityExact result
Changed indices (zero-based){4}
Digit sums(15, 16)
Mod-9 residues(6, 7)
Mod-9 detects the editTrue
Comparison mod-11 residues(3, 4)
Exact inputs and supporting calculations
Declared inputs
ParameterValue
a12345
b12346

The check yields a remainder class. For example, the distinct four-character strings 0000 and 0011 both have remainder zero. When giving this check as evidence, state the format and the exact classes of errors proved to be detected. See [An integer combination gives the greatest common divisor](https://ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-fall-2010/a608e339ab265c79de46c7c3830a49cb_MIT6_042JF10_chap04.pdf#page=12). The selected number theory supplies divisibility reasoning. The alternation, exact single-error guarantees and collision follow from the specific base-ten remainder calculation.

14

Give a running-sum record a checkable invariant

For a sequence a_1,…,a_n, define S_0=0 and S_i=∑ from k=1 to i of a_k. Equivalently, every consecutive pair must satisfy S_i=S_(i−1)+a_i. That relation and the initial total determine all prefixes by induction.

Subtracting consecutive totals gives a_i=S_i−S_(i−1). Conversely, prefix summing this recovered sequence telescopes back to S_i−S_0=S_i, so the two formats carry the same exact numerical data with this stated origin.

For 1≤l≤r≤n, the segment sum from l to r is S_r−S_(l−1). Terms before l enter once in both prefixes and cancel. This explains the endpoint convention in the difference.

If the one input at index j changes by nonzero Δ and the others stay fixed, S_i depends on that input precisely for i≥j. The first j prefixes S_0 through S_(j−1) are unchanged, and every later prefix increases by Δ. That exact boundary is available from the recorded indexing. See [Discrete sums can be reindexed by parts](https://dlmf.nist.gov/2.10), [A result should carry a record of how it was produced](https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1003285). The summation identity uses partial-sum records and the reproducibility guidance asks for computable steps. The inverse and suffix effect are derived for the exact initial total and indexing.

15

Decide how many exact polynomial checks determine an identity

Let P and Q have degree at most d over the same field, and set H=P−Q. At every checked node the difference H is zero. If H is the zero polynomial the claimed identity is already proved.

For a nonzero H with a root a, polynomial division yields H(X)=(X−a)G(X) with G of degree one less. At any other root b, the field makes b−a invertible, so G(b)=0. Repetition proves that a nonzero degree-r polynomial has at most r distinct roots, starting with a nonzero constant.

A nonzero H of degree at most d therefore cannot have d+1 distinct roots. Agreement at that many exact nodes forces H to be zero as a formal polynomial. The check requires that many distinct field elements and the degree bound for both expressions.

Compute exactly what the finite point checks certifyThree exact zeros certify a degree-two identity; The root-count guarantee relies on the stated degree bound and exact evaluations at distinct points.Compute exactly what the finite point checks certifyTest xp(x)−q(x)Value check00Agrees10Agrees20AgreesCertified degree bound d=2.3 distinct roots exceed degree 2: identity proved.A nonzero degree-d polynomial has at most d distinct roots.
The root-count guarantee relies on the stated degree bound and exact evaluations at distinct points.

Use exact residuals rather than rounded approximate agreement. An explicit node polynomial demonstrates why too few matching values leave the identity open.

Exact identity assessment
QuantityExact result
Nonzero witness sampleNone
Number of distinct checked nodes3
VerdictProved
Compatible nonzero residualNot applicable
Exact inputs and supporting calculations
Declared inputs
ParameterValue
d2
samples[[0,0],[1,0],[2,0]]

For any d distinct available nodes a_1,…,a_d, the zero polynomial and ∏(X−a_i) agree at all of them but are different and have degree at most d. For d=0 the empty product is the constant one. Rounded comparisons or omitted bounds would need a separate argument. See [Finite polynomial agreement and degree](https://math.mit.edu/~setia/4370fa19.pdf), [A node polynomial that vanishes on a fixed data set](https://biswarupbiswas.github.io/numerical-methods/lectures/lec28-interpolation-error/#the-node-polynomial). The prior sources provide the root-count theorem and vanishing node product. The check count follows from the field hypothesis and the maximum degree of each input.

16

Turn several modular comparisons into an exact integer match

If a and b agree modulo m_i, each m_i divides their difference D=a−b. Two relatively prime positive divisors r,s of D have product dividing D. To see this, write D=rt. The relation s|rt implies s|t by a Bézout identity for r and s.

Build the product one modulus at a time. Each new modulus is coprime to the product already included, since any prime dividing both would divide one earlier modulus as well. Thus the full product M divides D by induction. Moduli equal to one have no effect.

A nonzero multiple of positive M has absolute value at least M. If the application independently guarantees |a−b|<M, divisibility by M forces D=0. In particular, an allowed interval of length less than M supplies such a bound for any two candidates in it.

For moduli three and five the numbers two and seventeen agree in both comparisons. Their difference has magnitude fifteen, exactly the product. This shows why a difference bound at equality still permits a collision. See [An integer combination gives the greatest common divisor](https://ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-fall-2010/a608e339ab265c79de46c7c3830a49cb_MIT6_042JF10_chap04.pdf#page=12). The selected integer combination gives the divisibility step for relatively prime factors. Multiplying all coprime factors and imposing the strict size bound completes the proof here.

17

Verify a greatest common divisor certificate against its claims

Take d>0 and check the two divisibility statements d|a and d|b. These make d a common divisor and can be verified by displaying the two integer quotients.

Next check the exact linear combination d=ua+vb with integer coefficients. Any positive common divisor c of a and b divides both terms on its right, so c divides d. In particular c≤d, since d is positive.

The displayed d is therefore the greatest positive common divisor, with every other common divisor dividing it. The certificate works without the record of how u,v and d were found. It needs both common divisibility and the exact linear combination.

Verify a positive lower certificate and common divisibilityCorrect gcd with a valid Bézout witness; A common divisor bounds the gcd from below in divisibility order. A Bézout expression makes every common divisor divide the candidate.Verify a positive lower certificate and common divisibilityConditionExact computationPassd divides bothRemainders 0 and 0TrueBézout equality-1·30 + 2·18 = 6TrueClaimed gcd 6; independent Euclidean gcd 6.Both conditions certify the gcd.Common-divisor quotients: 30/6=5; 18/6=3.Euclidean remainders: 30 mod 18=12; 18 mod 12=6; 12 mod 6=0.
A common divisor bounds the gcd from below in divisibility order. A Bézout expression makes every common divisor divide the candidate.

When the proposed positive d divides both inputs and is an integer linear combination, their common divisors are exactly the divisors of d.

Exact gcd evidence
QuantityExact result
Both divisibleTrue
Bézout value6
Certificate validTrue
Independent gcd6
Claimed gcd numerically correctTrue
Exact inputs and supporting calculations
Declared inputs
ParameterValue
a30
b18
d6
u-1
v2
Independent Euclidean algorithm
DividendDivisorRemainder
301812
18126
1260

For a=b=0, all positive integers are common divisors and there is no greatest positive member. The conventional value gcd(0,0)=0 uses that special case. A positive d cannot satisfy the displayed linear combination when both inputs vanish. See [An integer combination gives the greatest common divisor](https://ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-fall-2010/a608e339ab265c79de46c7c3830a49cb_MIT6_042JF10_chap04.pdf#page=12). The extended Euclidean argument supplies the form of the certificate. This proof separates the checks of common divisibility, the integer combination and the zero-input case.

18

Specify when one matrix product certifies an inverse

Let AB=I_n for square matrices A and B acting on ℝ^n. If Bx=By, multiply by A to obtain x=ABx=ABy=y. Thus B is injective.

The domain and codomain of B have the same finite dimension. Injectivity gives rank n and therefore surjectivity. For each z in ℝ^n there is a y with z=By.

Now BAz=BABy=By=z for every z. Hence BA=I_n as well. The finite, equal dimension was the step that converted injectivity into surjectivity.

For a rectangular example take A=(1,0) as a row and B=(1,0) as a column. Then AB is the one-by-one identity, while BA has diagonal entries one and zero and zero off-diagonal entries. B is injective from ℝ to ℝ² with a proper image. See [A linear map written in a new basis](https://personal.math.ubc.ca/~lior/teaching/2122/223_W22/223-notes.pdf). The selected lecture works with invertible matrices for a change of basis. The proof here states the dimension argument identifying when a one-sided product certifies an inverse.

19

Translate a residual into an error certificate

Let both matrices act on the same finite-dimensional normed space, and let the induced operator norm satisfy ||I−BA||≤q<1. If Az=0, then z=(I−BA)z, so ||z||≤q||z|| and z=0. The square matrix A is injective and hence invertible.

Let x be the unique solution to Ax=b, set e=x−x̂ and let r=b−Ax̂. Since Ae=r, the exact identity e=(I−BA)e+Br splits the error into its contracted part and a transformed residual.

Taking norms gives (1−q)||e||≤||Br||. Consequently ||e||≤||Br||/(1−q)≤||B||||r||/(1−q). The first bound can be smaller when B takes this residual to a smaller vector than the product bound permits.

The recorded proof requires the matrix sizes, vector and operator norms, residual inputs and verified q to match. It also explains what the positive denominator certifies. A small residual by itself gives no uniform magnitude bound for e across arbitrary invertible A. See [Use a measured residual with an operator norm](https://dlmf.nist.gov/3.2), [Norm definitions and finite-dimensional comparison](https://web.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=649). The sources define the residual and induced matrix norm. The specific approximate-inverse certificate and its absolute error bound are independently proved.

20

Verify a shortest path with a directed-edge potential

For a directed edge u→v write its cost as w(u,v). Suppose the potential p satisfies p(v)−p(u)≤w(u,v) for each edge. For any walk s=v_0,v_1,…,v_k=t add its k inequalities.

The potential differences telescope to p(t)−p(s), giving that lower bound for the total walk cost. The argument also applies if a vertex is revisited. A closed walk has zero net potential difference and therefore nonnegative cost under the stated potential.

If a recorded walk from s to t has actual cost equal to p(t)−p(s), its cost realizes the lower bound. It is a minimum among all such walks. The evidence consists of the edge checks, the displayed walk and their matching cost.

No sign assumption on an individual edge appears in the argument. A negative edge may be compatible with a decreasing potential along that edge. If no s-to-t walk is supplied, the potential remains a lower bound conditional on the existence of such a walk. See [A shortest path has a potential-based lower bound](https://courses.csail.mit.edu/6.854/21/Notes/n12-duality.html). The dual formulation supplies the directed potential inequalities. The lesson derives the lower bound by telescoping and identifies the separate attaining walk.

21

Check whether a record of precedence constraints has a valid order

If an ordering gives every vertex a position that increases strictly along each edge, then positions would increase strictly while traversing a directed cycle back to its starting vertex. This contradicts equality of the start and end positions.

Conversely take a nonempty finite directed graph with no directed cycle. If every vertex had an incoming edge, start at any vertex and repeatedly choose a predecessor. Finiteness forces a vertex to occur twice. The directed edges between the repeated occurrences give a directed cycle, a contradiction.

There is therefore a vertex with no incoming edge. Remove it and apply the same reasoning to the remaining induced graph, which has no directed cycle. Recording each removed source first produces a full order after finitely many steps.

Audit the proposed ordering and check the graph independentlyTwo valid topological orders; Orange arrows violate the supplied order. A failed order by itself does not establish a cycle.Audit the proposed ordering and check the graph independently0123Arrows point from prerequisite to dependent node.Supplied order (1, 0, 2, 3). Accept: True.Every edge points forward in the supplied order.Least topological order: (0, 1, 2, 3).
Orange arrows violate the supplied order. A failed order by itself does not establish a cycle.

At each step choose the smallest node with no remaining predecessors. Success proves acyclicity and gives the lexicographically first order; a nonempty stalled remainder contains a directed cycle.

Exact precedence certificate
QuantityExact result
Supplied order acceptedTrue
First failed edgeNone
Graph acyclicTrue
Least topological order(0, 1, 2, 3)
Exact inputs and supporting calculations
Declared inputs
ParameterValue
n4
edges[[0,2],[1,2],[2,3]]
proposed[1,0,2,3]

For any original edge u→v, the vertex v could be removed only once u was absent, since otherwise v has an incoming edge. Thus the constructed order increases on every edge. The test for a supplied order checks each vertex occurs once and each declared edge points forward. See [Check precedence through a topological order](https://www.cs.cornell.edu/courses/cs3110/2009sp/lectures/lec22.html). The lecture explains removing an available source first. The proof gives the finite backward-chain contradiction and checks the resulting order against every edge.

22

Locate the review items affected by a revised input

Orient each dependency edge from an input record to the item using it. The edited records are named explicitly, all unedited external inputs remain fixed, and each unedited computed item records every input of its unchanged deterministic function.

Let S include those edited inputs and every vertex reachable from one of them by a directed path. If a computed vertex v lies outside S, each predecessor also lies outside S. An edge to v would otherwise extend a path from an edited input to v.

Use a topological order of the acyclic graph. An unedited external input has the same value as before. A computed vertex outside S has all its input values unchanged by earlier induction steps and therefore gives the identical output under its unchanged function.

Membership in S identifies a possible dependence on the edits. A downstream computation may return the same value after a change, for example if it subtracts an input from itself. Complete dependency recording and stable functions supply the justification for the unaffected group. See [A result should carry a record of how it was produced](https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1003285), [Derived entities and their recorded antecedents](https://www.w3.org/TR/prov-dm/), [Check precedence through a topological order](https://www.cs.cornell.edu/courses/cs3110/2009sp/lectures/lec22.html). The sources provide workflow records, derivation context and a topological order. Complete dependencies and fixed deterministic functions justify the precise unchanged-value claim.

23

Count shared proof records and their expanded occurrences

Let the transcript have records R_0,…,R_m, with R_0 having no premises and R_j citing R_(j−1) twice for j≥1. The stored records in this declared format are the m+1 named records, with each citation pointing to an earlier item.

If all citations are expanded as separate subtrees, let L_j be the number of leaves equal to R_0 in the expansion of R_j. The base case has L_0=1. Each next expansion joins two copies of the previous one, giving L_j=2L_(j−1)=2^j.

For a validity check suppose each record has fixed content, its cited premises are bound exactly and the inference rule is a deterministic local check of that content and its premises. A valid R_0 and valid local steps prove the validity of the expanded tree by induction. Conversely a valid expansion validates each record because every record occurs in it.

The equal decisions rely on identical meanings and contexts for shared references. If two occurrences required different assumptions, that context would need to be included in their records before sharing a result. The count concerns this specified transcript and the particular full expansion. See [A result should carry a record of how it was produced](https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1003285), [Derived entities and their recorded antecedents](https://www.w3.org/TR/prov-dm/), [A counterexample can identify the needed repair](https://pi.math.cornell.edu/~mann/classes/chicago/Lakatos.pdf). The sources motivate named derivations and scrutiny of an intermediate step. The counting and validity arguments state the extra condition of identical content and hypotheses across occurrences.

24

Pool subgroup means with their actual denominators

Let the nonempty blocks have sizes n_j and means m_j. The sum of observations in block j is n_j m_j. Each original observation is in exactly one block, so its contribution appears once in the full sum ∑n_jm_j.

The full count is N=∑n_j. Dividing by N makes the pooled mean ∑(n_j/N)m_j. These weights are nonnegative, sum to one and record the proportion of observations in each block.

For a block containing the single value zero and a block containing three copies of four, the full mean is twelve divided by four, or three. Averaging the two block means with weights one half yields two.

Equal block sizes make the weights equal and the two methods agree. Some unequal-size data can also give equality, for instance when all block means coincide. The stated denominators let a reader reconstruct the contribution of each block. See [Pooled and stratum-specific comparisons](https://bayes.cs.ucla.edu/R264.pdf). The source's reversal calculation exposes the effect of differing group denominators. The lesson derives the block-mean identity directly for arbitrary nonempty observation blocks.

25

Show how mixing group weights can reverse an aggregate comparison

Use two strata with the first collection having counts 4 of 5 and 15 of 50. Let the second collection have 35 of 50 and 1 of 5 in the corresponding strata. Within the first stratum the rates are four fifths and seven tenths, and within the second they are three tenths and one fifth.

The first collection has the higher rate in each stratum. The totals are 19 of 55 for the first and 36 of 55 for the second, so the first has the lower pooled rate. The two pooled rates weight the strata by different sample proportions.

For arbitrary pairs of rates a_1>b_1 and a_2>b_2, choose common weights w and 1−w with 0≤w≤1. The difference is w(a_1−b_1)+(1−w)(a_2−b_2). The terms are nonnegative and at least one term is strictly positive.

Using the same weights therefore preserves the strict ordering. A report should say whether the weights arise from each collection's observed composition or a shared target composition. These define different rate comparisons even when all of the input counts are fixed. See [Pooled and stratum-specific comparisons](https://bayes.cs.ucla.edu/R264.pdf). Pearl's example exhibits an aggregate reversal. The two sets of exact counts and the proof for common weights establish the mathematical scope without a causal conclusion.

26

Combine several uncertainty guarantees with stated simultaneous coverage

For each claim let F_i be its failure event and let P(F_i)≤δ_i. The event that at least one claim fails is the union of all F_i. Its indicator is no greater than the sum of the individual failure indicators at every outcome.

Taking expectations gives P(∪F_i)≤∑P(F_i)≤∑δ_i. The event that all claims hold is its complement, so its probability is at least 1−∑δ_i and always at least zero.

For ten equally likely outcomes, let the first failure use outcomes one and two and the second use outcomes three through five. Their probabilities are two tenths and three tenths, they are disjoint and the combined failure probability is exactly five tenths.

Disjoint failures achieve the sum bound in this instance. Independence was unnecessary. The proof requires that the failure events and their numerical guarantees be defined under the same probability law, so that their indicators are evaluated on one outcome space. See [Add failure bounds on the same outcome space](https://ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-fall-2010/67563e626df1b795165a7bf1426cc166_MIT6_042JF10_chap14.pdf#page=22). The source supplies the complement and union bounds. The indicator proof and disjoint example verify the exact simultaneous lower guarantee.

27

Bound what a straight segment can hide between measurement points

Use endpoints a and b=a+h with h>0. Set x=a+th for t∈[0,1] and define the interpolant at x as g(x)=(1−t)f(a)+tf(b). Subtract this expression from f(x) while keeping the two weights.

The difference equals (1−t)(f(x)−f(a))+t(f(x)−f(b)). By the Lipschitz bound, the respective absolute differences are at most Lth and L(1−t)h. The triangle inequality yields |f(x)−g(x)|≤2Lht(1−t).

For a midpoint example take f(x)=Lh/2−L|x−(a+b)/2|. It is L-Lipschitz by the reverse triangle inequality, vanishes at a and b and equals Lh/2 at the midpoint. Its chord is identically zero and the general bound at t=1/2 equals Lh/2.

The bound is a consequence of control on how fast f can vary between measurements. Endpoint agreement alone gives no such bound, since an arbitrarily tall piecewise-linear peak can share the same two endpoint values. The representation should state the assumed bound and its length units. See [Nearest-site regions and affine interpolation](https://graphics.stanford.edu/courses/cs205a-13-fall/assets/notes/cs205a_notes.pdf#page=168), [The role of uniformity and continuity](https://live.ocw.mit.edu/courses/18-100a-real-analysis-fall-2020/mit18_100af20_basic_analysis.pdf). The sources give affine interpolation and context for uniform control. The stated Lipschitz bound supplies the quantitative error and the explicit midpoint peak attains it.

28

Build an area-correct histogram for bins of different widths

Let the bins have positive widths w_i and observed counts c_i, and let N>0 be the full count. Give bin i a rectangular bar with base w_i and height h_i. If its area is to represent the observed fraction c_i/N, its height must be h_i=c_i/(Nw_i).

This height has units reciprocal to the measurement unit on the horizontal axis, because c_i/N is dimensionless. Each area then has no units and equals the desired fraction. If every observation is assigned to exactly one displayed bin, the bar areas sum to one.

If raw counts c_i are heights, the area becomes c_i w_i. Two bins with equal counts but different widths then have unequal areas. For a probability display with unequal widths, merely rescaling all count heights by one factor generally leaves the relative mass distorted.

Specify the bin boundaries, how shared endpoints are assigned and whether all observations are represented in N. For a union of complete bins, their area sum gives the corresponding observed fraction exactly. The bar shapes alone do not specify where the observations lie within each bin. See [Make a histogram's area represent relative frequency](https://www.itl.nist.gov/div898/handbook/eda/section3/histogra.htm). The handbook gives area-based normalization. The proof checks unequal widths, reciprocal measurement units, and the exact misweighting from raw count heights.

29

Make the base and intercept of a logarithmic plot recoverable

With y=A B^x and A,B>0, choose a fixed base b>1 and positive reference units so the logarithm is taken of a positive numerical value. The identity log_b(A B^x)=log_b A+x log_b B follows from the product and power rules for positive arguments.

The line's intercept is c=log_b A and its slope is m=log_b B in the declared x coordinate. Applying the inverse exponential gives A=b^c and B=b^m. A negative slope corresponds to a factor B between zero and one, and zero slope corresponds to B=1.

For another base d>1, log_d y=(log_b y)/(log_b d). Accordingly both slope and intercept are multiplied by 1/log_b d when the original x coordinate is held fixed. Reconstructing A and B with base d then gives the same original positive values.

A reader needs the base, x units and y reference value to reconstruct the relation from the line. A visual slope in screen pixels also depends on drawing scales. The quantitative claim uses coordinate values on the documented logarithmic axis. See [Logarithm and exponential definitions](https://dlmf.nist.gov/4.2), [Numerical values change with units](https://doi.org/10.59161/AUEZ1291). The scope covers the positive-real log relation and choice of measurement units. The line and inverse formula specify the exact base and reference quantities used here.

30

Check where two drawn segments cross using signed area

Define orient(A,B,X)=det(B−A,X−A). It is an affine function of X, zero exactly on the supporting line through A and B. Its two nonzero signs correspond to the two open half-planes bounded by that line.

Along segment CD this function is the affine interpolation of orient(A,B,C) and orient(A,B,D). If those signs are opposite, there is exactly one interior point where the interpolated value is zero. The analogous statement for A,B relative to CD gives an interior meeting of AB with CD's supporting line.

These two supporting lines are distinct and intersect, so they meet in a unique point. The two interior zeros identify that point inside both segments. Conversely, an interior common point and nonzero endpoint orientations force the two pairs of signs to be opposite by affine interpolation.

When an orientation vanishes, the corresponding endpoint is on the other supporting line. Check its membership in the closed segment itself before claiming an endpoint contact. For collinear segments of positive length, compare their projected closed parameter intervals for overlap, with an additional interior test if that distinction matters. A segment of zero length is a single point whose membership must be checked directly. See [The orientation sign determines a line-side test](https://www.cs.cmu.edu/afs/cs/academic/class/15451-f14/www/lectures/lec22/geometry-with-figures.pdf). The lecture supplies the signed determinant and both opposite-side tests. The lesson proves the interior criterion and separately checks endpoints, overlap and zero-length cases.

31

Explain a binomial identity by two independent routes

Let U and V be disjoint finite sets of sizes m,n. Every k-element subset of their union chooses a unique number i of its elements from U, and the other k−i from V. For that i the number of choices is binom(m,i) binom(n,k−i).

The resulting classes by i are disjoint and exhaustive. Summing over i=0,…,m therefore gives binom(m+n,k), with each binomial coefficient taken as zero if its lower argument is outside its allowed range.

For an algebraic proof extract the coefficient of t^k on both sides of (1+t)^m(1+t)^n=(1+t)^(m+n). On the left it is the sum of products of coefficients of t^i and t^(k−i). On the right it is the single coefficient binom(m+n,k).

The algebraic coefficient formula follows by starting at (1+t)^0=1 and multiplying by 1+t, which advances coefficients by Pascal's recurrence. The subset proof makes the partition of possibilities explicit. The coefficient proof makes the exponents and zero-out-of-range convention directly reusable. See [Count subset choices by a binomial coefficient](https://ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-fall-2010/fd14182dfb1a679eda5cbd38c48c8bb5_MIT6_042JF10_chap11.pdf#page=15). The selected binomial theorem connects subset counts to coefficients. The proof applies this relationship to the distinct contributions of two sets and two polynomial factors.

32

Make cancellations visible with a sign-reversing pairing

Fix an element u of a nonempty finite set S. Pair each subset A with its symmetric difference A△{u}. In elementary terms this operation removes u if it is present and adds it if it is absent.

Toggling twice returns A, so this is an involution. No subset is fixed, since membership of u is reversed. The subsets are partitioned into disjoint pairs.

The sizes in each pair differ by one, so the signs (−1)^|A| of its members are opposite. Each pair contributes zero to the finite sum, and the entire sum is zero.

When S is empty, the only subset is the empty subset with sign (−1)^0=1. The sum is then one. Stating the nonempty condition shows precisely when the displayed pairing can be carried out. See [Count subset choices by a binomial coefficient](https://ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-fall-2010/fd14182dfb1a679eda5cbd38c48c8bb5_MIT6_042JF10_chap11.pdf#page=15), [Fixed objects and orbit counts](https://users.math.msu.edu/users/bsagan/Books/Aoc/GSM210.pdf#page=209). The sources supply subset counts and a general orbit context. The two-element orbits of the explicit toggle have cancelling signs, with a separate empty-set calculation.

33

State a reusable finite summation-by-parts identity

Let n≥1 and let A_k=∑ from j=1 to k of a_j, with A_0=0. Replace a_k in the original weighted sum by A_k−A_(k−1) to express it as the difference of two finite sums.

Shifting the index of the terms involving A_(k−1) gives ∑a_k b_k=A_n b_n+∑ from k=1 to n−1 of A_k(b_k−b_(k+1)). The term involving A_0 disappears and the final index n remains only in the first part.

Suppose |A_k|≤M, and b_1≥b_2≥⋯≥b_n≥0. All coefficients b_n and b_k−b_(k+1) in the formula are nonnegative. Thus the absolute value is at most M times their sum.

That sum telescopes to b_n+(b_1−b_n)=b_1, giving |∑a_k b_k|≤M b_1. The sign and ordering conditions are needed for this particular bound. The finite identity itself holds for every pair of real sequences of the declared length. See [Discrete sums can be reindexed by parts](https://dlmf.nist.gov/2.10). The selected finite identity supplies the summation-by-parts pattern under a different end index. This proof derives its own formula and applies the nonnegative difference bound.

34

Explain an induction through the full range of initial cases

The four consecutive numbers 18,19,20,21 have representations 4+2·7, 3·4+7, 5·4 and 3·7 respectively. These four cases cover all residues modulo four.

For any integer N≥18 there is exactly one r in {18,19,20,21} congruent to N modulo four. Because r is the smallest integer at least eighteen in its residue class, N=r+4q for a nonnegative integer q.

Adding q copies of four to the displayed representation for r yields the required nonnegative coefficients for N. This is also an induction in each residue class, where one application of the step advances the amount by four.

For seventeen, any representation 17=4a+7b would have b between zero and two. Reducing modulo four gives 3b≡1, requiring b≡3 modulo four. The permitted values of b exclude that residue, so the boundary seventeen is impossible. See [Reachability and preserved predicates](https://www.ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-spring-2015/mit6_042js15_textbook2.pdf#page=144), [Strengthen the induction hypothesis to move the hole](https://www.ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-spring-2015/mit6_042js15_textbook2.pdf#page=130). The sources exhibit inductive invariants and a strengthened induction hypothesis. The concrete induction by four supplies all needed residues and the boundary witness.

35

Audit a familiar algebraic analogy before exporting it to matrices

Distributing matrix multiplication without changing order yields (A+B)^2=A^2+AB+BA+B^2. Comparing to the stated scalar-pattern formula leaves the difference BA−AB.

The formula therefore holds exactly when AB=BA. This is sufficient by substitution and necessary by subtracting the common matrix terms. For example, it holds when either matrix is a scalar multiple of the identity.

Let A have a single one at position (1,2) and zeros elsewhere, and let B have a single one at (2,1). Then A²=B²=0, whereas AB has diagonal (1,0) and BA has diagonal (0,1).

For this pair the actual square of A+B is the identity, while the proposed scalar-pattern expression gives diagonal (2,0). Checking which multiplication order is preserved identifies the exact premise required by the analogy. See [A linear map written in a new basis](https://personal.math.ubc.ca/~lior/teaching/2122/223_W22/223-notes.pdf), [Punctuation and prose around mathematical displays](https://sites.math.washington.edu/~lind/Resources/Halmos.pdf). The coordinate-change passage illustrates keeping matrix multiplication order explicit, and Halmos discusses punctuation and the balance between prose and displays. The expansion checks exactly when the two mixed products agree.

36

Record how a rounding order changes an implemented sum

Treat all three inputs 10000, −10000 and 1 as exact representable decimal values. After every addition use the nearest decimal value with three significant digits, retaining exact zero. No tie occurs here, and the available exponent range includes all displayed values.

For the left parenthesization the first exact intermediate sum is 10000+(−10000)=0. Its rounded value is zero, so adding 1 and rounding yields 1.

For the right parenthesization the inner exact result is −9999. Its nearest three-significant-digit value is −10000, since the adjacent −9990 is farther. The outer operation then adds 10000 and −10000 and records zero.

The exact real sum is one regardless of parenthesization. Under the stated rounded operations the two reported results are one and zero. To make such a numerical demonstration reproducible, the record specifies operation order, decimal precision and the point at which rounding is applied. See [Floating-point evaluation can depend on parentheses](https://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html), [A result should carry a record of how it was produced](https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1003285). Goldberg's publication demonstrates a large-cancellation association effect. The local signed decimal example specifies its own precision and operation order for reproduction.

37

Turn a sample precision claim into a reproducible sufficient sample size

Let the independent variables X_1,…,X_n have finite variances, common mean μ and Var(X_i)≤σ². The average X̄ has mean μ by linearity. Independence makes the covariance between distinct terms zero.

Consequently Var(X̄)=n⁻²∑Var(X_i)≤σ²/n. The quantity σ² has squared units of an observation, and averaging leaves the mean in the original measurement units.

Apply Markov's inequality to the nonnegative squared error (X̄−μ)² at threshold ε²>0. This is the Chebyshev bound P(|X̄−μ|≥ε)≤σ²/(nε²). It requires no distribution-specific approximation.

Any positive integer n at least σ²/(δε²) makes the bound at most δ. Rounding upward and requiring at least one observation specifies a reproducible sufficient count, including σ²=0. Other distribution information could give a different sufficient count. See [Chebyshev bounds a sample-average error](https://faculty.washington.edu/yenchic/20A_stat512/Lec3_Expectation.html). The selected proof uses Chebyshev for sample means. The lesson supplies the variance bound for possibly unequal individual variances and solves its sufficient size inequality.

38

Reconcile several interval statements or name a conflicting pair

Write the intervals as I_i=[l_i,u_i], with l_i≤u_i. Let L be the largest l_i and let U be the smallest u_i. Exact extrema exist and are attained because the collection is finite and nonempty.

Membership in every interval is equivalent to satisfying every lower inequality x≥l_i and every upper inequality x≤u_i. This is equivalent to L≤x≤U. For L≤U the intersection is the full closed interval [L,U], a singleton when L=U.

If L>U, choose i with l_i=L and j with u_j=U. Every member of I_i is at least L, and every member of I_j is at most U, so the two intervals are disjoint. Their endpoint values form a complete two-record inconsistency witness.

This argument treats each recorded interval as a set of permitted values for the same scalar in common units. An intersection establishes compatibility among those sets. The procedure supplies no separate evidence about how the original interval bounds were obtained. See [Derived entities and their recorded antecedents](https://www.w3.org/TR/prov-dm/), [Punctuation and prose around mathematical displays](https://sites.math.washington.edu/~lind/Resources/Halmos.pdf). The sources give context on identifiable records and clear mathematical exposition. The two attained extrema give a complete finite compatibility test under the stated interval semantics.

39

Verify consistency of additive differences on a shared network

Fix a finite connected simple undirected graph with at least one vertex. Write d(u,v) for the recorded difference on an oriented edge and require d(v,u)=−d(u,v). A vertex function p realizes the records if p(v)−p(u)=d(u,v) on every edge. Summing such differences around a directed traversal of any simple cycle gives zero by telescoping.

Conversely choose a spanning tree, fix an arbitrary value at its root and propagate values by adding each directed difference along the unique tree path from the root. Adjacent tree paths extend one another along their connecting edge, so the resulting function realizes every tree edge.

For a non-tree edge u→v, follow it and then the unique tree path from v to u. Since the graph is simple, this gives a simple cycle with sum d(u,v)+p(u)−p(v). The assumed zero sum makes the candidate satisfy the non-tree edge. It also shows that checking just these cycles suffices.

Check every signed edge difference after choosing component originsConnected network with one redundant consistent edge; An orange edge does not match the potentials implied by the retained tree edges. A disconnected component has its own origin.Check every signed edge difference after choosing component origins01232-1+14EdgeRecorded dx_v−x_uResidual0→12201→2-1-100→21102→3440Arrow u→v records x_v−x_u=d.Anchored potentials (0, 2, 1, 5).Independent component offsets: 1.
An orange edge does not match the potentials implied by the retained tree edges. A disconnected component has its own origin.

A potential solution requires zero signed sum around every cycle. Along a component tree, choosing one origin determines all other potentials, after which remaining edges supply consistency checks.

Exact additive network certificate
QuantityExact result
Components{0, 1, 2, 3}
Anchored potentials(0, 2, 1, 5)
ConsistentTrue
First residualNone
Free component offsets1
Exact inputs and supporting calculations
Declared inputs
ParameterValue
n4
edges[[0,1,2],[1,2,-1],[0,2,1],[2,3,4]]

If p and q both realize the records, their difference takes the same value at both ends of every edge. Connectedness carries that equality to every vertex, so p and q differ by a single constant. Fixing one anchor value makes the reconstruction unique. See [Edge differences telescope around a closed cycle](https://sinelab.tech.cornell.edu/assets/teaching/ece5260/ece5260-lec05.pdf), [Derived entities and their recorded antecedents](https://www.w3.org/TR/prov-dm/). The network passage explains the zero cycle sum of potential differences. The lesson derives the converse, sufficient fundamental-cycle checks and additive constant ambiguity.

Read exact finite claim, arithmetic and dependency certificates in forms other readers can reproduce.

Negate the statement while retaining variable order

Each row has a witness, but no shared column

Negate each quantifier without switching the choice orderEach row has a witness, but no shared column; An all-zero row witnesses the exact negation. A common column of ones witnesses a different, reversed-order statement.Negate each quantifier without switching the choice orderx \ y01Row witness01001011A cell is 1 exactly when R(x,y) holds.∀x∃y R(x,y): True; exact negation ∃x∀y ¬R(x,y): False.A shared column verifies ∃y∀x R(x,y): False.
An all-zero row witnesses the exact negation. A common column of ones witnesses a different, reversed-order statement.

Negating a universal gives an existential statement and negating an existential gives a universal. Applying both rules keeps x as the first chosen variable.

Exact quantifier verdict
QuantityExact result
∀x∃y R(x,y)True
∃x∀y ¬R(x,y)False
All-zero rows{}
∃y∀x R(x,y)False
All-one columns{}
Exact inputs and supporting calculations
Declared inputs
ParameterValue
R[[1,0],[0,1]]

Show what an exact mod-9 decimal checksum detects

One changed digit is detected

Identify exactly what the mod-9 checksum preservesOne changed digit is detected; Orange cells are edited positions. Leading zeros retain their positions in the record even though they contribute zero to the digit sum.Identify exactly what the mod-9 checksum preservesRecord0123412345123451234612346Mod-9 digit-sum test, contrasted with the manuscript’s mod-11 test.Digit sums 15 → 16; residues 6 → 7.The edit changes this checksum and is detected.For comparison only: mod-11 residues 3 → 4.
Orange cells are edited positions. Leading zeros retain their positions in the record even though they contribute zero to the digit sum.

Since 10≡1 modulo nine, the digit sum preserves the remainder modulo nine. This test cannot certify digit order. The alternating checksum discussed in the manuscript uses 10≡−1 modulo eleven and has different guarantees.

Exact digit-sum check
QuantityExact result
Changed indices (zero-based){4}
Digit sums(15, 16)
Mod-9 residues(6, 7)
Mod-9 detects the editTrue
Comparison mod-11 residues(3, 4)
Exact inputs and supporting calculations
Declared inputs
ParameterValue
a12345
b12346

Translate exact point tests into a polynomial identity certificate

Three exact zeros certify a degree-two identity

Compute exactly what the finite point checks certifyThree exact zeros certify a degree-two identity; The root-count guarantee relies on the stated degree bound and exact evaluations at distinct points.Compute exactly what the finite point checks certifyTest xp(x)−q(x)Value check00Agrees10Agrees20AgreesCertified degree bound d=2.3 distinct roots exceed degree 2: identity proved.A nonzero degree-d polynomial has at most d distinct roots.
The root-count guarantee relies on the stated degree bound and exact evaluations at distinct points.

Use exact residuals rather than rounded approximate agreement. An explicit node polynomial demonstrates why too few matching values leave the identity open.

Exact identity assessment
QuantityExact result
Nonzero witness sampleNone
Number of distinct checked nodes3
VerdictProved
Compatible nonzero residualNot applicable
Exact inputs and supporting calculations
Declared inputs
ParameterValue
d2
samples[[0,0],[1,0],[2,0]]

Check divisibility and a Bézout witness for a gcd claim

Correct gcd with a valid Bézout witness

Verify a positive lower certificate and common divisibilityCorrect gcd with a valid Bézout witness; A common divisor bounds the gcd from below in divisibility order. A Bézout expression makes every common divisor divide the candidate.Verify a positive lower certificate and common divisibilityConditionExact computationPassd divides bothRemainders 0 and 0TrueBézout equality-1·30 + 2·18 = 6TrueClaimed gcd 6; independent Euclidean gcd 6.Both conditions certify the gcd.Common-divisor quotients: 30/6=5; 18/6=3.Euclidean remainders: 30 mod 18=12; 18 mod 12=6; 12 mod 6=0.
A common divisor bounds the gcd from below in divisibility order. A Bézout expression makes every common divisor divide the candidate.

When the proposed positive d divides both inputs and is an integer linear combination, their common divisors are exactly the divisors of d.

Exact gcd evidence
QuantityExact result
Both divisibleTrue
Bézout value6
Certificate validTrue
Independent gcd6
Claimed gcd numerically correctTrue
Exact inputs and supporting calculations
Declared inputs
ParameterValue
a30
b18
d6
u-1
v2
Independent Euclidean algorithm
DividendDivisorRemainder
301812
18126
1260

Check a supplied topological order against all edges

Two valid topological orders

Audit the proposed ordering and check the graph independentlyTwo valid topological orders; Orange arrows violate the supplied order. A failed order by itself does not establish a cycle.Audit the proposed ordering and check the graph independently0123Arrows point from prerequisite to dependent node.Supplied order (1, 0, 2, 3). Accept: True.Every edge points forward in the supplied order.Least topological order: (0, 1, 2, 3).
Orange arrows violate the supplied order. A failed order by itself does not establish a cycle.

At each step choose the smallest node with no remaining predecessors. Success proves acyclicity and gives the lexicographically first order; a nonempty stalled remainder contains a directed cycle.

Exact precedence certificate
QuantityExact result
Supplied order acceptedTrue
First failed edgeNone
Graph acyclicTrue
Least topological order(0, 1, 2, 3)
Exact inputs and supporting calculations
Declared inputs
ParameterValue
n4
edges[[0,2],[1,2],[2,3]]
proposed[1,0,2,3]

Reconstruct consistent vertex potentials from signed edge differences

Connected network with one redundant consistent edge

Check every signed edge difference after choosing component originsConnected network with one redundant consistent edge; An orange edge does not match the potentials implied by the retained tree edges. A disconnected component has its own origin.Check every signed edge difference after choosing component origins01232-1+14EdgeRecorded dx_v−x_uResidual0→12201→2-1-100→21102→3440Arrow u→v records x_v−x_u=d.Anchored potentials (0, 2, 1, 5).Independent component offsets: 1.
An orange edge does not match the potentials implied by the retained tree edges. A disconnected component has its own origin.

A potential solution requires zero signed sum around every cycle. Along a component tree, choosing one origin determines all other potentials, after which remaining edges supply consistency checks.

Exact additive network certificate
QuantityExact result
Components{0, 1, 2, 3}
Anchored potentials(0, 2, 1, 5)
ConsistentTrue
First residualNone
Free component offsets1
Exact inputs and supporting calculations
Declared inputs
ParameterValue
n4
edges[[0,1,2],[1,2,-1],[0,2,1],[2,3,4]]

Worked examples

Choose one reproducible threshold over a finite catalog

Three tests become true at integer thresholds two, five and four and stay true afterward. Find the least single nonnegative integer meeting all three and specify who chooses the threshold.

  1. The three possible threshold conditions are k≥2, k≥5 and k≥4. Each describes the entire set of integer values for which its corresponding test holds.
  2. The maximum of the three thresholds is five. At k=5 all three inequalities hold, and upward stability makes all larger k work as well.
  3. Every nonnegative integer below five fails the second test. This proves both that five works and that it is the least such integer.
  4. The uniform statement chooses k=5 before choosing a test to inspect. The separate thresholds can remain in the documentation as evidence that the shared choice satisfies each row.

Five is the least threshold meeting all three tests, and the same number is chosen before an individual test.

Solve a congruence without canceling away valid answers

Solve 18x≡12 modulo thirty. Derive the reduced equation, find its full residue class and enumerate the solutions from zero through twenty-nine.

  1. The original congruence means thirty divides 18x−12=6(3x−2). Dividing this divisibility condition by six gives the equivalent congruence 3x≡2 modulo five.
  2. The inverse of three modulo five is two, since 3·2≡1. Multiplying by two gives x≡4 modulo five. Direct substitution shows that every x in that class satisfies the reduced congruence.
  3. In the interval from zero through twenty-nine, the representatives are 4,9,14,19,24,29. They are all the numbers there that differ from four by a multiple of five.
  4. For x=4+5j, the difference 18x−12=60+90j is divisible by thirty, confirming the original condition for the whole class. The reduction changed the modulus so it retained all six original residue choices.

The full solution is x≡4 modulo five. The representatives in the requested interval are 4,9,14,19,24,29.

Compute a speed with a checked denominator margin

A distance estimate is 170 metres with error at most 2 metres. The time estimate is 40 seconds with error at most 1 second. Compute the reported speed, a certified absolute error and the exact range over the stated box of distances and times.

  1. The reported ratio is 170/40=17/4 metres per second. The admissible time is in [39,41] seconds, so all true speeds are defined. The denominator margin from the estimates is 40−1=39 seconds.
  2. The certified absolute error is at most (2+(17/4)·1)/39=25/156 metres per second. Both numerator terms are measured in metres before division by the time margin.
  3. The distance ranges over [168,172] metres. For each allowed positive time the speed increases with distance, and for each allowed positive distance it decreases with time. With all pairs in this box admissible, the exact extrema are 168/41 and 172/39 metres per second.
  4. The ratio is continuous on the allowed box and takes every value between those extrema along the line joining the two extremizing pairs. The deviations from 17/4 are 25/164 downward and 25/156 upward, so here the absolute-error bound is attained.

The reported speed is 17/4 metres per second. The absolute error is at most 25/156 metres per second, and the exact range is [168/41,172/39] metres per second.

Compare a propagated tolerance with the actual discrepancy

Use exact maps f_1(x)=2x and f_2(x)=−3x, and approximations g_1(x)=2x+0.02 and g_2(x)=−3x+0.05. Start the exact chain at 3 and the approximate chain at 3.01. Derive the two error bounds and calculate the actual output discrepancy.

  1. The exact maps have Lipschitz constants 2 and 3 on the reals. The approximate maps differ from them uniformly by 0.02 and 0.05. The initial discrepancy is exactly 0.01.
  2. At stage one the bound is 2·0.01+0.02=0.04. At stage two the bound is 3·0.04+0.05=0.17. Both bounds use the same real-valued magnitude convention.
  3. The exact trajectory goes from 3 to 6 and then to −18. The approximate trajectory goes from 3.01 to 6.04 and then to −18.07. The actual output discrepancy is 0.07.
  4. The comparison checks that 0.07 lies within 0.17. At the second stage the map reverses direction and the added 0.05 partly offsets the propagated displacement, which explains why the universal sum of magnitudes can be larger.

The error bounds after the two stages are 0.04 and 0.17. The actual final discrepancy is 0.07.

Decode a string and exhibit a competing ambiguous convention

Use A↦0, B↦10, C↦11 to decode 010110. Describe the stopping check and compare with the two readings of 01 using the different codewords 0,01,1.

  1. The leading 0 is A. The next unread bit is 1, which cannot terminate a codeword by itself under this convention. Reading the next bit gives 10, the codeword B.
  2. The remaining suffix is 110. Its initial word is 11, which gives C, and its final 0 gives A. The complete parsing is 0|10|11|0 and the decoded message is ABCA.
  3. All six input bits have been consumed, and every stop occurred at a codeword boundary. Prefix freedom ensures that selecting any of those words cannot obscure a longer codeword starting at the same point.
  4. In the second convention, 01 is available as one symbol's word and is also the concatenation 0|1 of two other symbols. The exact same two bits then allow two decodings under that second convention.

The decoding is ABCA with boundaries 0|10|11|0. With the second code, 01 can be one word or the pair 0|1.

Determine a unique integer from the documented domain and residues

A record is an integer in [100,176] and has residues 3 modulo seven and 9 modulo eleven. Reconstruct the integer, then show how enlarging the range to [100,185] changes the uniqueness claim.

  1. The residue modulo seven allows the form x=3+7k for an integer k. The other residue gives 7k≡6 modulo eleven. Since 7·8≡1 modulo eleven, this becomes k≡4 modulo eleven.
  2. Substitute k=4+11j to get x=31+77j. Both congruences are verified by this expression. For x between 100 and 176 the only such value is 108, obtained by j=1.
  3. The range width 176−100=76 is less than 77, which also proves that two different members of the congruence class cannot lie in this range. The reconstructed value satisfies both given comparisons.
  4. When the upper endpoint is extended to 185, the value with j=2 is admitted as well. Both 108 and 185 have the required residues, and their difference of 77 certifies exactly why the larger interval loses uniqueness.

In [100,176] the unique record is 108. Extending the range to [100,185] also admits 185.

Check a candidate solution with an approximate inverse

Let A have rows (2,0),(1,1), B have rows (1/2,0),(−1/2,3/4), b=(4,3) and x̂=(1.9,1.12). In the infinity norm compute I−BA, the residual and both error bounds. Check by solving the exact system.

  1. The product BA has rows (1,0) and (−1/4,3/4). Hence I−BA has rows (0,0) and (1/4,1/4), whose largest absolute row sum is 1/2. The largest absolute row sum of B is 5/4.
  2. The candidate gives A x̂=(3.8,3.02), so the residual r=b−A x̂=(0.2,−0.02) has infinity norm 0.2. Multiplying by B gives Br=(0.1,−0.115), of infinity norm 0.115.
  3. The transformed-residual bound is 0.115/(1−1/2)=0.23. The separate-norm bound is (5/4)·0.2/(1−1/2)=0.5. The first records the action on this residual and is tighter here.
  4. Solving the first equation gives x_1=2 and the second gives x_2=1. Thus the exact difference x−x̂ is (0.1,−0.12), with infinity norm 0.12, satisfying both independently derived bounds.

The infinity norm of I−BA is 1/2. The residual is (0.2,−0.02), the bounds are 0.23 and 0.5, and the true infinity-norm error is 0.12.

Certify a path despite a negative edge

Use edges s→a of cost 2, s→b of cost 5, a→b of cost −1, a→t of cost 4, b→t of cost 2 and s→t of cost 7. Verify the potential p(s)=0,p(a)=2,p(b)=1,p(t)=3 and use it to prove the displayed walk s→a→b→t is shortest.

  1. The potential differences on s→a, s→b and a→b are 2,1 and −1. Their corresponding costs are 2,5 and −1, so all three potential inequalities hold.
  2. On a→t, b→t and s→t the potential differences are 1,2 and 3, and their costs are 4,2 and 7. These exhaust the edges of the specified graph, so every s-to-t walk has cost at least p(t)−p(s)=3.
  3. On s→a→b→t the actual costs add to 2+(−1)+2=3. The walk uses only listed edges and attains the potential lower bound.
  4. The checked inequalities and attaining route prove shortestness in this graph. The negative edge from a to b has an exactly matching negative potential difference, so no step of the certificate requires its cost to be nonnegative.

All six potential inequalities hold, giving lower bound three. The displayed walk has cost three and is shortest.

Expose the effect of differing group sizes on success rates

For collection A use strata of 9 successes in 10 and 20 in 100. For B use 80 in 100 and 1 in 10 in the corresponding strata. Compare each stratum, both pooled rates and the rates using two common equal stratum weights.

  1. In the first stratum A has rate 9/10 and B has 80/100=4/5. In the second, A has 20/100=1/5 and B has 1/10. Each stratum favors A by one tenth.
  2. With each collection's own denominators, A has 9+20=29 successes among 110 and B has 80+1=81 among 110. The pooled comparison therefore favors B.
  3. Apply weight one half to each stratum in both collections. Collection A then has rate (9/10+1/5)/2=11/20, while B has (4/5+1/10)/2=9/20. With these weights the comparison favors A.
  4. The data table remains the same in all three comparisons. The pooled rates use each collection's own stratum composition. The standardized rates use a shared composition, so a report should attach the weights to the conclusion it states.

A leads in both strata, B leads in the pooled comparison 81/110 to 29/110, and the two common equal weights yield 11/20 for A and 9/20 for B.

Recover probability mass from bars of unequal widths

Use bins [0,1), [1,3) and [3,7), with counts 5,10,5. Compute the probability-density heights in reciprocal measurement units, the combined mass of the last two bins and the areas resulting from using raw counts as heights.

  1. The widths are 1,2 and 4 measurement units, and the full count is 20. The observed bin fractions are 1/4,1/2 and 1/4 in that order.
  2. Dividing each fraction by its bin width yields heights 1/4,1/4 and 1/16 in reciprocal measurement units. The second bar has twice the width of the first and the same height, so its area is twice as large.
  3. The last two bins together have mass 1/2+1/4=3/4, which is also the observed fraction 15/20. The bin convention makes them a disjoint union that includes the shared endpoint three only in the third bin.
  4. If raw counts were heights, the bar areas would be 5·1=5, 10·2=20 and 5·4=20. Their fractions of the combined area would be 1/9,4/9 and 4/9, which differ from the observed mass fractions.

The heights are 1/4,1/4,1/16 in reciprocal measurement units. The last two bins contain 3/4 of the mass, and count heights would give areas 5,20,20.

Explain a crossing with an exact coordinate certificate

Use A=(0,0), B=(4,0), C=(1,−1), D=(3,1). Compute the four orientations in the opposite-side test and find the crossing point using the line parameters.

  1. The direction B−A is (4,0). The determinants with C−A=(1,−1) and D−A=(3,1) are respectively −4 and 4, so C and D lie on opposite sides of the line through AB.
  2. The direction D−C is (2,2). Using A−C=(−1,1) gives determinant 4, and using B−C=(3,1) gives −4. The other opposite-side test also holds.
  3. A point on CD has coordinates (1+2t,−1+2t). Its second coordinate is zero exactly at t=1/2, and the point is (2,0). On AB this is the parameter value one half in (4s,0).
  4. Both parameter values are strictly between zero and one. The sign computations and the exact point agree that the two segments meet in their interiors, independently of the appearance of a sketch.

The four orientations are −4,4,4,−4, and the segments meet at the interior point (2,0).

Reconcile four offset records in a common reference

Use oriented differences A→B=2, B→C=−1, C→D=4, A→D=5, and anchor the value at A to zero. Recover the four values and give an exact contradiction for replacing only the last difference by six.

  1. With A anchored at zero, the edge A→B sets the value of B to two. The edge B→C subtracts one, giving one at C. The edge C→D adds four, giving five at D.
  2. These three constraints are the equations along a spanning tree. The remaining edge A→D requires p(D)−p(A)=5, which the candidate values satisfy. All four differences are therefore consistent under the chosen anchor.
  3. If the last recorded difference is changed to six, the first three still require p(D)=5. The two asserted differences between A and D then conflict even though the other records are unchanged.
  4. Following A→D, then D→C→B→A gives the oriented cycle sum 6−4+1−2=1 after the change. A realized set of differences would have zero cycle sum, so this nonzero sum is a compact inconsistency witness.

The anchored values are (0,2,1,5) at A,B,C,D. Changing the last difference to six gives an oriented cycle sum of one.

Try it yourself

  1. For rows 1,2,3 and columns a,b let the truth values be (true,false), (false,false), (false,true). Determine whether every row contains a true cell. Give the exact witness to its negation and distinguish it from a single false cell.

    Show the answer and reasoning

    Row two is a witness to the exact negation because its entries are false for both declared columns.

    Row one has a true entry in column a and row three has a true entry in column b. Both of those rows satisfy the inner existence statement, even though each also contains one false cell. Row two has false entries in both columns. The inner assertion that some column works is false for this fixed row. Thus the original universal statement fails. Row two witnesses the negation because for every y in the declared two-column set, R(2,y) is false. For example, the false cell at row one, column b does not refute the original claim for row one, because column a supplies its witness. The required counterexample keeps the selected row fixed and checks all its columns.

  2. Given y=2x+3, x′=5x+1 and y′=2y−4, express y′ as a function of x′ and convert the condition y≥11 into thresholds on y′ and x′.

    Show the answer and reasoning

    The new relation is y′=(4/5)x′+6/5. The thresholds are y′≥18 and x′≥21.

    From x′=5x+1, solve x=(x′−1)/5. Substituting the original calibration into y′=2y−4 gives y′=2(2x+3)−4=4x+2. Insert the expression for x to obtain y′=(4/5)x′+6/5. This is the new affine law in the declared numerical coordinates. The rule y≥11 becomes y′≥2·11−4=18, since the positive factor preserves order. In the old calibration y≥11 is equivalent to 2x+3≥11, or x≥4. That last inequality becomes x′≥5·4+1=21. As a cross-check the new affine law gives y′=18 at x′=21 and has positive slope, so it gives the same inequality direction.

  3. Use x∈[1,3] and z∈[−1,2] independently. Compute the exact range of 2x−5z+3. Compare the exact range of x−x+z with the range that results when the two occurrences of x are incorrectly treated as independent.

    Show the answer and reasoning

    The first range is [−5,14]. The repeated-input expression has range [−1,2], and the modified independent-input range is [−3,4].

    The coefficient of x is positive and the coefficient of z is negative. The minimum therefore uses x=1 and z=2, giving 2−10+3=−5. The maximum uses x=3 and z=−1, giving 6+5+3=14. All intermediate values occur along the segment between those endpoint pairs, so the exact range is [−5,14]. In x−x+z the two occurrences of x are the same value. Their cancellation leaves z, and the exact range is [−1,2]. If independent x and x′ both in [1,3] were used in x−x′+z, their difference could range from −2 to 2. The resulting interval [−3,4] describes that modified problem with the equality constraint removed.

  4. Round to a tenth with half ties upward. Use the three exact values 0.04, 0.04 and 0.04 to compare summing rounded inputs with rounding the exact sum, and check the bounds for each process.

    Show the answer and reasoning

    The two displayed totals are zero and 0.1. Their absolute errors 0.12 and 0.02 satisfy the respective bounds 0.15 and 0.05.

    Each 0.04 is closer to 0.0 than to 0.1, so individually rounding the three values produces three zeros. Their displayed sum is zero. The exact sum is 0.12. Its nearest tenth is 0.1, so adding the exact amounts first and rounding once gives 0.1. No half tie enters either calculation. The first process has absolute error 0.12, which is below the three-term bound 3·0.05=0.15. The second has absolute error 0.02, below 0.05. Both computations obey the same per-rounding rule. The different results follow from which quantities are rounded and at which step. Recording that operation order lets a reader reproduce either total.

  5. For vertices 1,2,3,4,5, use records (3,1), (4,2), (1,3), (3,4) as descriptions of an undirected graph. Flag the repeated edge, form the canonical simple edge list and identify the isolated vertex.

    Show the answer and reasoning

    The repeated edge is (1,3). The list is (1,3),(2,4),(3,4), with vertex five isolated.

    Order the endpoints of each record according to 1<2<3<4<5. The records become (1,3), (2,4), (1,3) and (3,4) in their input order. The first and third normalized records describe the same set of endpoints. In a simple graph they represent a repeated description of one edge. After carrying that duplicate flag, the lexicographically sorted distinct edge list is (1,3), (2,4), (3,4). Each of the labels one through four appears in at least one edge. Vertex five is isolated because it is in the explicit vertex list and in none of the edges. A reader with only the sorted edges could recover the nonisolated part and would miss that vertex.

  6. Compute the decimal remainders modulo eleven of 3142, 3252 and 3412. Explain why the change from the first to the second can pass that check and identify the swap made in the third.

    Show the answer and reasoning

    The remainders are seven, seven and two. The first change collides, and the second swaps the adjacent unequal middle digits.

    Index positions from the right, so the alternating digit sum for 3142 is 2−4+1−3=−4. Reducing modulo eleven gives remainder seven. For 3252 the sum is 2−5+2−3=−4 as well. The two middle digits changed from 1,4 to 2,5. Their contributions cancel under the alternating signs. For 3412 the sum is 2−1+4−3=2, giving remainder two. The middle digits 1 and 4 of the first record were swapped, and they occupy adjacent positions. This gives one exact collision for a two-position change and one detected unequal adjacent swap. The fixed digit length and the operation defining the check are common to all three records.

  7. For 84 and 30 show that 6 divides both and express 6 as an integer combination. Explain why every common divisor must divide the displayed result.

    Show the answer and reasoning

    The divisor six is certified by 84=14·6, 30=5·6 and 6=3·30−84.

    The equalities 84=14·6 and 30=5·6 show that six is a positive common divisor. The integer quotients verify both required divisibility checks. The same d also has the exact expression 6=3·30−84. The coefficients are minus one on 84 and three on 30. Any common divisor divides both terms in that expression and therefore divides six. Every positive common divisor is at most six. Combining the displayed divisibilities and the integer combination certifies gcd(84,30)=6. The certificate is verifiable directly from three small integer equalities.

  8. Use A=(1,0) as a row and B=(1,0) as a column. Compute both products with their dimensions and explain which conclusion from the square case fails.

    Show the answer and reasoning

    AB is I_1, and BA is the two-by-two matrix with diagonal (1,0) and zero off-diagonal entries.

    The matrix A has shape one by two and B has shape two by one. In the product AB the single entry is 1·1+0·0=1. Thus AB is I_1. Reversing the factors gives a two-by-two product whose first row is (1,0) and second row is (0,0). That second product sends the nonzero vector (0,1) to zero. It therefore differs from I_2, which keeps that vector. The map B has an inverse on its one-dimensional image as witnessed by AB. Its codomain is two-dimensional, so injectivity of B cannot give the surjectivity used in the square proof.

  9. For edges A→C, B→C, C→D and B→E, verify the order B,A,E,C,D and list the precise violated constraints in A,C,B,D,E.

    Show the answer and reasoning

    The first order passes all four constraints. The second violates precisely B→C.

    For the proposed order B,A,E,C,D, the positions of B,A,E,C,D are 1,2,3,4,5. The pairs of endpoint positions for A→C, B→C, C→D and B→E are (2,4), (1,4), (4,5) and (1,3). Every pair increases, and each of the five vertices occurs exactly once. This gives a complete check that the first order is valid for the declared edge list. For A,C,B,D,E the positions are A=1,C=2,B=3,D=4,E=5. The corresponding edge pairs are (1,2), (3,2), (2,4) and (3,5). Only the second pair fails to increase. The exactly violated constraint is B→C, which requires B to appear before C.

  10. Let L feed P and Q, P and Q feed R, R feed S, and U feed T, with no other edges. Only Q is edited. Name all recorded items whose checks could be affected and the unaffected items whose values remain the same under the stated model.

    Show the answer and reasoning

    The affected set is {Q,R,S}. The fixed items are L,P,U,T under the stated complete dependency model.

    The edited record Q is in the affected set by definition. It has a directed route to R, and continuing from R reaches S. No edge from Q, R or S leads to any remaining vertex in the given graph. The forward reachability set including the edit is exactly {Q,R,S}. The values of R and S may depend on the change. The remaining items are L,P,U,T. The unchanged inputs L and U still supply the original values. P uses L and T uses U, so their unchanged deterministic computations give the original outputs. The two edges out of L do not cause the edit at Q to travel back to L or sideways to P. This conclusion uses the directions and completeness of the declared dependency edges.

  11. Let record zero verify a rule with no prerequisites. Each record from one to five references the previous record twice. Count the distinct records and copies of record zero in the fully expanded tree, then show which information justifies one check per distinct record.

    Show the answer and reasoning

    There are six stored records and 32 occurrences of record zero in the expansion, with every reference bound to the same record content and context.

    There are six named records, zero through five. Each positive level has two references to the one record immediately below it in the declared transcript. Expanding both references separately doubles the number of copies of record zero at each level. Starting from one at level zero, level five contains 2^5=32 such copies. For one check per named record, keep each premise reference bound to the same exact record content and assumptions. Check record zero as a premise-free step, then check each local inference with its named premises. Induction on the level shows that the validity decision for a copied occurrence is identical each time the same bound record occurs. The shorter check uses the proof dependency graph and the declared local inference rules.

  12. One block of two observations has mean seven and another block of eight has mean four. Find the full total and full mean, and compare the equally weighted mean of the two means.

    Show the answer and reasoning

    The full total is forty-six, the pooled mean is 23/5, and the equally weighted block mean is 11/2.

    The first block has total 2·7=14 and the second has total 8·4=32. Their counts add to ten and their totals add to forty-six. The full mean is 46/10=23/5. Equivalently, use weights 2/10 and 8/10 on the block means to obtain the same number. An equally weighted mean of seven and four is 11/2. This differs from 23/5 because it gives each block one half of the contribution regardless of size. The pooled mean answers a question about all ten observations, giving each observation equal weight. The equally weighted block mean instead makes a choice to give each block equal weight.

  13. Three reported assertions have failure probabilities at most 1/20, 1/25 and 1/50. Give the guaranteed probability all hold and build a finite example attaining that guarantee.

    Show the answer and reasoning

    The simultaneous lower bound is 89/100 and is attained by disjoint failure sets of sizes five, four and two on one hundred equal outcomes.

    Write the three failure bounds with common denominator one hundred as 5/100, 4/100 and 2/100. Their sum is 11/100. The union of failures has probability at most that sum. The probability all assertions hold is therefore at least 89/100. For a matching example take one hundred equally likely outcomes. Declare the three failure sets to be outcomes one through five, six through nine and ten through eleven. The failure sets are disjoint and have exactly the given probabilities. Their union has eleven outcomes, so eighty-nine outcomes satisfy all three assertions. The guarantee is attained without using an independence premise.

  14. Let f:[0,4]→ℝ be 3/2-Lipschitz with f(0)=f(4)=2. Compare the generic interpolation error bound at x=1 with the bound obtained directly from the nearer endpoint. Give an explicit function attaining the tighter bound.

    Show the answer and reasoning

    The generic bound is 9/4 and the direct bound is 3/2, attained by f(x)=2+(3/2)min{x,4−x}.

    The endpoint values coincide, so the straight-line interpolant is the constant two. For x=1, the relative location is t=1/4 and the interval length is four. The generic bound is 2·(3/2)·4·(1/4)·(3/4)=9/4. Directly from the nearer endpoint, |f(1)−2|≤(3/2)|1−0|=3/2. The function f(x)=2+(3/2)min{x,4−x} fits both endpoints. Since the minimum here is 2−|x−2|, the reverse triangle inequality shows it is 3/2-Lipschitz. At x=1 that function equals 2+3/2, attaining the tighter bound. Equal endpoint values make the chord equal to the nearer endpoint value throughout the interval. The Lipschitz bound then controls its difference from f at x=1.

  15. For y=3·2^x calculate the slope and intercept using logarithms to bases two and ten. Reconstruct y at x=4 from the base-two line.

    Show the answer and reasoning

    The base-two line has slope one and intercept log_2 3. Base ten gives slope log_10 2 and intercept log_10 3. The original value at x=4 is 48.

    Using base two, log_2 y=log_2 3+x. The intercept is log_2 3 and the slope in the specified x coordinate is one. Using base ten, log_10 y=log_10 3+x log_10 2. This line has intercept log_10 3 and slope log_10 2, with the underlying x coordinate unchanged. In the base-two plot at x=4 the vertical value is log_2 3+4. Reverse the axis transform by exponentiating with base two to recover 2^(log_2 3+4)=3·16=48. The slopes differ by the known change-of-base factor, and the reconstructed original values agree. Keeping the base in the axis label determines which inverse to apply.

  16. Use a=(2,−1,3), b=(5,3,1). Compute the sum of termwise products directly and by the partial-sum formula, with all three prefix totals.

    Show the answer and reasoning

    The prefix totals are (2,1,4), and both methods give ten.

    The direct sum is 2·5+(−1)·3+3·1=10−3+3=10. The term order agrees with the declared positions one through three. The prefix totals of a are A_1=2, A_2=1 and A_3=4. The consecutive differences in b are b_1−b_2=2 and b_2−b_3=2. The summation-by-parts expression gives A_3b_3+A_1(b_1−b_2)+A_2(b_2−b_3)=4·1+2·2+1·2=10. The first term uses the final prefix and the final b value. The two difference terms stop before that final index. The direct and transformed records then give the same quantity.

  17. Use independent observations with a common mean, variance at most four, tolerance one half and error probability at most one twentieth. Find a sufficient positive integer sample size from the proved bound.

    Show the answer and reasoning

    A sample size of 320 suffices under the stated variance and independence conditions.

    Use σ²=4 and ε=1/2. The sample-average variance is at most 4/n under the stated independence, and the square of the tolerance is 1/4. The bound on the chance of error at least one half is 4/(n·(1/4))=16/n. Requiring this bound to be at most 1/20 gives n≥320. The value n=320 is a positive integer and yields the desired bound 16/320=1/20. Larger n also satisfy the same sufficient condition. The number is sufficient from this particular variance argument. It is the least integer meeting the displayed bound, while a particular distribution could achieve the desired error probability with a smaller sample.

  18. Intersect [1,4], [2,5] and [3,6]. Add [0,5/2], check the new intersection and identify a specific pair whose intervals are incompatible.

    Show the answer and reasoning

    The original intersection is [3,4]. The added interval yields an empty intersection, witnessed by [3,6] and [0,5/2].

    For the original three intervals the largest lower endpoint is three and the smallest upper endpoint is four. The exact common intersection is [3,4]. The new interval [0,5/2] leaves the largest lower endpoint equal to three and reduces the smallest upper endpoint to 5/2. The condition 3≤x≤5/2 is impossible, so the four intervals have empty intersection. The exact endpoints make that failure directly visible. In particular [3,6] and [0,5/2] are disjoint. They are a two-interval witness of the incompatibility, independent of the other two intervals in the record.

What to carry forward

  • Define the chosen quantities and their order so a reader knows exactly what counts as a witness or counterexample.
  • Units, offsets, admissible inputs and tolerance margins form part of the reported numerical claim.
  • Unique keys and a complete inventory allow a table to be reconstructed independently of display order.
  • A mathematical certificate ties its reported conclusion to a finite set of checkable conditions and a proof that they suffice.
  • A faithful dependency record supports reusing an unchanged result when every relevant input and rule is unchanged.
  • Report group counts, axis scales and bin units alongside their summaries so a visual or aggregate result can be reproduced.
  • Alternative proofs can reveal different structures, while an explicit invariant or exact reindexing makes the shared assertion identifiable.
  • Finite intersection and cycle-sum checks turn a suspected disagreement into a specific inconsistency witness.

References

Sources for the concepts and teaching approaches in this article.

  1. Punctuation and prose around mathematical displaysPaul R. HalmosPrimary · PDFsites.math.washington.eduRead source
  2. A result should carry a record of how it was producedGeir Kjetil Sandve, Anton Nekrutenko, James Taylor and Eivind HovigPrimaryjournals.plos.orgRead source
  3. Derived entities and their recorded antecedentsWorld Wide Web ConsortiumPrimaryw3.orgRead source
  4. Eric Lehman, F. Thomson Leighton and Albert R. Meyer2 sources
    1. Mathematics for Computer Science, Chapter 1, Propositions, §§1.3.6–1.3.8, selected passages, pp. 18–19.Eric Lehman, F. Thomson Leighton and Albert R. MeyerPrimary · PDFQuantifier order and the form of a negationAn integer combination gives the greatest common divisorCount subset choices by a binomial coefficientAdd failure bounds on the same outcome spaceocw.mit.edu
    2. Mathematics for Computer Science, Well-ordering discussion and floor conventionEric Lehman, F. Thomson Leighton and Albert R. MeyerPrimary · PDFRound down to the lower integerReachability and preserved predicatesStrengthen the induction hypothesis to move the holeocw.mit.edu
  5. A prefix tree gives unambiguous code boundariesL. Peter DeutschPrimaryrfc-editor.orgRead source
  6. A group of fields can serve as one record keyPostgreSQL Global Development GroupPrimarypostgresql.orgRead source
  7. National Institute of Standards and Technology (NIST)2 sources
    1. Linear Algebra, Numerical Methods, §3.2(iii), induced p-norm and equations 3.2.16–3.2.17.NIST Digital Library of Mathematical FunctionsPrimaryUse a measured residual with an operator normDiscrete sums can be reindexed by partsLogarithm and exponential definitionsdlmf.nist.gov
    2. Make a histogram's area represent relative frequencyNIST and SEMATECHPrimaryitl.nist.govRead source
  8. Massachusetts Institute of Technology2 sources
    1. A shortest path has a potential-based lower boundMIT 6.854 Advanced AlgorithmsPrimarycourses.csail.mit.eduRead source
    2. Amplitude quantization on a finite scaleMIT 6.003 course staffPrimary · PDFocw.mit.eduRead source
  9. Check precedence through a topological orderCornell University CS 3110Primarycs.cornell.eduRead source
  10. Pooled and stratum-specific comparisonsJudea PearlPrimary · PDFbayes.cs.ucla.eduRead source
  11. The orientation sign determines a line-side testDanny SleatorPrimary · PDFcs.cmu.eduRead source
  12. Floating-point evaluation can depend on parenthesesDavid GoldbergPrimarydocs.oracle.comRead source
  13. Chebyshev bounds a sample-average errorYen-Chi ChenPrimaryfaculty.washington.eduRead source
  14. Edge differences telescope around a closed cycleAnna ScaglionePrimary · PDFsinelab.tech.cornell.eduRead source
  15. Finite polynomial agreement and degreeLinus SetiabrataPrimary · PDFmath.mit.eduRead source
  16. The role of uniformity and continuityJiří LeblPrimary · PDFlive.ocw.mit.eduRead source
  17. Numerical values change with unitsBureau International des Poids et MesuresPrimarydoi.orgRead source
  18. Norm definitions and finite-dimensional comparisonStephen Boyd and Lieven VandenberghePrimary · PDFweb.stanford.eduRead source
  19. A linear map written in a new basisLior SilbermanPrimary · PDFpersonal.math.ubc.caRead source
  20. Fixed objects and orbit countsBruce E. SaganPrimary · PDFusers.math.msu.eduRead source
  21. Nearest-site regions and affine interpolationStanford CS205A course notesPrimary · PDFgraphics.stanford.eduRead source
  22. A counterexample can identify the needed repairImre LakatosPrimary · PDFpi.math.cornell.eduRead source
  23. A node polynomial that vanishes on a fixed data setBiswarup BiswasPrimarybiswarupbiswas.github.ioRead source