1/22/2010 1
Historical models of computation
Steven Lindell Haverford College USA
1/22/2010 ISLA 2010 1
Propositional models
Start with a fixed number of boolean variables called the vocabulary: e.g. a, b, c. Each boolean variable represents a proposition, for example "today it is raining". A propositional model is an assignment from those variables to the values {T, F}. E.g.
symbol value a T b F c T
1/22/2010 ISLA 2010 2
Boolean functions
A Boolean function is a map from the set of all proposition models to the set {F, T}. This representation is called a truth-table.
- In the example,
f = the parity g = the majority a b c f g F F F F F F F T T F F T F T F F T T F T T F F T F T F T F T T T F F T T T T T T
1/22/2010 ISLA 2010 3
Application: binary addition
Example: 1100 + 1110 = 11010 Carry = 1 1 decimal A = 1 1 = 12 B = + 1 1 1 = 14 Sum = 1 1 1 = 26
1/22/2010 ISLA 2010 4
Sum and Carry
Derive equations for Sum and Carry as a function of a, b, c. Using logical operations:
- no. of 1's = 0
1 2 3 = a + b + c Sum = 0 1 1 = a + b + c (mod 2) Carry = 0 1 1 = (a + b + c ≥ 2) Sum = a b c PARity Carry = (a b) (b c) (a c) MAJority
1/22/2010 ISLA 2010 5
Implementation using switches
Output true iff connectivity between terminals. Due to Shannon – the most influential master's thesis of 20th century [cf. opposite ‘hindrances’] Boolean Connection Picture False Open True Closed
1/22/2010 ISLA 2010 6