blob: b0b25fde0b57c0fb9176bc7f12fb447047b5c9a7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
* 1
a.
S = Sunny
I = Ice cream
B = Beer
S => (I V B)
b.
F = Earth flat
G = Earth a globe
H = Global warming is hoax
F => !G => H
c.
L = Attended lectures
H = Homework done
S = Studied for exam
P = Passed maths
(L A H A S ) <=> P
d.
S = You smell essential oils
C = You will be cured
N = Modern medicine doesnt work
(S => C) <=> N
* 2
a. (P V !Q) <=> (Q => P)
P Q P V !Q Q => P
1 1 1 1
1 0 1 1
0 1 0 0
0 0 1 1
b. (P => (Q => R)) <=> ((P A Q) => R)
R Q P P => (Q => R) (P A Q) => R
1 1 1 1 1
1 1 0 1 1
1 0 0 1 1
0 0 0 1 1
0 0 1 1 1
0 1 0 1 1
1 0 1 1 1
0 1 1 0 0
c. ((P => Q) V (P => R)) <=> (P => (Q V R))
R Q P (P => Q) V (P => R) P => (Q V R)
1 1 1 1 1
1 1 0 1 1
1 0 0 1 1
0 0 0 1 1
0 0 1 0 0
0 1 0 1 1
1 0 1 1 1
0 1 1 1 1
d. (!(P A !Q) V (R => 0)) <=> ((P A R) => Q)
R Q P !(P A !Q) V (R => 0) (P A R) => Q
1 1 1 1 1
1 1 0 1 1
1 0 0 1 1
0 0 0 1 1
0 0 1 1 1
0 1 0 1 1
1 0 1 0 0
0 1 1 1 1
* 3
a. (P A (Q V R)) and ((P A Q) V P) = 2nd follows from 1st
R Q P P A (Q V R) (P A Q) V P
1 1 1 1 1
1 1 0 0 0
1 0 0 0 0
0 0 0 0 0
0 0 1 0 1
0 1 0 0 0
1 0 1 0 1
0 1 1 1 1
b. (P V (Q A R)) and ((P V Q) A (P V R)) = 1st follows from 2nd
R Q P P V (Q A R) (P V Q) A (P V R)
1 1 1 1 1
1 1 0 1 1
1 0 0 0 0
0 0 0 0 0
0 0 1 1 0
0 1 0 0 0
1 0 1 1 1
0 1 1 1 1
c. (P => (Q => R)) and ((P => Q) => R) = 1st follows from 2nd
R Q P P => (Q => R) (P => Q) => R
1 1 1 1 1
1 1 0 1 1
1 0 0 1 1
0 0 0 1 0
0 0 1 1 1
0 1 0 1 0
1 0 1 1 1
0 1 1 0 0
d. (0 => (P A Q)) and (P V Q) = 1st follows from 2nd
R Q P 0 => (P A Q) P V Q
1 1 1 1 1
1 1 0 1 1
1 0 0 1 0
0 0 0 1 0
0 0 1 1 1
0 1 0 1 1
1 0 1 1 1
0 1 1 1 1
* 5
B = Bob says truth
A = Alice says truth
C = Carol says truth
B A C !B => !C A A C !A A !B
1 1 1 1 1 0
1 1 0 1 0 0
1 0 0 1 0 0
0 0 0 1 0 1
0 0 1 0 0 1
0 1 0 1 0 0
1 0 1 0 0 0
0 1 1 0 1 0
|