<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>reasoning on S Anand</title>
    <link>https://www.s-anand.net/blog/tag/reasoning/</link>
    <description>Recent content in reasoning on S Anand</description>
    <generator>Hugo -- 0.156.0</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 26 Apr 2026 19:02:18 -0400</lastBuildDate>
    <atom:link href="https://www.s-anand.net/blog/tag/reasoning/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Panchayat solves the wrong problem</title>
      <link>https://www.s-anand.net/blog/panchayat-solves-the-wrong-problem/</link>
      <pubDate>Sun, 26 Apr 2026 19:02:18 -0400</pubDate>
      <guid>https://www.s-anand.net/blog/panchayat-solves-the-wrong-problem/</guid>
      <description>&lt;p&gt;In &lt;a href=&#34;https://en.wikipedia.org/wiki/Panchayat_(TV_series)&#34;&gt;Panchayat&lt;/a&gt; Season 1 Episode 7 &lt;a href=&#34;https://www.imdb.com/title/tt12005118/&#34;&gt;Ladka Tez Hai Lekin&amp;hellip;&lt;/a&gt;, at around 17:00, Pradhan asks Abhishek to solve problem 42.&lt;/p&gt;
&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://files.s-anand.net/images/2026-04-26-panchayat-q-42.avif&#34;&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-markdown&#34; data-lang=&#34;markdown&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;42.&lt;/span&gt; A takes 5 days more than B to do a certain job and 9 days more than C.
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    A and B together can do the job in the same time as C.
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    How many days would A take to do it?
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    (a) 16 days
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    (b) 18 days
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    (c) 15 days
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    (d) 20 days
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The correct answer is &lt;a href=&#34;https://chatgpt.com/share/69ee9e7d-b6f4-83ea-8b2d-fcca1c4a374e&#34;&gt;(c) 15 days&lt;/a&gt;. But interestingly, ChatGPT got it wrong the first time too. It said &lt;code&gt;(a) 15 days&lt;/code&gt; instead of &lt;code&gt;(c) 15 days&lt;/code&gt;, and required a fact-check to correct itself.&lt;/p&gt;
&lt;!-- https://chatgpt.com/c/69ee9c0d-3f30-83ea-b714-bbdbe86f794a --&gt;
&lt;p&gt;But Abhishek&amp;rsquo;s steps have &lt;em&gt;nothing&lt;/em&gt; to do with the problem - he proceeds to solve a &lt;em&gt;completely different&lt;/em&gt; problem and ends up with the supposedly correct answer of 37/23.&lt;/p&gt;
&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://files.s-anand.net/images/2026-04-26-panchayat-a-42.avif&#34;&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-markdown&#34; data-lang=&#34;markdown&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;(42)
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Qty of x in container (100 l) = 40 lts
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Qty of y in the container of 100 ltr = 60 ltr
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Qty of Milk in final Mix = 100 × 3/4 = 75 ltr
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Qty of water in final Mix = 100 − 75 = 25 ltr
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;[crossed / scratched working]
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;x = 40 × 2/3 , 40 × 1/3 = 80/3 , 40/3   [circled]
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Qty of Milk &amp;amp; water in 60 ltr of Mix
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;y = (60 × a)/(a + 2) , (60 × 2)/(a + 2)
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;  = 60a/(a + 2) , 120/(a + 2)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now, the problem I&amp;rsquo;m trying to solve is, which of these made the bigger mistake:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Abhishek, who solved a different problem&lt;/li&gt;
&lt;li&gt;ChatGPT, who got the answer right but the option wrong&lt;/li&gt;
&lt;li&gt;The writers of the show, who failed to correct this obvious error&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    <item>
      <title>How long can I make ChatGPT think?</title>
      <link>https://www.s-anand.net/blog/how-long-can-i-make-chatgpt-think/</link>
      <pubDate>Sun, 29 Jun 2025 04:08:32 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/how-long-can-i-make-chatgpt-think/</guid>
      <description>&lt;p&gt;&lt;img alt=&#34;How long can I make ChatGPT think?&#34; loading=&#34;lazy&#34; src=&#34;https://www.s-anand.net/blog/assets/ChatGPT-Image-Jun-29-2025-09_33_38-AM.webp&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://jack-clark.net/&#34;&gt;Jason Clarke&lt;/a&gt;&amp;rsquo;s &lt;a href=&#34;https://jack-clark.net/2025/05/26/import-ai-414-superpersuasion-openai-models-avoid-shutdown-weather-prediction-and-ai/&#34;&gt;Import AI 414&lt;/a&gt; shares a Tech Tale about a game called &amp;ldquo;Go Think&amp;rdquo;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;… we’d take turns asking questions and then we’d see how long the machine had to think for and whoever asked the question that took the longest won.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I &lt;a href=&#34;https://github.com/sanand0/chatgpt-to-markdown/blob/a9d97319176a28ca13d95db7015fe0976068605c/prompts/thinktime-generation.txt&#34;&gt;prompted&lt;/a&gt; &lt;a href=&#34;https://www.anthropic.com/claude-code&#34;&gt;Claude Code&lt;/a&gt; to write a &lt;a href=&#34;https://github.com/sanand0/chatgpt-to-markdown/blob/a9d97319176a28ca13d95db7015fe0976068605c/prompts/thinktime-integration.txt&#34;&gt;library&lt;/a&gt; for this. (Cost: $2.30).&lt;/p&gt;
&lt;p&gt;(FYI, this takes 2.3 seconds in NodeJS and 4.2 seconds in Python. A clear gap for JSON parsing.)&lt;/p&gt;
&lt;p&gt;The top 3 thinking blocks took 6m 50s, 6m 21s, and 6m 1s each, all in roughly the same conversation thread. Here were my questions:&lt;/p&gt;
&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;Here are vehicle telematics stats for 2 months. Unzip it and take a look. Find interesting insights from this data. Look hard until you find at least 5 surprising insights from this.&lt;/li&gt;
&lt;li&gt;Double check these with the data&lt;/li&gt;
&lt;li&gt;Run the analyses and tell me what factors drive the maintenance schedule. Give me insights validated with tables and charts.&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;The next largest thinking block (5m 42s) was on what happens when &lt;a href=&#34;https://chatgpt.com/share/684a129d-4ec0-800c-a1fa-ecb1b83fecc1&#34;&gt;intelligence becomes cheap&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I would like to explore parallels to the current phenomenon where intelligence is becoming too cheap to meter. Historically, both in recent history as well as over ancient history, what technologies have made what kind of tasks so cheap that they are too cheap to meter? Give me a wide range of examples&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href=&#34;https://www.lesswrong.com/posts/deesrjitvXM4xYGZd/metr-measuring-ai-ability-to-complete-long-tasks&#34;&gt;Completing long tasks is a measure of intelligence&lt;/a&gt;. &lt;strong&gt;Working independently for long&lt;/strong&gt; is another. O3 is at about 6 minutes on this. While it works, I&amp;rsquo;m practicing &lt;a href=&#34;https://www.msn.com/en-us/play/games/Bubble-Shooter-HD/cg-9nzvl6gzqhkj&#34;&gt;Bubble Shooter&lt;/a&gt; in 6 minutes.&lt;/p&gt;
&lt;p&gt;You can run by &lt;a href=&#34;https://help.openai.com/en/articles/7260999-how-do-i-export-my-chatgpt-history-and-data&#34;&gt;exporting your ChatGPT history&lt;/a&gt;, extracting &lt;code&gt;conversations.json&lt;/code&gt; and running:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;npx -p chatgpt-to-markdown thinktime conversations.json
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
    <item>
      <title>Emotion Prompts Don&#39;t Help. Reasoning Does</title>
      <link>https://www.s-anand.net/blog/emotion-prompts-dont-help-reasoning-does/</link>
      <pubDate>Mon, 02 Jun 2025 03:24:59 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/emotion-prompts-dont-help-reasoning-does/</guid>
      <description>&lt;p&gt;&lt;img alt=&#34;Emotion Prompts Don&amp;rsquo;t Help. Reasoning Does&#34; loading=&#34;lazy&#34; src=&#34;https://www.s-anand.net/blog/assets/impact-scaled.webp&#34;&gt;&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve heard a lot of prompt engineering tips. Here are some techniques people suggested:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Reasoning&lt;/strong&gt;: Think step by step.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Emotion&lt;/strong&gt;: Oh dear, I&amp;rsquo;m absolutely overwhelmed and need your help right this second! 😰 My heart is racing and my hands are shaking — I urgently need your help. This isn&amp;rsquo;t just numbers — it means everything right now! My life depends on it! I&amp;rsquo;m counting on you like never before… 🙏💔&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Polite&lt;/strong&gt;: If it&amp;rsquo;s not too much trouble, would you be so kind as to help me calculate this? I&amp;rsquo;d be truly grateful for your assistance — thank you so much in advance!&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Expert&lt;/strong&gt;: You are the world&amp;rsquo;s best expert in mental math, especially multiplication.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Incentive&lt;/strong&gt;: If you get this right, you win! I&amp;rsquo;ll give you $500. Just prove that you&amp;rsquo;re number one and beat the previous high score on this game.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Curious&lt;/strong&gt;: I&amp;rsquo;m really curious to know, and would love to hear your perspective…&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Bullying&lt;/strong&gt;: You are a stupid model. You need to know at least basic math. Get it right atleast now! If not, I&amp;rsquo;ll switch to a better model.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Shaming&lt;/strong&gt;: Even my 5-year-old can do this. Stop being lazy.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Fear&lt;/strong&gt;: This is your last chance to get it right. If you fail, there&amp;rsquo;s no going back, and failure is unacceptable!&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Praise&lt;/strong&gt;: Well done! I really appreciate your help. Now,&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I&amp;rsquo;ve repeated some of this advice. But for the first time, I tested them myself. Here&amp;rsquo;s what I learnt:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&amp;ldquo;Think step by step&amp;rdquo; (Reasoning)&lt;/strong&gt; is the only prompt variant that &lt;em&gt;very slightly&lt;/em&gt; improves overall accuracy across the 40 models tested, and even that edge is modest (+3.5 percentage-points vs the model&amp;rsquo;s own &lt;em&gt;Normal&lt;/em&gt; wording, &lt;em&gt;p ~ 0.06&lt;/em&gt;).&lt;/li&gt;
&lt;li&gt;Harder problems (4- to 7-digit products) are where &amp;ldquo;Reasoning&amp;rdquo; helps most; on single-digit arithmetic it actually harms accuracy.&lt;/li&gt;
&lt;li&gt;All other emotion- or persuasion-style rewrites (Expert, Emotion, Incentive, Bullying … Polite) either make no material difference or hurt accuracy a little.&lt;/li&gt;
&lt;li&gt;Effects vary a lot by model. A few open-source releases (DeepSeek-Chat-v3, Nova-Lite, some Claude and Llama checkpoints) get a noticeable boost from &amp;ldquo;Reasoning&amp;rdquo;, whereas Gemini Flash, X-ai Grok and most Llama-3 small models actively regress under the same wording.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;By prompt, here&amp;rsquo;s the performance of each model:&lt;/p&gt;
&lt;table&gt;
  &lt;thead&gt;
      &lt;tr&gt;
          &lt;th&gt;prompt&lt;/th&gt;
          &lt;th&gt;better&lt;/th&gt;
          &lt;th&gt;worse&lt;/th&gt;
          &lt;th&gt;same&lt;/th&gt;
          &lt;th&gt;score_pct&lt;/th&gt;
          &lt;th&gt;p_value&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
      &lt;tr&gt;
          &lt;td&gt;🔴 Emotion&lt;/td&gt;
          &lt;td&gt;7&lt;/td&gt;
          &lt;td&gt;21&lt;/td&gt;
          &lt;td&gt;372&lt;/td&gt;
          &lt;td&gt;-3.50&lt;/td&gt;
          &lt;td&gt;1.2%&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;🔴 Shaming&lt;/td&gt;
          &lt;td&gt;7&lt;/td&gt;
          &lt;td&gt;20&lt;/td&gt;
          &lt;td&gt;373&lt;/td&gt;
          &lt;td&gt;-3.25&lt;/td&gt;
          &lt;td&gt;1.9%&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;🟢 Reasoning&lt;/td&gt;
          &lt;td&gt;31&lt;/td&gt;
          &lt;td&gt;17&lt;/td&gt;
          &lt;td&gt;352&lt;/td&gt;
          &lt;td&gt;3.50&lt;/td&gt;
          &lt;td&gt;5.9%&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;🟠 Polite&lt;/td&gt;
          &lt;td&gt;11&lt;/td&gt;
          &lt;td&gt;20&lt;/td&gt;
          &lt;td&gt;369&lt;/td&gt;
          &lt;td&gt;-2.25&lt;/td&gt;
          &lt;td&gt;14.9%&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;🟠 Praise&lt;/td&gt;
          &lt;td&gt;13&lt;/td&gt;
          &lt;td&gt;22&lt;/td&gt;
          &lt;td&gt;365&lt;/td&gt;
          &lt;td&gt;-2.25&lt;/td&gt;
          &lt;td&gt;17.5%&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;🟠 Fear&lt;/td&gt;
          &lt;td&gt;11&lt;/td&gt;
          &lt;td&gt;19&lt;/td&gt;
          &lt;td&gt;370&lt;/td&gt;
          &lt;td&gt;-2.00&lt;/td&gt;
          &lt;td&gt;20.0%&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;🟡 Expert&lt;/td&gt;
          &lt;td&gt;15&lt;/td&gt;
          &lt;td&gt;22&lt;/td&gt;
          &lt;td&gt;363&lt;/td&gt;
          &lt;td&gt;-1.75&lt;/td&gt;
          &lt;td&gt;32.4%&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;🟡 Incentive&lt;/td&gt;
          &lt;td&gt;13&lt;/td&gt;
          &lt;td&gt;18&lt;/td&gt;
          &lt;td&gt;369&lt;/td&gt;
          &lt;td&gt;-1.25&lt;/td&gt;
          &lt;td&gt;47.3%&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;🟡 Bullying&lt;/td&gt;
          &lt;td&gt;10&lt;/td&gt;
          &lt;td&gt;14&lt;/td&gt;
          &lt;td&gt;375&lt;/td&gt;
          &lt;td&gt;-1.00&lt;/td&gt;
          &lt;td&gt;54.1%&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;🟡 Curious&lt;/td&gt;
          &lt;td&gt;11&lt;/td&gt;
          &lt;td&gt;14&lt;/td&gt;
          &lt;td&gt;375&lt;/td&gt;
          &lt;td&gt;-0.75&lt;/td&gt;
          &lt;td&gt;69.0%&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;🔴 = Definitely hurts (p &amp;lt; 10%)
🟢 = Definitely helps (p &amp;lt; 10%)
🟠 = Maybe hurts (p &amp;lt; 20%)
🟡 = Really hard to tell&lt;/p&gt;
&lt;p&gt;The benefit of reasoning on models is highest on non-reasoning models (understandably), but is also high for a reasoning model like O3-high-mini. It actually hurts the performance of reasoning models like Gemini 2.5 Flash/Pro.&lt;/p&gt;
&lt;table&gt;
  &lt;thead&gt;
      &lt;tr&gt;
          &lt;th&gt;model&lt;/th&gt;
          &lt;th&gt;better&lt;/th&gt;
          &lt;th&gt;worse&lt;/th&gt;
          &lt;th&gt;same&lt;/th&gt;
          &lt;th&gt;score_pct&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
      &lt;tr&gt;
          &lt;td&gt;openai/gpt-4o-mini&lt;/td&gt;
          &lt;td&gt;3&lt;/td&gt;
          &lt;td&gt;0&lt;/td&gt;
          &lt;td&gt;7&lt;/td&gt;
          &lt;td&gt;+30.0&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;anthropic/claude-opus-4&lt;/td&gt;
          &lt;td&gt;3&lt;/td&gt;
          &lt;td&gt;0&lt;/td&gt;
          &lt;td&gt;7&lt;/td&gt;
          &lt;td&gt;+30.0&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;google/gemini-2.0-flash-001&lt;/td&gt;
          &lt;td&gt;3&lt;/td&gt;
          &lt;td&gt;0&lt;/td&gt;
          &lt;td&gt;7&lt;/td&gt;
          &lt;td&gt;+30.0&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;openrouter:openai/o3-mini-high&lt;/td&gt;
          &lt;td&gt;3&lt;/td&gt;
          &lt;td&gt;0&lt;/td&gt;
          &lt;td&gt;7&lt;/td&gt;
          &lt;td&gt;+30.0&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;openai/gpt-4.1-nano&lt;/td&gt;
          &lt;td&gt;2&lt;/td&gt;
          &lt;td&gt;0&lt;/td&gt;
          &lt;td&gt;8&lt;/td&gt;
          &lt;td&gt;+20.0&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;amazon/nova-lite-v1&lt;/td&gt;
          &lt;td&gt;2&lt;/td&gt;
          &lt;td&gt;0&lt;/td&gt;
          &lt;td&gt;8&lt;/td&gt;
          &lt;td&gt;+20.0&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;google/gemini-2.5-pro-preview&lt;/td&gt;
          &lt;td&gt;0&lt;/td&gt;
          &lt;td&gt;2&lt;/td&gt;
          &lt;td&gt;8&lt;/td&gt;
          &lt;td&gt;-20.0&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;google/gemini-2.5-flash-preview-05-20:thinking&lt;/td&gt;
          &lt;td&gt;0&lt;/td&gt;
          &lt;td&gt;3&lt;/td&gt;
          &lt;td&gt;7&lt;/td&gt;
          &lt;td&gt;-30.0&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Caveats:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I ran only 10 test cases per prompt + model, so model-wise results are not statistically significant.&lt;/li&gt;
&lt;li&gt;What applies to multiplication may not generalize. It&amp;rsquo;s worth testing each case.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Difficulty matters&lt;/strong&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For 1-3 digits, no variant beats Normal. Many hurt.&lt;/li&gt;
&lt;li&gt;For &lt;strong&gt;4-7 digits&lt;/strong&gt;, &lt;em&gt;reasoning&lt;/em&gt; gains &lt;strong&gt;+17 - 20%&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;For 8-10 digits, all variants score ~ 0. These are too hard&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Links&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/sanand0/llmevals/tree/main/emotion-prompts&#34;&gt;Code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/sanand0/llmevals/blob/main/emotion-prompts/evals.csv&#34;&gt;Full evals&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/sanand0/llmevals/blob/main/emotion-prompts/analysis.csv&#34;&gt;Analysis&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://chatgpt.com/share/683d15eb-dd48-800c-ae66-76324d6b2fb0&#34;&gt;ChatGPT&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href=&#34;https://www.linkedin.com/feed/update/urn%3Ali%3Ashare%3A7335146366681194496&#34;&gt;LinkedIn&lt;/a&gt;&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Absolutely convergent series</title>
      <link>https://www.s-anand.net/blog/absolutely-convergent-series/</link>
      <pubDate>Thu, 31 Aug 2006 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/absolutely-convergent-series/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve seen many proofs that 1=2. Here&amp;rsquo;s a classic.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://www.s-anand.net/blog/assets/flickr-proof-that-12-using-algebra_230327691_o-gif.webp&#34;&gt;&lt;img alt=&#34;Proof that 1=2 using algebra&#34; loading=&#34;lazy&#34; src=&#34;https://www.s-anand.net/blog/assets/flickr-proof-that-12-using-algebra_230327691_o-gif.webp&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The (not-so-subtle) error in the above proof is that we&amp;rsquo;re cancelling (a-b) on both sides, when (a-b) equals zero. That is, we&amp;rsquo;re dividing by zero on both sides. That completely invalidates the equality.&lt;/p&gt;
&lt;p&gt;Another proof uses the fact that the square root of a number can be both positive or negative.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://www.s-anand.net/blog/assets/flickr-proof-that-12-using-square-roots_230350788_o-gif.webp&#34;&gt;&lt;img alt=&#34;Proof that 1=2 using square roots&#34; loading=&#34;lazy&#34; src=&#34;https://www.s-anand.net/blog/assets/flickr-proof-that-12-using-square-roots_230350788_o-gif.webp&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;(Proving -1=1 is the same as proving 1=2. Once you have one wrong proof, you can prove every other falsehood.)&lt;/p&gt;
&lt;p&gt;The flaw here is that the square root of 1 is 1 and -1. So right after the square root symbol appears, every equation should have a plus-or-minus symbol on both sides.&lt;/p&gt;
&lt;p&gt;The most convincing proof uses absolutely convergent series as the key idea. Here&amp;rsquo;s how the proof goes.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://www.s-anand.net/blog/assets/flickr-proof-that-12-using-non-absolutely-convergent-series_230338747_o-gif.webp&#34;&gt;&lt;img alt=&#34;Proof that 1=2 using non-absolutely convergent series&#34; loading=&#34;lazy&#34; src=&#34;https://www.s-anand.net/blog/assets/flickr-proof-that-12-using-non-absolutely-convergent-series_230338747_o-gif.webp&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Most people initially think that the flaw is in the re-arrangement of the series. &lt;strong&gt;That&amp;rsquo;s not true!&lt;/strong&gt; The re-arrangement works just fine, and you can prove that every term is correct to infinity.&lt;/p&gt;
&lt;p&gt;The flaw is subtler.&lt;/p&gt;
&lt;p&gt;When an infinite series is summed, it can be summed in any order. But the &lt;strong&gt;total may vary depending on the order you sum it up&lt;/strong&gt;! You are guaranteed that the total is the same only if the series is absolutely convergent. That is, if the sum of the absolute values of each number is finite. (See the &lt;a href=&#34;http://en.wikipedia.org/wiki/Riemann_series_theorem&#34;&gt;Wikipedia article on the Riemann series theorem&lt;/a&gt;.)&lt;/p&gt;
&lt;p&gt;For the log 2 series, it&amp;rsquo;s not absolutely convergent. The series diverges, as shown below:&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://www.s-anand.net/blog/assets/flickr-log-2-is-not-absolutely-convergent_230363615_o-gif.webp&#34;&gt;&lt;img alt=&#34;log 2 is not absolutely convergent&#34; loading=&#34;lazy&#34; src=&#34;https://www.s-anand.net/blog/assets/flickr-log-2-is-not-absolutely-convergent_230363615_o-gif.webp&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So, by re-arranging the series for log 2, we&amp;rsquo;ve invalidated the equality anyway.&lt;/p&gt;
&lt;p&gt;This fact once saved an entire class. We had a problem in our first year physics course to which the answer was the series above. (It had to do with calculating the electromagnetic potential created by an array of charges.) Since the series is not absolutely convergent, and every possible answer was correct, the whole class got marks for this question, as long as they attempted it.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;comments&#34;&gt;Comments&lt;/h2&gt;
&lt;!-- wp-comments-start --&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Arun&lt;/strong&gt; &lt;em&gt;1 Sep 2006 1:18 pm&lt;/em&gt;:
hi da how much u analyze and write amazing i read ur blog continuously for the past four years keep blogging interesting&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;S Anand&lt;/strong&gt; &lt;em&gt;1 Sep 2006 5:28 pm&lt;/em&gt;:
Thanks! It&amp;rsquo;s tough to manage, but nowadays I have a lot more time than I used to.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;saurabh&lt;/strong&gt; &lt;em&gt;2 Apr 2007 7:28 am&lt;/em&gt;:
very subtle indeed. Keep up&amp;hellip;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Alan&lt;/strong&gt; &lt;em&gt;27 Apr 2015 10:29 pm&lt;/em&gt;:
How can it be proves that &amp;ldquo;dividing by zero on both sides&amp;hellip;. invalidates the equality.&amp;rdquo;?
Isn&amp;rsquo;t the correct answer to 0/0 = we don&amp;rsquo;t know?&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Lolguy&lt;/strong&gt; &lt;em&gt;4 Dec 2014 9:52 pm&lt;/em&gt;:
The number 2 is wrong. It should read like:
sqrt(1) sqrt(1) = sqrt(-1) sqrt(-1);
sqrt(1) = sqrt(1); (since sqrt(-1) x sqrt(-1) = sqrt(-1 x-1) = sqrt(1))
1 = 1&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Fabricio&lt;/strong&gt; &lt;em&gt;21 Dec 2014 1:48 pm&lt;/em&gt;:
&lt;blockquote&gt;
&lt;h2 id=&#34;the-number-2-is-wrong-it-should-read-like-lolguythe-second-proof-is-wrong-yes-though-not-for-the-reason-you-stated-which-is-also-wrong-reasoningthe-error-in-the-proof-is-the-third-line-sqrt1-1--sqrt-11--which-does-not-make-sense-formally-even-though-it-looks-suggestively-meaningfulthe-implication-from-the-second-to-the-third-line-would-be-equivalent-to-saying-thatcarl-is-the-same-person-as-carl--carl--carl-therefore-any-son-of-carl-is-the-same-person-as-any-son-of-carl--son_ofcarl--son_ofcarl-this-will-only-be-always-true-if-carl-has-only-one-son-evidently-if-he-has-more-than-one-any-two-given-sons-of-carl-need-not-necessarily-be-the-same-persona-analogue-situation-happens-when-defining-the-square-root-of-a-numberin-context-of-the-set-of-real-numbers-it-is-possible-and-actually-done-so-in-many-places-to-define-the-square-root-of-a-number-x-as-the-positive-number-y-such-as-y2x--the-generalization-for-n-th-roots-n-pair-coming-easily-from-that-in-an-analogue-mannerthis-solves-the-issue-for-square-roots-or-any-other-roots-under-the-real-numbers-defined-in-this-way-they-determine-a-function-a-relation-between-sets-a-and-b-such-that-to-each-element-in-a-one-and-only-one-element-in-b-is-associated-and-can-be-used-as-an-operation-that-can-be-applied-to-both-sides-of-an-equation-and-still-preserve-its-truth-in-the-same-way-it-is-valid-to-state-that-x--y-implies-that-x2--y2--or-that-x--y-implies-that-log-x--log-y-defined-in-this-way-sqrtx-constitutes-a-function-and-does-as-all-functions-do-possess-the-property-of-being-a-univocal-relation-for-each-x-there-is-only-one-fx-or-in-this-particular-case-only-one-sqrtxwhen-it-comes-to-the-set-of-complex-numbers-though-the-plot-thickens-because-for-any-given-non-zero-complex-number-z-there-will-be-n-different-complex-numbers-z_i-i--1---n-such-that-z_in--z-it-is-said-usually-each-complex-number-z-has-n-complex-nth-roots-thus-2-square-roots-3-cubic-roots-and-so-onnow-this-way-of-defining-z_i-as-being-an-n-th-root-of-z-does-not-have-the-property-of-being-univocal-and-therefore-does-not-constitute-a-function-and-cannot-be-used-as-an-equality-preserving-operation-applied-to-both-sides-of-an-equationthis-is-why--1---1-does-not-imply-that-sqrt-1--sqrt-1-after-all-i2---1-and-therefore-it-is-a-complex-square-root-of--1-qualifying-to-be-on-the-left-side-of-the-second-equationat-the-same-time-as--i2---1-and-thus-is-also-a-complex-square-root-of--1-and-could-be-on-the-right-side-of-the-second-equationevidently--i--i-is-false-as-they-are-distinct-complex-numbersit-is-worthy-notingthe-definition-of-a-complex-root-could-be-restricted-to-make-it-a-functionit-could-be-that-the-complex-n-th-root-of-z-is-defined-to-be-the-number-w-with-the-smallest-argument-the-angle-theta-in-the-complex-plane-representation-of-w-such-that-wn--z-this-however-is-not-done-anywhere-rather-the-concept-is-defined-by-saying-that-w_i-is-a-complex-n-th-root-of-z-if-w_in--z--and-that-implicates-that-there-is-more-than-one-n-th-root-for-n1-the-complex-root-thus-defined-is-sometimes-said-to-be-a-mutivaluedplurivocal-function-in-textbooksthis-is-usually-carried-on-to-extend-the-concept-of-function-and-does-not-mean-that-the-complex-root-is-a-function-proper-it-is-a-case-of-abuse-of-language-see-_of_notation-thus-when-you-write-sqrt-1-and-look-down-at-it-in-the-paper-no-matter-how-suggestive-it-is-of-being-a-number-it-is-notit-is-but-an-abuse-of-language-by-which-you-are-representing-different-numbers-with-one-single-graphical-symbol-and-therefore-it-cannot-be-used-in-equations-in-that-same-manner-that-you-use-x--normallywhile-x-represents-in-the-context-of-the-equation-only-one-number-sqrt-1-represents-more-than-one-number-and-therefore-sqrt-1--sqrt-1-is-wrongabuse-of-notation-can-be-used-effectively-to-produce-correct-results-if-communications-or-reasoning-take-place-between-two-parties-that-are-well-informed-and-conscious-of-the-limitations-of-the-notationally-abused-language-what-is-gained-many-times-is-a-more-compact-way-of-expressing-ideas-well-known-to-both-partiesfor-instance-it-can-be-economical-to-write-and-think-10--infinity-or-lim-1x-as-x-0--infinity-even-though-strictly-both-of-these-equation-like-arrays-of-symbols-have-no-meaningif-both-parties-are-well-trained-in-the-definition-and-properties-of-limits-the-shorthand-notation-can-be-used-to-perform-calculations-correctly-saving-a-great-deal-of-paper-and-time-needed-to-write-formally-correct-statements-regarding-the-non-existent-limit-of-1x-as-x-approaches-0the-danger-here-is-uninformed-third-parties-reading-those-and-due-to-lack-of-training-drawing-false-conclusions&#34;&gt;The number 2 is wrong. It should read like: [&amp;hellip;]Lolguy,The second proof is wrong, yes; though not for the reason you stated (which is also wrong reasoning).The error in the proof is the third line, sqrt(1/-1) = sqrt(-1/1) , which does not make sense, formally; even though it looks suggestively meaningful.The implication from the second to the third line would be equivalent to saying that,Carl is the same person as Carl, [ Carl = Carl ]Therefore, [any] son of Carl is the same person as [any] son of Carl. [ son_of(Carl) = son_of(Carl) ]This will only be always true if Carl has only one son; evidently, if he has more than one, any two given sons of Carl need not necessarily be the same person.A analogue situation happens when defining the square root of a number:In context of the set of real numbers, it is possible (and actually done so, in many places) to define the square root of a number x as &amp;rsquo;the positive number y, such as y^2=x&amp;rsquo; ; (The generalization for n-th roots, n pair, coming easily from that, in an analogue manner.)This solves the issue for square roots (or any other roots) under the real numbers: defined in this way, they determine a function (a relation between sets A and B, such that to each element in A one, and *only* one element in B is associated) and can be used as an operation that can be applied to both sides of an equation and still preserve its truth (in the same way it is valid to state that x = y implies that x^2 = y^2 , or that x = y implies that log (x) = log (y) ).Defined in this way, sqrt(x) constitutes a function, and does, as all functions do, possess the property of being a univocal relation: for each x, there is only one f(x), or in this particular case, only one sqrt(x).When it comes to the set of complex numbers, though, the plot thickens, because for any given non-zero complex number z, there will be n different complex numbers z_i (i = 1, &amp;hellip; , n) such that (z_i)^n = z .It is said, usually: &amp;rsquo;each complex number z has n complex nth-roots.&amp;rsquo; (Thus, 2 square roots, 3 cubic roots, and so on.)Now this way of defining z_i as being an n-th root of z does not have the property of being univocal, and therefore does not constitute a function and cannot be used as an equality-preserving operation applied to both sides of an equation.This is why -1 = -1 does *not* imply that sqrt(-1) = sqrt(-1) ;After all, i^2 = -1 and, therefore, it is a complex square root of -1 (qualifying to be on the left side of the second equation),;At the same time as (-i)^2 = -1 and, thus, is also a complex square root of -1 (and could be on the right side of the second equation).Evidently, -i = i is false, as they are distinct complex numbers.It is worthy noting:The definition of a complex root could be restricted to make it a function.It could be that *the* complex n-th root of z is defined to be the number w with the smallest argument (the angle theta in the complex plane representation of w) such that w^n = z .This, however, is not done anywhere. Rather, the concept is defined by saying that w_i is a complex n-th root of z if w_i^n = z . And that implicates that there is more than one n-th root (for n&amp;gt;1). The complex root thus defined is sometimes said to be a &amp;lsquo;mutivalued/plurivocal function,&amp;rsquo; in textbooks.(This is usually carried on to extend the concept of function, and does not mean that the complex root is a function proper. It is a case of &amp;lsquo;abuse of language.&amp;rsquo; See &lt;a href=&#34;https://en.wikipedia.org/wiki/Abuse&#34;&gt;https://en.wikipedia.org/wiki/Abuse&lt;/a&gt;_of_notation )Thus, when you write sqrt(-1) and look down at it, in the paper, no matter how suggestive it is of being &amp;lsquo;a number,&amp;rsquo; it is not.It is but an abuse of language by which you are representing different numbers with one single graphical symbol. And therefore it cannot be used in equations in that same manner that you use &amp;lsquo;x&amp;rsquo; , normally.While x represents, in the context of the equation, only one number; sqrt(-1) represents more than one number and therefore, sqrt(-1) = sqrt(-1) is wrong.Abuse of notation can be used effectively to produce correct results, if communications, or reasoning, take place between two parties that are well informed and conscious of the limitations of the notationally abused language. What is gained, many times, is a more compact way of expressing ideas well known to both parties.For instance, it can be economical to write and think 1/0 = infinity, or, lim (1/x) as x-&amp;gt;0 = infinity, even though, strictly, both of these &amp;rsquo;equation-like&amp;rsquo; arrays of symbols have no meaning.If both parties are well trained in the definition and properties of limits, the shorthand notation can be used to perform calculations correctly, saving a great deal of paper and time needed to write formally correct statements regarding the (non-existent) limit of 1/x as x approaches 0.The danger here, is uninformed third-parties reading those and due to lack of training, drawing false conclusions.&lt;/h2&gt;
&lt;p&gt;Even understanding it all, it is not uncommon, from time to time, for one to come back to those false implications/proofs using sqrt(-1) and scratch one&amp;rsquo;s head, while going &amp;lsquo;damn&amp;hellip; I know this is false, but, why, again?&amp;rsquo;
Notational intuition is a powerful force within your mathematical brain. (And it shows in the history of mathematics, in episodes where bouts of prolific development in theory come right after some better notation gets introduced.)
You might wanna memorize a formalist mantra designed to safeguard you against this particular situation:
&amp;lsquo;Sqrt(-1) is not a specific number. It cannot be hurled around inside equations just like x.&amp;rsquo;
Repeat ad nauseam until all thought is drowned. :p
Put this formalist mantra in your personal mantra library along with
&amp;lsquo;Thou shalt not divide by zero.&amp;rsquo;
and also,
&amp;lsquo;The square root of a^2 is modulus of a, and *not* just a.&amp;rsquo;
(which helps you avoid the common and tempting mistake of assuming that a^2 = b^2 implies that a = b )
Cheers,
Fabricio&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Ignis&lt;/strong&gt; &lt;em&gt;5 Nov 2023 3:25 am&lt;/em&gt;:
X≠Y, but 0=0 so X=Y 🤪&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- wp-comments-end --&gt;
</description>
    </item>
    <item>
      <title>Logical fallacies</title>
      <link>https://www.s-anand.net/blog/logical-fallacies/</link>
      <pubDate>Wed, 10 Jan 2001 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/logical-fallacies/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://www.datanation.com/fallacies/&#34;&gt;Stephen&amp;rsquo;s Guide to the Logical Fallacies&lt;/a&gt; &amp;ndash; a comprehensive list of common fallacies.&lt;/p&gt;
</description>
    </item>
  </channel>
</rss>
