markdown
証明法と反例md 84e9de2
lecture/math/discrete-math/証明法と反例-講義.n.md
Download PDF

証明法しょうめいほうproof method反例はんれいcounterexample

title証明法と反例 講義type講義content_typelecturedate2026-06-06categorymathdescription直接証明、対偶証明、背理法、場合分け、反例を、集合・関係・写像で使える形で説明する。relateddata/lecture/math/discrete-math/離散数学ポータル-講義.n.md

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

離散数学りさんすうがくdiscrete mathematicsでは、定義ていぎから結論けつろんまでの距離きょりをできるだけみじかくすることが重要じゅうようである。しき変形へんけいよりも、「どの定義ていぎひらけばよいか」をえらちからわれる。そこで、基本きほんてき証明しょうめいproofかた整理せいりする。

data/lecture/math/discrete-math/命題・述語と量化-講義.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/命題・述語と量化-講義.n.md

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

直接証明ちょくせつしょうめいdirect proofは、仮定かていから定義ていぎじゅん使つかって結論けつろんみちび方法ほうほうである。

たとえば ABBC から ACしめすには、包含関係ほうがんかんけいinclusion relation定義ていぎひらく。任意にんいxり、xA仮定かていする。すると AB より xB、さらに BC より xC である。したがって AC である。

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

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

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.

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

対偶証明たいぐうしょうめいproof by contrapositionは、

PQ

わりに

¬Q¬P

しめ方法ほうほうである。両者りょうしゃ同値どうちである。

ここでの単射たんしゃinjectionは、あと写像しゃぞうmapしょう先取さきどりするれいである。この段階だんかいでは、対偶たいぐうかたちるために「f(x)=f(y) なら x=y」という条件じょうけんだけを使つかう。

単射たんしゃinjection証明しょうめいでは、対偶たいぐう自然しぜん使つかえることがおおい。f:AB単射たんしゃinjectionであることは f(x)=f(y)x=y であり、その対偶たいぐうxyf(x)f(y) である。

data/lecture/math/discrete-math/単射・全射・全単射-講義.n.md

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/単射・全射・全単射-講義.n.md

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

背理法はいりほうproof by contradictionは、結論けつろん否定ひてい仮定かていして矛盾むじゅんみちび方法ほうほうである。

つぎれいは、後続こうぞく半順序関係はんじゅんじょかんけいpartial order先取さきどりである。ここでは、半順序集合はんじゅんじょしゅうごうpartially ordered set全体理論ぜんたいりろん使つかわず、必要ひつよう仮定かていだけを明示めいじして使つかう。すなわち、最大元さいだいげんgreatest elementとは任意にんいxPたいして x[PARSE ERROR: Undefined("Command(\"le\")")]aたすげん a であり、反対称性はんたいしょうせいantisymmetryとは a[PARSE ERROR: Undefined("Command(\"le\")")]b かつ b[PARSE ERROR: Undefined("Command(\"le\")")]a なら a=b となる性質せいしつである。

たとえば「最大元さいだいげん存在そんざいすれば、それは一意いちいである」をしめす。半順序集合はんじゅんじょしゅうごうpartially ordered set P最大元さいだいげん ab があると仮定かていする。最大元さいだいげん定義ていぎより、a[PARSE ERROR: Undefined("Command(\"le\")")]b かつ b[PARSE ERROR: Undefined("Command(\"le\")")]a である。反対称性はんたいしょうせいantisymmetryより a=b である。したがってことなる 2 つの最大元さいだいげん存在そんざいしない。

背理法はいりほうproof by contradictionでは、結論けつろん否定ひてい仮定かていし、既知きち定義ていぎ仮定かてい両立りょうりつしない矛盾むじゅんみちびく。結論けつろんそのものを仮定かていしてしまうと証明しょうめいにならない。

data/lecture/math/discrete-math/半順序関係と全順序関係-講義.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. Suppose a partially ordered set半順序集合はんじゅんじょしゅうごう P has greatest elements a and b. 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. 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/半順序関係と全順序関係-講義.n.md

4場合分ばあいわproof by cases

場合分ばあいわproof by casesは、対象たいしょう有限ゆうげんかたかれるときに使つかう。集合演算しゅうごうえんざんでは、げんがどの集合しゅうごうぞくするかで場合分ばあいわけすることがおおい。

たとえば

A(BC)=(AB)(AC)

しめすには、任意にんいx について xAxBxC真偽しんぎう。左辺さへんぞくすることは xAand(xBorxC) であり、これは (xAandxB)or(xAandxC)同値どうちである。

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.

For example, to prove

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

track, for arbitrary x, the truth values of xA, xB, and xC. Membership in the left side is xAand(xBorxC), which is equivalent to (xAandxB)or(xAandxC).

5反例はんれいcounterexample

反例はんれいcounterexampleは、全称ぜんしょう命題めいだい否定ひていするための 1 つのれいである。

「すべての関係かんけい対称たいしょうである」という主張しゅちょうである。A={1,2} うえ関係かんけい

R={(1,2)}

かんがえると、(1,2)R だが (2,1)R である。したがって R対称性たいしょうせいsymmetryたない。

反例はんれいでは、対象たいしょう定義ていぎ条件じょうけんたしていることと、結論けつろんこわれていることを両方りょうほう明示めいじする必要ひつようがある。

反例はんれいcounterexampleは、仮定かていをすべてたしながら結論けつろんやぶ具体例ぐたいれいでなければならない。仮定かていたさないれいは、主張しゅちょう失敗しっぱいしめさない。

5Counterexample反例はんれい

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

The claim “every relation関係かんけい is symmetric対称たいしょう” is false. Consider the relation on A={1,2}

R={(1,2)}.

Then (1,2)R but (2,1)R. Therefore R does not have symmetry対称性たいしょうせい.

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.

6演習えんしゅうリンクとまとめ

data/exercise/math/discrete-math/論理と証明法-基本演習.n.md

証明しょうめいproofでは、定義ていぎひらき、必要ひつよう量化りょうか明確めいかくにし、どのかた議論ぎろん使つかうかをえらぶ。反例はんれいcounterexampleは「たない」ことをしめ強力きょうりょく方法ほうほうだが、反例はんれい条件じょうけん確認かくにん省略しょうりゃくしてはいけない。

演習えんしゅうでは、直接証明ちょくせつしょうめい対偶たいぐうcontrapositive背理法はいりほうproof by contradiction場合分ばあいわproof by cases反例はんれいcounterexampleのどれを使つかっているかを明示めいじすると、仮定かてい結論けつろん対応たいおういやすい。

6Exercise link and summary

data/exercise/math/discrete-math/論理と証明法-基本演習.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
タブを全て閉じる