Logics in general Logics are formal languages for - - PowerPoint PPT Presentation

logics in general
SMART_READER_LITE
LIVE PREVIEW

Logics in general Logics are formal languages for - - PowerPoint PPT Presentation

Introduc)on to Ar)ficial Intelligence Lecture 8 Logical reasoning CS/CNS/EE 154 Andreas Krause TexPoint fonts used in EMF. Logics in general


slide-1
SLIDE 1

Introduc)on ¡to ¡ ¡

Ar)ficial ¡Intelligence ¡

Lecture ¡8 ¡– ¡Logical ¡reasoning ¡

CS/CNS/EE ¡154 ¡ Andreas ¡Krause ¡ TexPoint ¡fonts ¡used ¡in ¡EMF. ¡ ¡

slide-2
SLIDE 2

Logics ¡in ¡general ¡

Logics ¡are ¡formal ¡languages ¡for ¡represen)ng ¡

informa)on ¡such ¡that ¡conclusions ¡can ¡be ¡drawn ¡

Syntax ¡defines ¡the ¡sentences ¡in ¡the ¡language ¡ Seman)cs ¡defines ¡the ¡“meaning” ¡of ¡sentences, ¡i.e., ¡

the ¡truth ¡of ¡a ¡sentence ¡in ¡a ¡world ¡(environment ¡state) ¡

Example: ¡Language ¡of ¡arithme)c ¡

2 ¡

slide-3
SLIDE 3

Models ¡

Logicians ¡think ¡in ¡terms ¡of ¡models ¡

Formally ¡structured ¡worlds ¡w.r.t. ¡which ¡truth ¡can ¡be ¡evaluated ¡

We ¡say ¡m ¡is ¡a ¡model ¡of ¡a ¡sentence ¡α ¡if ¡α ¡is ¡true ¡in ¡m ¡ ¡ M(α) ¡is ¡the ¡set ¡of ¡all ¡models ¡of ¡α ¡ Then ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡if ¡and ¡only ¡if ¡

3 ¡

slide-4
SLIDE 4

Wumpus ¡models ¡

KB ¡= ¡wumpus-­‑world ¡rules ¡+ ¡observa)ons ¡

slide-5
SLIDE 5

Wumpus ¡models ¡

KB ¡= ¡wumpus-­‑world ¡rules ¡+ ¡observa)ons ¡ α1 ¡= ¡"[1,2] ¡is ¡safe", ¡ ¡

slide-6
SLIDE 6

Proposi)onal ¡logic: ¡Syntax ¡

Simplest ¡example ¡of ¡a ¡logic; ¡illustrates ¡basic ¡ideas ¡ Proposi)onal ¡symbols ¡are ¡sentences ¡ If ¡S ¡is ¡a ¡sentence, ¡¬S ¡is ¡a ¡sentence ¡(nega)on) ¡ If ¡S1 ¡and ¡S2 ¡are ¡sentences, ¡S1∧S2 ¡is ¡a ¡sentence ¡(conjunc)on) ¡ If ¡S1 ¡and ¡S2 ¡are ¡sentences, ¡S1∨S2 ¡is ¡a ¡sentence ¡(disjunc)on) ¡ Nota)on ¡shorthand: ¡ ¡

S1 ¡⇒ ¡S2 ¡for ¡¬S1 ¡∨ !S2 ¡(implica)on) ¡ S1 ¡⇔ ¡S2 ¡for ¡(S1 ¡⇒ ¡S2) !∧ !(S2 ¡⇒ ¡S1) ¡(bicondi)onal) ¡

6 ¡

slide-7
SLIDE 7

Proposi)onal ¡logic: ¡Seman)cs ¡

Each ¡model ¡specifies ¡true ¡or ¡false ¡for ¡each ¡proposi)on ¡symbol ¡ E.g. ¡ ¡P1,2 ¡ ¡P2,2 ¡ ¡P3,1 ¡ ¡ ¡ ¡ ¡false ¡true ¡false ¡ Rules ¡for ¡evalua)ng ¡truth ¡with ¡respect ¡to ¡a ¡model ¡m: ¡

¡

¡¬S

¡is ¡true ¡iff ¡ ¡S ¡is ¡false ¡ ¡ ¡ ¡ ¡S1 ¡∧ ¡S2 ¡ ¡is ¡true ¡iff ¡ ¡S1 ¡is ¡true ¡ ¡ ¡ ¡and ¡ ¡ ¡S2 ¡is ¡true ¡ ¡ ¡S1 ¡∨ ¡S2 ¡ ¡is ¡true ¡iff ¡ ¡S1is ¡true ¡ ¡ ¡ ¡ ¡ ¡or ¡ ¡ ¡ ¡ ¡S2 ¡is ¡true ¡ Simple ¡recursive ¡process ¡evaluates ¡an ¡arbitrary ¡sentence, ¡e.g., ¡ ¬P1,2 ¡∧ ¡(P2,2 ¡∨ ¡P3,1) ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡

slide-8
SLIDE 8

Wumpus ¡world ¡in ¡prop. ¡logic ¡

Let ¡Pi,j ¡be ¡true ¡if ¡there ¡is ¡a ¡pit ¡in ¡[i, ¡j]. ¡ Let ¡Bi,j ¡be ¡true ¡if ¡there ¡is ¡a ¡breeze ¡in ¡[i, ¡j]. ¡

¬ ¡P1,1 ¡ ¬B1,1 ¡ B2,1 ¡

"Pits ¡cause ¡breezes ¡in ¡adjacent ¡squares" ¡

B1,1 ¡ ¡ ¡ ¡ ¡ ¡⇔ ¡

¡(P1,2 ¡∨ ¡P2,1) ¡

B2,1 ¡ ¡ ¡ ¡ ¡ ¡⇔ ¡(P1,1 ¡∨ ¡P2,2 ¡∨ ¡P3,1) ¡

slide-9
SLIDE 9

Proving ¡entailment ¡

Two ¡main ¡classes ¡of ¡methods ¡for ¡proving ¡ ¡ Model ¡checking ¡

Truth ¡table ¡enumera)on ¡(always ¡exponen)al ¡in ¡n) ¡ Befer: ¡CSP ¡(e.g, ¡improved ¡backtracking ¡such ¡as ¡DPLL) ¡

Check ¡whether ¡(KB ¡∧¬α) ¡is ¡unsa)sfiable ¡

Proof ¡using ¡inference ¡

Apply ¡sequence ¡of ¡inference ¡rules ¡(syntac)c ¡manipula)ons) ¡ Can ¡use ¡inference ¡rules ¡in ¡a ¡standard ¡search ¡algorithm ¡

9 ¡

slide-10
SLIDE 10

Logical ¡inference ¡

Inference: ¡procedure ¡i ¡for ¡deducing ¡(proving) ¡

sentences ¡from ¡knowledge ¡base ¡

We ¡say ¡

¡ ¡ ¡ ¡ ¡if ¡α ¡can ¡be ¡inferred ¡from ¡KB ¡using ¡ inference ¡procedure ¡i ¡

Inference ¡i ¡is ¡called ¡

Sound ¡ ¡ ¡ ¡ ¡ ¡ ¡if ¡whenever ¡ ¡

¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡then ¡also ¡

Complete ¡if ¡whenever ¡

¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡then ¡also ¡

Thus, ¡a ¡sound ¡and ¡complete ¡inference ¡procedure ¡

correctly ¡answers ¡any ¡ques)on ¡whose ¡answer ¡can ¡be ¡ inferred ¡from ¡KB ¡

10 ¡

slide-11
SLIDE 11

Resolu)on ¡

Assumes ¡sentences ¡in ¡Conjunc)ve ¡Normal ¡Form ¡(CNF)

¡

This ¡is ¡no ¡restric)on ¡(Tsei)n ¡transforma)on) ¡ Example ¡

Resolu)on ¡inference ¡rule ¡ Sound ¡and ¡complete ¡for ¡ ¡

proposi)onal ¡logic! ¡

Example: ¡

11 ¡

slide-12
SLIDE 12

Resolu)on ¡example ¡

KB ¡= ¡(B1,1 ¡⇔ ¡(P1,2∨ ¡P2,1)) ¡∧¬ ¡B1,1 ¡

¡α ¡= ¡¬P1,2 ¡

12 ¡

slide-13
SLIDE 13

Logical ¡reasoning ¡with ¡resolu)on ¡

Resolu)on ¡is ¡complete ¡

 ¡Any ¡proposi)onal ¡sentence ¡is ¡entailed ¡if ¡and ¡only ¡it ¡ can ¡be ¡proven ¡by ¡resolu)on ¡

BUT: ¡Finding ¡the ¡proof ¡can ¡be ¡difficult! ¡

Must ¡search ¡through ¡possible ¡applica)ons ¡of ¡resolu)on ¡rule

¡

Search ¡space ¡exponen)ally ¡large ¡

3CNF ¡SAT ¡is ¡NP ¡complete! ¡

Existence ¡of ¡polynomial ¡)me ¡algorithm ¡considered ¡unlikely ¡

Are ¡there ¡special ¡kinds ¡of ¡sentences ¡that ¡are ¡“easy” ¡to

¡ prove?? ¡

13 ¡

slide-14
SLIDE 14

Horn ¡clauses ¡

Special ¡types ¡of ¡proposi)onal ¡formulae ¡ A ¡Horn ¡clause ¡is ¡

A ¡proposi)onal ¡symbol; ¡or ¡ (conjunc)on ¡of ¡symbols) ¡⇒ ¡symbol ¡

14 ¡

slide-15
SLIDE 15

Forward ¡and ¡backward ¡chaining ¡

Inference ¡procedure ¡for ¡special ¡types ¡of ¡KBs, ¡

consis)ng ¡only ¡of ¡Horn ¡clauses ¡

Modus ¡ponens ¡complete ¡for ¡Horn ¡formulas ¡ ¡ Inference ¡algorithms: ¡forward ¡and ¡backward ¡chaining ¡

15 ¡

slide-16
SLIDE 16

Forward ¡chaining ¡

Idea: ¡fire ¡any ¡rule ¡whose ¡premises ¡are ¡sa)sfied ¡in ¡the ¡KB, ¡

add ¡its ¡conclusion ¡to ¡the ¡KB, ¡un)l ¡query ¡is ¡found ¡

slide-17
SLIDE 17

Forward ¡chaining ¡example ¡

slide-18
SLIDE 18

Forward ¡chaining ¡example ¡

slide-19
SLIDE 19

Forward ¡chaining ¡example ¡

slide-20
SLIDE 20

Forward ¡chaining ¡example ¡

slide-21
SLIDE 21

Forward ¡chaining ¡example ¡

slide-22
SLIDE 22

Forward ¡chaining ¡example ¡

slide-23
SLIDE 23

Forward ¡chaining ¡example ¡

slide-24
SLIDE 24

Forward ¡chaining ¡example ¡

slide-25
SLIDE 25

Proof ¡of ¡completeness ¡

FC ¡derives ¡every ¡atomic ¡sentence ¡that ¡is ¡entailed ¡by ¡KB ¡

1.

FC ¡reaches ¡a ¡fixed ¡point: ¡no ¡new ¡atomic ¡sentences ¡are ¡derived ¡

2.

Consider ¡final ¡state ¡as ¡model ¡m, ¡assigning ¡true/false ¡to ¡symbols ¡

3.

Every ¡clause ¡in ¡the ¡original ¡KB ¡is ¡true ¡in ¡m ¡

¡ ¡a1 ¡∧ ¡ ¡… ¡∧ ¡ ¡ak ¡⇒ ¡b ¡

4.

Hence ¡m ¡is ¡a ¡model ¡of ¡KB ¡

5.

If ¡KB╞ ¡q, ¡q ¡is ¡true ¡in ¡every ¡model ¡of ¡KB, ¡including ¡m ¡

slide-26
SLIDE 26

Backward ¡chaining ¡

Idea: ¡work ¡backwards ¡from ¡the ¡query ¡Q: ¡ ¡check ¡if ¡Q ¡is ¡known ¡already, ¡or ¡

¡prove ¡by ¡BC ¡all ¡premises ¡of ¡some ¡rule ¡concluding ¡Q ¡ Avoid ¡loops: ¡check ¡if ¡new ¡subgoal ¡is ¡already ¡on ¡the ¡goal ¡stack ¡ Avoid ¡repeated ¡work: ¡check ¡if ¡new ¡subgoal ¡

1.

has ¡already ¡been ¡proved ¡true, ¡or ¡

2.

has ¡already ¡failed ¡

slide-27
SLIDE 27

Backward ¡chaining ¡example ¡

slide-28
SLIDE 28

Backward ¡chaining ¡example ¡

slide-29
SLIDE 29

Backward ¡chaining ¡example ¡

slide-30
SLIDE 30

Backward ¡chaining ¡example ¡

slide-31
SLIDE 31

Backward ¡chaining ¡example ¡

slide-32
SLIDE 32

Backward ¡chaining ¡example ¡

slide-33
SLIDE 33

Backward ¡chaining ¡example ¡

slide-34
SLIDE 34

Backward ¡chaining ¡example ¡

slide-35
SLIDE 35

Backward ¡chaining ¡example ¡

slide-36
SLIDE 36

Backward ¡chaining ¡example ¡

slide-37
SLIDE 37

Forward ¡vs. ¡backward ¡chaining ¡

FC ¡is ¡data-­‑driven, ¡automa)c, ¡unconscious ¡processing, ¡

e.g., ¡simple ¡model ¡for ¡object ¡recogni)on, ¡rou)ne ¡decisions ¡

May ¡do ¡lots ¡of ¡work ¡that ¡is ¡irrelevant ¡to ¡the ¡goal ¡ ¡ BC ¡is ¡goal-­‑driven, ¡appropriate ¡for ¡problem-­‑solving, ¡

e.g., ¡Where ¡are ¡my ¡keys? ¡How ¡do ¡I ¡get ¡into ¡a ¡PhD ¡program? ¡

Complexity ¡of ¡BC ¡can ¡be ¡much ¡less ¡than ¡linear ¡in ¡size ¡of ¡KB ¡

slide-38
SLIDE 38

Summary ¡so ¡far: ¡

Logic ¡= ¡formal ¡language ¡with ¡

Syntax ¡(what ¡sentences ¡are ¡valid?) ¡ Seman)cs ¡(what ¡valid ¡sentences ¡are ¡true?) ¡

Simple ¡example: ¡Proposi)onal ¡logic ¡ Can ¡infer ¡entailment ¡of ¡sentences ¡using ¡

Model ¡checking ¡(e.g., ¡Constraint ¡sa)sfac)on) ¡ Logical ¡inference ¡(should ¡be ¡sound ¡and ¡complete) ¡

Inference ¡procedures ¡

Resolu)on: ¡Sound ¡and ¡complete ¡for ¡arbitrary ¡prop. ¡formulas, ¡

but ¡exponen)al ¡search ¡space ¡

Forward-­‑/Backward ¡chaining: ¡Sound; ¡complete ¡only ¡for ¡Horn ¡

  • formulas. ¡ ¡Inference ¡in ¡(sub-­‑) ¡linear ¡)me! ¡

38 ¡

slide-39
SLIDE 39

Issues ¡with ¡proposi)onal ¡Wumpus ¡world ¡

Need ¡“copies” ¡of ¡symbols ¡and ¡sentences ¡for ¡each ¡cell ¡ ¡P1,1 ¡is ¡true ¡if ¡there ¡is ¡a ¡pit ¡in ¡[1,1] ¡ ¡P1,2 ¡is ¡true ¡if ¡there ¡is ¡a ¡pit ¡in ¡[1,2] ¡ ¡… ¡ ¡Pn,n ¡is ¡true ¡if ¡there ¡is ¡a ¡pit ¡in ¡[n,n] ¡ ¡B1,1 ¡is ¡true ¡if ¡there ¡is ¡a ¡breeze ¡in ¡[1, ¡1] ¡… ¡ ¡Bn,n ¡is ¡true ¡if ¡there ¡is ¡a ¡breeze ¡in ¡[n, ¡n] ¡ ¡B1,1 ¡ ¡⇔ ¡

¡(P1,2 ¡∨ ¡P2,1); ¡B2,1 ¡ ¡⇔ ¡(P1,1 ¡∨ ¡P2,2 ¡∨ ¡P3,1); ¡… ¡

slide-40
SLIDE 40

First ¡order ¡logic ¡(FOL) ¡

Proposi)onal ¡logic ¡is ¡about ¡simple ¡facts ¡

“There ¡is ¡a ¡breeze ¡at ¡loca)on ¡[1,2]” ¡

First ¡order ¡logic ¡is ¡about ¡facts ¡involving ¡

Objects: ¡Numbers, ¡people, ¡loca)ons, ¡)me ¡instants, ¡… ¡ Rela>ons: ¡Alive, ¡IsNextTo, ¡Before, ¡… ¡ Func>ons: ¡MotherOf, ¡BestFriend, ¡SquareRoot, ¡OneMoreThan, ¡

… ¡

Will ¡be ¡able ¡to ¡say: ¡ ¡

IsBreeze(x); ¡IsPit(x); ¡IsNextTo(x,y) ¡

40 ¡

slide-41
SLIDE 41

Simple ¡example ¡

About ¡King ¡Richard ¡the ¡Lionheart ¡and ¡his ¡evil ¡brother ¡John ¡ Objects: ¡

Richard ¡ John ¡ Crown ¡

Rela)ons ¡

Richard ¡and ¡John ¡are ¡brothers ¡ Richard ¡is ¡a ¡king ¡

Func)on ¡

Refer ¡to ¡specific ¡proper)es ¡of ¡Richard ¡and ¡John, ¡e.g., ¡their ¡head, ¡

legs, ¡… ¡

41 ¡

slide-42
SLIDE 42

FOL: ¡Basic ¡syntac)c ¡elements ¡

Constants: ¡

¡KingJohn, ¡1, ¡2, ¡…, ¡[1,1], ¡[1,2], ¡…,[n,n], ¡… ¡

Variables: ¡ ¡

¡x, ¡y, ¡z, ¡… ¡

Predicates: ¡

¡Brother, ¡>, ¡=, ¡… ¡

Func)ons: ¡

¡LetLegOf, ¡MotherOf, ¡Sqrt, ¡… ¡

Connec)ves: ¡

¡∧,∨, !¬ ¡

Quan)fiers: ¡ ¡ Constant, ¡predicates ¡and ¡func)ons ¡are ¡mere ¡symbols ¡

(i.e., ¡have ¡no ¡meaning ¡on ¡their ¡own) ¡

42 ¡

slide-43
SLIDE 43

FOL ¡Syntax: ¡Atomic ¡sentences ¡

¡A ¡(variable-­‑free) ¡term ¡is ¡a ¡

constant ¡symbol ¡or ¡ ¡ k-­‑ary ¡func)on ¡symbol: ¡ ¡ ¡ ¡func>on(term1,term2, ¡…, ¡termk) ¡

¡Example: ¡LeHLegOf(KingJohn), ¡IsBreeze([1,2]) ¡ ¡An ¡atomic ¡sentence ¡is ¡a ¡predicate ¡symbol ¡applied ¡to ¡terms ¡ ¡Example: ¡

Brother(KingJohn, ¡RichardLionheart) ¡ IsNextTo([1,1],[1,2]) ¡ > ¡(Length(LeHLegOf(KingJohn)), ¡Length(LeHLegOf

(RichardLionheart))) ¡

43 ¡

slide-44
SLIDE 44

FOL ¡Syntax: ¡Composite ¡sentences ¡

Composite ¡sentences ¡are ¡

Atomic ¡sentences ¡or ¡ Composite ¡sentences ¡joined ¡by ¡connec)ves ¡

Example: ¡

44 ¡

slide-45
SLIDE 45

Models ¡in ¡FOL ¡

Much ¡more ¡complicated ¡than ¡in ¡Proposi)onal ¡Logic ¡ Models ¡contain ¡

Set ¡of ¡objects ¡(finite ¡or ¡countable) ¡ Set ¡of ¡rela)ons ¡between ¡objects ¡(map ¡obj’s ¡to ¡truth ¡values) ¡ Set ¡of ¡func)ons ¡(map ¡objects ¡to ¡other ¡objects) ¡

¡and ¡their ¡interpreta)ons: ¡

Mapping ¡from ¡constant ¡symbols ¡to ¡model ¡objects ¡ Mapping ¡from ¡predicate ¡symbols ¡to ¡model ¡rela)ons ¡ Mapping ¡from ¡func)on ¡symbols ¡to ¡model ¡func)ons ¡

An ¡atomic ¡sentence ¡predicate(term1,term2, ¡…, ¡termk) ¡

is ¡true ¡if ¡the ¡objects ¡referred ¡to ¡by ¡term1,term2, ¡…, ¡ termk ¡are ¡in ¡the ¡rela)on ¡referred ¡to ¡by ¡predicate ¡

45 ¡

slide-46
SLIDE 46

Models ¡in ¡FOL: ¡Example ¡

46 ¡

slide-47
SLIDE 47

Models ¡in ¡FOL: ¡Example ¡

Objects: ¡R, ¡J, ¡C, ¡LegR, ¡LegJ, ¡N ¡ Func>ons: ¡LLO ¡

LLO(R)=LegR; ¡LLO(J)=LegJ; ¡LLO(C) ¡= ¡N; ¡LLO(LegR) ¡= ¡N; ¡… ¡

Rela>ons: ¡ ¡

B={R,J}; ¡OH={(C,J)}; ¡ ¡

¡K={J}; ¡P={R,J} ¡

Mappings: ¡

Richard: ¡R; ¡John: ¡J ¡ LetLegOf: ¡LLO; ¡ ¡ Brother: ¡B; ¡OnHead(OH) ¡

47 ¡

slide-48
SLIDE 48

Subtle)es ¡with ¡FOL ¡models ¡ ¡

Specifying ¡known ¡facts ¡is ¡tedious ¡ E.g., ¡need ¡

¬ ¡OnHead(R,J) ¡ ¬ ¡OnHead(LetLeg1,J) ¡ ¬(R=J) ¡ ¬ ¡OnHead(LetLeg1, ¡LetLeg2) ¡ ¬(R=LetLeg1) ¡ … ¡

48 ¡

slide-49
SLIDE 49

Indeterminate ¡number ¡of ¡objects ¡

Let’s ¡look ¡at ¡all ¡possible ¡models ¡for ¡a ¡language ¡with ¡

Two ¡constants: ¡R, ¡J ¡ One ¡binary ¡rela)on: ¡B ¡

49 ¡

slide-50
SLIDE 50

“Database” ¡seman)cs ¡

Typically ¡conven)ons ¡

Closed-­‑world: ¡Atomic ¡sentences ¡not ¡in ¡KB ¡are ¡false ¡ Unique ¡names: ¡Different ¡constants ¡refer ¡to ¡different ¡objects

¡

Domain ¡closure: ¡Only ¡allow ¡model ¡objects ¡that ¡are ¡

associated ¡with ¡constant ¡symbols ¡

50 ¡

slide-51
SLIDE 51

Quan)fiers ¡

Allow ¡variables ¡in ¡addi)on ¡to ¡constants ¡ Sentences ¡with ¡free ¡variables: ¡ Quan)fiers ¡bind ¡free ¡variables ¡ ¡

¡ ¡ ¡ ¡is ¡true ¡if ¡S(x) ¡is ¡true ¡for ¡all ¡instan)a)ons ¡of ¡x ¡ ¡ ¡ ¡(i.e., ¡for ¡each ¡possible ¡object ¡in ¡the ¡model) ¡ ¡ ¡ ¡ ¡is ¡true ¡if ¡S(x) ¡is ¡true ¡for ¡at ¡least ¡one ¡ ¡ ¡ ¡ ¡ ¡instan)a)on ¡of ¡x ¡(i.e., ¡for ¡some ¡object) ¡

Example: ¡ ¡

All ¡homeworks ¡in ¡154 ¡are ¡hard ¡ At ¡least ¡one ¡of ¡the ¡154 ¡homeworks ¡is ¡hard ¡

51 ¡

slide-52
SLIDE 52

Proper)es ¡of ¡quan)fiers ¡

Is

¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡the ¡same ¡as ¡ ¡ ¡? ¡ ¡ ¡

Is

¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡the ¡same ¡as ¡ ¡ ¡? ¡ ¡ ¡

Is

¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡the ¡same ¡as ¡ ¡ ¡? ¡ ¡ ¡

52 ¡

slide-53
SLIDE 53

De ¡Morgan’s ¡law ¡for ¡quan)fiers ¡

Each ¡quan)fier ¡can ¡be ¡expressed ¡by ¡the ¡other ¡(they ¡

are ¡dual ¡to ¡each ¡other) ¡

53 ¡