<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Stanley Ngugi</title>
    <link>https://stanleyngugi.netlify.app/</link>
    <description>Technical writing by Stanley Ngugi on AI for formal methods — LLM theorem proving, grammar-constrained decoding, RL environments — and machine learning research.</description>
    <language>en-us</language>
    <atom:link href="https://stanleyngugi.netlify.app/rss.xml" rel="self" type="application/rss+xml"/>
    <item>
      <title>A Quarter of Your Prover's Tokens Never Reach the Judge</title>
      <link>https://stanleyngugi.netlify.app/posts/2026-08-22-grammar-constrained-decoding-lean.html</link>
      <guid isPermaLink="true">https://stanleyngugi.netlify.app/posts/2026-08-22-grammar-constrained-decoding-lean.html</guid>
      <pubDate>Sat, 22 Aug 2026 00:00:00 +0000</pubDate>
      <description>Grammar-constrained decoding makes 100% of generated Lean tactics parseable at zero latency cost — while hallucination stays at ~50%. That asymmetry is the point.</description>
    </item>
    <item>
      <title>Lean's Tactic Language Is Smaller Than It Looks</title>
      <link>https://stanleyngugi.netlify.app/posts/2026-08-22-lean-tactic-language-cfg.html</link>
      <guid isPermaLink="true">https://stanleyngugi.netlify.app/posts/2026-08-22-lean-tactic-language-cfg.html</guid>
      <pubDate>Sat, 22 Aug 2026 00:00:00 +0000</pubDate>
      <description>A 53-production context-free grammar for Lean 4 tactics covers 99.86% of every tactic line in Mathlib — and the methodology transfers to Rocq and Isabelle.</description>
    </item>
    <item>
      <title>Taming Incidental Polysemanticity in Toy Models: How Network Training Choices Affect Feature Entanglement</title>
      <link>https://stanleyngugi.netlify.app/posts/taming_polysemanticity.html</link>
      <guid isPermaLink="true">https://stanleyngugi.netlify.app/posts/taming_polysemanticity.html</guid>
      <pubDate>Sun, 19 Oct 2025 00:00:00 +0000</pubDate>
      <description>An exploratory study using sparse autoencoders to measure how L1 vs L2 regularization, initialization, and activation choices shape polysemanticity in overcomplete networks.</description>
    </item>
  </channel>
</rss>
