discussion 6 - university of california, san diego · not (all men are taller than all women). all...

49
Discussion 6 May 16, 2007 Matthew Tong

Upload: others

Post on 04-Aug-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all

Discussion 6

May 16, 2007Matthew Tong

Page 2: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all

• How was the midterm?

Page 3: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all

• How’s the project?• Questions?

Page 4: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all

• How’s life?

Page 5: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all

• Hopefully all reading the board?• Getting emails from me/Gary?

– Anyone with a preferred email?

Page 6: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all

Why logic?

• I think it’s possible to forget that beneath allthese formalisms and toy problems lies oneof the more powerful tools in computerscience

Page 7: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 8: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 9: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all

Why logic?

• In programming, you always need toformalize things– For example, for non overlapping rectangles:

• X1 > 0, Y1 > 0, X2 > 0, Y2 > 0• X1 + width < width limit, …• …

– Logic provides a formal syntax for expressingsemantic content

Page 10: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all

Why logic?

• Computers can manipulate these formalizedsystems to:– Derive facts about the world or domain of

interest– Plan or act rationally– Or even just basically work with entities of

interest• Not necessarily automated reasoning (e.g.

resolution), but more sophisticated tests (e.g. expertsystems)

Page 11: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 12: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 13: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 14: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 15: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 16: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 17: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 18: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 19: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 20: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 21: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 22: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 23: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 24: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 25: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 26: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 27: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 28: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 29: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 30: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 31: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 32: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 33: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 34: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 35: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 36: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 37: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 38: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 39: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 40: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 41: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 42: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 43: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 44: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 45: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 46: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 47: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 48: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all
Page 49: Discussion 6 - University of California, San Diego · Not (All men are taller than all women). All men are taller than 12". Some women are taller than 12". Not (All A are F than all