Logic & Reasoning What is reasoning? Reasoning is arriving at new beliefs based on old beliefs. That is: Using premises (old beliefs) to reach conclusions.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

Heuristic Search techniques
Deductive Reasoning. Are the following syllogism valid? A syllogism is valid if the conclusion follows from the premises All soldiers are sadistic Some.
Descriptive Approach Pragmatic Reasoning Schemas (Cheng & Holyoak)
Text Table of Contents #5 and #8: Evaluating the Argument.
Euler’s circles Some A are not B. All B are C. Some A are not C. Algorithm = a method of solution guaranteed to give the right answer.
Cognitive Psychology, 2 nd Ed. Chapter 14 Reasoning and Decision Making.
Wason’s selection task
C81COG: Cognitive Psychology 1 SYLLOGISTIC REASONING Dr. Alastair D. Smith Room B22 – School of Psychology
Thinking and Language. Cognition Concepts Prototypes.
Class3_1 Today’s topics Inventing alternative designs Creative problem solving tips.
Deduction: the categorical syllogism - 1 Logic: evaluating deductive arguments - the syllogism 4 A 5th pattern of deductive argument –the categorical syllogism.
The Problem of Induction Reading: ‘The Problem of Induction’ by W. Salmon.
Logical Reasoning: Deduction. Logic A domain-general system of reasoning Deductive reasoning System for constructing proofs –What must be true given certain.
Logos Formal Logic.
This is Introductory Logic PHI 120 Get a syllabus online, if you don't already have one Presentation: "Good Arguments"
Reasoning What is the difference between deductive and inductive reasoning? What are heuristics, and how do we use them? How do we reason about categories?
Cognitive Processes PSY 334 Chapter 10 – Reasoning.
Solved the Maze? Start at phil’s house. At first, you can only make right turns through the maze. Each time you cross the red zigzag sign (under Carl’s.
Logic. what is an argument? People argue all the time ― that is, they have arguments.  It is not often, however, that in the course of having an argument.
Cognitive Processes PSY 334 Chapter 10 – Reasoning & Decision-Making August 19, 2003.
Lecture 6 1. Mental gymnastics to prepare to tackle Hume 2. The Problem of Induction as Hume argues for it 1. His question 2. His possible solutions 3.
Cognitive - reasoning.ppt © 2001 Laura Snodgrass, Ph.D.1 Reasoning and Decision Making Five general strategies Reasoning and Logic Two hypotheses –inherently.
The Problem of Induction Reading: ‘The Problem of Induction’ by W. Salmon.
Reasoning
Critical Thinking: A User’s Manual
THINKING STRATEGIES (PS) Thinking hurts. However, stupidities come to world without birth pains. Bielaszewski.
Knowledge based Humans use heuristics a great deal in their problem solving. Of course, if the heuristic does fail, it is necessary for the problem solver.
MA 110: Finite Math Lecture 1/14/2009 Section 1.1 Homework: 5, 9-15, (56 BP)
The human 3 of 3 1 Lecture 4 chapter 1 the human 3 of 3.
Deductive versus Inductive Reasoning Consider the following two passages: Argument #1 Mr. Jones is a member of the Academy of Scholarly Fellows and only.
The human 3 of 3 U2Mvo&feature=player_embedded the human 3 of 31.
Reasoning Top-down biases symbolic distance effects semantic congruity effects Formal logic syllogisms conditional reasoning.
Chapter 5: Light.
Formal Operations and Rationality. Formal Operations Using the real vs. the possible Inductive vs. deductive reasoning –Inductive: Specific to general,
SOCIAL STUDIES Unit 1: Thinking Critically. Unit Overview Critical Thinking Perception Thought Patterns Problem Solving Facts Vs. Opinions Propaganda.
Reason “Crime is common, logic is rare” - Sherlock Holmes.
Question of the Day!  We shared a lot of examples of illogical arguments!  But how do you make a LOGICAL argument? What does your argument need? What.
Reasoning.
Logic. What is logic? Logic (from the Ancient Greek: λογική, logike) is the use and study of valid reasoning. The study of logic features most prominently.
Problem Solving, Reasoning, & Judgment Claudia Stanny PSY 2012.
REASONING AS PROBLEM SOLVING DEDUCTIVE REASONING: –what, if any, conclusions necessarily follow? INDUCTIVE REASONING: –what is the probability that those.
The Problem of Induction. Aristotle’s Inductions Aristotle’s structure of knowledge consisted of explanations such as: Aristotle’s structure of knowledge.
An Introduction to Logic And Fallacious Reasoning
1 DISJUNCTIVE AND HYPOTHETICAL SYLLOGISMS DISJUNCTIVE PROPOSITIONS: E.G EITHER WHALES ARE MAMMALS OR THEY ARE VERY LARGE FISH. DISJUNCTS: WHALES ARE MAMMALS.(P)
HOW TO CRITIQUE AN ARGUMENT
DEDUCTIVE VS. INDUCTIVE REASONING. Problem Solving Logic – The science of correct reasoning. Reasoning – The drawing of inferences or conclusions from.
Philosophical Method  Logic: A Calculus For Good Reason  Clarification, Not Obfuscation  Distinctions and Disambiguation  Examples and Counterexamples.
Cognitive Processes PSY 334 Chapter 10 – Reasoning & Decision-Making May 28, 2003.
Recursion Colin Capham Recursion – an introduction to the concept.
Goal: To understand the most energetic stars in the universe, quasars Objectives: 1)To understand Quasars.
Reasoning deduction, induction, abduction Problem solving.
Sight Words.
Deduction biases and content effects bias = whenever there is a systematic deviation in performance from the normative approach.
Fun with Deductive Reasoning
Syllogisms and Three Types of Hypothetical Syllogisms
Inductive and Deductive Reasoning AP Language and Composition.
Philosophy 148 Inductive Reasoning. Inductive reasoning – common misconceptions: - “The process of deriving general principles from particular facts or.
Learning goals: w Understand the use of concepts w Identify and understand methods of problem solving w Identify barriers to effective problem- solving.
Cognitive Processes PSY 334 Chapter 10 – Reasoning.
Reasoning -deductive versus inductive reasoning -two basic types of deductive reasoning task: conditional (propositional) and syllogistic.
Chapter Twenty-Two: Electricity and Magnetism  22.1 Properties of Magnets  22.2 Electromagnets  22.3 Electric Motors.
How do we reason and solve problems? Psychological factors in solving problems Varieties of problems Algorithms and heuristics Barriers and strategies.
Deductive Reasoning. Inductive: premise offers support and evidenceInductive: premise offers support and evidence Deductive: premises offers proof that.
Buddhist Monk Puzzle One morning, exactly at sunrise, a Buddhist monk leaves his temple and begins to climb a tall mountain. The narrow path, no more than.
Deductive Reasoning Valid Arguments
Chapter 3 Basic Logical Concepts (Please read book.)
Split-Brain Studies What do you see? “Nothing”
Chapter 3: Reality Assumptions
Concise Guide to Critical Thinking
Presentation transcript:

Logic & Reasoning What is reasoning? Reasoning is arriving at new beliefs based on old beliefs. That is: Using premises (old beliefs) to reach conclusions (new beliefs) Using beliefs about experiences to form beliefs about the world. How do we create new beliefs from old beliefs? Two main ways: Deductive Logic: Reasoning where the conclusion is guaranteed to be true, given the premises. Inductive Logic: Reasoning where the conclusion is likely to be true, given the premises.

Deductive Logic / Reasoning A valid deductive argument: B1: If you have had 5 beers in the last half hour, then you are drunk. B2: If you are drunk and you are driving, then you are breaking the law. B3: You have had 5 beers in the last half hour. B4: You are driving. B*: You are breaking the law. If you know B1-B4 to be true, then you can adopt new belief B* with certainty: it must be true!

Deductive Logic / Reasoning A valid deductive argument: B1: If I say the word “Balumbo”, then I will get a million dollars B2: I say the word “Balumbo” B*: I get a million dollars. Whether or not an argument is TRUE is completely separate from whether the argument is VALID.

Deductive Logic / Reasoning An invalid deductive argument: B1: If my car uses gasoline, then it pollutes the environment. B2: My car pollutes the environment. B*: My car uses gasoline. Whether or not an argument is TRUE is completely separate from whether the argument is VALID.

Deductive Logic / Reasoning General form of an implication: B1: If X, then Y. B2: X B*: Y. modus ponens B1: If X, then Y. B2: not Y B*: not X. modus tollens

Deductive Logic / Reasoning General form of an implication: B1: If X, then Y. B2: X B*: Y. modus ponens B1: If it’s a nice day, then it is sunny. B2: It’s not sunny B*: It’s not a nice day. modus tollens

Wason’s Card Selection Task AD47 RULE: If a card has a vowel on one side, then it has an even number on the other side

Wason’s Card Selection Task beercoke2218 RULE: If a person is drinking beer, then that person must be 21 or over.

Wason’s Card Selection Task beercoke2218 RULE: If a person is drinking beer, then that person must be 21 or over.

Wason’s Card Selection Task AD47 RULE: If a card has a vowel on one side, then it has an even number on the other side

Wason’s Card Selection Task AD47 RULE: If a card has a vowel on one side, then it has an even number on the other side

Wason’s Card Selection Task AD47 RULE: If a card has a vowel on one side, then it has an even number on the other side modus ponens: If vowel, then check for even... modus tollens: If not even, then check for not vowel...

Wason’s Card Selection Task AD47 RULE: If a card has a vowel on one side, then it has an even number on the other side Mistake: affirming the consequent

Wason’s Card Selection Task AD47 RULE: If a card has a vowel on one side, then it has an even number on the other side Mistake: denying the antecedent

Wason’s Card Selection Task beercoke2218 Mistake: affirming the consequent RULE: If a person is drinking beer, then that person must be 21 or over.

Deductive Logic / Reasoning Invalid deductive argument (affirming the consequent) B1: If the switch is turned on then the light will go on. B2: The light is on. B*: The switch was turned on B1: If X, then Y. B2: Y B*: X.

Deductive Logic / Reasoning A ________ syllogism: B1: All cat are mammals. B2: Some mammals are furry B*: Some cats are furry

Deductive Logic / Reasoning A invalid syllogism: B1: All cat are mammals. B2: Some mammals are furry B*: Some cats are furry mammals cats furry

Deductive Logic / Reasoning A invalid syllogism: B1: All cat are mammals. B2: Some mammals are furry B*: Some cats are furry mammals cats furry

Deductive Logic / Reasoning A ________ syllogism: B1: No addictive things are inexpensive. B2: Some cigarettes are inexpensive. B*: Some cigarettes are not addictive.

Deductive Logic / Reasoning A valid syllogism: B1: No addictive things are inexpensive. B2: Some cigarettes are inexpensive. B*: Some cigarettes are not addictive. addictive thingsinexpensive things cigarettes

Deductive Logic / Reasoning Invalid deductive argument B1: If the switch is turned on then the light will go on. B2: The light is on. B*: The switch was turned on Knowing B2 to be true increases the likelihood of B*.

Logic & Reasoning What is reasoning? Reasoning is arriving at new beliefs based on old beliefs. That is: Using premises (old beliefs) to reach conclusions (new beliefs) Using beliefs about experiences to form beliefs about the world. How do we create new beliefs from old beliefs? Two main ways: Deductive Logic: Reasoning where the conclusion is guaranteed to be true, given the premises. Inductive Logic: Reasoning where the conclusion is likely to be true, given the premises.

Inductive Logic / Reasoning A valid inductive argument: S1: Today, Psych 85 is exciting and fun! S2: Last class, Psych 85 was exciting and fun! S3: The class before, Psych 85 was exciting and fun! Therefore, next class, Psych 85 will be exciting and fun! This is enumerative induction: Every F seen so far has been a G, therefore all F’s are G’s, or at least the next F will be a G.

Enumerative Induction Vision: Non-Accidental Properties Each retinal pattern of type X I’ve seen so far has been caused by objects in the world of type Y, therefore, all retinal patterns of type X are caused by objects of type Y. Memory: Categorization Each thing with property X I’ve seen so far has been a Y, therefore, all things with property X are Y’s. Language: Learning of Grammatical Morphemes Each object-word I’ve seen so far can be made plural by adding -s, therefore, all object-words can be made plural by adding -s.

Enumerative Induction Classical Conditioning Each time Mr. Doggie has heard the bell ring, food has appeared, therefore, every time the bell rings, food will appear! The Hebb Rule raven unitblackness unit

Enumerative Induction Classical Conditioning Each time Mr. Doggie has heard the bell ring, food has appeared, therefore, every time the bell rings, food will appear! The Hebb Rule raven unitblackness unit

Enumerative Induction Maybe all induction is is association and pattern matching? It’s not that simple. There are limits to what can and can’t be associated… There are limits to what can be considered evidence. clicking bottle sweet water painnausea aversion no aversion

Enumerative Induction We are biased in what we consider “evidence” for beliefs. This is good. Consider the belief: All ravens are black. = All non-black things are non-ravens. If Raven then Black not Black not Raven Evidence that all ravens are black: Yellow cars Gray Chihuahuas Green toads...

Enumerative Induction Maybe all induction is is association and pattern matching, … with some biases about what can and can’t be learned. What about rules? What about non-enumerative induction? Other forms of induction: Forming the belief about the best possible explanation for a set of observations. Give the next number in the series: 1, 1, 2, 3, 5, 8, 13, ___

Enumerative Induction Maybe all induction is is association and pattern matching, … with some biases about what can and can’t be learned. What about rules? What about non-enumerative induction? Other forms of induction: Forming the belief about the best possible explanation for a set of observations. Give the next number in the series: 1, 1, 2, 3, 5, 8, 13, 0, 0, 0,... Problem of Induction: How do we ever know what the “best explanation” is for a given set of data?

Problem Solving Well-defined problems: A set of possible states that define a problem space A clearly defined initial state and goal state A set of operators that move you between states And any path constraints that tell you what kinds of solutions are acceptable

The states are the stops The operators are the trains The path constraint is you want to get there as quickly as possible Solving the problem involves a search.

The states are the stops The operators are the trains The path constraint is you want to get there as quickly as possible Solving the problem involves a search.

The states are the stops The operators are the trains The path constraint is you want to get there as quickly as possible Solving the problem involves a search.

Problem Solving Well-defined problems: A set of possible states that define a problem space A clearly defined initial state and goal state A set of operators that move you between states And any path constraints that tell you what kinds of solutions are acceptable Problems can be then solved by searching for different paths from the initial state to the goal state. …but we don’t have time for all that silliness!

Searching Problem Space Short-cuts in searching through problem space: Heuristic Search: Don’t search all pathways, just ones likely to be the shortest. Satisficing: Don’t look for the shortest, just look for one that is short enough. Means-Ends Analysis: Divide the problem up into sub-goals, that direct your search toward the goal.

Means-Ends Analysis 1) Compare the current state to the goal state (If they are the same, you’re done) 2) Find some operator that will make the difference between them smaller 3) If you can apply the operator, apply it! Otherwise, set up a sub-goal to make it so you can apply it 4) Go back to 1)

Tower of Hanoi Puzzle A BC Stack[1]

Tower of Hanoi Puzzle A BC Goal: Move stack[1] to peg C Production: disk[1] is not on peg C, and is not free  subgoal: move stack[2] to peg B Stack[1]

Tower of Hanoi Puzzle A BC Goal: Move stack[2] to peg B Production: disk[2] is not on peg B, and is not free  subgoal: move stack[3] to peg C Stack[2]

Tower of Hanoi Puzzle A BC Goal: Move stack[3] to peg C Production: disk[3] is not on peg C, and is not free  subgoal: move stack[4] to peg B Stack[3]

Tower of Hanoi Puzzle A BC Goal: Move stack[4] to peg B Production: disk[4] is not on peg B, but is free!  so move disk[4] to peg B Stack[4]

Tower of Hanoi Puzzle A BC Goal: Move stack[4] to peg B Production: disk[4] is not on peg B, but is free!  so move disk[4] to peg B

Searching Problem Space Short-cuts in searching through problem space: Heuristic Search: Don’t search all pathways, just ones likely to be the shortest. Satisficing: Don’t look for the shortest, just look for one that is short enough. Means-Ends Analysis: Divide the problem up into sub-goals, that direct your search toward the goal.

Improving The Search What gets better with expertise: Chunking: States are represented in terms of meaningful arrangements, rather than individual pieces. Composition: Several separate steps in a process can be consolidated into a single step. Schemas: Experience with similar situations in the past can be used to guide new searches.

Problem Representation

Ill-Defined Problems “Insight Problems”

Ill-Defined Problems “Insight Problems”

Ill-Defined Problems “Insight Problems”

Ill-Defined Problems “Insight Problems”

Ill-Defined Problems “Insight Problems”

Ill-Defined Problems “Insight Problems” One morning, exactly at sunrise, a Buddhist monk began to climb a tall mountain. The narrow path, no more than a foot or two across, spiraled around the mountain to a glittering temple at the summit. The monk ascended the path at varying rates of speed, stopping many times along the way to rest and to eat dried fruit he carried with him. He reached the temple shortly before sunset. After several days of fasting, he began his journey back along the same path, again beginning exactly at sunrise, walking at variable speeds and resting along the way. Show that there is a time when the monk was at exactly the same spot at exactly the same time of day on each journey.

Ill-Defined Problems “Insight Problems”

Ill-Defined Problems “Insight Problems”

Ill-Defined Problems “Insight Problems” involve a sudden change in the mental representation of the problem space, rather than a search of paths within one problem space. How do we discover a new representation? Creativity: How do we find a totally new way of looking at something? Scientific Creativity often seems to make sure of abstract similarities between otherwise unrelated domains.

Analogy

“Light is to lamps as heat is to furnaces.” Light: helps vision electromagnetic waves […] Heat: can be felt speed of molecular movement […] (Light, Lamps): A comes out of B B is designed to increase the amount of A in a room […] (Heat, Furnaces): A comes out of B B is designed to increase the amount of A in a room […]

Analogy “Light is to lamps as heat is to furnaces.” “Atoms are like the Solar System.” Nucleus: positive charge too small to be seen between 1 and 100 AMU […] Sun: hot yellow millions of tons […] Electrons: negative charge too small to be seen have wavelike properties […] Planets: cold solid, with atmosphere sometimes have moons […]

Analogy “Light is to lamps as heat is to furnaces.” “Atoms are like the Solar System.” (Nucleus, Electrons): B revolves around A A is bigger than B A is more massive than B […] (Sun, Planets): B revolves around A A is bigger than B A is more massive than B […] The mapping aligns nucleus with sun, electrons with planets (even though individually these items are not similar)

Discovering New Representations Many problems can be solved simply by chosing a representation space and searching through it (with heuristics and other shortcuts) When the correct problem space is not obvious, or the chosen problem space isn’t working, we somehow have to generate a new representation of the problem space. One factor that can help determine what new representation should be used is analogy: finding a mapping between the problem and another domain. Whereas searching a space is step-by-step, gradual, and conscious, changing from one representation to another is sudden, and probably the result of parallel constraint satisfaction.