Wiki-ch2: Difference between revisions

From Lexical Resource Semantics
Jump to navigation Jump to search
Line 28: Line 28:
[[File:Truthtable_OR1.png|400px]]
[[File:Truthtable_OR1.png|400px]]


==== IF/THEN (⊃ →) ====
==== IF/THEN (⊃, →) ====


Symbol: &sup;, &rarr; (''Note: We use the symbol &sup; in the textbook as it is more common in the logical literature.'')<br />
Symbol: &sup;, &rarr; (''Note: We use the symbol &sup; in the textbook as it is more common in the logical literature.'')<br />
Line 40: Line 40:
[[File:Truthtable_IF_THEN2.png|400px]]
[[File:Truthtable_IF_THEN2.png|400px]]


===== NOT =====
===== NOT (&not;) =====


Symbol:    ¬ <br />
Symbol:    &not; <br />
Sentence:  Harry is not a student. <br />
Sentence:  Harry is not a student. <br />
Formulae: <nowiki>[[</nowiki>'''¬student(harry)''']] = ''true/false''
Formula: &not;'''student'''('''harry''')


The original formulae has to be false, that the overall statement is true.
The original formula has to be false for the overall statement to be true.


'''Example:'''
'''Example:'''
Only if '''student(harry)''' is ''false'', '''¬student(harry''') is ''true''.
Only if '''student'''('''harry''') is ''false'', &not;'''student'''('''harry''') is ''true''.





Revision as of 14:56, 11 April 2013

Additional Wiki pages for Chapter 2

Truth tables

Template:CreatedByStudentsWS1213

Truth tables for connectives

AND (∧)

Symbol: ∧
Sentence: Harry is a student and Snape is a teacher.
Formulae: student(harry) ∧ teacher(snape)


Truthtable AND

Truthtable AND1.png

OR (∨)

Symbol: ∨
Sentence: Harry is a student or Snape is a teacher.
Formulae: student(harry) ∨ teacher(snape)


Truthtable OR

Truthtable OR1.png

IF/THEN (⊃, →)

Symbol: ⊃, → (Note: We use the symbol ⊃ in the textbook as it is more common in the logical literature.)
Sentence: If Harry is a student then Snape is a teacher.
Formula: student(harry) ⊃ teacher(snape)


Truthtable IF/THEN

Truthtable IF THEN2.png

NOT (¬)

Symbol: ¬
Sentence: Harry is not a student.
Formula: ¬student(harry)

The original formula has to be false for the overall statement to be true.

Example: Only if student(harry) is false, ¬student(harry) is true.


Truthtable NOT

Truthtable NOT.png