Logic Contents Symbolic logic | Logical proof | Uses | Related pages | Navigation menu
Logic
reasoningpeopletruefalsesyllogismAristotlenotationtruth valuefallaciescomputersalgorithmmathematicsproofsmathematical logicphilosophy
Logic
Jump to navigation
Jump to search
Logic is the philosophical study of reasoning. Logic helps people decide whether something is true or false.
A popular example of a syllogism given by Aristotle:
- All men are mortal
- Socrates is a man
- Therefore, Socrates is mortal.
Contents
1 Symbolic logic
2 Logical proof
3 Uses
4 Related pages
Symbolic logic |
The same syllogism can be written in a notation:
∧displaystyle land is read like "and", meaning both of the two.
∨displaystyle lor is read like "or", meaning at least one of the two.
→displaystyle rightarrow is read like "implies", or "If ... then ...".
¬displaystyle lnot is read like "not", or "it is not the case that ...". Parentheses (,) are added for clarity and precedence; this means that what is in parenthesis should be looked at before the things outside.
This is the same example using logic symbols:
- ((human→mortal)∧(Aristotle→human))→(Aristotle→mortal)displaystyle rm ((humanrightarrow mortal)land (Aristotlerightarrow human))rightarrow (Aristotlerightarrow mortal)
And this is the same example using general terms:
- ((a→b)∧(c→a))→(c→b)displaystyle ((arightarrow b)land (crightarrow a))rightarrow (crightarrow b)
Finally, those talking about logic talk about statements. A statement is simply something like "Aristole is human" or "all humans are mortal". Statements have a truth value; they are either true or false, but not both. Mistakes in logic are called "fallacies".
Logical proof |
A logical proof is a list of statements. Each statement in the proof is either an assumption or has been proven to follow from earlier statements in the proof. A proof shows that one statement, the conclusion, follows from the assumptions. One can, for example, prove that "Aristotle is mortal" follows from "Aristotle is a man" and "All men are mortal".
There are statements that are always true.
(a∨¬a)displaystyle (alor lnot a) is always true. It is called a tautology. (for example: "Either it rains, or it does not rain")
Uses |
Logic is used by computers in what is called an algorithm. An algorithm is sort of like a cooking recipe; it tells the computer what to do and when to do it.
Logic is used in mathematics. People who study math create proofs that use logic to show that math facts are correct. There is an area of mathematics called mathematical logic that studies logic using mathematics.
Logic is also studied in philosophy.
Related pages |
- Proposition
- Principia Mathematica
Category:
- Logic
(RLQ=window.RLQ||[]).push(function()mw.config.set("wgPageParseReport":"limitreport":"cputime":"0.052","walltime":"0.274","ppvisitednodes":"value":62,"limit":1000000,"ppgeneratednodes":"value":0,"limit":1500000,"postexpandincludesize":"value":0,"limit":2097152,"templateargumentsize":"value":0,"limit":2097152,"expansiondepth":"value":2,"limit":40,"expensivefunctioncount":"value":0,"limit":500,"unstrip-depth":"value":0,"limit":20,"unstrip-size":"value":252,"limit":5000000,"entityaccesscount":"value":0,"limit":400,"timingprofile":["100.00% 0.000 1 -total"],"cachereport":"origin":"mw1318","timestamp":"20190514231334","ttl":2592000,"transientcontent":false););"@context":"https://schema.org","@type":"Article","name":"Logic","url":"https://simple.wikipedia.org/wiki/Logic","sameAs":"http://www.wikidata.org/entity/Q8078","mainEntity":"http://www.wikidata.org/entity/Q8078","author":"@type":"Organization","name":"Contributors to Wikimedia projects","publisher":"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":"@type":"ImageObject","url":"https://www.wikimedia.org/static/images/wmf-hor-googpub.png","datePublished":"2004-05-24T21:05:04Z","dateModified":"2019-01-25T03:39:52Z","image":"https://upload.wikimedia.org/wikipedia/commons/4/44/Gregor_Reisch%2C_Margarita_Philosophica%2C_Typus_Logice.jpg","headline":"study of inference and demonstration"(RLQ=window.RLQ||[]).push(function()mw.config.set("wgBackendResponseTime":114,"wgHostname":"mw1252"););