<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Swaraj Puri on Medium]]></title>
        <description><![CDATA[Stories by Swaraj Puri on Medium]]></description>
        <link>https://medium.com/@aspireto2001?source=rss-759df248c055------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*E6_Ae8VkZKadSfH1</url>
            <title>Stories by Swaraj Puri on Medium</title>
            <link>https://medium.com/@aspireto2001?source=rss-759df248c055------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 01:30:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aspireto2001/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Gödel's Incompleteness Theorem]]></title>
            <link>https://medium.com/@aspireto2001/g%C3%B6dels-incompleteness-theorem-f0bfdffa74f5?source=rss-759df248c055------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0bfdffa74f5</guid>
            <category><![CDATA[gödel]]></category>
            <category><![CDATA[halting-problem]]></category>
            <category><![CDATA[axioms]]></category>
            <category><![CDATA[undecidability]]></category>
            <category><![CDATA[incompleteness-theorem]]></category>
            <dc:creator><![CDATA[Swaraj Puri]]></dc:creator>
            <pubDate>Fri, 07 Jan 2022 05:47:28 GMT</pubDate>
            <atom:updated>2023-04-01T19:46:46.448Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Before diving into Gödel&#39;s theorem, it’s crucial to grasp a few key mathematical concepts.</blockquote><p>Axioms:</p><p>Axioms are assertions in mathematics that are presumed to be true. As an example, consider the following axioms:</p><p><em>A straight line is always between two points</em></p><p><em>A circle can be drawn give a center and a radius</em></p><p>Axioms are fundamental building pieces that must be present in order to define a mathematical system. Combining these elements allows us to prove or refute mathematical claims that can then be stated as theorems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fQpKRkgbTN9phSHw" /></figure><p>When a mathematical system is defined, the concern for its consistency and completeness emerges.</p><p>What does it mean to have a consistent system or a complete system?</p><p>Let’s understand the consistency of the system first -</p><p>If we have a statement, let’s call it Statement1, and we establish it is true using axioms, then there should be no alternative combinations of axioms that we can use to argue it is untrue.</p><p>To put it another way, we should be able to use axioms to establish that a proposition is either true or false, but not both.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/0*MSzZ4oVPU_kaZQpK" /></figure><p>Let’s look at what it means to have a complete system now.</p><p>The term “completeness of systems” refers to the fact that every true assertion in mathematics can be proven.</p><p>However, in mathematics, there exist claims that have yet to be proven, and these statements are known as conjectures.</p><p>Consider the following scenario:</p><p>Every even counting integer bigger than 2 may be demonstrated as the sum of two prime numbers, according to the Goldbach Conjecture. For instance, 8=3+5 and 30=11+19.</p><p>The conjecture has no proof, but whichever example we use, the assertion is correct. However, we should not assume that a proposition is true in all circumstances simply because it appears to be true in some.</p><p>The argument is that Goldbach’s conjecture has not been confirmed. This implies that our system may not be complete and that the axioms used to construct it are insufficient to verify all of the propositions. This means that more axioms must be formulated and a new system must be created, but the question remains the same: is our specified system complete?</p><p>Kurt Gödel, a mathematician, addressed the problems concerning the completeness and consistency of a mathematical system.</p><blockquote>The theorems of Gödel can be summarized as follows:</blockquote><blockquote>No system is consistent and complete, according to Gödel&#39;s First Theorem.</blockquote><blockquote>No consistent mathematical system can prove its own consistency, according to Gödel&#39;s Second Theorem.</blockquote><p>Let’s look at some instances to better grasp both theorems.</p><p>For the first theorem, we have an endlessly big table in which we have listed all of the potential input combinations for a Turing machine. In the table, Turing machine tapes are represented by rows (T1, T2, T3, T4, etc.) and tape’s input position is represented by columns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*li3TUbSrm2yGJNfc" /></figure><p>So, let’s start with Statement 1: The given table is endless and contains all of the Turing machines’ input tapes.</p><p>Statement 1 is correct since it has an indefinite number of inputs.</p><p>Let’s consider we have a complement of diagonal elements as input for the Turing machine T0.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*d2mXFY9kjBQLvC-3" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/356/0*jf8H_PUZhF9S-NDT" /></figure><p>Now,</p><p>T0 is not the same as T1.</p><p>T0 is not the same as T2.</p><p>T0, in reality, is not equivalent to any of the table’s inputs.</p><p>As,T0 is the complement of all the table’s diagonal elements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/0*91YbNcGb-ik_xbcU" /></figure><p>To illustrate the issue, consider Tj in the diagram above, where T stands for Turing machine’s input tape and j for row number. Assume we have an element B at the jth position of this machine, which may be either 0 or 1.</p><p>At the jth position in T0, the input will be a complement of B, i.e. B’.</p><p>As a result, Tj and T0 will not match since Tj has B and T0 has B’ at the jth position.</p><p>T0 is incomplete since it is not part of the table. Will the table be complete if we now add T0 to the table? No, since if we repeat the procedure, we will acquire some data that isn’t in the table. That is, no matter how many axioms we include in a system, it will always be incomplete.</p><p>The given table is endless and comprises all the input tapes for the Turing machine, as stated at the start of the example. But, it has been established that Statement 1 is wrong. However, because this table is infinite, Statement1 is also true. Therefore, the system is inconsistent, as we can prove and refute Statement 1.</p><p>To grasp the second theorem, consider the following example:</p><p>The Second Theorem of Gödel: There is no way for a consistent system to prove its own consistency.</p><p>Let’s assume we have a halting machine that detects if the input machine will halt or loop for the supplied program.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/847/0*rai0IqNQvumJeJ3c" /></figure><p>Now consider machine H1, in which the input received from the halting machine is inverted.</p><p>H1 will loop if the halting machine halts.</p><p>H1 will come to a standstill if the machine loops.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wlGpMUv7TefOIi7k" /></figure><p>If we give the H1 machine’s program to itself, we will end up with inconsistency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WJcy5VyP6l7y4B1O" /></figure><p>To better comprehend it, let’s go through it step by step:</p><p>After H1 has been fed H1’s program. If the Halting Machine detects that H1 will halt for the input, it outputs <strong>HALT,</strong> which is then converted to <strong>LOOP</strong> by the inversion function.</p><p>Similarly, if the Halting machine detects that H1 will loop for the input, it outputs <strong>LOOP</strong>, which is then converted to halt by the inversion function, resulting in H1 becoming <strong>HALT</strong>.</p><p>The Halting Machine is inconsistent, as it delivers inaccurate responses for H1’s end state, as we can see from the preceding two reasons. It’s also worth noting that halting machines produce inconsistent results for the system in which they’re installed. As a result, no consistent system can demonstrate its own consistency.</p><p>We can derive from the second theorem that a system that is a component of a parent system cannot foresee the parent system’s outcomes.</p><p>As our systems are a part of the universe, I’d want to bring out that we may not be able to solve all of the universe’s problems. So, no matter how advanced our computers get, we will never be able to solve every problem; there will always be problems that cannot be solved.</p><p>Co-editors:</p><p><a href="https://medium.com/u/a090ca74ec6a">Prateek Puranik</a></p><blockquote>References:</blockquote><blockquote>Book: Theory of Computation by Vivek Kulkarni</blockquote><blockquote><a href="https://en.wikipedia.org/wiki/Goldbach%27s_conjecture">https://en.wikipedia.org/wiki/Goldbach%27s_conjecture</a></blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FPpSxqde0af4%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DPpSxqde0af4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FPpSxqde0af4%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/195af33652c2e471629e65810527f21d/href">https://medium.com/media/195af33652c2e471629e65810527f21d/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FHeQX2HjkcNo%3Fstart%3D732%26feature%3Doembed%26start%3D732&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DHeQX2HjkcNo&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FHeQX2HjkcNo%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e9b56cace0fb87e42b6789bc8e89352e/href">https://medium.com/media/e9b56cace0fb87e42b6789bc8e89352e/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0bfdffa74f5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>