<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Calculational proofs are usually direct</title>
	<atom:link href="http://joaoff.com/2008/02/11/direct-proofs/feed/" rel="self" type="application/rss+xml" />
	<link>http://joaoff.com/2008/02/11/direct-proofs/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=direct-proofs</link>
	<description>Programming, Algorithms, and Calculational Mathematics</description>
	<lastBuildDate>Mon, 20 Feb 2012 18:23:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: jff</title>
		<link>http://joaoff.com/2008/02/11/direct-proofs/#comment-147</link>
		<dc:creator>jff</dc:creator>
		<pubDate>Sun, 27 Mar 2011 11:17:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.joaoferreira.org/2008/02/11/direct-proofs/#comment-147</guid>
		<description>Hi Simon,

By definition, exp(m) is the number of times that 2 divides m; this means that exp(m) is always a natural number. For example, exp(4)=2, exp(5)=0, exp(6)=1, exp(8)=3. 

Hence, you can never find m and n, such that  exp(m)=exp(n)+0.5, because the left-hand side is a natural number and the right-hand side is not.

I hope this helps,
Joao</description>
		<content:encoded><![CDATA[<p>Hi Simon,</p>
<p>By definition, exp(m) is the number of times that 2 divides m; this means that exp(m) is always a natural number. For example, exp(4)=2, exp(5)=0, exp(6)=1, exp(8)=3. </p>
<p>Hence, you can never find m and n, such that  exp(m)=exp(n)+0.5, because the left-hand side is a natural number and the right-hand side is not.</p>
<p>I hope this helps,<br />
Joao</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://joaoff.com/2008/02/11/direct-proofs/#comment-146</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Sat, 26 Mar 2011 23:51:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.joaoferreira.org/2008/02/11/direct-proofs/#comment-146</guid>
		<description>Argh, I don&#039;t completely understand.
Why must exp(n) and exp(m) be integers?
Why cant exp(m)=exp(n)+0.5?

Thanks. =)</description>
		<content:encoded><![CDATA[<p>Argh, I don&#8217;t completely understand.<br />
Why must exp(n) and exp(m) be integers?<br />
Why cant exp(m)=exp(n)+0.5?</p>
<p>Thanks. =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jff</title>
		<link>http://joaoff.com/2008/02/11/direct-proofs/#comment-145</link>
		<dc:creator>jff</dc:creator>
		<pubDate>Wed, 07 Oct 2009 21:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.joaoferreira.org/2008/02/11/direct-proofs/#comment-145</guid>
		<description>Dear XSLX,

that&#039;s the contrapositive of Leibniz&#039;s rule. Leibniz rule states that, for all a, b, and function f:
  a=b  =&gt;  f.a = f.b

The contrapositive is obtained by negating both sides and changing the direction of the implication:

  a=/=b  &lt;=  f.a =/= f.b  

Thanks for your comment,
Joao</description>
		<content:encoded><![CDATA[<p>Dear XSLX,</p>
<p>that&#8217;s the contrapositive of Leibniz&#8217;s rule. Leibniz rule states that, for all a, b, and function f:<br />
  a=b  =>  f.a = f.b</p>
<p>The contrapositive is obtained by negating both sides and changing the direction of the implication:</p>
<p>  a=/=b  <=  f.a =/= f.b  </p>
<p>Thanks for your comment,<br />
Joao</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xslx</title>
		<link>http://joaoff.com/2008/02/11/direct-proofs/#comment-144</link>
		<dc:creator>xslx</dc:creator>
		<pubDate>Wed, 07 Oct 2009 20:57:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.joaoferreira.org/2008/02/11/direct-proofs/#comment-144</guid>
		<description>And why are two values different if applying the same function to them yields different values?
Because if they were same, function would return same values ;)</description>
		<content:encoded><![CDATA[<p>And why are two values different if applying the same function to them yields different values?<br />
Because if they were same, function would return same values <img src='http://joaoff.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jff</title>
		<link>http://joaoff.com/2008/02/11/direct-proofs/#comment-143</link>
		<dc:creator>jff</dc:creator>
		<pubDate>Wed, 14 Jan 2009 10:39:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.joaoferreira.org/2008/02/11/direct-proofs/#comment-143</guid>
		<description>Jane,

Each step in the proof format I use has the form:

  A
R { hint }
  B    .

This means that A is related with B by relation R, and the reason is shown in the hint. If I instantiate R with equality, I get:

  A
= { hint }
  B  ,

which means that A=B.

Similarly, if I use the arrow, as in
 
   A
&lt;= {hint}
   B   ,

then it means that B implies A.

***

In this particular example, I am using the contrapositive of the so-called Leibniz rule:

  f(a) =/= f(b)   =&gt;  a =/= b .

In words, if the value of f(a) is different from f(b), then a must be different from b.

I hope this helps,
Joao</description>
		<content:encoded><![CDATA[<p>Jane,</p>
<p>Each step in the proof format I use has the form:</p>
<p>  A<br />
R { hint }<br />
  B    .</p>
<p>This means that A is related with B by relation R, and the reason is shown in the hint. If I instantiate R with equality, I get:</p>
<p>  A<br />
= { hint }<br />
  B  ,</p>
<p>which means that A=B.</p>
<p>Similarly, if I use the arrow, as in</p>
<p>   A<br />
< = {hint}<br />
   B   ,</p>
<p>then it means that B implies A.</p>
<p>***</p>
<p>In this particular example, I am using the contrapositive of the so-called Leibniz rule:</p>
<p>  f(a) =/= f(b)   =>  a =/= b .</p>
<p>In words, if the value of f(a) is different from f(b), then a must be different from b.</p>
<p>I hope this helps,<br />
Joao</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jane Forrester</title>
		<link>http://joaoff.com/2008/02/11/direct-proofs/#comment-142</link>
		<dc:creator>Jane Forrester</dc:creator>
		<pubDate>Tue, 13 Jan 2009 18:19:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.joaoferreira.org/2008/02/11/direct-proofs/#comment-142</guid>
		<description>I am just a layperson who&#039;s interested in logic. Your proof looks very intuitive and direct, and I have to admit it&#039;s more elegant.

However, I have a small question from my ignorance on your notation.

In-between the statements, there are lines that explain the transformation. All of them start with an equal sign except the second one, which is left-arrow. What does that mean and why is this the only one?</description>
		<content:encoded><![CDATA[<p>I am just a layperson who&#8217;s interested in logic. Your proof looks very intuitive and direct, and I have to admit it&#8217;s more elegant.</p>
<p>However, I have a small question from my ignorance on your notation.</p>
<p>In-between the statements, there are lines that explain the transformation. All of them start with an equal sign except the second one, which is left-arrow. What does that mean and why is this the only one?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jff</title>
		<link>http://joaoff.com/2008/02/11/direct-proofs/#comment-141</link>
		<dc:creator>jff</dc:creator>
		<pubDate>Thu, 16 Oct 2008 21:34:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.joaoferreira.org/2008/02/11/direct-proofs/#comment-141</guid>
		<description>Mike,

The so-called Leibniz rule (also called &#039;substitution of equals by equals&#039;) states that, for all a, b, and function f:

   a = b  =&gt;  f.a = f.b     .

Hence, you can see the first step as a mutual implication where, in one direction, function f is taking the square root, and in the other direction, function f corresponds to squaring.

Thanks for your comment!</description>
		<content:encoded><![CDATA[<p>Mike,</p>
<p>The so-called Leibniz rule (also called &#8216;substitution of equals by equals&#8217;) states that, for all a, b, and function f:</p>
<p>   a = b  =>  f.a = f.b     .</p>
<p>Hence, you can see the first step as a mutual implication where, in one direction, function f is taking the square root, and in the other direction, function f corresponds to squaring.</p>
<p>Thanks for your comment!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://joaoff.com/2008/02/11/direct-proofs/#comment-140</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Mon, 15 Sep 2008 22:05:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.joaoferreira.org/2008/02/11/direct-proofs/#comment-140</guid>
		<description>Hi. 

delicious!truly elegant!

isn&#039;t the first equivalence actually an implication? m/n could be minus sqrt(2)...

tks</description>
		<content:encoded><![CDATA[<p>Hi. </p>
<p>delicious!truly elegant!</p>
<p>isn&#8217;t the first equivalence actually an implication? m/n could be minus sqrt(2)&#8230;</p>
<p>tks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://joaoff.com/2008/02/11/direct-proofs/#comment-139</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Wed, 13 Feb 2008 21:14:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.joaoferreira.org/2008/02/11/direct-proofs/#comment-139</guid>
		<description>Thanks, I thought I was going mad. :)</description>
		<content:encoded><![CDATA[<p>Thanks, I thought I was going mad. <img src='http://joaoff.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jff</title>
		<link>http://joaoff.com/2008/02/11/direct-proofs/#comment-138</link>
		<dc:creator>jff</dc:creator>
		<pubDate>Wed, 13 Feb 2008 20:37:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.joaoferreira.org/2008/02/11/direct-proofs/#comment-138</guid>
		<description>Dear Erik,

of course I have. It was a typo, I&#039;m sorry. It is corrected now. Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Dear Erik,</p>
<p>of course I have. It was a typo, I&#8217;m sorry. It is corrected now. Thanks a lot!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

