Source: Calculus at 7081bbc05904.
Open Symbolic Rules (OSR) - Calculus Module#
This repository is the Calculus Module of the OpenSymbolicRules standard.
It provides a universal, language-agnostic JSON format for computing:
- Limits
- Derivatives
- (Note: Antiderivatives are hosted in the specialized
Integrationrepository)
Structure#
rules/: Calculus rewriting rules in JSON formattests/: Test fixtures to validate implementationsSpecification/: Submodule pointing to the core OSR JSON schemas
Calculus rules use the OpenMath calculus1, limit1, and fns1 Content
Dictionaries to preserve the binding semantics of derivatives and limits.
Derivative rules include linearity and the order-preserving product rule, so consumers can compose elementary derivatives without assuming commutativity.
The limits profile includes the standard sine, tangent, and second-order cosine limits at zero.
OSR v1#
v1/ holds the derivative and limit rules that the OSR v1 fragment can
state, generated from Lean proofs (OpenSymbolicRules/Lean) and published by
OpenSymbolicRules/Verification. See docs/osr-v1.md.
Check it with:
just check # v0.1 schemas, semantic closure and v1 files
just v1 <report> # also compare v1/ with a Verification report directory
just doc # HTML documentation and LLM text exports in docs/build/License#
This repository is licensed under the MIT License. OpenMath identifiers are referenced for semantic interoperability; see NOTICE.md.