プリンキピア

第2章論理

2.4 Truth Tables for the Conditional and Biconditional2.4 条件文と双条件文の真理値表

A laptop screen shows coding.
Figure 2.11図2.11
If-then statements use logic to execute directions. (credit: “Coding” by Carlos Varela/Flickr, CC BY 2.0)
英語のヒント
「もし…ならば」の文は、論理を使って指示を実行する。(出典:Carlos Varela/Flickr の “Coding”、CC BY 2.0)

Learning Objectives学習目標

After completing this section, you should be able to:
英語のヒント
この節を終えると、次のことができるようになる。
  1. Use and apply the conditional to construct a truth table.
    英語のヒント
    条件文を使い、当てはめて真理値表を作る。
  2. Use and apply the biconditional to construct a truth table.
    英語のヒント
    双条件文を使い、当てはめて真理値表を作る。
  3. Use truth tables to determine the validity of conditional and biconditional statements.
    英語のヒント
    真理値表を使って、条件文と双条件文の妥当性を判定する。
Computer languages use if-then or if-then-else statements as decision statements:
英語のヒント
コンピュータ言語では、判断の文として「if-then」や「if-then-else」の文を使う。
  • If the hypothesis is true, then do something.
    英語のヒント
    仮定が真ならば、何かをする。
  • Or, if the hypothesis is true, then do something; else do something else.
    英語のヒント
    あるいは、仮定が真ならば何かをし、そうでなければ別の何かをする。
For example, the following representation of computer code creates an if-then-else decision statement:
英語のヒント
たとえば、次のコンピュータのコードの表し方は、if-then-elseの判断の文を作っている。
Check value of variable i.
英語のヒント
変数iの値を調べる。
If i<1, then print "Hello, World!" else print "Goodbye".
英語のヒント
もしi<1ならば "Hello, World!" と表示し、そうでなければ "Goodbye" と表示する。
In this imaginary program, the if-then statement evaluates and acts on the value of the variable i. For instance, if i=0, the program would consider the statement i<1 as true and “Hello, World!” would appear on the computer screen. If instead, i=3, the program would consider the statement i<1 as false (because 3 is greater than 1), and print “Goodbye” on the screen.
英語のヒント
この仮想のプログラムでは、if-thenの文が変数iの値を評価し、それに応じて動く。たとえばi=0ならば、プログラムは命題i<1を真とみなし、コンピュータの画面に “Hello, World!” と表示される。そうではなくi=3ならば、プログラムは命題i<1を偽とみなし(3は1より大きいから)、画面に “Goodbye” と表示する。
In this section, we will apply similar reasoning without the use of computer programs.
英語のヒント
この節では、コンピュータのプログラムを使わずに、同じような推論を当てはめる。

Use and Apply the Conditional to Construct a Truth Table条件文を使い、当てはめて真理値表を作る

A conditional is a logical statement of the form if p, then q. The conditional statement in logic is a promise or contract. The only time the conditional, p→q, is false is when the contract or promise is broken.
英語のヒント
条件文とは「もしpならばq」の形の論理的な命題である。論理での条件文は、約束あるいは契約である。条件文p→qが偽になるのは、契約あるいは約束が破られたときだけである。
For example, consider the following scenario. A child’s parent says, “If you do your homework, then you can play your video games.” The child really wants to play their video games, so they get started right away, finish within an hour, and then show their parent the completed homework. The parent thanks the child for doing a great job on their homework and allows them to play video games. Both the parent and child are happy. The contract was satisfied; true implies true is true.
英語のヒント
たとえば、次の場面を考えよう。子どもの親が「宿題をすれば、テレビゲームをしてよい」と言う。子どもはテレビゲームがとてもしたいので、すぐに取りかかり、1時間で終えて、仕上げた宿題を親に見せる。親は宿題をよくやったと子どもに感謝し、テレビゲームをさせる。親も子も満足である。契約は果たされた。「真ならば真」は真である。
Now, suppose the child does not start their homework right away, and then struggles to complete it. They eventually finish and show it to their parent. The parent again thanks the child for completing their homework, but then informs the child that it is too late in the evening to play video games, and that they must begin to get ready for bed. Now, the child is really upset. They held up their part of the contract, but they did not receive the promised reward. The contract was broken; true implies false is false.
英語のヒント
次に、子どもがすぐには宿題に取りかからず、仕上げるのに苦労したとしよう。子どもはやっと終えて親に見せる。親はまた宿題を仕上げたことを子どもに感謝するが、テレビゲームをするには夜が遅すぎるので、寝る支度を始めなければならないと告げる。今度は、子どもはひどく腹を立てる。自分は契約の約束を守ったのに、約束のごほうびをもらえなかったからである。契約は破られた。「真ならば偽」は偽である。
So, what happens if the child does not do their homework? In this case, the hypothesis is false. No contract has been entered, therefore, no contract can be broken. If the conclusion is false, the child does not get to play video games and might not be happy, but this outcome is expected because the child did not complete their end of the bargain. They did not complete their homework. False implies false is true. The last option is not as intuitive. If the parent lets the child play video games, even if they did not do their homework, neither parent nor child are going to be upset. False implies true is true.
英語のヒント
では、子どもが宿題をしなかったらどうなるか。この場合、仮定は偽である。契約は結ばれていないので、破られることもない。結論が偽ならば、子どもはテレビゲームをできず、うれしくないかもしれないが、子どもは自分の側の約束を果たさなかったので、この結果は予想どおりである。子どもは宿題を仕上げなかった。「偽ならば偽」は真である。最後の選択肢は直観的にはわかりにくい。子どもが宿題をしなかったのに親がテレビゲームをさせても、親も子も腹を立てることはない。「偽ならば真」は真である。
The truth table for the conditional statement below summarizes these results.
英語のヒント
下の条件文の真理値表は、これらの結果をまとめたものである。
pqp→q
TTT
TFF
FTT
FFT
Example 2.18例題 2.18

Constructing Truth Tables for Conditional Statements条件文の真理値表を作る

Assume both of the following statements are true: p: My sibling washed the dishes, and q: My parents paid them $5.00. Create a truth table to determine the truth value of each of the following conditional statements.
英語のヒント
次の命題がどちらも真であるとする。p:私のきょうだいが皿を洗った、q:両親がきょうだいに5.00ドル払った。真理値表を作って、次のそれぞれの条件文の真理値を判定せよ。
  1. p→q
  2. p→ ~q
  3. ~p→q
Solution解答
  1. Because p is true and q is true, the statement p→q is, “If my sibling washed the dishes, then my parents paid them $5.00.” My sibling did wash the dishes, since p is true, and the parents did pay the sibling $5.00, so the contract was entered and completed. The conditional statement is true, as indicated by the truth table representing this case:
    T → T = T.
    英語のヒント
    pは真で、qは真なので、命題p→qは「もし私のきょうだいが皿を洗ったならば、両親はきょうだいに5.00ドル払った」である。pは真なので、きょうだいは確かに皿を洗い、両親は確かにきょうだいに5.00ドル払ったので、契約は結ばれ、果たされた。この場合を表す真理値表が示すように、条件文は真である。T → T = T。
    pqp→q
    TTT
  2. p→~q translates to the statement, “If my sibling washed the dishes, then my parents did not pay them $5.00.” p is true, but ~q is false. The sibling completed their end of the contract, but they did not get paid. The contract was broken by the parents. The conditional statement is false, as indicated by the truth table representing this case:
    T → F = F.
    英語のヒント
    p→~qは「もし私のきょうだいが皿を洗ったならば、両親はきょうだいに5.00ドル払わなかった」という命題に訳される。pは真だが、~qは偽である。きょうだいは自分の側の契約を果たしたが、払ってもらえなかった。契約は両親によって破られた。この場合を表す真理値表が示すように、条件文は偽である。T → F = F。
    pq~qp→ ~q
    TTFF
  3. ~p→q translates to the statement, “If my sibling did not wash the dishes, then my parents paid them $5.00.” ~p is false, but q is true. The sibling did not do the dishes. No contract was entered, so it could not be broken. The parents decided to pay them $5.00 anyway. The conditional statement is true, as indicated by the truth table representing this case: F → T = T.
    英語のヒント
    ~p→qは「もし私のきょうだいが皿を洗わなかったならば、両親はきょうだいに5.00ドル払った」という命題に訳される。~pは偽だが、qは真である。きょうだいは皿を洗わなかった。契約は結ばれていないので、破られることもなかった。両親はともかくきょうだいに5.00ドル払うことにした。この場合を表す真理値表が示すように、条件文は真である。F → T = T。
    pq~p~p→q
    TTFT
Example 2.19例題 2.19

Determining Validity of Conditional Statements条件文の妥当性を判定する

Construct a truth table to analyze all possible outcomes for each of the following statements then determine whether they are valid.
英語のヒント
次のそれぞれの命題について、起こりうるすべての結果を分析する真理値表を作り、それから妥当かどうかを判定せよ。
  1. p∧q→~q
  2. p→~p∨q
Solution解答
  1. Applying the dominance of connectives, the statement p∧q→ ~q is equivalent to (p∧q)→(~q). So, the columns of the truth table will include p, q, p∧q, ~q, and p∧q→ ~q. Because there are only two basic propositions, p and q, the table will have 2(2)=4 rows of truth values to account for all the possible outcomes. The statement is not valid because the last column is not all true.
    英語のヒント
    結合子の優先順位を当てはめると、命題p∧q→ ~qは(p∧q)→(~q)と同値である。よって、真理値表の列はp、q、p∧q ~q、p∧q→ ~qを含む。基本的な命題はpとqの2つだけなので、表には起こりうるすべての結果に備えて2(2)=4行の真理値がある。最後の列がすべて真ではないので、この命題は妥当ではない。
    pqp∧q~qp∧q→ ~q
    TTTFF
    TFFTT
    FTFFT
    FFFTT
  2. Applying the dominance of connectives, the statement p→ ~p∨q is equivalent to (p)→ ((~p)∨q). So, the columns of the truth table will include p, q, ~p, ~p∨q, and p→ (~p∨q). Because there are only two basic propositions, p and q, the table will have 2(2)=4 rows of truth values to account for all the possible outcomes. The statement is not valid because the last column is not all true.
    英語のヒント
    結合子の優先順位を当てはめると、命題p→ ~p∨qは(p)→ ((~p)∨q)と同値である。よって、真理値表の列はp、q、~p、~p∨q、p→ (~p∨q)を含む。基本的な命題はpとqの2つだけなので、表には起こりうるすべての結果に備えて2(2)=4行の真理値がある。最後の列がすべて真ではないので、この命題は妥当ではない。
    pq~p~p∨qp→ (~p∨q)
    TTFTT
    TFFFF
    FTTTT
    FFTTT