Join 136,391 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,378 people online right now. Registration is fast and FREE... Join Now!
I'm teaching myself first order logic. I'm terribly stuck on the difference between the two tautologies of implication and identity. The links above take you to the resource I'm using. If you have any better suggestions, I'm all ears.
Assume I've worked out a 2power3 (8) cell truth table for P an Q where: P=I win the lottery Q=I give you a million dollars
Where is the difference between: 1. P => Q 2. P <=> Q
And how do the tautological examples above differentiate from simple, non-tautological implication and identity. For identity, assuming again the above truth table, where's the difference between: 1. P<=>Q 2. P<->Q
I know this is a pain, but I have to understand it. 'appreciate the help.
This post has been edited by jayman9: 29 Aug, 2008 - 04:05 PM
Case 1: If LowWaterMark wins the lottery then he will give me a million dollars.
Case2 If and only if LowWaterMark wins the lottery will he give me a million dollars.
Case 1 does not exclude the possibility that LowWaterMark may give me a million dollars for helping him understand first order logic.
Case 2 does -- in case 2 there is only one way that LowWaterMark is going to give me a million dollars.
Now a tautology is something that is ALWAYS true. It is a logical fact.
"This statement is true if and only if this statement IS true." is a tautology. Of course self referential logic statements are not the best examples and are often "barred" from formal logic (Godel showed that you actually can't eliminate them, but you can try to avoid them).
Tautologies occur within logic itself. For example "if p or not p" is always true since there really is no dependence upon p. "p => p" and "p <=> p" are also tautologies.
Diametrically opposite to a tautology is the mathematician's best friend the contradiction. For example "p and not p" is always false since p can not be both true and false at the same time (if it can, you are using the wrong logic -- which is a hint, there are logics where a bit can be true and false).
So that leaves us with "p <-> q" which is "p imples q, and q imples p" this says nothing about the truth of p or q, only that if p is true, than q is true, and if q is true then p is true...
This situation also implies that if p is false, then q is false (because if q were not false then p would be true). And if q is false then p must be false as well. Thus p and q are equivalent.
SO: what is the difference between -> and =>? Semantically they are the same. The difference in use has more to do with convention or connotation than actual meaning. p -> q is a statement, p => q is a conclusion.
"let p be true, p implies q, therefore q is true." (p and p -> q) => q
Is there a real difference between "therefore" and "implies" -- mathematically no, logically no, but to the reader of the statement the important information is the conclusion not how you got there.
So what about <=> and <->? Again the same. <=> is a strong condition, where as <-> is tool used in a proof. But in the end they both show equivalence.
NickDMax - thank you much for your time. Your careful explanation helped.
I have a loosely related anxiety regarding syllogistic equivalence. I worked out a problem on idiomatic syllogisms, got the answer correct but inverted the premises of one of the wffs along the way. This stuff is harder than I anticipated and makes me long for a teacher.
Shit. Oh well, enjoy your weekend. Even Aristotle could do that.
You know what, I can't get this thing on my own. FWIW I'm studying "Introduction to Logic" by Harry J. Gensler alongside its quiz software, LogiCola and am stuck on biconditionals (<->, if and only if) versus conditionals (->, if-then).
Let's assume: P = I went to Lisbon Q = I picked my nose
Now, (P -> Q) equates to "if I went to Lisbon, then I picked my nose". (P -> Q) is not equivalent to (Q -> P) as the antecedent has switched places with the consequent. Agreed?
Now, what about the biconditional, (P <-> Q), a wff which translates to "I went to Lisbon if and only if I picked my nose". Are biconditionals reversible? Is (P <-> Q) equivalent to (Q <-> P)? To quote Gensler regarding their respective truth tables, "for (P <-> Q), the claim is made that both parts have the same truth value: both are true or both are false (for the biconditional to be true). So, "<->" is much like "equals".
Building truth tables, I certainly can see this. Intuitively though, they certainly are not. "I picked my nose if and only if I went to Lisbon" is not equivalent to "I went to Lisbon if and only if I picked my nose".
To distill this down, are the following arguments equivalent: 1. (P <-> Q) 2. (Q <-> P)
Sorry but I cannot answer this simple query myself. After two hours I'm disenchanted. Thoughts?
okay just what the hell is going on? What is this and how come i've never seen it before?
Its first order logic. You should probably have learned a little about it in discreet mathematics. A course if formal logic itself usually requires that you take a philosophy or mathematics curriculum. Though for a mathematics major we covered this over and over in many classes.
Thanks for all your time. Being a math major you can probably see that I'm being intellectually punished for quitting after three semesters of calculus. I'm still troubled by one thing. Quoting you:
QUOTE
If you can accept that from an algebraic stand point AND is commutative than you can see:
P <-> Q <==> (P -> Q) AND (Q -> P) => (Q -> P) AND (P -> Q) <==> (Q <-> P)
I can see and understand the biconditional implication, but not the logical equivalence. I'm troubled by the negation proof italicized in the last sentence of the following quote from Wikipedia. Considering what follows bold typed in the same quotation below, it seems that logical equivalence cannot follow directly from biconditionalism or bidirectional implication. I can rationalize bivalence but notequality. The reason is the negation aspect of the proof in red below.
Please note that <-> is translated to "iff" in the following link. The logical phrase, "iff" is an abbreviation of the phrase, "if and only if". The abbreviation, "iff" is not a typographical error for "wff" (abbreviation for well formed formula). From Wikipedia link: "If and only if"
QUOTE
Advanced considerations
Philosophical interpretation
A sentence that is composed of two other sentences joined by "iff" is called a biconditional. "Iff" joins two sentences to form a new sentence. It should not be confused with logical equivalence which is a description of a relation between two sentences. The biconditional "A iff B" uses the sentences A and B, describing a relation between the states of affairs A and B describe. By contrast "A is logically equivalent to B" mentions both sentences: it describes a relation between those two sentences, and not between whatever matters they describe.
The distinction is a very confusing one, and has led many a philosopher astray. Certainly it is the case that when A is logically equivalent to B, "A iff B" is true. But the converse does not hold. Reconsidering the sentence:
Madison will eat pudding if and only if it is custard.
There is clearly no logical equivalence between the two halves of this particular biconditional.
One way of looking at A if and only if B is that it means A if B (B implies A) and A only when B (not B implies not A). Not B implies not A means A implies B, so then we get two way implication.
Let me ask about commutivity of biconditionalism in a different way. Assume: I'm in Oregon if and only if I'm in the United States. Does it necessarily follow that I'm in the United States if and only if I'm in Oregon?
I'm getting lost somewhere in the forest and cannot find my breadcrumbs to get back home. Will you please critique my argument: (<-> ~= equivalence)?
I'm not trying for an intellectual circle jerk here. This is really tripping me up and impeding me from going forward.
This post has been edited by LowWaterMark: 31 Aug, 2008 - 02:43 AM
Two other things are competing to age me prematurely. As I think about it, they are intimately related to my confusion as detailed above.
In both syllogistic and basic propositional logic - I'm unreliable at accurately extracting the premises and conclusion out of idiomatic English arguments.
Let me ask about commutivity of biconditionalism in a different way. Assume: I'm in Oregon if and only if I'm in the United States. Does it necessarily follow that I'm in the United States if and only if I'm in Oregon?
Yes, it does. Biconditionals are commutative. Formally, this is easily proven using the very argument you quoted. So yes, formally the statement "I'm in Oregon if and only if I'm in the United States" implies that "I'm in the United States if and only if I'm in Oregon". This should be obvious.
Your problem is that this is clearly a false statement. You can be in the US without being in Oregon, so mutual implication is clearly the wrong way to model this statement. Keep in mind that just because you see the see the phrase "if and only if" in an English sentence does not necessarily mean that you should model that as a biconditional in formal logic. You can usually take a direct translation approach when going from formal logic to English, but it doesn't always work in reverse - except in the examples they put in text books.
In this case, the statement "I'm in Oregon if and only if I'm in the United States" is better captured by (A -> B ) & (~ B -> ~A): fi I'm in Oregon, then I'm in the US, and if I'm not in the US, then I can't be in Oregon. In actuality, this reduces to the simple conditional A -> B:
CODE
1) (A -> B) & (~B -> ~A) 2) (A -> B) & (~~B V ~A) (definition of implication) 3) (A -> B) & (B V ~A) (double negation) 4) (A -> B) & (~A V B) (commutivity of disjunction) 5) (A -> B) & (A -> B) (definition of implication) 6) (A -> B) (simplification) QED
Regarding "logical equivalence", it's a subtle point and it really has little to do with mathematical logic. Formally speaking, A <-> B means logical equivalence - it means both A and B have the same truth value, with the consequence that one can be substituted for the other. Since mathematical logic doesn't really care what "A" and "B" mean, that's as far as it needs to go. What the WIkipedia article is talking about is the meaning of those sentences.
Think of it this way: Do "Madison will eat this pudding" and "This pudding is custard" mean the same thing? Clearly not. In that sense, they are not logically equivalent. However, when used in the context of a formal argument, the truth of the biconditional means that the two are logically equivalent in the truth-value sense. So, really, it depends on the context - are you looking at the statement in terms of symbols in formal logic or in terms of the philosophical interpretation of its content?
To make a long story short, in formal logic, a biconditional, for all intents and purposes, is an equivalence. That's because formal logic is really just symbol manipulation. You don't have to worry about what A and B actually mean in a metaphysical sense - you just apply given rules to transform sets of symbols. The question of what equivalence really means, and the different ways in which things can be equivalent, is for the philosophers.
I hope that didn't add to the confusion.
This post has been edited by AdaHacker: 31 Aug, 2008 - 11:25 AM
Mathematicians like to talk about rigor. To mathematicians this is very important because of statements like: "I am in Oregon if and only if I am in the United States" -- which makes sense but can be confusing since, there are other states within the united states.
This statement may be akin to a mathematics statement such as: "x is rational if and only if x is real"
Is this a contradiction (a statement that MUST be false)? well it may seem so, but it is not. There are values of x, even entire sets over which this statement is true... it is not true in general since there are also values of x and entire sets in which it is not true.
So if I ASSUME that it is true. Well then it is a statement about x, that is x can not be an irrational real number, or a complex rational number, but x can be an irrational imaginary or complex number. x can only be chosen such that the statement is true. So this statement gives information about what the possible values of x may be.
So in your statement: "I am in Oregon if and only if I am in the United States" makes a statement about situation. IF it is true, then I can't visit a state other than Oregon (lest the statement be false).
So indeed the statement "I am in the United States if and only if I am in Oregon" logically follows from the first statement since they are logical implications of each other.
The reason that it *seems* odd is because we have not built up the structure to explicitly define what the statements mean. We are relying upon a number of other statements that we have chosen to accept. There is no rigor to back up the statement.
It may be better to just replace the nouns with non-sense:
P1: "X is in A if and only if X is in B"
So, here it may be easier to see that,
P2: "X is in B if and only if X is in A"
is a logical equivalence and a logical conclusion from P1.
But if we look at just P1 then we may be tempted to infer some relationship between A and B (like A is a proper subset of B, or even A == B ).
BUT if we would be mistaken since we may find out that:
P3: If Y is in C then Y is in B.
Well... now if we imagined that A was a proper subset of B or that A was equal to B then we now have to ask ourselves what this means about C and well... this gets complected. C may be a proper subset of A or it may be equal to A or it may be a proper subset of B, or equal to B...
My point is... that we can REALLY only deal with the information that is ACTUALLY GIVEN. By making assumptions and imagining relationships we are only able to guess... to discover anything we must be able to form a proof and we can not form a proof without a set of axioms (things we assume to be true) that give us relationships.
There are reasons why we study formal logic in symbols. Because it shows us truth that can be hidden by the introduction of information that we assume but is not part of the system we are discussing.
Do your thinking in the symbols and THEN translate back into your human understanding. But to do this, you have to first trust in and believe in the logic. Which basically means that for a while you have to struggle a little bit with trying to translate back and forth and "see" that it really works.
This post has been edited by NickDMax: 31 Aug, 2008 - 07:46 PM