color cycle (slow)

Kistaro Windrider, Reptillian Situation Assessor

Unfortunately, I Really Am That Nerdy

Previous Entry Share Next Entry
Dr. Zhang's Left Foot Implies tugrik
headwall, frustration
kistaro
The math in this post will only display correctly if your computer and browser have the Symbol font installed. Otherwise, " means "for all", $ means "there exists", Þ means "implies", Ù means "and", and ' means "element of".

I got my Artificial Intelligence exam back, the one I took last Wednesday. I am not happy with my score, but I'm not pissed at myself so much as the professor. My 71% (C-) is a bit above average for the class, which is a sign of the class going wrong more than an error on my part. I think this question on the exam and the professor's answer pretty much explains what's going on.

I need some explanation first. For those of you familiar with first-order symbolic logic (all three of you), you probably know that whenever you use universal or existential qualifiers, the variable is supposed to be over a particular set, otherwise the statement has no meaning. (It works for all X, but what sort of X?) Dr. Zhang gave me massive points off for using the correct syntax, as taught by six other classes I've had- "(x ' S), for example. Dr. Zhang required, in this case, "x S(x) Þ (rest of expression), which is like "for everything in the world, those that are in set S imply...", which works just fine in "for all". But in case of an existential qualifier ("there exists"), you'd need an "and", otherwise the existence of anything not in the set makes the expression true. Dr. Zhang fails to grasp this.

Exam problem 2c. "Express the following sentence in first-order symbolic logic: Some cats are big."
My answer (considered wrong): $x cat(x) Ù big(x)
His answer: $x cat(x) Þ big(x)

Unfortunately, this doesn't hold up. Let's say our entire universe consists of three things:

{kitten, puppy, Dr. Zhang's left foot}
We will define this such that:
cat(kitten) = true; big(kitten) = false
cat(puppy) = false; big(puppy) = false
cat(Dr. Zhang's left foot) = false; big(Dr. Zhang's left foot) = true

So in our universe, there are no big cats, and the sentence is false. That works correctly in my version of the sentence: it is never true that cat(x) Ù big(x) for any value of x.

For an existential quantifier (there exists), there only needs to be one to prove it true- that is to say, if I can construct a single value of x for which it holds, the statement holds true. So let's try, for example, Dr. Zhang's left foot in his version of the expression.
$x cat(x) Þ big(x)
cat(Dr. Zhang's left foot) Þ big(Dr. Zhang's left foot)
F Þ T
T (F implies everything; a F on the left side of an if-then is always T, so "puppy" would also work here)

So if Dr. Zhang's version of the sentence really means that "some cats are big", then the mere existence of Dr. Zhang's left foot has proven the existance of tugrik. Sort of.

This is why I am going to be filing a regrade request in the near future.

  • 1
Definitely file a regrade request. I think of this as high-school level stuff, but my high school got its math curriculum from Columbia U. Teachers College.

P.S. That's weird: I didn't see the symbols correctly on my friends page, or on the comment page at first, but I do now that I'm looking at it with my comment.

P.P.S. Shall we chip in to buy the man a truth table?

Er, you realize there are real Unicode characters for those, right? U+2200 FOR ALL (∀); U+2203 THERE EXISTS (∃); possibly U+2282 SUBSET OF (⊂), U+2286 SUBSET OF OR EQUAL TO (⊆), U+22A2 RIGHT TACK (⊢), or U+2192 RIGHTWARDS ARROW (→) depending on what your "implies" sign is; probably U+2227 LOGICAL AND (∧); and U+2208 ELEMENT OF (∈). Mostly from the "Mathematical Operators" section, 220022FF.


I knew there were Unicode characters somewhere, I just couldn't find them on my quick romp through Character Map. Thanks!

For ease of use online, there's also:
∀ for ∀,
∃ for ∃,
⊂ for ⊂,
⊆ for ⊆,
→ for →,
∧ for ∧,
and ∈ for ∈.

More character entity references can be found at
http://www.htmlhelp.com/reference/html40/entities/

Hooray I exist!

...or do I?

GMail's opinion on this post, as stated in the advertisement it stuck at the top:
Do orange cats talk? - www.catbehavior101.com - For a closer relationship with your cat, learn to speak their language.

$(x ' cats) orange(x) Ù talks(x) ?

Hmm. I could just paint you orange and see if you go mute...

But yes, you exist, as proven by Dr. Zhang's left foot!

  • 1
?

Log in

No account? Create an account