SlideShare uma empresa Scribd logo
1 de 17
Logical Connectives
Truth Functions
• Declarative sentences (statements) are either true or
false but not both. They cannot be neither.
• Whether a sentence is true or false determines its truth
value.
• Functions take input values to unique output values.
That is, the input values determine the output values.
• There are some ways of combining sentences into
longer ones so that the truth value of the longer
sentence is determined by the truth value of the parts
that were combined to form it.
• So, we’ll call the connectives that combine sentences
this way truth functions.
And
• ‘And’ is often a truth functional connective.
Inserting ‘and’ between two statements gives a
longer sentence the truth of which is determined
by the truth of the parts.
• For example, consider: (A) Al admires aardvarks.
(B) Barb bakes bologna. The truth of ‘Al admires
aardvarks and Barb bakes bologna’ is determined
by the truth of A and of B.
• If A and B are both true then the longer sentence
is true. If either of A or B is false then so is the
longer sentence.
A Truth Table for ‘And’
• We can express all four
possibilities for A and B in
table form.
• Here’s how to read the
table. The second
(horizontal) row says that
when A is true and B is
true then A and B is true.
The bottom row says that
when A is false and B is
false then A and B is false.
A B A and B
T T T
T F F
F T F
F F F
Conjunction
• We’ll use a dot ‘∙’ (or an ampersand ‘&’) to represent the
truth functional connective that is captured by the truth
table on slide four.
• We’ll call sentences formed with the dot (or ampersand)
conjunctions. We’ll call the parts conjuncts. For example,
‘A∙B’ is a conjunction and ‘A’ is its left conjunct.
• Not every instance of ‘and’ in English can be symbolized
with the dot. Contrast ‘Al and Barb are chefs’ (It means: Al
is a chef ∙ Barb is a chef.) with ‘Al and Barb are enemies.’ (It
doesn’t mean: Al is an enemy ∙ Barb is an enemy.)
• Some words besides ‘and’ can be symbolized with the dot
or ampersand. For example, ‘but’ and ‘also’ form
conjunctions.
Or
• ‘Or’ is often used as a truth functional
connective.
• Using the sentences from slide three, the truth of
‘A or B’ can be determined if we know the truth
value of A and the truth value of B.
• If Al doesn’t admire aardvarks and Barb doesn’t
bake bologna then ‘A or B’ is false. Otherwise it’s
true.
• We’ll symbolize the truth functional (inclusive)
‘or’ with a wedge ‘ ’ and we’ll call the resulting
sentences disjunctions. The parts are disjuncts.
Truth Table for Disjunction
• The four possibilities for
sentences A and B are
represented by the left two
(vertical) columns.
• The top row of Ts and Fs is the
possibility where A is true and
B is true. On that possibility ‘A
B’ is true.
• The bottom row is the
possibility where A and B are
both false. In that case ‘A B’
is also false.
• Disjunction differs from
conjunction on the middle two
rows.
A B A B
T T T
T F T
F T T
F F F
Examples
• Lenny and Manny left for Bermuda. (L=Lenny left for
Bermuda. M=Manny left for Bermuda.) Translation:
L∙M
• Either Lenny or Manny left for Bermuda. Translation:
L M
• Lenny left for Bermuda and either Manny left for
Bermuda or Nancy stayed. (N=Nancy stayed.)
Translation: L∙(M N)
• Lenny left for Bermuda but Manny did too.
Translation: L∙M
• Either Manny left for Bermuda and Nancy stayed or
else Lenny left for Bermuda. Translation: (M∙N) L
Negation
• Prefixing a statement with ‘it is
not the case that’ flips the
truth value.
• The symbol to represent that
truth function is ‘ ’. The
symbol is called ‘tilde’ or just
‘squiggle’.
• Unlike the other connectives,
tilde doesn’t connect two
sentences. It just flips the
value of a single sentence.
• Also unlike the other
connectives, we don’t usually
put parenthesis around a
negation.
A A
T F
F T
Examples
• Manny left but Lenny did not leave.
Translation: M∙ L
• Either Nancy did not stay and Lenny left or
Manny didn’t leave. Translation: ( N∙L) M
• Neither Lenny nor Manny left. Translation:
(L M) [Alternate Translation: L∙ M]
• It’s not true that both Manny and Lenny left.
Translation: (M∙L) [or M L]
If..Then…
• Some uses of ‘if..then…’ are truth functional and
some are not. We’ll only care about the truth
functional ones.
• Consider: If you whistle loudly then the dog will
come. There’s really just one scenario that shows
the sentence to be false: whistle loudly and have
the dog not come. If you whistle and the dog
comes then the sentence was true. If you don’t
whistle then no matter whether the dog comes
or not, you didn’t show the sentence wrong.
Truth Table for Conditional
• We’ll use a horseshoe ‘ ’
(or an arrow ‘⟶’) to
represent the truth
functional ‘if...then…’;
and we’ll call statements
formed with the
horseshoe (or the arrow)
‘conditionals.’
• The top two rows of the
truth table for conditional
are uncontroversial. The
bottom two are less
obvious.
A B A B
T T T
T F F
F T T
F F T
Order Matters
• Notice on the table that the order of A and B matter. A
true and B false yields a different value than A false and
B true. So, unlike conjunction and disjunction where
order doesn’t matter, we have a different names for
the different parts of the conditional.
• For A B, A is called the ‘antecedent’ and B is called
the ‘consequent’.
• There are many English expressions that can be
translated as conditionals. The trick to symbolizing
them correctly is to identify the antecedent and the
consequent.
Examples of Conditionals
• Lenny left if Manny left. Translation: M L
• Lenny left only if Manny left. Translation: L M
[Think about this one.]
• Lenny left in case Manny left. Translation: M L
• Lenny left provided that Manny left. Translation:
M L
• Lenny left unless Manny left. Translation: M L
• Whenever Lenny leaves, Manny leaves.
Translation: L M
If and Only If
• ‘A only if B’ is translated ‘A B’ because when we say ‘A
only if B’ we are saying that A can’t be true without B; so, if
A is true then so is B. Hence, A B.
• ‘A if B’ is the same as ‘if B then A’ and so is translated ‘B A’.
• So, if we say ‘A if B and A only if B’ or in other words ‘A if
and only if B’ we could translate that as ‘(B A)&(A B)’.
We’ll use the triple bar ‘ ’ (or double arrow ‘⟷’ ) as an
abbreviation for that. Also, we’ll call sentences formed by
using the triple bar ‘biconditionals’.
• Sometimes you see ‘iff’ between two sentences. It’s not a
typo. It’s an abbreviation for ‘if and only if.’ So ‘A iff B’
would be translated as ‘A B’.
Truth Table for Biconditional
• Think of the biconditional as
saying that two sentences have
matching truth value. The longer
sentence is true when both parts
are true or when both parts are
false.
• Notice that order doesn’t matter;
so we don’t have special names
for the letter that comes first.
Unlike regular conditional, ‘A B’
is equivalent to ‘B A’.
• The sentence ‘A B’ is just an
abbreviation for the more
complex sentence ‘(B A)∙(A B)’
so next I’ll show you where the
values in the table to the right
came from.
A B A B
T T T
T F F
F T F
F F T
Justification for the Biconditional Table
• The table gives the value of
‘(B A)∙(A B)’ in each of the four
possibilities for A and B.
• The left two columns list the
possibilities for A and B.
• The sentence we care about is a
conjunction of two conditionals.
To figure out its truth value we
need to know the truth value of
the conditionals. Then we can
use it to figure out the truth value
of the conjunction.
• The 3rd column gives the values
for ‘B A’ and the 5th column
gives values for ‘A B’. The 4th
column was computed last using
the values from columns 3 and 5.
A B (B A) ∙ (A B)
T T T T T
T F T F F
F T F F T
F F T T T

Mais conteúdo relacionado

Mais procurados

Relations and Functions
Relations and FunctionsRelations and Functions
Relations and Functionstoni dimella
 
Converse, contrapositive, inverse
Converse, contrapositive, inverseConverse, contrapositive, inverse
Converse, contrapositive, inverseAbdur Rehman
 
Probability of Simple and Compound Events
Probability of Simple and Compound EventsProbability of Simple and Compound Events
Probability of Simple and Compound EventsJoey Valdriz
 
Fundamental counting principle powerpoint
Fundamental counting principle powerpointFundamental counting principle powerpoint
Fundamental counting principle powerpointmesmith1
 
1.3.1 Inductive and Deductive Reasoning
1.3.1 Inductive and Deductive Reasoning1.3.1 Inductive and Deductive Reasoning
1.3.1 Inductive and Deductive Reasoningsmiller5
 
union and intersection of events.ppt
union and intersection of events.pptunion and intersection of events.ppt
union and intersection of events.pptIzah Catli
 
Exponential equations
Exponential equationsExponential equations
Exponential equationsnovember12
 
Mathematical Logic
Mathematical LogicMathematical Logic
Mathematical LogicJoey Valdriz
 
Logic (PROPOSITIONS)
Logic (PROPOSITIONS)Logic (PROPOSITIONS)
Logic (PROPOSITIONS)D Nayanathara
 
Congruent triangles theorem
Congruent triangles theoremCongruent triangles theorem
Congruent triangles theoremMadhavi Mahajan
 
Reasoning In Geometry
Reasoning In GeometryReasoning In Geometry
Reasoning In Geometryguestf6d1c8
 
Lecture 4 the limit of a function
Lecture 4   the limit of a functionLecture 4   the limit of a function
Lecture 4 the limit of a functionnjit-ronbrown
 
System of Linear inequalities in two variables
System of Linear inequalities in two variablesSystem of Linear inequalities in two variables
System of Linear inequalities in two variablesAnirach Ytirahc
 

Mais procurados (20)

Relations and Functions
Relations and FunctionsRelations and Functions
Relations and Functions
 
Truth table
Truth tableTruth table
Truth table
 
Logic - Logical Propositions
Logic - Logical Propositions Logic - Logical Propositions
Logic - Logical Propositions
 
Converse, contrapositive, inverse
Converse, contrapositive, inverseConverse, contrapositive, inverse
Converse, contrapositive, inverse
 
Probability of Simple and Compound Events
Probability of Simple and Compound EventsProbability of Simple and Compound Events
Probability of Simple and Compound Events
 
Fundamental counting principle powerpoint
Fundamental counting principle powerpointFundamental counting principle powerpoint
Fundamental counting principle powerpoint
 
MEASURES OF POSITION
MEASURES OF POSITIONMEASURES OF POSITION
MEASURES OF POSITION
 
1. Logic.pptx
1. Logic.pptx1. Logic.pptx
1. Logic.pptx
 
1.3.1 Inductive and Deductive Reasoning
1.3.1 Inductive and Deductive Reasoning1.3.1 Inductive and Deductive Reasoning
1.3.1 Inductive and Deductive Reasoning
 
5.2 Venn Diagrams
5.2   Venn Diagrams5.2   Venn Diagrams
5.2 Venn Diagrams
 
union and intersection of events.ppt
union and intersection of events.pptunion and intersection of events.ppt
union and intersection of events.ppt
 
Exponential equations
Exponential equationsExponential equations
Exponential equations
 
Mathematical Logic
Mathematical LogicMathematical Logic
Mathematical Logic
 
Logic (PROPOSITIONS)
Logic (PROPOSITIONS)Logic (PROPOSITIONS)
Logic (PROPOSITIONS)
 
Congruent triangles theorem
Congruent triangles theoremCongruent triangles theorem
Congruent triangles theorem
 
Reasoning In Geometry
Reasoning In GeometryReasoning In Geometry
Reasoning In Geometry
 
Integral Exponents
Integral ExponentsIntegral Exponents
Integral Exponents
 
Lecture 4 the limit of a function
Lecture 4   the limit of a functionLecture 4   the limit of a function
Lecture 4 the limit of a function
 
2.1 Sets
2.1 Sets2.1 Sets
2.1 Sets
 
System of Linear inequalities in two variables
System of Linear inequalities in two variablesSystem of Linear inequalities in two variables
System of Linear inequalities in two variables
 

Destaque

Understanding the stages of literary appreciation
Understanding the stages of literary appreciationUnderstanding the stages of literary appreciation
Understanding the stages of literary appreciationLiza Javier
 
Word cline lesson plan
Word cline lesson planWord cline lesson plan
Word cline lesson planElaine Moran
 

Destaque (6)

Logical conectors
Logical conectorsLogical conectors
Logical conectors
 
Most common connectors
Most common connectorsMost common connectors
Most common connectors
 
Understanding the stages of literary appreciation
Understanding the stages of literary appreciationUnderstanding the stages of literary appreciation
Understanding the stages of literary appreciation
 
Word cline lesson plan
Word cline lesson planWord cline lesson plan
Word cline lesson plan
 
Logical Connectors
Logical ConnectorsLogical Connectors
Logical Connectors
 
Connectors
ConnectorsConnectors
Connectors
 

Semelhante a Logical connectives

Logical Connectives (w/ ampersands and arrows)
Logical Connectives (w/ ampersands and arrows)Logical Connectives (w/ ampersands and arrows)
Logical Connectives (w/ ampersands and arrows)dyeakel
 
verb_and_head_movement.ppt
verb_and_head_movement.pptverb_and_head_movement.ppt
verb_and_head_movement.pptSubramanian Mani
 
Abbreviated Truth Tables
Abbreviated Truth TablesAbbreviated Truth Tables
Abbreviated Truth Tablesdyeakel
 
CPSC 125 Ch 1 sec 1
CPSC 125 Ch 1 sec 1CPSC 125 Ch 1 sec 1
CPSC 125 Ch 1 sec 1David Wood
 

Semelhante a Logical connectives (7)

Logical Connectives (w/ ampersands and arrows)
Logical Connectives (w/ ampersands and arrows)Logical Connectives (w/ ampersands and arrows)
Logical Connectives (w/ ampersands and arrows)
 
verb_and_head_movement.ppt
verb_and_head_movement.pptverb_and_head_movement.ppt
verb_and_head_movement.ppt
 
Logic.pptx
Logic.pptxLogic.pptx
Logic.pptx
 
Abbreviated Truth Tables
Abbreviated Truth TablesAbbreviated Truth Tables
Abbreviated Truth Tables
 
Head Movement and verb movement
Head Movement and verb movementHead Movement and verb movement
Head Movement and verb movement
 
Symbolic logic
Symbolic logicSymbolic logic
Symbolic logic
 
CPSC 125 Ch 1 sec 1
CPSC 125 Ch 1 sec 1CPSC 125 Ch 1 sec 1
CPSC 125 Ch 1 sec 1
 

Mais de dyeakel

Paley's Analogy
Paley's AnalogyPaley's Analogy
Paley's Analogydyeakel
 
Causation
CausationCausation
Causationdyeakel
 
Mistakes in Reasoning
Mistakes in ReasoningMistakes in Reasoning
Mistakes in Reasoningdyeakel
 
Conspiracy Theories and Explanations
Conspiracy Theories and ExplanationsConspiracy Theories and Explanations
Conspiracy Theories and Explanationsdyeakel
 
Arguments and Evidence
Arguments and EvidenceArguments and Evidence
Arguments and Evidencedyeakel
 
Rhetorical devices
Rhetorical devicesRhetorical devices
Rhetorical devicesdyeakel
 
Testing for Validity with Venn Diagrams
Testing for Validity with Venn DiagramsTesting for Validity with Venn Diagrams
Testing for Validity with Venn Diagramsdyeakel
 
Validity
ValidityValidity
Validitydyeakel
 
Language Part I
Language Part ILanguage Part I
Language Part Idyeakel
 
Identify and Reconstruct Arguments
Identify and Reconstruct ArgumentsIdentify and Reconstruct Arguments
Identify and Reconstruct Argumentsdyeakel
 

Mais de dyeakel (10)

Paley's Analogy
Paley's AnalogyPaley's Analogy
Paley's Analogy
 
Causation
CausationCausation
Causation
 
Mistakes in Reasoning
Mistakes in ReasoningMistakes in Reasoning
Mistakes in Reasoning
 
Conspiracy Theories and Explanations
Conspiracy Theories and ExplanationsConspiracy Theories and Explanations
Conspiracy Theories and Explanations
 
Arguments and Evidence
Arguments and EvidenceArguments and Evidence
Arguments and Evidence
 
Rhetorical devices
Rhetorical devicesRhetorical devices
Rhetorical devices
 
Testing for Validity with Venn Diagrams
Testing for Validity with Venn DiagramsTesting for Validity with Venn Diagrams
Testing for Validity with Venn Diagrams
 
Validity
ValidityValidity
Validity
 
Language Part I
Language Part ILanguage Part I
Language Part I
 
Identify and Reconstruct Arguments
Identify and Reconstruct ArgumentsIdentify and Reconstruct Arguments
Identify and Reconstruct Arguments
 

Último

VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service JamshedpurVIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service JamshedpurSuhani Kapoor
 
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130  Available With RoomVIP Kolkata Call Girl Howrah 👉 8250192130  Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Roomdivyansh0kumar0
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageMatteo Carbone
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsMichael W. Hawkins
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation SlidesKeppelCorporation
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Serviceritikaroy0888
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communicationskarancommunications
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Servicediscovermytutordmt
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Dave Litwiller
 
Understanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key InsightsUnderstanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key Insightsseribangash
 
Unlocking the Secrets of Affiliate Marketing.pdf
Unlocking the Secrets of Affiliate Marketing.pdfUnlocking the Secrets of Affiliate Marketing.pdf
Unlocking the Secrets of Affiliate Marketing.pdfOnline Income Engine
 
Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Roland Driesen
 
Event mailer assignment progress report .pdf
Event mailer assignment progress report .pdfEvent mailer assignment progress report .pdf
Event mailer assignment progress report .pdftbatkhuu1
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth MarketingShawn Pang
 
BEST ✨ Call Girls In Indirapuram Ghaziabad ✔️ 9871031762 ✔️ Escorts Service...
BEST ✨ Call Girls In  Indirapuram Ghaziabad  ✔️ 9871031762 ✔️ Escorts Service...BEST ✨ Call Girls In  Indirapuram Ghaziabad  ✔️ 9871031762 ✔️ Escorts Service...
BEST ✨ Call Girls In Indirapuram Ghaziabad ✔️ 9871031762 ✔️ Escorts Service...noida100girls
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMRavindra Nath Shukla
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Lviv Startup Club
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdfRenandantas16
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayNZSG
 

Último (20)

VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service JamshedpurVIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
 
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130  Available With RoomVIP Kolkata Call Girl Howrah 👉 8250192130  Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael Hawkins
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Service
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Service
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
Understanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key InsightsUnderstanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key Insights
 
Unlocking the Secrets of Affiliate Marketing.pdf
Unlocking the Secrets of Affiliate Marketing.pdfUnlocking the Secrets of Affiliate Marketing.pdf
Unlocking the Secrets of Affiliate Marketing.pdf
 
Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...
 
Event mailer assignment progress report .pdf
Event mailer assignment progress report .pdfEvent mailer assignment progress report .pdf
Event mailer assignment progress report .pdf
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
 
BEST ✨ Call Girls In Indirapuram Ghaziabad ✔️ 9871031762 ✔️ Escorts Service...
BEST ✨ Call Girls In  Indirapuram Ghaziabad  ✔️ 9871031762 ✔️ Escorts Service...BEST ✨ Call Girls In  Indirapuram Ghaziabad  ✔️ 9871031762 ✔️ Escorts Service...
BEST ✨ Call Girls In Indirapuram Ghaziabad ✔️ 9871031762 ✔️ Escorts Service...
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
 

Logical connectives

  • 2. Truth Functions • Declarative sentences (statements) are either true or false but not both. They cannot be neither. • Whether a sentence is true or false determines its truth value. • Functions take input values to unique output values. That is, the input values determine the output values. • There are some ways of combining sentences into longer ones so that the truth value of the longer sentence is determined by the truth value of the parts that were combined to form it. • So, we’ll call the connectives that combine sentences this way truth functions.
  • 3. And • ‘And’ is often a truth functional connective. Inserting ‘and’ between two statements gives a longer sentence the truth of which is determined by the truth of the parts. • For example, consider: (A) Al admires aardvarks. (B) Barb bakes bologna. The truth of ‘Al admires aardvarks and Barb bakes bologna’ is determined by the truth of A and of B. • If A and B are both true then the longer sentence is true. If either of A or B is false then so is the longer sentence.
  • 4. A Truth Table for ‘And’ • We can express all four possibilities for A and B in table form. • Here’s how to read the table. The second (horizontal) row says that when A is true and B is true then A and B is true. The bottom row says that when A is false and B is false then A and B is false. A B A and B T T T T F F F T F F F F
  • 5. Conjunction • We’ll use a dot ‘∙’ (or an ampersand ‘&’) to represent the truth functional connective that is captured by the truth table on slide four. • We’ll call sentences formed with the dot (or ampersand) conjunctions. We’ll call the parts conjuncts. For example, ‘A∙B’ is a conjunction and ‘A’ is its left conjunct. • Not every instance of ‘and’ in English can be symbolized with the dot. Contrast ‘Al and Barb are chefs’ (It means: Al is a chef ∙ Barb is a chef.) with ‘Al and Barb are enemies.’ (It doesn’t mean: Al is an enemy ∙ Barb is an enemy.) • Some words besides ‘and’ can be symbolized with the dot or ampersand. For example, ‘but’ and ‘also’ form conjunctions.
  • 6. Or • ‘Or’ is often used as a truth functional connective. • Using the sentences from slide three, the truth of ‘A or B’ can be determined if we know the truth value of A and the truth value of B. • If Al doesn’t admire aardvarks and Barb doesn’t bake bologna then ‘A or B’ is false. Otherwise it’s true. • We’ll symbolize the truth functional (inclusive) ‘or’ with a wedge ‘ ’ and we’ll call the resulting sentences disjunctions. The parts are disjuncts.
  • 7. Truth Table for Disjunction • The four possibilities for sentences A and B are represented by the left two (vertical) columns. • The top row of Ts and Fs is the possibility where A is true and B is true. On that possibility ‘A B’ is true. • The bottom row is the possibility where A and B are both false. In that case ‘A B’ is also false. • Disjunction differs from conjunction on the middle two rows. A B A B T T T T F T F T T F F F
  • 8. Examples • Lenny and Manny left for Bermuda. (L=Lenny left for Bermuda. M=Manny left for Bermuda.) Translation: L∙M • Either Lenny or Manny left for Bermuda. Translation: L M • Lenny left for Bermuda and either Manny left for Bermuda or Nancy stayed. (N=Nancy stayed.) Translation: L∙(M N) • Lenny left for Bermuda but Manny did too. Translation: L∙M • Either Manny left for Bermuda and Nancy stayed or else Lenny left for Bermuda. Translation: (M∙N) L
  • 9. Negation • Prefixing a statement with ‘it is not the case that’ flips the truth value. • The symbol to represent that truth function is ‘ ’. The symbol is called ‘tilde’ or just ‘squiggle’. • Unlike the other connectives, tilde doesn’t connect two sentences. It just flips the value of a single sentence. • Also unlike the other connectives, we don’t usually put parenthesis around a negation. A A T F F T
  • 10. Examples • Manny left but Lenny did not leave. Translation: M∙ L • Either Nancy did not stay and Lenny left or Manny didn’t leave. Translation: ( N∙L) M • Neither Lenny nor Manny left. Translation: (L M) [Alternate Translation: L∙ M] • It’s not true that both Manny and Lenny left. Translation: (M∙L) [or M L]
  • 11. If..Then… • Some uses of ‘if..then…’ are truth functional and some are not. We’ll only care about the truth functional ones. • Consider: If you whistle loudly then the dog will come. There’s really just one scenario that shows the sentence to be false: whistle loudly and have the dog not come. If you whistle and the dog comes then the sentence was true. If you don’t whistle then no matter whether the dog comes or not, you didn’t show the sentence wrong.
  • 12. Truth Table for Conditional • We’ll use a horseshoe ‘ ’ (or an arrow ‘⟶’) to represent the truth functional ‘if...then…’; and we’ll call statements formed with the horseshoe (or the arrow) ‘conditionals.’ • The top two rows of the truth table for conditional are uncontroversial. The bottom two are less obvious. A B A B T T T T F F F T T F F T
  • 13. Order Matters • Notice on the table that the order of A and B matter. A true and B false yields a different value than A false and B true. So, unlike conjunction and disjunction where order doesn’t matter, we have a different names for the different parts of the conditional. • For A B, A is called the ‘antecedent’ and B is called the ‘consequent’. • There are many English expressions that can be translated as conditionals. The trick to symbolizing them correctly is to identify the antecedent and the consequent.
  • 14. Examples of Conditionals • Lenny left if Manny left. Translation: M L • Lenny left only if Manny left. Translation: L M [Think about this one.] • Lenny left in case Manny left. Translation: M L • Lenny left provided that Manny left. Translation: M L • Lenny left unless Manny left. Translation: M L • Whenever Lenny leaves, Manny leaves. Translation: L M
  • 15. If and Only If • ‘A only if B’ is translated ‘A B’ because when we say ‘A only if B’ we are saying that A can’t be true without B; so, if A is true then so is B. Hence, A B. • ‘A if B’ is the same as ‘if B then A’ and so is translated ‘B A’. • So, if we say ‘A if B and A only if B’ or in other words ‘A if and only if B’ we could translate that as ‘(B A)&(A B)’. We’ll use the triple bar ‘ ’ (or double arrow ‘⟷’ ) as an abbreviation for that. Also, we’ll call sentences formed by using the triple bar ‘biconditionals’. • Sometimes you see ‘iff’ between two sentences. It’s not a typo. It’s an abbreviation for ‘if and only if.’ So ‘A iff B’ would be translated as ‘A B’.
  • 16. Truth Table for Biconditional • Think of the biconditional as saying that two sentences have matching truth value. The longer sentence is true when both parts are true or when both parts are false. • Notice that order doesn’t matter; so we don’t have special names for the letter that comes first. Unlike regular conditional, ‘A B’ is equivalent to ‘B A’. • The sentence ‘A B’ is just an abbreviation for the more complex sentence ‘(B A)∙(A B)’ so next I’ll show you where the values in the table to the right came from. A B A B T T T T F F F T F F F T
  • 17. Justification for the Biconditional Table • The table gives the value of ‘(B A)∙(A B)’ in each of the four possibilities for A and B. • The left two columns list the possibilities for A and B. • The sentence we care about is a conjunction of two conditionals. To figure out its truth value we need to know the truth value of the conditionals. Then we can use it to figure out the truth value of the conjunction. • The 3rd column gives the values for ‘B A’ and the 5th column gives values for ‘A B’. The 4th column was computed last using the values from columns 3 and 5. A B (B A) ∙ (A B) T T T T T T F T F F F T F F T F F T T T