<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Documentation on OpenSymbolicRules</title><link>https://opensymbolicrules.github.io/domains/calculus/documentation/</link><description>Recent content in Documentation on OpenSymbolicRules</description><generator>Hugo</generator><language>en</language><atom:link href="https://opensymbolicrules.github.io/domains/calculus/documentation/index.xml" rel="self" type="application/rss+xml"/><item><title>Overview</title><link>https://opensymbolicrules.github.io/domains/calculus/documentation/pages/doc-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://opensymbolicrules.github.io/domains/calculus/documentation/pages/doc-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5/</guid><description>&lt;p&gt;Source: &lt;a href="https://github.com/OpenSymbolicRules/Calculus/blob/7081bbc05904327d7b0e2e3ca04c944ff1740513/README.md"&gt;Calculus at &lt;code&gt;7081bbc05904&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h1 id="open-symbolic-rules-osr---calculus-module"&gt;Open Symbolic Rules (OSR) - Calculus Module&lt;a class="anchor" href="#open-symbolic-rules-osr---calculus-module"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;This repository is the &lt;strong&gt;Calculus Module&lt;/strong&gt; of the &lt;a href="https://github.com/OpenSymbolicRules"&gt;OpenSymbolicRules&lt;/a&gt; standard.&lt;/p&gt;&#10;&lt;p&gt;It provides a universal, language-agnostic JSON format for computing:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Limits&lt;/strong&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Derivatives&lt;/strong&gt;&lt;/li&gt;&#10;&lt;li&gt;(Note: Antiderivatives are hosted in the specialized &lt;code&gt;Integration&lt;/code&gt; repository)&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="structure"&gt;Structure&lt;a class="anchor" href="#structure"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;code&gt;rules/&lt;/code&gt;: Calculus rewriting rules in JSON format&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;tests/&lt;/code&gt;: Test fixtures to validate implementations&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;Specification/&lt;/code&gt;: Submodule pointing to the core OSR JSON schemas&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Calculus rules use the OpenMath &lt;code&gt;calculus1&lt;/code&gt;, &lt;code&gt;limit1&lt;/code&gt;, and &lt;code&gt;fns1&lt;/code&gt; Content&#10;Dictionaries to preserve the binding semantics of derivatives and limits.&lt;/p&gt;</description></item><item><title>Documentation home</title><link>https://opensymbolicrules.github.io/domains/calculus/documentation/pages/doc-b4d68dc855d0f9476d3f2ee343853bd21bf82ea9960d0cf06661baa244439dd6/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://opensymbolicrules.github.io/domains/calculus/documentation/pages/doc-b4d68dc855d0f9476d3f2ee343853bd21bf82ea9960d0cf06661baa244439dd6/</guid><description>&lt;p&gt;Source: &lt;a href="https://github.com/OpenSymbolicRules/Calculus/blob/7081bbc05904327d7b0e2e3ca04c944ff1740513/docs/index.md"&gt;Calculus at &lt;code&gt;7081bbc05904&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h1 id="opensymbolicrules--calculus"&gt;OpenSymbolicRules — Calculus&lt;a class="anchor" href="#opensymbolicrules--calculus"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code class="language-@raw" data-lang="@raw"&gt;---&#10;layout: home&#10;hero:&#10; name: OpenSymbolicRules&#10; text: Calculus&#10; tagline: Verified symbolic rewriting grounded in OpenMath.&#10; actions:&#10; - theme: brand&#10; text: Documentation&#10; link: osr-v1/&#10;---&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://github.com/OpenSymbolicRules/Calculus/blob/7081bbc05904327d7b0e2e3ca04c944ff1740513/docs/fundamental-limits.md"&gt;Fundamental limits&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://github.com/OpenSymbolicRules/Calculus/blob/7081bbc05904327d7b0e2e3ca04c944ff1740513/docs/osr-v1.md"&gt;Osr v1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://github.com/OpenSymbolicRules/Calculus/blob/7081bbc05904327d7b0e2e3ca04c944ff1740513/docs/provenance.md"&gt;Provenance&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://github.com/OpenSymbolicRules/Calculus/blob/7081bbc05904327d7b0e2e3ca04c944ff1740513/docs/rule-identities.md"&gt;Rule identities&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://github.com/OpenSymbolicRules/Calculus/blob/7081bbc05904327d7b0e2e3ca04c944ff1740513/docs/structural-derivatives.md"&gt;Structural derivatives&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://github.com/OpenSymbolicRules/Calculus/blob/7081bbc05904327d7b0e2e3ca04c944ff1740513/docs/tangent-derivative.md"&gt;Tangent derivative&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;</description></item><item><title>Fundamental limits</title><link>https://opensymbolicrules.github.io/domains/calculus/documentation/pages/doc-1ed41879232003de84acf9a16a9f3539182cd1e2c21e76116af3f1e75cd4257b/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://opensymbolicrules.github.io/domains/calculus/documentation/pages/doc-1ed41879232003de84acf9a16a9f3539182cd1e2c21e76116af3f1e75cd4257b/</guid><description>&lt;p&gt;Source: &lt;a href="https://github.com/OpenSymbolicRules/Calculus/blob/7081bbc05904327d7b0e2e3ca04c944ff1740513/docs/fundamental-limits.md"&gt;Calculus at &lt;code&gt;7081bbc05904&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h1 id="fundamental-limits"&gt;Fundamental limits&lt;a class="anchor" href="#fundamental-limits"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;The limits profile provides direct rules for these real two-sided limits:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;code&gt;lim(x → 0) sin(x) / x = 1&lt;/code&gt;;&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;lim(x → 0) tan(x) / x = 1&lt;/code&gt;;&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;lim(x → 0) (1 - cos(x)) / x² = 1 / 2&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;lim(x → 0) (exp(x) - 1) / x = 1&lt;/code&gt;;&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;lim(x → 0) log(1 + x) / x = 1&lt;/code&gt;.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;They are direct, fully specified rewrites. General sum, product, and quotient&#10;limit laws are deliberately not encoded yet: their sound application requires&#10;explicit existence and finiteness hypotheses that are not represented in the&#10;current constraint vocabulary.&lt;/p&gt;</description></item><item><title>OSR v1 files</title><link>https://opensymbolicrules.github.io/domains/calculus/documentation/pages/doc-a9f51aa6be870334fdc20c99c5d086d3186c5ff2f7c383a9e58c23d316c2981b/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://opensymbolicrules.github.io/domains/calculus/documentation/pages/doc-a9f51aa6be870334fdc20c99c5d086d3186c5ff2f7c383a9e58c23d316c2981b/</guid><description>&lt;p&gt;Source: &lt;a href="https://github.com/OpenSymbolicRules/Calculus/blob/7081bbc05904327d7b0e2e3ca04c944ff1740513/docs/osr-v1.md"&gt;Calculus at &lt;code&gt;7081bbc05904&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h1 id="osr-v1-files"&gt;OSR v1 files&lt;a class="anchor" href="#osr-v1-files"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;&lt;code&gt;v1/&lt;/code&gt; holds the Calculus rules that the OSR v1 fragment can state, in the&#10;OSR v1 interchange format (Specification, &lt;code&gt;docs/osr-v1.md&lt;/code&gt;). These files are&#10;generated, never edited by hand:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;File&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Content&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;v1/calculus.osr.json&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;29 rules: derivatives &lt;code&gt;diff(λx. F) ⟶ λx. G&lt;/code&gt; and two-sided limits &lt;code&gt;limit(a, both_sides, λx. F) ⟶ L&lt;/code&gt;, with lambdas as &lt;code&gt;OMBIND fns1#lambda&lt;/code&gt;, and verification records over ℝ and ℂ.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;v1/calculus.report.json&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Machine-readable audit: metrics per domain and the rules not migrated.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;v1/calculus.report.md&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;The same audit for humans.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;h2 id="where-they-come-from"&gt;Where they come from&lt;a class="anchor" href="#where-they-come-from"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&lt;code&gt;OpenSymbolicRules/Lean&lt;/code&gt; states each rule with Mathlib&amp;rsquo;s analysis&#10;(&lt;code&gt;OSR/Calculus.lean&lt;/code&gt;): a derivative rule is &lt;code&gt;HasDerivAt&lt;/code&gt; wherever the&#10;function is defined near the point; a limit rule is &lt;code&gt;Tendsto&lt;/code&gt; along the&#10;punctured neighbourhood.&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;OpenSymbolicRules/Verification&lt;/code&gt; publishes the export under&#10;&lt;code&gt;reports/&amp;lt;source digest&amp;gt;/&lt;/code&gt; and can rebuild it independently.&lt;/li&gt;&#10;&lt;li&gt;This repository copies the published files. The CI checks that they&#10;validate against the v1 schema, share one source digest, and are&#10;byte-identical to the published report.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;h2 id="differences-from-v01"&gt;Differences from v0.1&lt;a class="anchor" href="#differences-from-v01"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The v0.1 files in &lt;code&gt;rules/&lt;/code&gt; remain for the v0.1 loader of OpenSymbolicRules.jl.&#10;In v1:&lt;/p&gt;</description></item><item><title>Rule identities</title><link>https://opensymbolicrules.github.io/domains/calculus/documentation/pages/doc-f82cad58bbc38914d5b003b0f34fbea8cd083ad39bda947018bbb191cf0cf845/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://opensymbolicrules.github.io/domains/calculus/documentation/pages/doc-f82cad58bbc38914d5b003b0f34fbea8cd083ad39bda947018bbb191cf0cf845/</guid><description>&lt;p&gt;Source: &lt;a href="https://github.com/OpenSymbolicRules/Calculus/blob/7081bbc05904327d7b0e2e3ca04c944ff1740513/docs/rule-identities.md"&gt;Calculus at &lt;code&gt;7081bbc05904&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h1 id="rule-identities"&gt;Rule identities&lt;a class="anchor" href="#rule-identities"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;Every rule file has a stable &lt;code&gt;identity&lt;/code&gt;. A rule is identified across this&#10;profile by the pair &lt;code&gt;identity:id&lt;/code&gt;, where &lt;code&gt;id&lt;/code&gt; is the positive integer local to&#10;its rule file. The identity is deliberately independent of a file&amp;rsquo;s taxonomy&#10;&lt;code&gt;section&lt;/code&gt; so that taxonomy can evolve without changing references to rules.&lt;/p&gt;</description></item><item><title>Rule provenance</title><link>https://opensymbolicrules.github.io/domains/calculus/documentation/pages/doc-511ee509a686d00fb3f7021e3e8e070e59e575c05eca32d179df09e658aa19b8/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://opensymbolicrules.github.io/domains/calculus/documentation/pages/doc-511ee509a686d00fb3f7021e3e8e070e59e575c05eca32d179df09e658aa19b8/</guid><description>&lt;p&gt;Source: &lt;a href="https://github.com/OpenSymbolicRules/Calculus/blob/7081bbc05904327d7b0e2e3ca04c944ff1740513/docs/provenance.md"&gt;Calculus at &lt;code&gt;7081bbc05904&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h1 id="rule-provenance"&gt;Rule provenance&lt;a class="anchor" href="#rule-provenance"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;Every calculus rule declares a machine-readable &lt;code&gt;provenance&lt;/code&gt; object. It records&#10;the acquisition method and one or more stable source locators. &lt;code&gt;references&lt;/code&gt;,&#10;when present, remains reserved for mathematical bibliography.&lt;/p&gt;</description></item><item><title>Structural derivatives</title><link>https://opensymbolicrules.github.io/domains/calculus/documentation/pages/doc-8286d538bcaeec1d85f09174edc188f72f09b9e7b31b9ae8031e13d556f31c74/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://opensymbolicrules.github.io/domains/calculus/documentation/pages/doc-8286d538bcaeec1d85f09174edc188f72f09b9e7b31b9ae8031e13d556f31c74/</guid><description>&lt;p&gt;Source: &lt;a href="https://github.com/OpenSymbolicRules/Calculus/blob/7081bbc05904327d7b0e2e3ca04c944ff1740513/docs/structural-derivatives.md"&gt;Calculus at &lt;code&gt;7081bbc05904&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h1 id="structural-derivatives"&gt;Structural derivatives&lt;a class="anchor" href="#structural-derivatives"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;h2 id="osr-v1-migration-status"&gt;OSR v1 migration status&lt;a class="anchor" href="#osr-v1-migration-status"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The three v0.1 rules in this file remain outside the certified v1 ruleset.&#10;Their patterns assume that the operands have derivatives, but the rules carry&#10;no conditions that establish this. For example, let &lt;code&gt;f(x) = sqrt(x^2)&lt;/code&gt; and&#10;&lt;code&gt;g(x) = -sqrt(x^2)&lt;/code&gt;. Both are defined everywhere and &lt;code&gt;f + g&lt;/code&gt; is the constant&#10;zero function, while neither &lt;code&gt;f&lt;/code&gt; nor &lt;code&gt;g&lt;/code&gt; is differentiable at zero. Thus the&#10;sum rule&amp;rsquo;s right-hand side requires derivative values that do not exist there.&#10;For the difference take &lt;code&gt;f = g = sqrt(x^2)&lt;/code&gt;, so &lt;code&gt;f - g = 0&lt;/code&gt;; for the&#10;product take the same operands, so &lt;code&gt;f g = x^2&lt;/code&gt;. Both composites have a&#10;derivative at zero while neither operand does.&lt;/p&gt;</description></item><item><title>Tangent derivative</title><link>https://opensymbolicrules.github.io/domains/calculus/documentation/pages/doc-20244a8afd90c8a556ddd88c6244b7963d3facf38f5a2f17b58c9cbe60c6c3d5/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://opensymbolicrules.github.io/domains/calculus/documentation/pages/doc-20244a8afd90c8a556ddd88c6244b7963d3facf38f5a2f17b58c9cbe60c6c3d5/</guid><description>&lt;p&gt;Source: &lt;a href="https://github.com/OpenSymbolicRules/Calculus/blob/7081bbc05904327d7b0e2e3ca04c944ff1740513/docs/tangent-derivative.md"&gt;Calculus at &lt;code&gt;7081bbc05904&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h1 id="tangent-derivative"&gt;Tangent derivative&lt;a class="anchor" href="#tangent-derivative"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;The elementary derivative profile includes&#10;&lt;code&gt;D(tan(x)) = 1 / cos(x)^2&lt;/code&gt;. It uses OpenMath &lt;code&gt;transc1#tan&lt;/code&gt;,&#10;&lt;code&gt;transc1#cos&lt;/code&gt;, and &lt;code&gt;arith1#power&lt;/code&gt;, rather than requiring a separate secant&#10;operator in the result.&lt;/p&gt;&#10;&lt;p&gt;Like the usual tangent function, the rule applies on its domain of definition.&lt;/p&gt;&#10;&lt;p&gt;The same elementary profile also provides &lt;code&gt;D(sinh(x)) = cosh(x)&lt;/code&gt;,&#10;&lt;code&gt;D(cosh(x)) = sinh(x)&lt;/code&gt;, and &lt;code&gt;D(tanh(x)) = 1 / cosh(x)^2&lt;/code&gt;, using OpenMath&#10;&lt;code&gt;transc1&lt;/code&gt; symbols. The last representation avoids adding a nonstandard&#10;hyperbolic-secant head.&lt;/p&gt;</description></item></channel></rss>