<?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/linearalgebra/documentation/</link><description>Recent content in Documentation on OpenSymbolicRules</description><generator>Hugo</generator><language>en</language><atom:link href="https://opensymbolicrules.github.io/domains/linearalgebra/documentation/index.xml" rel="self" type="application/rss+xml"/><item><title>Overview</title><link>https://opensymbolicrules.github.io/domains/linearalgebra/documentation/pages/doc-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://opensymbolicrules.github.io/domains/linearalgebra/documentation/pages/doc-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5/</guid><description>&lt;p&gt;Source: &lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/README.md"&gt;LinearAlgebra at &lt;code&gt;3303f96b37b4&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h1 id="opensymbolicrules--linearalgebra"&gt;OpenSymbolicRules — LinearAlgebra&lt;a class="anchor" href="#opensymbolicrules--linearalgebra"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;This pilot investigates portable, oriented rewrite rules for abstract matrices&#10;and vectors. OpenSymbolicRules is language-independent: a consumer need not&#10;use a particular computer algebra system or proof assistant.&lt;/p&gt;&#10;&lt;p&gt;The pilot contains &lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/docs/matrix-examples.md"&gt;eleven typed matrix rewrites&lt;/a&gt;&#10;and &lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/docs/vector-examples.md"&gt;six typed vector rewrites&lt;/a&gt;.&#10;Lean checks their directed equalities and generates the portable JSON from&#10;the same terms. The wider catalogue contains 28 identities with mathematical&#10;proofs and six false proposals with compiled counterexamples. Typed OSR v1&#10;certification requires an approved context and registry interpretation.&#10;See the &lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/reports/status.md"&gt;status report&lt;/a&gt; and &lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/docs/schema-proposal.md"&gt;schema proposal&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>CAS interoperability assessment</title><link>https://opensymbolicrules.github.io/domains/linearalgebra/documentation/pages/doc-bf89d374cc9f3393b80fc4be40b147123451c4d65bbd1c83183fd13471a90c9c/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://opensymbolicrules.github.io/domains/linearalgebra/documentation/pages/doc-bf89d374cc9f3393b80fc4be40b147123451c4d65bbd1c83183fd13471a90c9c/</guid><description>&lt;p&gt;Source: &lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/docs/interoperability.md"&gt;LinearAlgebra at &lt;code&gt;3303f96b37b4&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h1 id="cas-interoperability-assessment"&gt;CAS interoperability assessment&lt;a class="anchor" href="#cas-interoperability-assessment"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;This is documentation research, not an implemented adapter or a live CAS&#10;conformance test. OSR&amp;rsquo;s representation, semantic interpretation, proof and&#10;CAS execution are separate. No listed CAS is a required dependency. A future&#10;adapter must preserve ordered multiplication, domain and codomain, symbolic&#10;shapes, assumptions, orientation and exact symbol meaning; it must reject a&#10;rule it cannot translate faithfully. Native simplification is not a proof.&lt;/p&gt;</description></item><item><title>Mathlib mapping at the existing pin</title><link>https://opensymbolicrules.github.io/domains/linearalgebra/documentation/pages/doc-e8a83b204c323b511a23c967faa37e408dff6dc4eb5381c7a9b2696b962a7d76/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://opensymbolicrules.github.io/domains/linearalgebra/documentation/pages/doc-e8a83b204c323b511a23c967faa37e408dff6dc4eb5381c7a9b2696b962a7d76/</guid><description>&lt;p&gt;Source: &lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/docs/mathlib-mapping.md"&gt;LinearAlgebra at &lt;code&gt;3303f96b37b4&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h1 id="mathlib-mapping-at-the-existing-pin"&gt;Mathlib mapping at the existing pin&lt;a class="anchor" href="#mathlib-mapping-at-the-existing-pin"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;This started as a source inspection. Subsequently, 28 hand-written&#10;corresponding mathematical statements were compiled; see the&#10;&lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/reports/status.md"&gt;status report&lt;/a&gt; for their precise limits. They are not&#10;generated theorems or an assertion that OSR can ingest these objects. Checked&#10;on geekr9 in the existing&#10;Mathlib checkout at commit&#10;&lt;a href="https://github.com/leanprover-community/mathlib4/tree/56a005855ea17e0b0958f73ec801ae140b0a1679"&gt;&lt;code&gt;56a005855ea17e0b0958f73ec801ae140b0a1679&lt;/code&gt;&lt;/a&gt;,&#10;with &lt;code&gt;leanprover/lean4:v4.35.0&lt;/code&gt;. The pin was not changed. Names below were&#10;looked up in that checkout; intended application, imports, assumptions and&#10;statement equivalence still need compilation and semantic review.&lt;/p&gt;</description></item><item><title>Numerical prototype</title><link>https://opensymbolicrules.github.io/domains/linearalgebra/documentation/pages/doc-6d4b57bb06bbbcdac152f95b999c8da2aab95d649f2c5a5a4aab47dc845763bb/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://opensymbolicrules.github.io/domains/linearalgebra/documentation/pages/doc-6d4b57bb06bbbcdac152f95b999c8da2aab95d649f2c5a5a4aab47dc845763bb/</guid><description>&lt;p&gt;Source: &lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/docs/numerical-prototype.md"&gt;LinearAlgebra at &lt;code&gt;3303f96b37b4&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h1 id="numerical-prototype"&gt;Numerical prototype&lt;a class="anchor" href="#numerical-prototype"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;This prototype checks the formulas in the design, independently of any OSR&#10;rule parser. It is not a validator, a CAS, an official rule collection, or a&#10;formal proof. It uses Python&amp;rsquo;s standard library and adds no dependencies.&lt;/p&gt;&#10;&lt;p&gt;Run from the research directory:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;python3 -m unittest discover -s tests -v&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;python3 tests/run_checks.py&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The second command prints a JSON report and exits nonzero on a test failure or&#10;error. Five test groups exercise the 28 proposed mathematical identities,&#10;six explicit counterexamples, incompatible matrix shapes and a singular&#10;inverse. Seeds are fixed. Square cases use sizes 1, 2 and 3; the cyclic trace&#10;and product transpose also use compatible rectangular matrices. Invertible&#10;samples are triangular with unit diagonal, and exponential samples commute&#10;by construction. The real examples use scalar multiples. The complex pair uses&#10;&lt;code&gt;B = −iA/2 + I/4&lt;/code&gt; and checks &lt;code&gt;AB = BA&lt;/code&gt; explicitly. Vector samples use the&#10;standard oriented real Euclidean space of dimension three.&lt;/p&gt;</description></item><item><title>Phase 2: proposed LinearAlgebra rule inventory</title><link>https://opensymbolicrules.github.io/domains/linearalgebra/documentation/pages/doc-061f6f3f045ebe83a986a13c8d16076e27349c7b52a2202690c9685c1c2351f5/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://opensymbolicrules.github.io/domains/linearalgebra/documentation/pages/doc-061f6f3f045ebe83a986a13c8d16076e27349c7b52a2202690c9685c1c2351f5/</guid><description>&lt;p&gt;Source: &lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/docs/rule-design.md"&gt;LinearAlgebra at &lt;code&gt;3303f96b37b4&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h1 id="phase-2-proposed-linearalgebra-rule-inventory"&gt;Phase 2: proposed LinearAlgebra rule inventory&lt;a class="anchor" href="#phase-2-proposed-linearalgebra-rule-inventory"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;&lt;strong&gt;Design for review only. No rule below is an implemented OSR rule, a generated&#10;Lean theorem, a numerical test result or a certification.&lt;/strong&gt; Every item is a&#10;forward rewrite proposal with a mathematical statement, domain and&#10;preconditions. The existing v1 fragment cannot express all of these rules or&#10;their types and assumptions: see &lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/docs/schema-proposal.md"&gt;schema proposal&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h2 id="shared-conventions"&gt;Shared conventions&lt;a class="anchor" href="#shared-conventions"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;&lt;code&gt;F&lt;/code&gt; is ℝ or ℂ unless restricted below. Matrices are finite and symbolic;&#10;&lt;code&gt;A:m×n&lt;/code&gt;, &lt;code&gt;B:n×p&lt;/code&gt;, &lt;code&gt;C:p×q&lt;/code&gt; have entries in the same field. Square matrices are&#10;&lt;code&gt;n×n&lt;/code&gt;, with &lt;code&gt;n ≥ 1&lt;/code&gt; in this proposed OpenMath fragment. &lt;code&gt;I_n&lt;/code&gt; is the identity&#10;on the specified space. &lt;code&gt;T&lt;/code&gt; is transpose, &lt;strong&gt;not&lt;/strong&gt; Hermitian adjoint. Inverse&#10;means a partial mathematical inverse, defined only for an invertible square&#10;matrix; &lt;code&gt;k⁻¹&lt;/code&gt; requires &lt;code&gt;k ≠ 0&lt;/code&gt;. &lt;code&gt;A^2&lt;/code&gt; means &lt;code&gt;AA&lt;/code&gt; and requires square &lt;code&gt;A&lt;/code&gt;.&#10;For 3D vectors use an oriented real 3D Euclidean inner product space, with&#10;cross product defined by that orientation and metric. &lt;code&gt;det[u v w]&lt;/code&gt; means&#10;the determinant with columns in a positively oriented orthonormal basis;&#10;it equals the orientation-compatible volume form, independent of that choice.&#10;For matrix exponential, use finite square matrices over ℝ or ℂ with the&#10;usual analytic exponential. No complex Euclidean norm claim is made.&lt;/p&gt;</description></item><item><title>Proposal: typed abstract objects and conditional rewriting</title><link>https://opensymbolicrules.github.io/domains/linearalgebra/documentation/pages/doc-081236dcc1c64cb6a0df0914eae1f0c3cdd273c52370e3b06df3ed7a2875eea3/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://opensymbolicrules.github.io/domains/linearalgebra/documentation/pages/doc-081236dcc1c64cb6a0df0914eae1f0c3cdd273c52370e3b06df3ed7a2875eea3/</guid><description>&lt;p&gt;Source: &lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/docs/schema-proposal.md"&gt;LinearAlgebra at &lt;code&gt;3303f96b37b4&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h1 id="proposal-typed-abstract-objects-and-conditional-rewriting"&gt;Proposal: typed abstract objects and conditional rewriting&lt;a class="anchor" href="#proposal-typed-abstract-objects-and-conditional-rewriting"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;&lt;strong&gt;Discussion draft, not OSR v1, not an implemented JSON Schema.&lt;/strong&gt; This document&#10;does not change Specification. Its examples are design fragments, not exported&#10;rules or certificates. The current v1 draft forbids arbitrary extension fields&#10;on a ruleset, rule and &lt;code&gt;OMV&lt;/code&gt;; a proposed field is not valid there merely because&#10;it begins with &lt;code&gt;x-&lt;/code&gt;. See &lt;a href="https://github.com/OpenSymbolicRules/Specification/blob/eb12fb1/schemas/v1/ruleset.schema.json"&gt;the v1 schema&lt;/a&gt;&#10;and &lt;a href="https://github.com/OpenSymbolicRules/Specification/blob/eb12fb1/docs/osr-v1.md"&gt;the v1 requirements&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;The &lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/docs/matrix-examples.md"&gt;typed matrix examples&lt;/a&gt; exercise symbolic dimensions and&#10;forward rewrites in a single experimental envelope. They supply evidence for&#10;reviewing this proposal. The normative migration choice remains open.&lt;/p&gt;</description></item><item><title>Reconnaissance: abstract linear algebra in OSR</title><link>https://opensymbolicrules.github.io/domains/linearalgebra/documentation/pages/doc-d25300d9ae338508f6a1b132ea38d995af9ef6670dc204b2b65c6b9fa98c0b68/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://opensymbolicrules.github.io/domains/linearalgebra/documentation/pages/doc-d25300d9ae338508f6a1b132ea38d995af9ef6670dc204b2b65c6b9fa98c0b68/</guid><description>&lt;p&gt;Source: &lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/docs/recon.md"&gt;LinearAlgebra at &lt;code&gt;3303f96b37b4&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h1 id="reconnaissance-abstract-linear-algebra-in-osr"&gt;Reconnaissance: abstract linear algebra in OSR&lt;a class="anchor" href="#reconnaissance-abstract-linear-algebra-in-osr"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;Status: research and design only; examined 23 November 2026. This directory is&#10;not a Git repository. No existing OSR repository or specification has been&#10;changed by this investigation. All version claims below refer to the checked&#10;out commits, not to an unpinned future version.&lt;/p&gt;&#10;&lt;h2 id="executive-finding-and-phase-0-decision"&gt;Executive finding and phase-0 decision&lt;a class="anchor" href="#executive-finding-and-phase-0-decision"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;Proceed with &lt;strong&gt;design&lt;/strong&gt;, not a conforming implementation. The existing Lean&#10;and Verification infrastructure is available, so the generator-availability&#10;stop condition is not triggered. However, the current v1 contract does not&#10;provide heterogeneous typed variables, matrix or vector carriers, or the&#10;necessary registry interpretations. A portable JSON object may be written,&#10;but neither schema validity nor numerical agreement makes it a conforming,&#10;certified OSR v1 rule. Approval of a representation and of any changes to&#10;other repositories is needed before implementation. The proposed pilot can&#10;host research artifacts independently, but cannot deliver its full v1 and&#10;independent-recheck acceptance criteria without integration work in existing&#10;repositories, or a maintainers-approved extension mechanism.&lt;/p&gt;</description></item><item><title>Target architecture for abstract mathematical rules</title><link>https://opensymbolicrules.github.io/domains/linearalgebra/documentation/pages/doc-8c83519bd31acc75dead8d8844a22ec95bf1ccaf5aca7343828de9343c501a76/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://opensymbolicrules.github.io/domains/linearalgebra/documentation/pages/doc-8c83519bd31acc75dead8d8844a22ec95bf1ccaf5aca7343828de9343c501a76/</guid><description>&lt;p&gt;Source: &lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/docs/architecture-research.md"&gt;LinearAlgebra at &lt;code&gt;3303f96b37b4&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h1 id="target-architecture-for-abstract-mathematical-rules"&gt;Target architecture for abstract mathematical rules&lt;a class="anchor" href="#target-architecture-for-abstract-mathematical-rules"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;Research/design only. LinearAlgebra, TensorAlgebra and DifferentialGeometry&#10;are all mandatory &lt;strong&gt;target responsibilities&lt;/strong&gt;; only the linear-algebra pilot&#10;is a candidate for the first implementation. No implementation of any of the&#10;three domains, no repository creation and no change to the official&#10;specification is authorized by this research phase. See&#10;&lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/docs/recon.md"&gt;recon&lt;/a&gt;, &lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/docs/schema-proposal.md"&gt;schema proposal&lt;/a&gt;,&#10;&lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/docs/rule-design.md"&gt;linear rule design&lt;/a&gt;, &lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/docs/mathlib-mapping.md"&gt;Mathlib mapping&lt;/a&gt;&#10;and &lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/docs/interoperability.md"&gt;interoperability&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h2 id="four-distinct-representation-levels"&gt;Four distinct representation levels&lt;a class="anchor" href="#four-distinct-representation-levels"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&lt;strong&gt;Typed abstract object:&lt;/strong&gt; &lt;code&gt;u : V&lt;/code&gt;, &lt;code&gt;f : V → W&lt;/code&gt;, &lt;code&gt;A : Mat(F,m,n)&lt;/code&gt;, a&#10;tensor in a specified tensor space, or a differential form on &lt;code&gt;M&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Structure and properties:&lt;/strong&gt; linearity, dimensional equalities,&#10;invertibility, a metric, orientation, manifold smoothness and connection;&#10;these belong to a context and may be unknown.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Indexed/coordinate representation:&lt;/strong&gt; bases, variances, charts and&#10;coordinate transformations, explicitly connected to levels 1–2.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Components/numerical values:&lt;/strong&gt; arrays in a chosen basis or chart, usable&#10;for testing or numerical execution, not the sole meaning of a rule.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;Mathlib&amp;rsquo;s matrix carrier can implement a finite matrix as a function of two&#10;indices while the &lt;em&gt;rule&lt;/em&gt; remains at levels 1–2; this is not the same as&#10;requiring an engine to expand a symbolic &lt;code&gt;A&lt;/code&gt; to components. Coordinate-free&#10;linear maps and tensors must not be conflated with their component matrices.&lt;/p&gt;</description></item><item><title>Typed matrix rewrites</title><link>https://opensymbolicrules.github.io/domains/linearalgebra/documentation/pages/doc-6c616a505a65d1cf4e0a6994fc4b7eede8e9077e1886eb70416e462850acb478/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://opensymbolicrules.github.io/domains/linearalgebra/documentation/pages/doc-6c616a505a65d1cf4e0a6994fc4b7eede8e9077e1886eb70416e462850acb478/</guid><description>&lt;p&gt;Source: &lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/docs/matrix-examples.md"&gt;LinearAlgebra at &lt;code&gt;3303f96b37b4&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h1 id="typed-matrix-rewrites"&gt;Typed matrix rewrites&lt;a class="anchor" href="#typed-matrix-rewrites"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;The &lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/examples/matrix-identities.json"&gt;generated JSON examples&lt;/a&gt; contain eleven&#10;forward rewrites on abstract scalar and matrix operands. A consumer needs only the&#10;JSON to inspect their operands, dimensions, carrier and direction. Their&#10;experimental profile is &lt;code&gt;linear_algebra.matrix_examples/0.2.0&lt;/code&gt;. Only a consumer&#10;that understands this profile and checks its context should enable these examples.&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;Inventory&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;JSON ID after &lt;code&gt;linear_algebra.&lt;/code&gt;&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Forward rewrite&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Shapes in operand order&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;T1&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;transpose_product&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;(AB)ᵀ → BᵀAᵀ&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;m×n, n×p&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;T2&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;transpose_sum&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;(A+B)ᵀ → Aᵀ+Bᵀ&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;m×n, m×n&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;T4&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;transpose_twice&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;(Aᵀ)ᵀ → A&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;m×n&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;M1&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;multiply_associative&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;(AB)C → A(BC)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;m×n, n×p, p×q&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;M2&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;distribute_left&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;A(B+C) → AB+AC&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;m×n, n×p, n×p&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;M3&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;distribute_right&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;(A+B)C → AC+BC&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;m×n, m×n, n×p&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;T3&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;transpose_scalar&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;(kA)ᵀ → kAᵀ&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;scalar k, m×n&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;D1&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;determinant_product&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;det(AB) → det(A)det(B)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n×n, n×n&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;D2&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;determinant_transpose&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;det(Aᵀ) → det(A)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n×n&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;D3&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;determinant_scalar&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;det(kA) → kⁿ det(A)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;scalar k, n×n&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;D5&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;determinant_identity&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;det(Iₙ) → 1&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;positive integer n&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;Dimension names are local to a rule. Assign each a positive integer and use&#10;one carrier, ℝ or ℂ, for all operands. For T1, setting m=2, n=3 and p=4&#10;gives a 4×2 result on both sides. Binding B to a 4×2 matrix would make AB&#10;undefined. No entry has a further algebraic premise. T4 removes two operators.&#10;T1 and T2 push transposes toward variables. M1 chooses right association. M2&#10;and M3 expand sums and belong in an opt-in expansion strategy.&lt;/p&gt;</description></item><item><title>Typed vector rewrites</title><link>https://opensymbolicrules.github.io/domains/linearalgebra/documentation/pages/doc-c03f5b6f14baae1e32a6f2fbbc52e05136f78c1f1eb675f4dc6538d3d334fcd6/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://opensymbolicrules.github.io/domains/linearalgebra/documentation/pages/doc-c03f5b6f14baae1e32a6f2fbbc52e05136f78c1f1eb675f4dc6538d3d334fcd6/</guid><description>&lt;p&gt;Source: &lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/docs/vector-examples.md"&gt;LinearAlgebra at &lt;code&gt;3303f96b37b4&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h1 id="typed-vector-rewrites"&gt;Typed vector rewrites&lt;a class="anchor" href="#typed-vector-rewrites"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;The &lt;a href="https://github.com/OpenSymbolicRules/LinearAlgebra/blob/3303f96b37b472ce9e4ba11e35c3c1ab41d09205/examples/vector-identities.json"&gt;six generated rules&lt;/a&gt; use the&#10;experimental profile &lt;code&gt;linear_algebra.euclidean_vectors/0.1.0&lt;/code&gt;. Each rule&#10;binds symbolic vectors in real three-dimensional Euclidean space with a&#10;standard right-handed orthonormal basis. A reader must recognize all four&#10;space fields, the real carrier and the variable declarations before using a&#10;rule. In this model &lt;code&gt;e₁ × e₂ = e₃&lt;/code&gt;. Complex and indefinite inner products&#10;require different interpretations.&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;ID after &lt;code&gt;linear_algebra.&lt;/code&gt;&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Forward rewrite&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Application&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;cross_anticommutative&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;u × v → −(v × u)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Sort a pair of variable operands once, under the guard below.&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;cross_self&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;u × u → 0ᵥ&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Eliminate a repeated operand. The result is a vector.&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;scalar_triple_columns&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;u · (v × w) → det[u v w]&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Opt-in expansion exposing signed volume. The operands are columns in this order.&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;vector_triple&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;u × (v × w) → (u · w)v − (u · v)w&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Opt-in expansion removing nested cross products.&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;cross_jacobi&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;u × (v × w) + v × (w × u) + w × (u × v) → 0ᵥ&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Simplify the full cyclic sum.&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;lagrange_norm&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;‖u × v‖² → ‖u‖²‖v‖² − (u · v)²&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Express the squared area using scalar quantities.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;The mathematical conditions list is empty because the space supplies all&#10;required structures. The separate &lt;code&gt;application_guard&lt;/code&gt; controls direction.&#10;For &lt;code&gt;strict_variable_name_order&lt;/code&gt;, look up the matched objects named by&#10;&lt;code&gt;less&lt;/code&gt; and &lt;code&gt;greater&lt;/code&gt;. Both must be bare OpenMath variables with nonempty&#10;names. Compare their unchanged names lexicographically by Unicode code point.&#10;For example, &lt;code&gt;z × a&lt;/code&gt; can become &lt;code&gt;−(a × z)&lt;/code&gt;. Equal names, a pair already&#10;in order, compound operands and missing bindings disable the swap. An&#10;unrecognized guard must disable application. Other entries carry a null guard.&lt;/p&gt;</description></item></channel></rss>