Skip to main content

symave

symave stands for SYmbolic MAth VErifier. This project is intended to be used as a library for deterministic user lemma verification, as an alternative to statistical approaches that are in some contexts unacceptable, namely in education. This library focuses on rudimentary axioms, statements and propositions present in a typical high school curriculum.

What it does

Given a mathematical symbol (e.g., integer1:factorof) and a student expression, symave returns whether the expression satisfies the symbol's definition.

Symbols are defined in a Knowledge Base (KB) based on OpenMath. OpenMath is an excellent starting point but may not be sufficient for various reasons:

  • geometric and combinatorial concepts have limited representation [Labre, 2026]
  • OpenMath is a standard with multiple encodings (XML, binary, Content MathML); the format of mathematical expressions across content dictionaries is heterogeneous, which poses challenges for consistent indexing [Labre, 2026]
  • even though OpenMath strives to be unambiguous, it does not provide an API (that's not what the project aims to achieve, anyway)
  • OpenMath categorization is strictly hierarchical and achieved through content dictionaries that group related concepts together; further, referencing across the ontology is possible; however, tagging or any other indexing is limited

Install

pip install symave

Usage

from symave import get_verifier

verifier = get_verifier("integer1:factorof")
verifier.verify(params={"n": 6}, expression="3")  # True

Development

Requires Hatch.

hatch run test      # run test suite
hatch run lint      # format + lint + type check
hatch run sec       # security scan
hatch run kb-serve  # browse the Knowledge Base at http://localhost:8787

Metadata

Release files for symave 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for symave 0.2.3
File Size Uploaded Provenance Actions
symave-0.2.3.tar.gz 152.3 kB Without provenance Details for symave-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for symave 0.2.3
File Interpreter ABI Platform Actions
symave-0.2.3-py3-none-any.whl Python 3 none any Details for symave-0.2.3-py3-none-any.whl

Total release size: 157.2 kB

Release files / symave-0.2.3.tar.gz

Download URL symave-0.2.3.tar.gz
Size 152.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c779405b18e8c1961331545f0b5a7c27d2ab07c10f0713f8e19be8c826350307
BLAKE2b-256 checksum
How to use checksums
52be4e74aa79a02d4cce11024782d4efd42e82dd89f83ce05a4e95f246726f6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / symave-0.2.3-py3-none-any.whl

Download URL symave-0.2.3-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4c4bbdcc3abb7037ee6801c632e866c4c3260915becc6343955523b3e816b02f
BLAKE2b-256 checksum
How to use checksums
f46e90941264fd68045a08a74366c34cc4146eb8b2f18d6c71208eb1217b5f56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.2.0 CPython/3.14.5

Security for symave 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page