CSE579_U2_M1_FOL-intro-recorded

pptx

School

Arizona State University *

*We aren’t endorsed by this school

Course

47710

Subject

Philosophy

Date

Oct 30, 2023

Type

pptx

Pages

19

Uploaded by ConstableWillpowerGiraffe33

Report
First Order Logic and KR Introduction to First Order Logic
Objectives Objective Explain the limitation of propositional logic Objective Explain the basic idea of first-order logic
Limitations of Propositional Logic and KR
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
| Study of declarative sentences, statement about the world which can be given a truth value | Dealt very well with sentence components like: not , and , or , if…then… | Propositional logic is compositional: - meaning of F G is derived from meaning of F and of G | Limitations: - Cannot express individuals and relations between them - Cannot deal with modifiers like there exists, all, among, only Propositional Logic
Representation in Propositional Logic (1 of 4) Knowledge from a medical domain: | A juvenile disease affects only children or teenagers | Children and teenagers are not adults | Juvenile arthritis is a kind of arthritis and a juvenile disease | Arthritis affects some adults In propositional logic: | ?????????? ????????ℎ??? ∨ ??????????????? | ?ℎ??? ∨ ???????? ¬????? | ??????ℎ????? ?????????? ∧ ???ℎ????? | ???ℎ????? ????????????
| Some intuitive consequences of our statements: - Juvenile arthritis does not affect adults - Arthritis is not a juvenile disease | We expect the following formulas to be entailed: - ?????????? ¬???????????? - ???ℎ????? ¬?????????? | However, neither of them is entailed. Limitations of Propositional Logic (2 of 4) In propositional logic: | ?????????? ????????ℎ??? ∨ ??????????????? | ?ℎ??? ∨ ???????? ¬????? | ??????ℎ????? ?????????? ∧ ???ℎ????? | ???ℎ????? ???????????? These knowledge base doesn’t entails these two formulas (we found an interpretation make these logics true but doesn’t make theses formulas true)
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
| Even worse, if we add to our initial formulas the following ones, we obtain an unsatisfiable set of formulas - ?????????? ¬???????????? - ??????ℎ????? Limitations of Propositional Logic (3 of 4) In propositional logic: | ?????????? ????????ℎ??? ∨ ??????????????? | ?ℎ??? ∨ ???????? ¬????? | ??????ℎ????? ?????????? ∧ ???ℎ????? | ???ℎ????? ????????????
| What is going wrong? - A juvenile disease affects only children or teenagers - Children and teenagers are not adults - Juvenile arthritis is a kind of arthritis and a juvenile disease - Arthritis affects some adults | Intuitively… - Green color represents sets of objects - Blue color represents relationships between objects - Red color indicates whether a statement holds for “all” or for “some” objects. Limitations of Propositional Logic (4 of 4) Can’t be expressed in propositional logic
| We need a language that allows us to - Represent sets of objects - Represent relationships between objects - Write statements that are true for some or all objects satisfying certain conditions - Express everything we can express in propositional logic (and, or, implies, not, …) Need for a Richer Language
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
| Examples of conditions we want to express: - For all objects c, if c belongs to the set of juvenile diseases and it affects object d, then d belongs to the set of children or to the set of teenagers . | There exist objects c, d, such that c belongs to the set of arthritis and d belongs to the set of adults and c affects d. Need for a Richer Language, cont’d
Introduction to First Order Logic (FOL)
| Express: “Every student is younger than some instructor” | We could identify the entire phrase with the propositional symbol p | However, the phrase has a finer logical structure. It is a statement about the following properties: - Being a student - Being an instructor - Being younger than somebody else Example
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
| Individuals are expressed by object/function constants: andy, paul, father(andy) | Properties are expressed by predicates. S, I, Y are predicates. - S(andy) : Andy is a student. - I(paul) : Paul is an instructor. - Y(andy, paul) : Andy is younger than Paul. Predicates
| Variables are placeholders for concrete values. - S(x) : x is a student. - I(x) : x is an instructor. - Y(x, y) : x is younger than y. | Quantifiers make possible encoding the phrase: - Every student is younger than some instructor. - Encoding x (S x → ( y I y Y x, y ) Variables and Quantifiers Indicate the range of x, for all x, There exits
No books are gaseous. Dictionaries are books. Therefore, no dictionary is gaseous. | We denote: B(x) : x is a book G(x) : x is gaseous D(x) : x is a dictionary More Examples (1 of 3)
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
No books are gaseous. Dictionaries are books. Therefore, no dictionary is gaseous. | We denote: B(x) : x is a book G(x) : x is gaseous D(x) : x is a dictionary ¬ ∃? ? ? ? ? , ∀( ∀?(? ? ) ? ? ? ¬ ∃ ( ∃?(? ? ) ? ? More Examples (2 of 3)
More Examples (3 of 3)
| Whereas propositional logic assumes world contains facts, first-order logic (like natural language) assumes the world contains - Objects : people, houses, numbers, colors, cities, nba player, … - Functions : father of, best friend, successor, one more than, end of, . . . - Relations : red, round, bogus, prime, brother of, bigger than, inside, part of, has color, occurred after, owns, comes between, . . . First-Order Logic
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Wrap-Up

Browse Popular Homework Q&A

Q: lso compute a 95% confidence interval, Cohen's D, and r^2
Q: A 1800 kgkg car starts from rest and drives around a flat 50-mm-diameter circular track. The forward…
Q: Solve ∆ABC. Round to one decimal place where necessary. The “triangle” may have no solution or may…
Q: For the following matrices A, compute AT. If A is a 2x2 matrix with real, different eigenvalues,…
Q: Find the APR (rounded to the nearest tenth of a percent) for the loan described below. Purchase a…
Q: A particle moves along the x-axis so that at time t > 0 its velocity is given by v(t) = 3t² – 30t –…
Q: On September 30 the bank statement of Fine Company showed a balance of $12,100. The following…
Q: The (hypothetical) table below shows the relationship between the number of hours students work at…
Q: A fitness company is building a 20-story high-rise. Architects building the high-rise know that…
Q: The functions f, g, and h are defined as follows. -2x2+2 f(x) = 3|-5 +x| g(x) = 4 + /x-1 h (x) =…
Q: find the domain and range of f(x)=X5+x (the last x is supposed to be squared) and domain and range…
Q: (a) A 14.0 m long, thin, uniform steel beam slides north at a speed of 20.0 m/s. The length of the…
Q: assume the interest rate on a 1-year t bond is currently 7% and the rate on a 2-year bond is 9%. If…
Q: How do I go about these two questions followin this asnwer above:   B) Ater removing the point with…
Q: A particle moves along the x-axis so that its velocity at time 0 < t < 18 is given by v(t), whose…
Q: Liola drives 19 km up a hill that is at a grade of 15º. What horizontal distance, to the nearest…
Q: The transition from the first excited state to the ground state in potassium  results in the…
Q: Prove that Pappus’s Theorem holds in a Cartesian Plane over field F (ie: IIF) when the 2 lines are…
Q: farmer looks over a field and sees 34 heads and 102 feet. Some are pigs, some are geese. How many of…
Q: Write the augmented matrix for the system of linear equations. 8x +y+7z = 7 %3D 5x- 6y - z = 4 %3D…
Q: A virus is spreading across an animal shelter. The percentage of animals infected after t days 100…
Q: Three equal charges are placed at the corners of an equilateral triangle 0.50 m on a side. What are…