Skip to content

Plan, apply and roll back changes to a production ontology, with a blast radius report and a proof an auditor can re-check.

5.4 KB
Raw Blame
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1100 430" font-family="ui-sans-serif,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif">
<defs><linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#020617"/><stop offset="1" stop-color="#070d20"/></linearGradient></defs>
<rect width="1100" height="430" rx="14" fill="url(#bg)"/>
<text x="34" y="40" font-size="17" font-weight="800" fill="#e2e8f0">三个曾经只能靠信任的声明</text>
<text x="34" y="60" font-size="11.5" fill="#64748b">每列都是一次真实运行;此处每个数字都读自其输出,不是写上去的</text>
<rect x="34" y="84" width="332" height="280" rx="11" fill="#0b1428" stroke="#1e3a5f" stroke-width="1"/>
<text x="50" y="110" font-size="11.5" font-weight="800" letter-spacing="0.6" fill="#7dd3fc">对照表的匹配类型</text>
<text x="50" y="126" font-size="10" fill="#64748b">先声明,再对照两边的蕴涵核验</text>
<text x="50" y="154" font-size="10.5" fill="#e2e8f0">Person</text>
<text x="350" y="154" font-size="10" text-anchor="end" fill="#fbbf24">exactMatch → broadMatch</text>
<text x="50" y="171" font-size="10.5" fill="#e2e8f0">Organisation</text>
<text x="350" y="171" font-size="10" text-anchor="end" fill="#fbbf24">exactMatch → broadMatch</text>
<text x="50" y="188" font-size="10.5" fill="#e2e8f0">Entity</text>
<text x="350" y="188" font-size="10" text-anchor="end" fill="#64748b">exactMatch → exactMatch</text>
<text x="50" y="205" font-size="10.5" fill="#e2e8f0">ResponsibleActor</text>
<text x="350" y="205" font-size="10" text-anchor="end" fill="#34d399">exactMatch → exactMatch</text>
<line x1="50" y1="216" x2="350" y2="216" stroke="#1e3a5f"/>
<text x="50" y="234" font-size="10" fill="#94a3b8">1 个词对照表未收录</text>
<text x="58" y="249" font-size="10" fill="#64748b">· Event</text>
<text x="50" y="275" font-size="10" fill="#fbbf24">目标方没有把 Person 和 Organisation 放在 ResponsibleActor</text>
<text x="50" y="289" font-size="10" fill="#fbbf24">之下,因此二者都是更窄的词</text>
<rect x="384" y="84" width="332" height="280" rx="11" fill="#0b1428" stroke="#1e3a5f" stroke-width="1"/>
<text x="400" y="110" font-size="11.5" font-weight="800" letter-spacing="0.6" fill="#7dd3fc">互相矛盾的语境</text>
<text x="400" y="126" font-size="10" fill="#64748b">每个模块单独推理;事实要自己挡得“处处为真”</text>
<rect x="400" y="146" width="300" height="24" rx="7" fill="#060e20" stroke="#1e3a5f"/>
<text x="410" y="162" font-size="10.5" fill="#e2e8f0">birds</text>
<text x="690" y="162" font-size="10" text-anchor="end" fill="#64748b">蕴涵 3</text>
<rect x="400" y="178" width="300" height="24" rx="7" fill="#060e20" stroke="#1e3a5f"/>
<text x="410" y="194" font-size="10.5" fill="#e2e8f0">penguins</text>
<text x="690" y="194" font-size="10" text-anchor="end" fill="#64748b">蕴涵 4</text>
<rect x="400" y="210" width="300" height="24" rx="7" fill="#060e20" stroke="#1e3a5f"/>
<text x="410" y="226" font-size="10.5" fill="#e2e8f0">field_guide</text>
<text x="690" y="226" font-size="10" text-anchor="end" fill="#64748b">蕴涵 3</text>
<text x="400" y="260" font-size="10.5" font-weight="700" fill="#34d399">1 条事实在 3 个模块中的 2 个里被蕴涵</text>
<text x="400" y="277" font-size="10" fill="#94a3b8">8 条只有更少模块持有,逐条列出而不丢弃</text>
<text x="400" y="301" font-size="10" fill="#fb3b53">合并成一张图则不一致;分开则两边都成立</text>
<rect x="734" y="84" width="332" height="280" rx="11" fill="#0b1428" stroke="#1e3a5f" stroke-width="1"/>
<text x="750" y="110" font-size="11.5" font-weight="800" letter-spacing="0.6" fill="#7dd3fc">一个数字</text>
<text x="750" y="126" font-size="10" fill="#64748b">在 Lean 中按定义重算</text>
<text x="750" y="158" font-size="10.5" fill="#94a3b8">A × B = C &#160;&#160;2×3 · 3×2</text>
<text x="750" y="182" font-size="9" letter-spacing="0.5" fill="#64748b">代价</text>
<text x="808" y="182" font-size="9" letter-spacing="0.5" fill="#64748b">结论</text>
<text x="1050" y="182" font-size="9" letter-spacing="0.5" text-anchor="end" fill="#64748b">定理</text>
<line x1="750" y1="190" x2="1050" y2="190" stroke="#1e3a5f"/>
<text x="750" y="208" font-size="9.5" fill="#64748b">O(n³)</text>
<text x="808" y="208" font-size="10" fill="#34d399">product_checked</text>
<text x="1050" y="208" font-size="9" text-anchor="end" fill="#34d399">MatCert.mul_of_check</text>
<text x="750" y="224" font-size="9" fill="#64748b">重算,整数</text>
<text x="750" y="244" font-size="9.5" fill="#64748b">O(n²)</text>
<text x="808" y="244" font-size="10" fill="#7dd3fc">通过,2⁻⁴⁰</text>
<text x="1050" y="244" font-size="9" text-anchor="end" fill="#64748b">无</text>
<text x="750" y="260" font-size="9" fill="#64748b">Freivalds,整数</text>
<text x="750" y="280" font-size="9.5" fill="#64748b">O(n²)</text>
<text x="808" y="280" font-size="10" fill="#fbbf24">在容差内</text>
<text x="1050" y="280" font-size="9" text-anchor="end" fill="#64748b">无</text>
<text x="750" y="296" font-size="9" fill="#64748b">Freivalds,双精度</text>
<line x1="34" y1="380" x2="1066" y2="380" stroke="#1e3a5f"/>
<text x="34" y="398" font-size="10" fill="#64748b">除非核验器挡下,否则此处的词都只是本引擎的意见。只有右列首行引用了定理,且因为 oo-matcert 已将其打印并以 0 退出。</text>
</svg>