markdown
Proof methods and counterexamplesmd 152d631
lecture/math/discrete-math/proof-methods-and-counterexamples.lecture.n.md
Download PDF

Proof methods証明法しょうめいほう and counterexamples反例はんれい

document_iddoc_4169e9e02562651deb1a235b0e19b256title証明法と反例 講義type講義content_typelecturedate2026-07-14categorymathdescription直接証明、対偶証明、背理法、場合分け、反例を、集合・関係・写像で使える形で説明する。prerequisites命題・述語と量化relateddata/lecture/math/discrete-math/discrete-mathematics-portal.lecture.n.md / data/lecture/math/discrete-math/propositions-predicates-and-quantifiers.lecture.n.md / data/lecture/math/discrete-math/partial-and-total-orders.lecture.n.md / data/lecture/math/discrete-math/injections-surjections-and-bijections.lecture.n.md / data/exercise/math/discrete-math/logic-and-proof-methods.exercise.n.md

In discrete mathematics離散数学りさんすうがく, it is important to keep the path from definition to conclusion short. More than algebraic manipulation, the central skill is choosing which definition to expand. This page organizes basic types of proof証明しょうめい.

data/lecture/math/discrete-math/propositions-predicates-and-quantifiers.lecture.n.md

1Direct proof直接証明ちょくせつしょうめい

A direct proof直接証明ちょくせつしょうめい starts from the assumptions, uses definitions in order, and derives the conclusion.

The following example previews sets. We use only the minimal definitions: xA means that x is an element of A, and AB means that, for every x, xA implies xB.

For example, to prove AC from AB and BC, expand the definition of the inclusion relation包含関係ほうがんかんけい. Take arbitrary x and assume xA. Then xB by AB, and xC by BC. Therefore AC.

2Proof by contraposition対偶証明たいぐうしょうめい

A proof by contraposition対偶証明たいぐうしょうめい proves

¬Q¬P

instead of

PQ.

The two statements are equivalent.

The injection単射たんしゃ example below previews the later chapter on maps写像しゃぞう. At this point, only the condition “if f(x)=f(y), then x=y” is being used in order to see the form of a contrapositive.

This method is often natural for proving injectivity単射性たんしゃせい. Saying that f:AB is an injection単射たんしゃ means f(x)=f(y)x=y; its contrapositive is xyf(x)f(y).

data/lecture/math/discrete-math/injections-surjections-and-bijections.lecture.n.md

3Proof by contradiction背理法はいりほう

A proof by contradiction背理法はいりほう assumes the negation of the desired conclusion and derives a contradiction.

The next example previews partial orders半順序関係はんじゅんじょかんけい. It does not use the full later theory; it only uses the assumptions needed for this proof. A greatest element最大元さいだいげん is an element a such that x[PARSE ERROR: Undefined("Command(\"le\")")]a for every xP, and antisymmetry反対称性はんたいしょうせい means that a[PARSE ERROR: Undefined("Command(\"le\")")]b and b[PARSE ERROR: Undefined("Command(\"le\")")]a imply a=b.

For example, prove that if a greatest element exists, it is unique. Negate the conclusion and suppose a partially ordered set半順序集合はんじゅんじょしゅうごう P has distinct greatest elements a and b, so ab. By the definition of greatest element, a[PARSE ERROR: Undefined("Command(\"le\")")]b and b[PARSE ERROR: Undefined("Command(\"le\")")]a. By antisymmetry反対称性はんたいしょうせい, a=b, contradicting ab. Hence two distinct greatest elements cannot exist.

In a proof by contradiction, assume the negation of the conclusion and derive a contradiction with known definitions or assumptions. If one assumes the conclusion itself, that is not a proof.

data/lecture/math/discrete-math/partial-and-total-orders.lecture.n.md

4Proof by cases場合分け

A proof by cases場合分け is used when the object splits into finitely many exhaustive types. In set operations集合演算しゅうごうえんざん, cases often come from which sets an elementげん belongs to.

The next example also previews set operations. Read AB as the set of elements in A or B, and AB as the set of elements in both.

For example, to prove

A(BC)=(AB)(AC),

take an arbitrary x in the left side. Then xA and xBC. If xB, then xAB. If xB, membership in BC gives xC, so xAC. Thus either case puts x in the right side. Conversely, an x in the right side lies in either AB or AC; in both cases xA and xBC. Therefore the two sides are equal.

5Counterexample反例はんれい

A counterexample反例はんれい is one example that disproves a universal proposition.

The claim “for every integer n, n2>n” is false. The integer n=1 does not satisfy the conclusion because 12=1. This single example disproves the universal proposition.

For a counterexample, explicitly check both that the object satisfies the assumptions and that the conclusion fails.

A counterexample反例はんれい must satisfy all assumptions while breaking the conclusion. An example that does not satisfy the assumptions does not show that the claim fails.

6Exercise link and summary

data/exercise/math/discrete-math/logic-and-proof-methods.exercise.n.md

In a proof証明しょうめい, expand definitions, make the necessary quantifiers量化りょうか explicit, and choose the right proof pattern. A counterexample反例はんれい is a powerful way to show that something fails, but the counterexample must still be checked against the assumptions.

In exercises, explicitly name whether you are using a direct proof, a contrapositive対偶たいぐう, proof by contradiction背理法はいりほう, proof by cases場合分け, or a counterexample反例はんれい. This makes the relation between assumptions and conclusion easier to follow.

raw .n.md をコピー
loc をコピー (filepath:line ~ line)
copy share link
copy encoded share link
path をコピー
copy share link
copy encoded share link
copy share link
copy encoded share link
タブを全て閉じる