<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Halting problem - Page 27 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=halting_problem&amp;p=26">1.Previous</a><br />
<a accesskey="3" href="page.php?w=halting_problem&amp;p=28">3.Next</a>
</p>

<p>Because g is partial computable, there must be a program e that computes g, by the assumption that the model of computation is Turing-complete. This program is one of all the programs on which the halting function h is defined. The next step of the proof shows that h(e,e) will not have the same value as f(e,e).</p>

<p>It follows from the definition of g that exactly one of the following two cases must hold:<br/>
* f(e,e) = 0 and so g(e) = 0. In this case program e halts on input e, so h(e,e) = 1.<br/>
* f(e,e) != 0 and so g(e) is undefined.</p><p>
<a accesskey="1" href="page.php?w=halting_problem&amp;p=26">1.Previous</a><br />
<a accesskey="3" href="page.php?w=halting_problem&amp;p=28">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
