fol (first order logic) Flashcards
fol terms
all objects: constants and variables and names. lowercase. (pia, p, 1, x)
examples of names in fol
pia, p, quinn
no numbers and no uppercase and no variables
what is an atomic sentence?
predicate + right number of names
variables of FOL
x,y,z,u,v,w
what does Ex bound in this sentence: ExCat(X)Dog(x)
only cat
what is it called when there is a free variable in the formula?
open formula. Dog(x)
what is a sentence with no free variable?
closed formula. AxDog(x)
what is a well formed formula (WFF)?
open and closed formulas
null quantification
if there are no variables in the formula that the quantifier binds, then the quantifier can be put wide scope around formula
P&AxQ(x) ==> Ax(P&Q(x))
true or false: the universal quantifier distributes over &
true
Ax(P(x)&Q(x)) ==> AxP(x)&AxQ(x)
true or false: the existential distibutes over &
false
true or false: the existential distributes over the v
true
true or false: the universal distributes over the v
false
all quantifiers are widest scope
prenex normal form (PNF)
what is DeMorgan’s for Quantifiers?
~AxP(x) ==> Ex~P(x)
~ExP(x) ==> Ax~P(x)
true or false: a quantifier can apply to an object with no name
true
what is the abominable form?
Ex around conditional
Ex(P(x)->Q(x))
how do you say “All Ps are Q”?
Ax(P(x)->Q(x))