i am trying to convert the english sentence below into first order logic , i i found it very hard please help
If nobody is both a child and a dog then if Fido is a dog Fido
cannot be a child
converting english sentence into first order logic
Started by ailearner, Nov 26 2008 01:56 PM
3 replies to this topic
#1
Posted 26 November 2008 - 01:56 PM
|
|
|
#2
Posted 28 November 2008 - 05:29 AM
Let D be the set of dogs.
Let C be the set of children.
(∀x (((x ∈ D) ∨ (x ∈ C)) ⇒ ((x ∈ D) ⇒ (x ∉ C)))
I dunno I'm just a tenth grader.
Let C be the set of children.
(∀x (((x ∈ D) ∨ (x ∈ C)) ⇒ ((x ∈ D) ⇒ (x ∉ C)))
I dunno I'm just a tenth grader.
#3
Posted 12 January 2009 - 02:06 AM
you can simply convert statement to First Order Logic.
∄x (Child(x) ∧ Dog(x)) but this would be equivalent to ∀x (∼Child(x) ∨ ∼Dog(x)) ,and also ∀x(Dog(x)→∼Child(x)) so:
∀x(Dog(x)→∼Child(x))
Dog(Fido)
∴∼Child(Fido)
∄x (Child(x) ∧ Dog(x)) but this would be equivalent to ∀x (∼Child(x) ∨ ∼Dog(x)) ,and also ∀x(Dog(x)→∼Child(x)) so:
∀x(Dog(x)→∼Child(x))
Dog(Fido)
∴∼Child(Fido)
#4
Posted 16 January 2009 - 07:09 PM
∀x ¬(Dx ∧ Cx) → (Df → ¬Cf)
This is the way that best covers the structure of your sentences I guess
diccionary:
Dx: x is a dog
Cx: x is a child
f: fido
¬ negation
∧ conjunction
→ implication
Ofcourse given ∀x ¬(Dx ∧ Cx) you can construct a derivation to Df → ¬Cf
This is the way that best covers the structure of your sentences I guess
diccionary:
Dx: x is a dog
Cx: x is a child
f: fido
¬ negation
∧ conjunction
→ implication
Ofcourse given ∀x ¬(Dx ∧ Cx) you can construct a derivation to Df → ¬Cf
Edited by Nahuo, 17 January 2009 - 09:50 AM.
I was drunk last nite when I wrote it and found some miss spellings today


Sign In
Create Account

Back to top









