G22.2390-001 Logic in Computer Science Fall 2009 Lecture 2
1
G22.2390-001 Logic in Computer Science Fall 2009 Lecture 2 1 - - PowerPoint PPT Presentation
G22.2390-001 Logic in Computer Science Fall 2009 Lecture 2 1 Review Last week Propositional Logic: Syntax Well-Formed Formulas ( wffs ) Induction and Recursion 2 Outline Recognizing Well-Formed Formulas Propositional
1
2
3
4
4-a
4-b
4-c
5
5-a
5-b
6
7
7-a
7-b
7-c
8
9
10
10-a
10-b
10-c
11
11-a
11-b
11-c
12
12-a
12-b
12-c
12-d
12-e
12-f
13
13-a
13-b
13-c
13-d
13-e
13-f
13-g
13-h
13-i
14
14-a
15
15-a
16
16-a
16-b
16-c
16-d
16-e
16-f
16-g
16-h
16-i
17
17-a
17-b
17-c
18
18-a
18-b
18-c
19
19-a
19-b
19-c
19-d
20
20-a
20-b
20-c
20-d
21
α, the Boolean function
α(X1, . . . , Xn) = the truth value given to α when A1, . . . , An are
22
α, the Boolean function
α(X1, . . . , Xn) = the truth value given to α when A1, . . . , An are
α(X1, . . . , Xn) = v(α) where v(Ai) = Xi.
22-a
α, the Boolean function
α(X1, . . . , Xn) = the truth value given to α when A1, . . . , An are
α(X1, . . . , Xn) = v(α) where v(Ai) = Xi.
α is determined by both the formula α and the choice of
22-c
i = Bn Ai
¬A1
A1∧A2
A1∨A2
A1→A2
A1↔A2
23
i = Bn Ai
¬A1
A1∧A2
A1∨A2
A1→A2
A1↔A2
¬A1∨¬A2(X1, X2) = A(N(I2 1(X1, X2)), N(I2 2(X1, X2)))
23-a
i = Bn Ai
¬A1
A1∧A2
A1∨A2
A1→A2
A1↔A2
¬A1∨¬A2(X1, X2) = A(N(I2 1(X1, X2)), N(I2 2(X1, X2)))
23-b
α(
β(
α = Bn β .
β = {T}.
24
α(
β(
α = Bn β .
β = {T}.
α(
β(
α(
β(
24-a
α(
β(
α = Bn β .
β = {T}.
α(
β(
α(
β(
24-b
α, i.e., such that α realizes the function G.
25
α, i.e., such that α realizes the function G.
α = G.
25-a
α(
α(
γi(
γi(
α(
26
α(
α(
γi(
γi(
α(
26-a
27
27-a
27-b
i = Bn Ai
¬A1
A1∧A2
A1∨A2
28
i = Bn Ai
¬A1
A1∧A2
A1∨A2
28-a
i = Bn Ai
¬A1
A1∧A2
A1∨A2
28-b
i = Bn Ai
¬A1
A1∧A2
A1∨A2
28-c
29
29-a
29-b
29-c
29-d
29-e
30
30-a
30-b
30-c
30-d
31
32
32-a
32-b
32-c
32-d
32-e
33
33-a
33-b
n ∆n. It is then clear that
33-c
34
34-a
34-b
35