Source: LinearAlgebra at 3303f96b37b4.
OpenSymbolicRules — LinearAlgebra#
This pilot investigates portable, oriented rewrite rules for abstract matrices and vectors. OpenSymbolicRules is language-independent: a consumer need not use a particular computer algebra system or proof assistant.
The pilot contains eleven typed matrix rewrites and six typed vector rewrites. Lean checks their directed equalities and generates the portable JSON from the same terms. The wider catalogue contains 28 identities with mathematical proofs and six false proposals with compiled counterexamples. Typed OSR v1 certification requires an approved context and registry interpretation. See the status report and schema proposal.
The rule design specifies dimensions, assumptions, orientation and six false proposals. Reconnaissance records the existing ecosystem and Mathlib mapping records candidate declarations. The numerical prototype explains how to run the checks and their limitations. Future tensor and differential geometry domains are discussed in architecture research; they are outside this pilot’s implementation scope.
Run just test to execute the deterministic Python standard-library tests,
or just report for a machine-readable test report. No third-party Python
dependency is needed. The tests include an experimental guard for a small
OpenMath fragment; it is not a complete OSR rule validator or matcher. Build
the documentation with julia --project=docs -e 'using Pkg; Pkg.instantiate()'
followed by just docs. To reproduce the Lean checks, see the checkout and
just lean commands in the status report.