<?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>cs3102: Theory of Computation</title>
	<atom:link href="http://www.cs.virginia.edu/~evans/cs3102/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.cs.virginia.edu/~evans/cs3102</link>
	<description>Spring 2010</description>
	<lastBuildDate>Sat, 15 May 2010 02:17:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Final Comments</title>
		<link>http://www.cs.virginia.edu/~evans/cs3102/?p=348</link>
		<comments>http://www.cs.virginia.edu/~evans/cs3102/?p=348#comments</comments>
		<pubDate>Sat, 15 May 2010 02:17:49 +0000</pubDate>
		<dc:creator>evans</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Exams]]></category>

		<guid isPermaLink="false">http://www.cs.virginia.edu/~evans/cs3102/?p=348</guid>
		<description><![CDATA[<p>I have posted the final grades in SIS, so you should be able to see them soon (at least by tomorrow).</p>
<p>Comments on the final exam: [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/exams/finalexam/final-comments.pdf">PDF</a>]</p>
<p>Thanks everyone for a great semester, and enjoy your summer!</p>
]]></description>
			<content:encoded><![CDATA[<p>I have posted the final grades in SIS, so you should be able to see them soon (at least by tomorrow).</p>
<p>Comments on the final exam: [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/exams/finalexam/final-comments.pdf">PDF</a>]</p>
<p>Thanks everyone for a great semester, and enjoy your summer!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs.virginia.edu/~evans/cs3102/?feed=rss2&amp;p=348</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conveying Complexity Highlights</title>
		<link>http://www.cs.virginia.edu/~evans/cs3102/?p=349</link>
		<comments>http://www.cs.virginia.edu/~evans/cs3102/?p=349#comments</comments>
		<pubDate>Sat, 15 May 2010 02:16:52 +0000</pubDate>
		<dc:creator>evans</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Problem Sets]]></category>

		<guid isPermaLink="false">http://www.cs.virginia.edu/~evans/cs3102/?p=349</guid>
		<description><![CDATA[<p>This page: <a href="http://www.cs.virginia.edu/~evans/cs3102/?page_id=324">Conveying Complexity Highlights</a> contains links to some of the most interesting, illuminating, and/or entertaining submissions for PS7.  Enjoy watching the movies, listening to the music, and playing the games!  (Alas, HTTP 1.1 does not provide any support for transmitting cakes, however.)  </p>
<p>

<a href="http://www.cs.virginia.edu/~evans/cs3102/cakes.JPG"></a>
<a href="http://www.cs.virginia.edu/~evans/cs3102/mario-cake.JPG"></a>
<a href="http://www.cs.virginia.edu/~evans/cs3102/pnp-deconstruction-proof.JPG"></a>
<a href="http://www.cs.virginia.edu/~evans/cs3102/nondeterministic-mario.JPG"></a>
</p>
]]></description>
			<content:encoded><![CDATA[<p>This page: <a href="http://www.cs.virginia.edu/~evans/cs3102/?page_id=324">Conveying Complexity Highlights</a> contains links to some of the most interesting, illuminating, and/or entertaining submissions for PS7.  Enjoy watching the movies, listening to the music, and playing the games!  (Alas, HTTP 1.1 does not provide any support for transmitting cakes, however.)  </p>
<p>
<center><br />
<a href="http://www.cs.virginia.edu/~evans/cs3102/cakes.JPG"><img src="http://www.cs.virginia.edu/~evans/cs3102/cakes-small.JPG"></a><br />
<a href="http://www.cs.virginia.edu/~evans/cs3102/mario-cake.JPG"><img src="http://www.cs.virginia.edu/~evans/cs3102/mario-cake-small.JPG"></a><br />
<a href="http://www.cs.virginia.edu/~evans/cs3102/pnp-deconstruction-proof.JPG"><img src="http://www.cs.virginia.edu/~evans/cs3102/pnp-deconstruction-small.JPG"></a><br />
<a href="http://www.cs.virginia.edu/~evans/cs3102/nondeterministic-mario.JPG"><img src="http://www.cs.virginia.edu/~evans/cs3102/nondeterministic-mario-small.JPG"></a><br />
</center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs.virginia.edu/~evans/cs3102/?feed=rss2&amp;p=349</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Final Exam Information</title>
		<link>http://www.cs.virginia.edu/~evans/cs3102/?p=321</link>
		<comments>http://www.cs.virginia.edu/~evans/cs3102/?p=321#comments</comments>
		<pubDate>Tue, 04 May 2010 20:27:32 +0000</pubDate>
		<dc:creator>evans</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Exams]]></category>

		<guid isPermaLink="false">http://www.cs.virginia.edu/~evans/cs3102/?p=321</guid>
		<description><![CDATA[<p>The final exam is <b>Thursday, May 13, 9am-noon</b> (as scheduled by the registrar).</p>
<p>
It covers the whole course: </p>
<ul>
<li> (in theory) anything in Problem Sets 1-7, Exams 1-2, Classes 1-28, Sipser Ch 1-5+7, Liskov’s talk, assigned readings
<li> (in practice) emphasizes most important things that have been covered many times; slight emphasis on material since Exam 2
</ul>
<p>It will be similar to Exams 1 and 2 except that no resources may be used (no notes at all!).</p>
<p>
I will be out of town Thursday [<a href="http://www.cs.virginia.edu/~evans/cs3102/?p=321">More...</a>]]]></description>
			<content:encoded><![CDATA[<p>The final exam is <b>Thursday, May 13, 9am-noon</b> (as scheduled by the registrar).</p>
<p>
It covers the whole course: </p>
<ul>
<li> (in theory) anything in Problem Sets 1-7, Exams 1-2, Classes 1-28, Sipser Ch 1-5+7, Liskov’s talk, assigned readings
<li> (in practice) emphasizes most important things that have been covered many times; slight emphasis on material since Exam 2
</ul>
<p>It will be similar to Exams 1 and 2 except that no resources may be used (no notes at all!).</p>
<p>
I will be out of town Thursday and Friday so will not hold office hours this Thursday.  Next week there will be two scheduled office hours:</p>
<ul>
<li> Office Hours, Monday (10 May) 1:30-3pm
<li> Office Hours, Wednesday (12 May) 4-5:30pm
</ul>
<p>I am willing to entertain any questions you want during these times, but may decide not to some answer questions directly related to the exam preview handout [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/exams/finalexam/final-preview.pdf">PDF</a>].</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs.virginia.edu/~evans/cs3102/?feed=rss2&amp;p=321</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Class 28: Cakes and Theory in Jeopardy!</title>
		<link>http://www.cs.virginia.edu/~evans/cs3102/?p=315</link>
		<comments>http://www.cs.virginia.edu/~evans/cs3102/?p=315#comments</comments>
		<pubDate>Tue, 04 May 2010 20:20:01 +0000</pubDate>
		<dc:creator>evans</dc:creator>
				<category><![CDATA[Classes]]></category>

		<guid isPermaLink="false">http://www.cs.virginia.edu/~evans/cs3102/?p=315</guid>
		<description><![CDATA[<p>Class 28 slides: [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/classes/class28/class28.pptx">PPTX</a>] [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/classes/class28.pdf">PDF</a>] </p>
<p>
Jeopardy slides: [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/classes/class28/jeopardy.pptx">PPTX</a>] [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/classes/class28/jeopardy.pdf">PDF</a>]</p>
<p>
Thanks everyone for your contributions to the class!  </p>
]]></description>
			<content:encoded><![CDATA[<p>Class 28 slides: [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/classes/class28/class28.pptx">PPTX</a>] [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/classes/class28.pdf">PDF</a>] </p>
<p>
Jeopardy slides: [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/classes/class28/jeopardy.pptx">PPTX</a>] [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/classes/class28/jeopardy.pdf">PDF</a>]</p>
<p>
Thanks everyone for your contributions to the class!  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs.virginia.edu/~evans/cs3102/?feed=rss2&amp;p=315</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Factorial grows faster than Exponential!</title>
		<link>http://www.cs.virginia.edu/~evans/cs3102/?p=307</link>
		<comments>http://www.cs.virginia.edu/~evans/cs3102/?p=307#comments</comments>
		<pubDate>Tue, 04 May 2010 20:05:30 +0000</pubDate>
		<dc:creator>evans</dc:creator>
				<category><![CDATA[Classes]]></category>

		<guid isPermaLink="false">http://www.cs.virginia.edu/~evans/cs3102/?p=307</guid>
		<description><![CDATA[<p>Sorry, I was wrong for one of the Jeopardy answers today!</p>
<p>
<em>n</em>! is <b>not</b> in <em>O</em>(2<em>n</em>)</em>.  </p>
<p>
It is easy to see that <em>n</em>! &#60; <em>n</em><em>n</em>, since all the numbers in the product to compute <em>n</em>! are less than (or equal to) <em>n</em>, but this doesn&#8217;t prove it is not in  <em>O</em>(2<em>n</em>)</em>.  For that, we can use Sterling&#8217;s approximation which gives a tight approximation of the value of <em>n</em>! as

which is definitely not in <em>O</em>(2<em>n</em>)</em> since the base of [<a href="http://www.cs.virginia.edu/~evans/cs3102/?p=307">More...</a>]]]></description>
			<content:encoded><![CDATA[<p>Sorry, I was wrong for one of the Jeopardy answers today!</p>
<p>
<em>n</em>! is <b>not</b> in <em>O</em>(2<sup><em>n</em></sup>)</em>.  </p>
<p>
It is easy to see that <em>n</em>! &lt; <em>n</em><sup><em>n</em></sup>, since all the numbers in the product to compute <em>n</em>! are less than (or equal to) <em>n</em>, but this doesn&#8217;t prove it is not in  <em>O</em>(2<sup><em>n</em></sup>)</em>.  For that, we can use Sterling&#8217;s approximation which gives a tight approximation of the value of <em>n</em>! as<br />
<center><img src="http://upload.wikimedia.org/math/4/6/c/46c33d496f99c39d9886c66fa12e655d.png"></center><br />
which is definitely not in <em>O</em>(2<sup><em>n</em></sup>)</em> since the base of the exponent is not a constant.</p>
<p>
For details, see this <a href="http://en.wikipedia.org/wiki/Stirling%27s_approximation">wikipedia page</a>.</p>
<p>
Sorry I was confused on this today!  I was thinking of Fibonacci, which is approximated by &phi;<sup><em>n</em></sup> where &phi; is the golden ratio (1.618&#8230;).  This is in <em>O</em>(2<sup><em>n</em></sup>) since 1.618&#8230; &lt; 2.</p>
<p>
I hope it didn&#8217;t change the outcome of the game.  As my penance, maybe I should add a question related to this on the final to redeem myself.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs.virginia.edu/~evans/cs3102/?feed=rss2&amp;p=307</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PS7 Submissions</title>
		<link>http://www.cs.virginia.edu/~evans/cs3102/?p=304</link>
		<comments>http://www.cs.virginia.edu/~evans/cs3102/?p=304#comments</comments>
		<pubDate>Mon, 03 May 2010 15:01:00 +0000</pubDate>
		<dc:creator>evans</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Problem Sets]]></category>

		<guid isPermaLink="false">http://www.cs.virginia.edu/~evans/cs3102/?p=304</guid>
		<description><![CDATA[<p>Please submit your PS7 by posting a comment to this post.  </p>
<p>
Some reminders from the <a href="http://www.cs.virginia.edu/evans/cs3102-s10/ps/ps7/ps7.pdf">PS7 handout</a> are below, see that handout for full details.</p>
<p>
If you work in a team, your team should jointly post a single submission with all of your names on it. </p>
<p>
Your post should include:</p>

<li> the names of everyone on the team
<li> a description of your target audience
<li> either the artifact itself or a link to it if it is hosted elsewhere
<li> (optionally) a [<a href="http://www.cs.virginia.edu/~evans/cs3102/?p=304">More...</a>]]]></description>
			<content:encoded><![CDATA[<p>Please submit your PS7 by posting a comment to this post.  </p>
<p>
Some reminders from the <a href="http://www.cs.virginia.edu/evans/cs3102-s10/ps/ps7/ps7.pdf">PS7 handout</a> are below, see that handout for full details.</p>
<p>
If you work in a team, your team should jointly post a single submission with all of your names on it. </p>
<p>
Your post should include:</p>
<ol type=a>
<li> the names of everyone on the team
<li> a description of your target audience
<li> either the artifact itself or a link to it if it is hosted elsewhere
<li> (optionally) a poetic license statement
</ol>
<p>Note: if you log into your account on this blog, you can post a comment without needing moderation.  Otherwise, you can post a comment but it won&#8217;t appear until I approve it.</p>
<p>Remember to send me email before 5pm today (Monday, May 3) if you would like to present or perform your artifact in class tomorrow.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs.virginia.edu/~evans/cs3102/?feed=rss2&amp;p=304</wfw:commentRss>
		<slash:comments>46</slash:comments>
		</item>
		<item>
		<title>Class 27: NP-Complete Desserts</title>
		<link>http://www.cs.virginia.edu/~evans/cs3102/?p=300</link>
		<comments>http://www.cs.virginia.edu/~evans/cs3102/?p=300#comments</comments>
		<pubDate>Thu, 29 Apr 2010 23:53:32 +0000</pubDate>
		<dc:creator>evans</dc:creator>
				<category><![CDATA[Classes]]></category>

		<guid isPermaLink="false">http://www.cs.virginia.edu/~evans/cs3102/?p=300</guid>
		<description><![CDATA[<p>Class 27 slides: [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/classes/class27/class27.pptx">PPTX</a>] [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/classes/class27/class27.pdf">PDF</a>]</p>
<p>
In class, someone asked about languages known to be in BQP that are not known to be in NP.  There is at least one such language, known as the Recursive Fourier Sampling problem.  It is described in this paper: <a href="http://portal.acm.org/citation.cfm?id=167097"><em>Quantum complexity theory</em></a> by Ethan Bernstein and Umesh Vazirani, ACM Symposium on Theory of Computing, 1993.  [Full version: <a href="http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.44.4771&#038;rep=rep1&#038;type=pdf">PDF</a>]  Section 8.4 of this paper describes the problem, but it [<a href="http://www.cs.virginia.edu/~evans/cs3102/?p=300">More...</a>]]]></description>
			<content:encoded><![CDATA[<p>Class 27 slides: [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/classes/class27/class27.pptx">PPTX</a>] [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/classes/class27/class27.pdf">PDF</a>]</p>
<p>
In class, someone asked about languages known to be in BQP that are not known to be in NP.  There is at least one such language, known as the Recursive Fourier Sampling problem.  It is described in this paper: <a href="http://portal.acm.org/citation.cfm?id=167097"><em>Quantum complexity theory</em></a> by Ethan Bernstein and Umesh Vazirani, ACM Symposium on Theory of Computing, 1993.  [Full version: <a href="http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.44.4771&#038;rep=rep1&#038;type=pdf">PDF</a>]  Section 8.4 of this paper describes the problem, but it is definitely not light reading!  Before tackling this paper, I would recommend reading Scott Aaronson&#8217;s <em>Scientific American</em> article: <a href="http://www.cs.virginia.edu/~robins/The_Limits_of_Quantum_Computers.pdf"><em>The Limits of Quantum Computers</em></a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs.virginia.edu/~evans/cs3102/?feed=rss2&amp;p=300</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grades in Collab</title>
		<link>http://www.cs.virginia.edu/~evans/cs3102/?p=298</link>
		<comments>http://www.cs.virginia.edu/~evans/cs3102/?p=298#comments</comments>
		<pubDate>Thu, 29 Apr 2010 15:49:59 +0000</pubDate>
		<dc:creator>evans</dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://www.cs.virginia.edu/~evans/cs3102/?p=298</guid>
		<description><![CDATA[<p>I have uploaded your scores on assignments into Collab so you can now verify that I have all your scores recorded correctly.  If you notice any discrepancies, please let me know. </p>
]]></description>
			<content:encoded><![CDATA[<p>I have uploaded your scores on assignments into Collab so you can now verify that I have all your scores recorded correctly.  If you notice any discrepancies, please let me know. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs.virginia.edu/~evans/cs3102/?feed=rss2&amp;p=298</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Class 26: NP-Complete Entrees</title>
		<link>http://www.cs.virginia.edu/~evans/cs3102/?p=295</link>
		<comments>http://www.cs.virginia.edu/~evans/cs3102/?p=295#comments</comments>
		<pubDate>Tue, 27 Apr 2010 20:01:19 +0000</pubDate>
		<dc:creator>evans</dc:creator>
				<category><![CDATA[Classes]]></category>

		<guid isPermaLink="false">http://www.cs.virginia.edu/~evans/cs3102/?p=295</guid>
		<description><![CDATA[<p>Class 26 slides: [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/classes/class26/class26.pptx">PPTX</a>] [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/classes/class26/class26.pdf">PDF</a>]</p>
]]></description>
			<content:encoded><![CDATA[<p>Class 26 slides: [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/classes/class26/class26.pptx">PPTX</a>] [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/classes/class26/class26.pdf">PDF</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs.virginia.edu/~evans/cs3102/?feed=rss2&amp;p=295</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Class 25: NP-Complete Appetizers</title>
		<link>http://www.cs.virginia.edu/~evans/cs3102/?p=290</link>
		<comments>http://www.cs.virginia.edu/~evans/cs3102/?p=290#comments</comments>
		<pubDate>Thu, 22 Apr 2010 19:47:00 +0000</pubDate>
		<dc:creator>evans</dc:creator>
				<category><![CDATA[Classes]]></category>
		<category><![CDATA[Problem Sets]]></category>

		<guid isPermaLink="false">http://www.cs.virginia.edu/~evans/cs3102/?p=290</guid>
		<description><![CDATA[<p>Class 25 slides: [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/classes/class25/class25.pptx">PPTX</a>] [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/classes/class25/class25.pdf">PDF</a>]</p>
<p>
Since I badly messed up the reduction from SUBSET-SUM to KNAPSACK, and don&#8217;t see an obvious way to fix this, you can solve this question in place of Problem 5 on PS6.  If you get an especially elegant and convincing answer that you would like to present in class Tuesday, send it to me by Monday afternoon.</p>
<p>
The reading handed out today is available here: <A href="http://web.cs.wpi.edu/~gsarkozy/3133/p78-fortnow.pdf"><em>The Status of the P versus NP Problem</em></a>, [<a href="http://www.cs.virginia.edu/~evans/cs3102/?p=290">More...</a>]]]></description>
			<content:encoded><![CDATA[<p>Class 25 slides: [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/classes/class25/class25.pptx">PPTX</a>] [<a href="http://www.cs.virginia.edu/evans/cs3102-s10/classes/class25/class25.pdf">PDF</a>]</p>
<p>
Since I badly messed up the reduction from SUBSET-SUM to KNAPSACK, and don&#8217;t see an obvious way to fix this, you can solve this question in place of Problem 5 on PS6.  If you get an especially elegant and convincing answer that you would like to present in class Tuesday, send it to me by Monday afternoon.</p>
<p>
The reading handed out today is available here: <A href="http://web.cs.wpi.edu/~gsarkozy/3133/p78-fortnow.pdf"><em>The Status of the P versus NP Problem</em></a>, Lance Fortnow, <em>Communications of the ACM</em>, September 2009.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs.virginia.edu/~evans/cs3102/?feed=rss2&amp;p=290</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>