# Proof of DeMorgan's Laws

1. Oct 25, 2005

### ranjha

Can someone tell me how to prove DeMorgan's Laws using the basic rules?

~(A & B) = ~A v ~B

2. Oct 25, 2005

### honestrosewater

Welcome to PF, ranjha!

Well, there's more than one set of rules and more than one proof. Is this homework, or are you just curious? Do you have some rules in mind?

Last edited: Oct 25, 2005
3. Oct 25, 2005

### ranjha

Proof of DeMorgan's Law

This is homework...we are expected to know this. It's just that we have been taught a certain number of rules of inference. So the examples I have seen don't make sense to me. We have to know how to prove his Law by using the rules we have learned: Modus Ponens, Tollens, Simplification, Conjunction, Disjunction, Conjunctive and Disjunctive Arguments, Conditional Proofs, Chain Rule, Dilemmas, Reductio, Double Negation, Transposition, and Material Implication. These are the only ones we have learned so far and I am completely lost as to how to start. Please help.

4. Oct 25, 2005

### honestrosewater

Well, you are given no premises, so you will have to use conditional proof or reductio, right?

Try (~A v ~B) => ~(A & B).

1) ~A v ~B [assumption]
2)) A & B [assumption -- for reductio]
3)) can you change (1) into an implication?

Oh, sorry, an implication is another name for a conditional: p -> q

Last edited: Oct 25, 2005
5. Oct 25, 2005

### ranjha

proof

ok:

1) ~A v ~B (assume)
2)) A & B (assume)
3)) A --> ~B (1 M Implication)

is this what you mean?? but where do I go from here?

6. Oct 25, 2005

### honestrosewater

Yes, that's what I meant.
Do you understand why I made those assumptions? I want to prove

(~A v ~B) => ~(A & B)

So I assume (~A v ~B) and try to derive ~(A & B). I will try to derive ~(A & B) by assuming (A & B) and trying to derive a contradiction so that I can infer ~(A & B) by reductio. You just want to derive a contradiction -- (A & ~A) or (B & ~B). Use simplification and modus ponens.

7. Oct 25, 2005

### ranjha

proof

ok I kind of understand what you are trying to do. I get that you are going to use Reductio to prove the law. But can you please get me started? I don't know what the next step should be.

1) ~A v ~B (assume)
2)) A & B (assume)
3)) A --> ~B (1 M Implication)
4)) A (2 simplification)
5)) ~B (3,4 MP)
6)) B (2 simplification)
7)) B & ~B (5,6 Conjunction)
8)) ~B (7 RA)
9)) how would you go from here? and is this right so far?

8. Oct 25, 2005

### honestrosewater

That's right, except that I forgot to nest the first assumption.

1)) ~A v ~B (assume)
2))) A & B (assume)
3))) A --> ~B (1 M Implication)
4))) A (2 simplification)
5))) ~B (3,4 MP)
6))) B (2 simplification)
7))) B & ~B (5,6 Conjunction)

(7) allows you to infer

8)) ~(A & B) [2-7, reductio ad absurdum]

Just apply conditional proof and you're done with this half. You still need to prove the other half of the equivalence:

~(A & B) => (~A v ~B)

How would you begin?