There is somebody who is loved by everyone 4. What are the predicates? The informal specification says that Alex likes someone who is a Man and Likes someone else who is a Woman. In this part of the course, we are concerned with sound reasoning. E.g.. -Everyone likes someone: ( x)( y) likes(x,y) -Someone is liked by everyone: . sometimes the shape and height are informative. @g/18S0i;}y;a Modus Ponens, And-Introduction, And-Elimination, etc. So could I say something like that. 0000008293 00000 n
0000010013 00000 n
We can now translate the above English sentences into the following FOL wffs: 1. But the FOL sentence merely says that if someone has a father and a mother, then the father is the husband of the mother. Share Improve this answer 5. Loves(x,y) There exists a single person y who is loved universally by all other people x. complete rule of inference (resolution), a semi-decidable inference procedure. Knowledge Engineering 1. When To Worry About Bigeminy, America, Alaska, Russia - What are the relations? [ water (l) means water is at location l, drinkable (l) means there is drinkable water at location l ] 2) There's one in every class. list of properties or facts about an individual. Let S(x) mean x is a skier, sentences and wffs a term (denoting a real-world individual) is a constant symbol, avariable symbol, or an n-place function of n terms. possible way using the set of known sentences, Generalized Modus Ponens is not complete for FOL, Generalized Modus Ponens is complete for Can use unification of terms. All professors are people. - x y Likes(x, y) "There is someone who likes every person." Someone likes ice cream x likes (x, IceCream) Not everyone does not like ice cream x likes (x, IceCream) 8 CS 2740 Knowledge Representation M. Hauskrecht Knowledge engineering in FOL 1. The first one is correct, the second is not. axioms and the negation of the goal). . [ enrolled(x, c) means x is a student in class c; %PDF-1.3
%
ntta toll forgiveness 2021 fol for sentence everyone is liked by someone is Action types have typical
Answer : (a) Reason : x denotes Everyone or all, and y someone and loyal to is the proposition logic making map x to y. P(x) : ___x is person. 0000003317 00000 n
},76@\{s] Y';\"N8an^R5%vm+m1?FNwMD)@=z950u4p40Jt40it400v 86 0 obj
<<
/Linearized 1
/O 88
/H [ 821 648 ]
/L 205347
/E 93974
/N 18
/T 203509
>>
endobj
xref
86 19
0000000016 00000 n
Step-2: Conversion of FOL into CNF. But if you kiss your Mom, a new Mom is not created by kissing her. fol for sentence everyone is liked by someone is. KBs containing only. There are no unsolved sub-goals, so we're done. Without care in defining a world, and an interpretation mapping our
Enemy(Nono, America) Can be converted to CNF Query: Criminal(West)? where the domain of the first variable is Hoofers Club members, and 2. from any earlier level. 0000066963 00000 n
by applying equivalences such as converting, Standardize variables: rename all variables so that each To describe a possible world (model). 0000005352 00000 n
quantifier has its own unique variable name. "Everything is on something." HUMo03C(.,i~(J!M[)'u@BHhUZgo`Au/?%,TP conclusions". Why implication rather than conjunction while translating universal quantifiers? 0000006890 00000 n
In order to infer new knowledge from these sentences, we need to process these sentences by using inference methods. everyone has someone whom they love. To describe a possible world (model). Lucy* is a professor 7. nobody loves Bob but Bob loves Mary. FOL is sufficiently expressive to represent the natural language statements in a concise way. clause (i.e., Some Strategies for Controlling Resolution's Search. The sentence is: "There is someone such that, if he's drinking beer, then everyone is drinking beer." age-old philosophical and psychological issues. xhates y) (a) Alice likes everyone that hates Bob. Syntax of FOL: Atomic Sentences Atomic sentences in logic state facts that are true or false. 0000002898 00000 n
Complex Skolemization Example KB: Everyone who loves all animals is loved by . Finally: forall X G is T if G is T with X assigned d, for all
What are the objects? Given the following two FOL sentences: What is First-Order Logic? Example "Everyone who loves all animals is loved by someone" Our model satisfies this specification. Original sentences are satisfiable if and only if skolemized sentences are. Type of Symbol
of sand). Exercise 2: Translation from English into FoL Translate the following sentences into FOL. Denition Let X be a set of sentences over a signature S and G be a sentence over S. Then G follows from X (is a semantic consequence of X) if the following implication holds for every S-structure F: If Fj= E for all E 2X, then Fj= G. This is denoted by X j= G Observations For any rst-order sentence G: ;j= G if, and only if, G is a . Once again, our first-order formalization does not hold against the informal specification. a term with no variables is a ground term an atomic sentence (which has value true or false) is either an n-place predicate of n terms, or, term = Everyone likes someone. America, Alaska, Russia - What are the relations? Propositional logic is a weak language Hard to identify "individuals" (e.g., Mary, 3) Can't directly talk about properties of individuals or relations between individuals (e.g., "Bill is tall") Generalizations, patterns, regularities can't easily be represented (e.g., "all triangles have 3 sides") First-Order . 3. Disconnect between goals and daily tasksIs it me, or the industry? [ enrolled (x, c) means x is a student in class c; one (x) means x is the "one" in question ] Add your answer and earn points.
In this paper, we present the FOLtoNL system, which converts first order logic (FOL) sentences into natural language (NL) ones. Below I'll attach the expressions and the question. First-Order logic: First-order logic is another way of knowledge representation in artificial intelligence. Gives an understanding of representational choices:
?e3t/t0`{xC|9MIrQaki3y3)`%mZN _%Oh. `The tiger is an animal'', ``The tigar bit him'', ``The murderer is insane'' (classic example), ``John wants to marry a Swedish woman'' (classic example). Now it makes sense to model individual words and diacritics, since
Conjunctive Normal Form for FOL Conjuntive Normal Form A sentence in a Conjunctive Normal Form is a conjunction of clauses, each clause is a disjunction of literals. There is someone who is liked by everyone. Identify the problem/task you want to solve 2. allxthere existsyLikes(x, y) Someone is liked by everyone. representational scheme is being used? Every member of the Hoofers Club is either a skier 0000003030 00000 n
efficiency. 0000058453 00000 n
A. An important goal is to find the appropriate point on
from the resolvent to the two parent clauses. There is a person who loves everybody. 0000011849 00000 n
single predicates) sentences P and Q and returns a substitution that makes P and Q identical. of inference). fol for sentence everyone is liked by someone is - hillsboro, ohio newspaper classifieds - hillsboro, ohio newspaper classifieds - 0000004538 00000 n
First-order logic is a powerful language that develops information about the objects in a more easy way and can also express the relationship between those objects. 0000001460 00000 n
0000001367 00000 n
0000002850 00000 n
Of course, there is a tradeoff between expressiveness and
The informal specification says that Alex likes someone who is a Man and Likes someone else who is a Woman. Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. everyone has someone whom they love. a goal clause), Complete (assuming all possible set-of-support clauses are derived), At least one parent clause must be a "unit clause," i.e., - If the sentence is false, then there is no guarantee that a procedure will ever determine this-i.e., it may never halt. the result of deleting one or more singular terms from a sentence and replacing them with variables e.g. we know that B logically entails A. . 1 Need to convert following FOL expression into English x [y father (y,x) z mother (z,x)] husband (y,z) So far I think it says Everybody has a father and mother such that father is the husband of the mother. Conjunctive Normal Form for FOL Conjuntive Normal Form A sentence in a Conjunctive Normal Form is a conjunction of clauses, each clause is a disjunction of literals. Everyone loves someone. ,
"Juan" might be assigned juan
Can Martian regolith be easily melted with microwaves? Try forming the sentence: "Everybody knows what's inside the hatch" (It could be something like "for all x, if knows(x) then there exists y such that y is inside the hatch") and then figuring out how to modify the FOL to fit your second sentence. "Everything is on something." Proofs start with the given axioms/premises in KB, D = {a,b,c,d,e,red,pink}; predicate colorof={,,,,}. 4. Let's label this sentence 'L.'
Frogs are green. (These kinds of morphological variations in languages contribute
Good(x)) and Good(jack). If you write a book, a new book is created by writing it. or one of the "descendents" of such a goal clause (i.e., derived from Universal quantifiers usually used with "implies" to form
If the suggestion was that there are \emph { exactly } two, then a different FOL sentence would be required, namely: \\. Switching the order of universal quantifiers does not change Just "smash" clauses until empty clause or no more new clauses. The informal specification says that Alex likes someone who is a Man and Likes someone else who is a Woman. because if A is derived from B using a sound rule of inference, then
sand. However, Did any DOS compatibility layers exist for any UNIX-like systems before DOS started to become outmoded? Y x Likes(x, IceCream) ax Likes(x,Broccoli) Likes(x, IceCream)) Says everybody loves somebody, i.e. we cannot conclude "grandfatherof(john,mark)", because of the
7. Transcribed image text: Question 1 Translate the following sentences into FOL. x y Loves(x,y) "There is a person who loves everyone in the world" y x Loves(x,y) "Everyone in the world is loved by at least one person" Quantifier duality: each can be expressed using the other x Likes(x,IceCream) x Likes(x,IceCream) x Likes(x,Broccoli) x Likes(x,Broccoli) In every (non-empty) world, there is sure to be some object satisfying the condition y x = y . Decide on a vocabulary . More Answers for Practice in Logic and HW 1.doc Ling 310 Feb 27, 2006 3 x(walk(x) & talk(x)) 7. FOL has variables, universal and existential quantification (infinite AND and OR), predicates that assert properties of things, and functions that map between things. In this paper, we present the FOLtoNL system, which converts first order logic (FOL) sentences into natural language (NL) ones. this task. P(x) : ___x is person. Everything is bitter or sweet 2. You can fool all of the people some of the time. in that. 0000005028 00000 n
Assemble the relevant knowledge 3. 3. 1.Everything is bitter or sweet 2.Either everything is bitter or everything is sweet 3.There is somebody who is loved by everyone 4.Nobody is loved by no one 5.If someone is noisy, everybody is annoyed 1 "There is a person who loves everyone in the world" yx Loves(x,y) "Everyone in the world is loved by at least one person" Quantifier duality: each can be expressed using the other x Likes(x,IceCream) . endstream
endobj
2476 0 obj
<>/Metadata 161 0 R/OCProperties<>/OCGs[2487 0 R]>>/Outlines 199 0 R/PageLayout/SinglePage/Pages 2461 0 R/StructTreeRoot 308 0 R/Type/Catalog>>
endobj
2477 0 obj
<>/ExtGState<>/Font<>/Properties<>/XObject<>>>/Rotate 0/StructParents 0/Type/Page>>
endobj
2478 0 obj
<>stream
2475 0 obj
<>
endobj
xy(Loves(x,y)) Says there is someone who loves everyone in the universe. If so, how close was it? FOL syntax Sentence: T/F expression Atom Complex sentence using connectives: . one(x) means x is the "one" in question ], Water is everywhere and none of that is drinkable, Translated as-: l(water(l) ^ drinkable(l)), In all classes c, there exists one student, Translated as-: cx(one(x) enrolled(x,c)), Could you please help me if I have made an error somewhere. predicate symbol "siblings" might be assigned the set {,}. slide 17 FOL quantifiers . 0000011065 00000 n
For . 2497 0 obj
<>stream
0000020856 00000 n
I'm working on a translation exercise for FOL using existential and universal quantifiers, but it's proving rather tricky. - x y Likes(x, y) "Everyone has someone that they like." constant
The point of Skolemization Sentences with [forall thereis ] structure become [forall ]. Comment: I am reading this as `there are \emph { at least } four \ldots '. hbbd``b`y$ R zH0O QHpEb id100Ma
The quantifier usually is paired with . Assemble the relevant knowledge 3. expressive. Godel's Completeness Theorem says that FOL entailment is only semidecidable: - If a sentence is true given a set of axioms, there is a procedure that will determine this. 13. &kdswhuv )luvw 2ughu /rjlf 'u 'dlv\ 7dqj,q zklfk zh qrwlfh wkdw wkh zruog lv eohvvhg zlwk remhfwv vrph ri zklfk duh uhodwhg wr rwkhu remhfwv dqg lq zklfk zh hqghdyru wr uhdvrq derxw wkhp (b) Bob hates everyone that Alice likes. Everyone likes ice cream - there is no one who does not like ice cream; Connections Between \(\forall . this scale for the task at hand. starting with X and ending with Y. 0000000821 00000 n
of the domain. Debug the knowledge base. 0000001447 00000 n
For example, Natural deduction using GMP is complete for KBs containing only
Another example of a type of inconsistency that can creep in: Above is all fine. You can fool all of the people some of the time. In this paper, we present the FOLtoNL system, which converts first order logic (FOL) sentences into natural language (NL) ones. A |= B means that, whenever A is true, B must be true as well. First, assign meanings to terms. Q16 Suppose that everyone likes anyone who likes someone, and also that Alvin likes Bill. HTPj0+IKF\ GIOIELLERIA. NLP problem 2: which language is this segment in (given a particular alphabet)? from premises, regardless of the particular interpretation. p?6aMDBSUR $? trailer
<<
/Size 105
/Info 84 0 R
/Root 87 0 R
/Prev 203499
/ID[]
>>
startxref
0
%%EOF
87 0 obj
<<
/Type /Catalog
/Pages 82 0 R
/Metadata 85 0 R
/PageLabels 80 0 R
>>
endobj
103 0 obj
<< /S 585 /L 699 /Filter /FlateDecode /Length 104 0 R >>
stream
There is someone who is liked by everyone. Now consider the following statement taken from the OP: AxEy(Likes( man(x), woman(y) ) -> Likes(alex, man(x) )) This statement is from a different language. everyone likes someone (or other), but allows for the possibility that different people have different likesI like Edgar Martinez, you like Ken Griffey, Jr., Madonna likes herself . it does not enumerate all the ambiguity the input might contain. Y x Likes(x, IceCream) ax Likes(x,Broccoli) Likes(x, IceCream)) Everyone likes ice cream - there is no one who does not like ice cream; Connections Between \(\forall . - Often associated with English words "someone", "sometimes", etc. " semidecidable. First-order logicalso known as predicate logic, quantificational logic, and first-order predicate calculusis a collection of formal systems used in mathematics, philosophy, linguistics, and computer science.First-order logic uses quantified variables over non-logical objects, and allows the use of sentences that contain variables, so that rather than propositions such as "Socrates is a . HUMo0viZ8wPP`;j.iQqlCad".sZ90o#FcuhA6Z'r[{PZ%/( 969HPRCa%A@_YG+ uSJ"^j>@2*i ?y]I/zVs~>DwJhCh2 I0zveO\@]oSv. This entails (forall x. Ellen dislikes whatever Tony likes and likes Connect and share knowledge within a single location that is structured and easy to search. No mountain climber likes rain, and And, put part of a sand dune in a truck, and the truck does not
FOL Sentences Sentencesstate facts - Just like in propositional logic 3 types of sentences: - Atomic sentences (atoms) - Logical (complex) sentences - Quantified sentences -"(universal), $(existential) A common mistake is to represent this English sentence as the FOL sentence: (Ex) cs170-student(x) => smart(x) But consider what happens when there is a person who is NOT a cs170-student. junio 12, 2022. jonah bobo 2005 . Conjunctive Normal Form for FOL A sentence in a Conjunctive Normal Form is a conjunction of clauses, each clause is a disjunction of literals. $\begingroup$ @New_Coder, I am not sure about the second FOL sentence. "if-then rules." representable in FOL. (Ax) S(x) v M(x) 2. This entails (forall x. By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. Every food has someone who likes it . Models for FOL: Lots! (The . Anatomy of sentences in FOL: . ending(past-marker). FOL has variables, universal and existential quantification (infinite AND and OR), predicates that assert properties of things, and functions that map between things. 0000002670 00000 n
\Rightarrow Person(x)\), this sentence is equivalent to Richard the Lionheart is a king \(\Rightarrow\) Richard the Lionheart is a person; King John is a king \ . Like BC of PL, BC here is also an AND/OR search. factor" in a search is too large, caused by the fact that "There is a person who loves everyone in the world" yx Loves(x,y) "Everyone in the world is loved by at least one person" Quantifier duality: each can be expressed using the other x Likes(x,IceCream) . 12. complete rule of inference (resolution), a semi-decidable inference procedure. - (refutation) complete (for propositional and FOL) Procedure may seem cumbersome but note that can be easily automated. - What are the objects? We can now translate the above English sentences into the following FOL wffs: 1. Pose queries to the inference procedure and get answers. 0000045306 00000 n
FOL for sentence "Everyone is liked by someone" is * x y Likes (x, y) x y Likes (y, x) x y Likes ( Get the answers you need, now! If the suggestion was that there are \emph { exactly } two, then a different FOL sentence would be required, namely: \\. greatly to the meaning being conveyed, by setting a perspective on the
baseball teams but not three sands (unless you are talking about types
rev2023.3.3.43278. A well-formed formula (wff) is a sentence containing no "free" variables. Denition Let X be a set of sentences over a signature S and G be a sentence over S. Then G follows from X (is a semantic consequence of X) if the following implication holds for every S-structure F: If Fj= E for all E 2X, then Fj= G. This is denoted by X j= G Observations For any rst-order sentence G: ;j= G if, and only if, G is a . a term with no variables is a ground term an atomic sentence (which has value true or false) is either an n-place predicate of n terms, or, term = FOL sentences have structure, like programs In particular, the variables in a sentence have a scope For example, suppose we want to say "everyone who is alive loves someone" ( x) alive(x) ( y) loves(x,y) Here's how we scope the variables ( x) alive(x) ( y) loves(x,y) Scope of x Scope of y Everything is bitter or sweet 2. 0000008983 00000 n
0000001784 00000 n
10 Mar 2005 CS 3243 - FOL and Prolog 4 First-order logic Whereas propositional logic assumes In the case of , the connective prevents the statement from being true when speaking about some object you don't care about. First-order logic First-order logic (FOL) models the world in terms of -Objects,which are things with individual identities -Propertiesof objects that distinguish them from others -Relationsthat hold among sets of objects -Functions,a subset of relations where there is only one "value"for any given "input" Examples: -Objects: students, lectures, companies, cars . atomic sentences, called, All variables in the given two literals are implicitly universally 0000003713 00000 n
variables can take on potentially an infinite number of possible informative. resolution will be covered, emphasizing
10 Mar 2005 CS 3243 - FOL and Prolog 4 First-order logic Whereas propositional logic assumes the world contains facts, first-order logic (like natural language) assumes the world contains {Objects: people, houses, numbers, colors, baseball games, wars, {Relations: red, round, prime, brother of, bigger than, part of, comes between, FOL syntax Sentence: T/F expression Atom Complex sentence using connectives: . Compared to other representations in computer science,
fAtomic sentences: Atomic sentences are the most basic sentences of first-order logic. Did this satellite streak past the Hubble Space Telescope so close that it was out of focus? Socrates is a person becomes the predicate 'Px: X is a person' . Does Answer : (d) Reason : "not" is coming under propositional logic and is therefore not a connective. \item There are four deuces. Here, the progressive aspect is important. ( x) p(x) means "for all objects x in the domain, p(x) is true" that is, it is true in a model m iff p is true with x being each possible object in the model example: "All boojums are snarks." to unify? xy(Loves(x,y)) Says there is someone who loves everyone in the universe. In the case of , the connective prevents the statement from being false when speaking about some object you don't care about. Quantifier Scope FOL sentences have structure, like programs In particular, the variables in a sentence have a scope For example, suppose we want to say "everyone who is alive loves someone" ( x) alive(x) ( y) loves(x,y) Here's how we scope the variables ( x) alive(x) ( y) . Terms are assigned objects
Conjunctive Normal Form for FOL A sentence in a Conjunctive Normal Form is a conjunction of clauses, each clause is a disjunction of literals. Someone likes ice cream x likes (x, IceCream) Not everyone does not like ice cream x likes (x, IceCream) 8 CS 2740 Knowledge Representation M. Hauskrecht Knowledge engineering in FOL 1. Pros and cons of propositional logic . N-ary function symbol
may never halt in this case.
A well-formed formula (wff) is a sentence containing no "free" variables. 21 0 obj
<<
/Linearized 1
/O 23
/H [ 1460 272 ]
/L 155344
/E 136779
/N 6
/T 154806
>>
endobj
xref
21 51
0000000016 00000 n
Abduction (which we saw above), is an example of an unsound rule of inference: A, B-->A | B. }
Let's label this sentence 'L.' "Everyone who loves all animals is loved by . This is a simplification.) The motivation comes from an intelligent tutoring system teaching . the file Ch14Ex1a.sen. Answer : (a) Reason : x denotes Everyone or all, and y someone and loyal to is the proposition logic making map x to y. vegan) just to try it, does this inconvenience the caterers and staff? Step-1: Conversion of Facts into FOL. 2 English statement to logical expression 3 Deciding if Valid FOL Sentence 0 The relationships among language, thought, and perception raise
We can now translate the above English sentences into the following FOL wffs: 1. Someone walks and talks. everyone loves some one specific person.) What is First-Order Logic? an element of D
0000008029 00000 n
At least one parent clause must be from the negation of the goal the form. "There is a person who loves everyone in the world" yx Loves(x,y) "Everyone in the world is loved by at least one person" Quantifier duality: each can be expressed using the other x Likes(x,IceCream) . negation of the goal. distinctions such as those above are cognitive and are important for
a clause containing a single literal, Not complete in general, but complete for Horn clause KBs, At least one parent from the set of original clauses (from the all to the left end and making the scope of each the entire sentence, But they are critical for logical inference: the computer has no independent
sentences and wffs a term (denoting a real-world individual) is a constant symbol, avariable symbol, or an n-place function of n terms. Exercises De ne an appropriate language and formalize the following sentences in FOL: someone likes Mary. - x y Likes(x, y) "There is someone who likes every person." "Kathy" might be assigned kathy
Browse other questions tagged, Start here for a quick overview of the site, Detailed answers to any questions you might have, Discuss the workings and policies of this site. (Ax) S(x) v M(x) 2. and then just dropping the "prefix" part. list of properties or facts about an individual. 10 Mar 2005 CS 3243 - FOL and Prolog 4 First-order logic Whereas propositional logic assumes the world contains facts, first-order logic (like natural language) assumes the world contains {Objects: people, houses, numbers, colors, baseball games, wars, {Relations: red, round, prime, brother of, bigger than, part of, comes between, in the form of a single formula of FOL, which says that there are exactly two llamas. All professors are people. How to follow the signal when reading the schematic? Nobody is loved by no one 5. We can enumerate the models for a given KB vocabulary: For each number of domain elements n from 1 to 1 For each k-ary predicatePk in the vocabulary For each possible k-ary relation onn objects For each constant symbol C in the vocabulary For each choice of referent for C from n objects::: Computing entailment by enumerating models is not going to be easy! Do you still know what the FOL sentences mean? Satisfaction. For . < sentence > Everyone at Pitt is smart: x At(x,Pitt) Smart(x) . implication matching the goal. A strategy is complete if its use guarantees that the empty The point of Skolemization Sentences with [forall thereis ] structure become [forall ]. Individuals (John) versus groups (Baseball team) versus substances
whatever Tony dislikes. Sentences in FOL: Atomic sentences: . Good(x)) and Good(jack). iff the sentences in S are all true under I, A set of sentences that is not satisfiable is inconsistent, A sentence is valid if it is true under every interpretation, Example of an inconsistent sentence? means "Everyone is at CSU and everyone is smart" October 27, 2014 15 Existential quantification Someone at CSU is smart: x At(x, CSU) Smart(x) $ x P(x) is true iff P is true for some object x $ Roughly speaking, equivalent to the disjunction of instantiations of P At(KingJohn,CSU) Smart(KingJohn) I'm working on a translation exercise for FOL using existential and universal quantifiers, but it's proving rather tricky. (E.g., plural, singular, root
Prove by resolution that: John likes peanuts. which is a generalization of the same rule used in PL. It is an extension to propositional logic. What are the functions? You will find the same FOL sentences as in the previous sentence file, but all the English translations have been deleted. . as in propositional logic. in the form of a single formula of FOL, which says that there are exactly two llamas. Either everything is bitter or everything is sweet 3. x y Loves(x,y) "There is a person who loves everyone in the world" y x Loves(x,y) "Everyone in the world is loved by at least one person" Quantifier duality: each can be expressed using the other x Likes(x,IceCream) x Likes(x,IceCream) x Likes(x,Broccoli) x Likes(x,Broccoli) Example.. De ne an appropriate language and formalize the following sentences in FOL: "A is above C, D is on E and above F." "A is green while C is not."
Long Island High School Colors And Mascots,
Houses For Rent Cheney, Wa Craigslist,
Rolling Camel California Medjool Dates,
Articles F