Contrapositive Created 2026-10-03 Updated 2026-10-25
The contrapositive of a logical implication reverses the direction and applies logical negation to both sides: . In classical propositional logic they are equivalent, so either can be proved in place of the other. The contrapositive of “divisibility by four implies being an even number” says that a number that is not an even number cannot be divisible by four.
In Intuitionistic propositional logic, still implies its contrapositive: assumptions and would yield and hence a contradiction. The reverse direction is not generally valid. From and , one obtains only ; obtaining additionally requires double-negation elimination.
Converse implication 2026-10-14
The converse implication of is . It exchanges hypothesis and conclusion without logical negation. It need not follow from the original logical implication: is an even number but is not divisible by four. Thus “being an even number implies divisibility by four” is false, although the original implication holds for all natural numbers. Proving both directions establishes an “if and only if” statement; proving a contrapositive establishes the original implication classically, without establishing its converse implication.
We prove the polynomial nonvanishing below the field size by mathematical induction on . The case is the Lagrange root bound over a field: a nonzero polynomial of degree below cannot have all elements of as roots.
For the induction step, suppose that vanishes on all of and write
The upper limit is valid because the total degree of a polynomial is less than . Fixing the first variables produces a univariate polynomial of degree below which vanishes at every . It is therefore the zero polynomial, so every vanishes on all of . Each also has total degree below , and the induction hypothesis gives for every . Thus .
Taking the contrapositive, every nonzero such has some for which
It is useful to prove the contrapositive. Suppose is a peak of a sequence and is a peak of a sequence . The second condition says for every . Hence
Only finitely many earlier terms remain, and their absolute values have a finite maximum. Together these give a bound for every term, so is a bounded sequence. Consequently,
If the three vectors lie in one plane through the origin and are independent, their cross product is a normal vector to that plane, so its dot product with is zero. If are dependent, their cross product is already zero. Thus coplanarity always forces the scalar triple product to vanish.
Taking the contrapositive proves that a nonzero scalar triple product rules out coplanarity. Geometrically its absolute value is the nonzero volume of the spanned parallelepiped.
Scientific confirmation is evidential support rather than deductive proof. Two distinct problems concern, first, what counts as relevant positive evidence and, second, which part of a tested theoretical package that evidence supports. A defensible response makes background information and the production of evidence explicit. The following two problems are independent: resolving the logical puzzle about positive instances does not eliminate ambiguity about auxiliary hypotheses.
Problem one: the raven paradox. Write the hypothesis as
where means “is a raven” and “is black”. Its contrapositive is
The hypotheses are logically equivalent. A plausible equivalence principle says that identical information must support them equally. A plausible instance principle says that an observed that is confirms “every is ”. Combining the principles makes a nonblack nonraven, such as a white shoe, support the raven hypothesis. That conflicts with the intuition that inspecting shoes tells us nothing about ravens. Hempel develops the puzzle in his analysis of instance-based scientific confirmation.[ref]
My preferred response retains logical equivalence while rejecting an unconditional instance rule. By Bayes' theorem, for evidence , background and positive relevant probabilities,
An instance's bearing depends on how likely it was under the competing possibilities, including how the object was selected. No rule depending only on the grammatical form of an instance can settle that comparison. Branden Fitelson and James Hawthorne analyse the role of background assumptions and Bayesian confirmation in this puzzle.[ref]
Here is an explicit illustrative model. There are 100 labelled objects: ten known ravens and ninety known nonravens. Under all ten ravens are black; under the sole alternative , exactly one of the ten is nonblack, with its identity uniformly distributed. Nonraven colours are already known and identical under both possibilities, and the prior probabilities of are equal. Selecting a known white shoe according to a rule independent of has the same likelihood under each, so the posterior probability of stays . A uniformly selected raven, however, is black with probability under and under . After observing it to be black,
If sampling is instead from known nonblack objects whose membership is uncertain, discovering a nonraven can rule out a possible counterexample and provide support. There is no context-independent prohibition on support from a nonraven. The response explains both the familiar irrelevance intuition and why it is not universally correct. Its limit is that the prior probabilities and sampling assumptions need independent defence; the calculation is a transparent model, not a theorem that all shoes are irrelevant.
Problem two: the Duhem problem of testing a package. Suppose the target hypothesis and auxiliary hypotheses jointly imply an outcome :
A failure gives , equivalently , rather than alone. Success also does not establish either premise: that would affirm the consequent. Pierre Duhem's point is especially pressing for physical experiments whose predictions require theories of the apparatus as well as the target system.[ref]
My preferred response combines independent calibration, deliberately varied tests and explicit comparison of packages. For a simple model, suppose a detector has independently calibrated false-positive probability and detection efficiency . A target predicts a signal on each trial with probability . Then the positive-output probability is
Under a no-signal rival it is . If , , and , then . One positive reading supplies a Bayes factor of for the specified target package against the specified no-signal package. But an uncalibrated faulty detector with false-positive probability fits the same positive-reading rate. Target data alone do not distinguish those packages.
Signal-absent calibration trials test the false-positive assumption directly. If ten independent such trials are all negative, their likelihood ratio in favour of against is
This does not magically isolate : the calibration relies on its own assumptions, and correlated trials would invalidate the power calculation. It shows concretely how additional evidence can discriminate explanations that the initial data leave unresolved. Repeating the target measurement with apparatus based on different physical processes further reduces dependence on one shared failure mode.
Thus the Duhem problem defeats automatic attribution of support or failure, not rational experimental comparison. Where rivals remain empirically equivalent, suspension of judgement about their difference is appropriate. Together, the two responses defend scientific confirmation as a structured, fallible comparison using background information, rather than either pure instance counting or a mechanical verdict on an isolated hypothesis.
We prove the contrapositive. If , Euclidean division gives or for an integer . Squaring gives respectively or . Both have remainder upon division by , so . Taking the contrapositive yields .
The contrapositive is that an integer perfect square has residue or modulo . Let for an integer . If is an even number, then . If is an odd number, then . These exhaust the possible parities of an integer. Thus a residue of or excludes being a perfect square, as required by the contrapositive.
Set , using the ceiling function. If no box contains at least objects, all boxes contain at most , so the total number of objects is at most . Taking the contrapositive, a total greater than forces some box to contain at least objects. But , hence . This proves the generalized pigeonhole principle: some box contains at least objects.
Truth table Created 2026-09-29 Updated 2026-10-14
A truth table lists a propositional formula's value for every Boolean valuation of its distinct primitive propositions. With primitive propositions, there are rows: each independently receives T or F. Evaluate compound columns from their subexpressions using the classical rules for logical connectives. This is exhaustive checking, so a formula true on every row is valid in classical propositional logic.
For a computed example over the natural numbers, let mean that is an even number and mean . The choices realize respectively : all four possible inputs.
The logical implication and its contrapositive agree on every row; the converse implication differs on two rows. A truth table therefore checks equivalence or supplies a counterexample. Classical truth conditions are given in forall x: Calgary, section 31.2. These two-valued truth tables do not characterize validity in Intuitionistic propositional logic.