<?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>Xforms on digitalitem: Claude skills library and product lab</title><link>https://digitalitem.online/en/tags/xforms/</link><description>Recent content in Xforms on digitalitem: Claude skills library and product lab</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 20 Oct 2026 13:10:00 +0000</lastBuildDate><atom:link href="https://digitalitem.online/en/tags/xforms/index.xml" rel="self" type="application/rss+xml"/><item><title>gporca's Rule System: How to Read 119 Rules</title><link>https://digitalitem.online/en/posts/gporca-rules/</link><pubDate>Tue, 20 Oct 2026 13:10:00 +0000</pubDate><guid>https://digitalitem.online/en/posts/gporca-rules/</guid><description>&lt;p&gt;The previous post covered gporca&amp;rsquo;s DP cells. This one covers rules: &lt;code&gt;xforms/&lt;/code&gt; contains &lt;strong&gt;119 files, roughly 44K lines&lt;/strong&gt;. At first it looks like required reading — it isn&amp;rsquo;t. Rules are highly homogeneous; understanding three of them teaches you a whole class.&lt;/p&gt;
&lt;h2 id="1-there-are-only-three-kinds-of-rules"&gt;1. There are only three kinds of rules&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Kind&lt;/th&gt;
&lt;th&gt;Role&lt;/th&gt;
&lt;th&gt;Examples&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Transformation&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Produce equivalent logical expressions inside the same group&lt;/td&gt;
&lt;td&gt;Join commutativity, associativity, predicate pushdown&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Implementation&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Turn a logical expression into an executable physical operator&lt;/td&gt;
&lt;td&gt;HashJoin, IndexScan, Sort&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Enforcer&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Insert operators to satisfy parent requirements&lt;/td&gt;
&lt;td&gt;Sort (order), Motion (distribution)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Search works like this: transformations grow groups, implementations propose candidates, DP picks the cheapest per group.&lt;/p&gt;</description></item></channel></rss>