<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>It Is A Mystery... &#187; logic</title>
	<atom:link href="http://www.pipian.com/blog/tag/logic/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pipian.com</link>
	<description>A weblog about the mysteries and musings found in everyday life.</description>
	<lastBuildDate>Mon, 13 Dec 2010 21:01:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Quantifying cwm Variables&#8230;</title>
		<link>http://www.pipian.com/blog/2008/12/18/quantifying-cwm-variables/</link>
		<comments>http://www.pipian.com/blog/2008/12/18/quantifying-cwm-variables/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 18:04:38 +0000</pubDate>
		<dc:creator>Pipian</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[cwm]]></category>
		<category><![CDATA[logic]]></category>
		<category><![CDATA[n3]]></category>
		<category><![CDATA[quantification]]></category>

		<guid isPermaLink="false">http://www.pipian.com/blog/2008/12/18/quantifying-cwm-variables/</guid>
		<description><![CDATA[Mostly for my benefit, but here are a few examples of how cwm&#8217;s N3Rules translate into formal logic: Global universal quantification: @prefix : &#60;#&#62; . @forAll . { :a :b . } =&#62; { :c :d . } . :someValue :a :b . âˆ€x (a(x, b) â†’ c(x, d)) Therefore the above entails the additional [...]]]></description>
			<content:encoded><![CDATA[<p>Mostly for my benefit, but here are a few examples of how cwm&#8217;s N3Rules translate into formal logic:</p>
<ul>
<li>Global universal quantification:
<pre>@prefix : &lt;#&gt; .
@forAll <img src='http://www.pipian.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' />  .

{ <img src='http://www.pipian.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' />  :a :b . } =&gt; { <img src='http://www.pipian.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' />  :c :d . } .

:someValue :a :b .</pre>
<p>âˆ€x (a(x, b) â†’ c(x, d))</p>
<p>Therefore the above entails the additional statement <code>:someValue :c :d .</code> as <code> <img src='http://www.pipian.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> </code> is bound to <code>:someValue</code> on the RHS.</li>
<li>Global existential quantification:
<pre>@prefix : &lt;#&gt; .
@forSome <img src='http://www.pipian.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' />  .

{ <img src='http://www.pipian.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' />  :a :b . } =&gt; { <img src='http://www.pipian.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' />  :c :d . } .

:someValue :a :b .</pre>
<p>âˆƒx (a(x, b) â†’ c(x, d))</p>
<p>Therefore the above entails no additional statements.</li>
<li>LHS universal quantification:
<pre>@prefix : &lt;#&gt; .

{ @forAll <img src='http://www.pipian.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' />  . <img src='http://www.pipian.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' />  :a :b . } =&gt; { <img src='http://www.pipian.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' />  :c :d . } .

:someValue :a :b .</pre>
<p>(âˆ€x a(x, b)) â†’ c(x, d)</p>
<p>Therefore the above entails no additional statements.</li>
<li>LHS existential quantification:
<pre>@prefix : &lt;#&gt; .

{ @forSome <img src='http://www.pipian.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' />  . <img src='http://www.pipian.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' />  :a :b . } =&gt; { <img src='http://www.pipian.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' />  :c :d . } .

:someValue :a :b .</pre>
<p>(âˆƒx a(x, b)) â†’ c(x, d)</p>
<p>Therefore the above entails the additional statement <code> <img src='http://www.pipian.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' />  :c :d .</code> as <code> <img src='http://www.pipian.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> </code> is unbound on the RHS.</li>
<li>RHS universal quantification:
<pre>@prefix : &lt;#&gt; .

{ :someValue :a :b . } =&gt; { @forAll <img src='http://www.pipian.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' />  . <img src='http://www.pipian.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' />  :c :d . } .

:someValue :a :b .</pre>
<p>a(someValue, b) â†’ (âˆ€x c(x, d))</p>
<p>Therefore the above entails (generally) <code>@forAll :z . :z :c :d .</code></li>
<li>RHS existential quantification:
<pre>@prefix : &lt;#&gt; .

{ :someValue :a :b . } =&gt; { @forSome <img src='http://www.pipian.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' />  . <img src='http://www.pipian.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' />  :c :d . } .

:someValue :a :b .</pre>
<p>a(someValue, b) â†’ (âˆƒx c(x, d))</p>
<p>Therefore the above entails the additional statement <code>[ :c :d ] .</code></li>
</ul>
<p>Finally, two trickier specific examples: &#8220;If there exists a <code>foaf:Person</code> that all (known) <code>foaf:Person</code>s <code>foaf:know</code>, then there exists a <code> <img src='http://www.pipian.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> opularPerson</code>&#8221; and, &#8220;any <code>foaf:Person</code> that is <code>foaf:knows</code> of all (known) <code>foaf:Person</code>s in a <code> <img src='http://www.pipian.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> opularPerson</code>&#8221; can&#8217;t be done properly without completely closing the world.  cwm cannot do this without artificially closing the world through built-ins.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pipian.com/blog/2008/12/18/quantifying-cwm-variables/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

