discussion 6 - university of california, san diego · not (all men are taller than all women). all...
TRANSCRIPT
Discussion 6
May 16, 2007Matthew Tong
• How was the midterm?
• How’s the project?• Questions?
• How’s life?
• Hopefully all reading the board?• Getting emails from me/Gary?
– Anyone with a preferred email?
Why logic?
• I think it’s possible to forget that beneath allthese formalisms and toy problems lies oneof the more powerful tools in computerscience
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
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)