






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







4/20/
3 + 2 = 32 Bring me coffee!
CS173 is Bryan’s favorite class.
CS173 is her favorite class. Every cow has 4 legs. 3 + 2
There is other life in the universe.
Do you like Cake?
FALSE (but not both).
4/20/
Notice that
proposition!
4/20/
4/20/
4/20/
4/20/
Distributivity: p ∨ ( q ∧ r ) ≡ (p ∨ q ) ∧ ( p ∨ r )
p q r q ∧ r p ∨ ( q ∧ r ) p ∨ q p ∨ r (p ∨ q ) ∧ ( p ∨ r )
T T T T T T T T T T F F T T T T T F T F T T T T T F F F T T T T F T T T T T T T F T F F F T F F F F T F F F T F F F F F F F F F
All truth assignment s for p , q , and r.
I could say “prove a law of distributivity.”
4/20/
4/20/
This week we’re using propositional logic as a foundation for formal proofs.
Propositional logic is also the key to writing good code…you can’t do any kind of conditional (if) statement without understanding the condition you’re testing.
All the logical connectives we’ve discussed are also found in hardware and are called “gates.”
We’ll talk about more applications next time.