Lecture 1 1 The Foundations: Logic and Proofs 1.1 Propositional Logic

Slides:



Advertisements
Similar presentations
Jabberwocky by Lewis Carroll Jabberwocky by Lewis Carroll Twas brillig, and the slithy toves Did gyre and gimble in the wabe: All mimsy were the borogoves,
Advertisements

Social Constraints Breaking social constraints, Carnival.
Two poems Compare and Contrast. William BlakeWilliam Blake - The Tyger Tyger, Tyger, burning bright In the forests of the night, What immortal hand or.
Topics for Today  Natural Curls?. Topics for Today  How do proteins get their shape?
Jabberwocky by Lewis Carroll Twas brillig, and the slithy toves Did gyre and gimble in the wabe: All mimsy were the borogoves, And the mome raths outgrabe.
Jabberwocky by Lewis Carroll Jabberwocky by Lewis Carroll Twas brillig, and the slithy toves Did gyre and gimble in the wabe: All mimsy were the borogoves,
Morphology Meaning of Sounds. Linguistics Phonetics Phonology Morphology Syntax Semantics.
ADHD and Learning Disorders
Lewis Carroll “The Walrus and the Carpenter” “Jabberwocky”
By: Megan Reaugh and Caroline Miller
Lesson Overview Strategies for figuring out definitions of words you don’t already know. 1)Review results of yesterday’s lesson 2)PowerPoint: Take.
Nonsense, Humor.
Poetry. “For poetry is the blossom and the fragrance of all human knowledge, human thoughts, human passions, emotions, language.” --Coleridge.
Nouns & Verbs.
Whiteboardmaths.com © 2004 All rights reserved
`Twas brillig, and the slithy toves Did gyre and gimble in the wabe: All mimsy were the borogoves, And the mome raths outgrabe. "Beware the Jabberwock,
J a b b e r w o c k y Ron Hickey Media 7468 eBook Project.
Grammar Warm Up  Charles Lutwidge Dodgeson was born in Cheshire England in He was one of eleven childen and his siblings love hearing and reading.
DEFINING FEATURES OF LANGUAGE Language uses arbitrary symbols Language is generative Language permits displacement.
Becoming Literate EDU 611 Current Trends in Reading.
What is poetry?. From Prentice Hall Literature: Timeless Voices, Timeless Themes Poetry is… One of the three major types of literature (the others being.
WHY POETRY? Why I choose to love words.. MR. WILSON  8 th grade English teacher  Encouraged us to express ourselves  Wanted us to seize the day  Taught.
Objective : Students will gain understanding of how sentence structure and subtle overtones of words can help them understand and define them.
There are 20 tumtum trees in the tulgey wood.
Breaking Down a Prompt. 6I4&feature=related 6I4&feature=related.
Teaching English Grammar
Title: Allusion, onomatopoeia, and Neologism
Miss Bowen Mr. Clark’s 7 th grade class Shahala Middle School.
Veni, Vidi, Vici! A New Latin Pedagogy for Students in the Middle Grades FRANCES R. SPIELHAGEN, PH. D. PROFESSOR MOUNT SAINT MARY COLLEGE NEWBURGH, NY.
6-1 Module VI: Developing Fluent Readers PowerPoint Slides FOUNDATIONS OF LITERACY.
Comprehension Strategies and Understandings. Comprehension Reading involves a lot more than simply “ decoding ” the sounds of words, the same way music.
Something to Do on Monday! Mary Patricia Schnueriger, Solothurn, November 19, 2011.
Name _______________________________ Period __________.
Definitions and Important Info:
WHAT IS CLOSE READIN G ? Jessica Garrigan, WHY should we read carefully and purposefully?
“Jabberwo cky” by Lewis Carroll. Ever heard of Alice in Wonderland ? Lewis Carroll’s most famous writings are Jabberwocky Alice’s Adventures in Wonderland.
Rhyme and Rhyme Scheme. Types of Rhyme End Rhyme When the words at the end of multiple lines in a poem have matching end sounds. “Tyger Tyger, burning.
Poetry Memorization Test Grade Due January 31st We are going to try something different. You have a choice as to what poem you memorize and the grade you.
Poetry.
The Elements of Plot.
Vocabulary Week 8.
Raster Analysis: Intro
Modern Translation Of the Famous Poem By Lewis Carroll
The building blocks of language
Jabberwocky by Lewis Carroll
Bellringer Make up your own word.
– Communication Technology in a Changing World
“JABBERWOCKY” BY LEWIS CARROLL
Jabberwocky By Lewis Carroll.
What is skimming? Skimming is used to find out what the text is about – ‘to get the gist’. Skimming is a technique that can help you: read a whole text.
Rhetorical Précis Test v.I Concept, Content, Construction, Quality
The Elements of Plot.
TEACHER: ANAYANSI SANTAMARÍA
Jabberwocky.
Jabberwocky By Lewis Carroll
Jabberwocky ‘’Twas brillig and the slithy toves
Jabberwocky Wednesday & Thursday.
By Ronald Boyer ,Justin Keenan , Pam Daugherty & Latosha Brown
The Jabberwocky 'Twas brillig, and the slithy toves Did gyre and gimble in the wabe; All mimsy were the borogoves, And the mome raths outgrabe. "Beware.
A recent survey in schools in Palestine showed that: 70% of children cannot read!
Jabberwockyby Lewis Carroll
Jabberwocky by Lewis Carroll
Word of the Week November 2
Decoding and Understanding unknown words (without using a dictionary)
Jabberwocky By: Lewis Carroll
“JABBERWOCKY” BY LEWIS CARROLL
Jabberwockyby Lewis Carroll
Jabberwocky by Lewis Carroll
A poem is a composition in verse
How do you know what you don’t know?
Presentation transcript:

Lecture 1 1 The Foundations: Logic and Proofs 1.1 Propositional Logic 1.2 Applications of Propositional Logic

The Foundations: Logic & Proof

Propositional Variables

Propositional Calculus

Definiton of a Proposition A proposition is a declarative sentence that is either true or false, but not both. Pigs have wings If pigs have wings then I have a million dollars. Pick up your socks! What's up, Doc? Long, long ago in a galaxy far, far away... This sentence is false. This sentence is true.

Which statements are propositions? Washington D.C. is the capital of the United States of America. Toronto is the capital of the Canada. The capitol is located in the capital. 1+2 = 3 2+3 = 4 32 + 42 = 52 33 + 43 + 53 = 63 What time is it? Read this carefully. x + 1 = 2 x + y = z x + y = y + x

(from Through the Looking-Glass and What Alice Found There, 1872) JABBERWOCKY Lewis Carroll (from Through the Looking-Glass and What Alice Found There, 1872) `Twas brillig, and the slithy toves, Did gyre and gimble in the wabe: All mimsy were the borogoves, And the mome raths outgrabe. "Beware the Jabberwock, my son! The jaws that bite, the claws that catch! Beware the Jubjub bird, and shun The frumious Bandersnatch!" He took his vorpal sword in hand: Long time the manxome foe he sought -- So rested he by the Tumtum tree, And stood awhile in thought. And, as in uffish thought he stood, The Jabberwock, with eyes of flame, Came whiffling through the tulgey wood, And burbled as it came! One, two! One, two! And through and through The vorpal blade went snicker-snack! He left it dead, and with its head He went galumphing back. "And, has thou slain the Jabberwock? Come to my arms, my beamish boy! O frabjous day! Callooh! Callay!' He chortled in his joy.

Bit Operations Example Problem

Introduction Conjunction Disjunction a b a b F F F F T F T F F T T T The textbook introduces propositions as familiar English sentences. However, it is important to understand that the underlying logical rules applied to a proposition depend on the assigned truth value of the predicates rather than their meaning. Conjunction Disjunction a b a b F F F F T F T F F T T T a b a b F F F F T T T F T T T T

All the Binary Logical Operations 0 1 0 1 0 0 1 1 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 p q , T F

Applications of Propositional Logic Natural Language Understanding Verifying System Specifications (e.g. distributed systems) Boolean Search Logic Puzzles Digital Logic Circuits Torturing Students

Puzzle Four friends have been identified as suspects for an unauthorized access into a computer system. They have made statements to the investigating authorities. Alice said, "Carlos did it." Bill said, "I did not do it." Carlos said, "Diana did it." Diana said, "Carlos lied when he said that I did it." a) If the authorities know that exactly one of the four is telling the truth, who did it? b) If the authorities know that exactly one of the four is lying, who did it?