Skip to content

v0.11.3

Choose a tag to compare

@erivlis erivlis released this 24 Oct 23:08
· 311 commits to main since this release

Phase 5: Mathematical Verification & "Stamp of Trust" (EP-0180–EP-0186)

This release completes Phase 5, establishing a multi-layered mathematical verification suite (tests/verifications/) and a public Verification & Correctness Matrix while keeping algebrax 100% pure Python with zero heavy runtime dependencies.

Highlights

  • Multi-Layered Verification Suite (EP-0180–EP-0186): 147 new verification tests across 5 independent evidence layers:
    1. Differential Oracles: Cross-checked against NumPy, SciPy, NetworkX, and SymPy across linear algebra, tensors, transforms, spectral graph theory, Lie/Galois/Clifford algebras, topology, and probability.
    2. Axiomatic Property Fuzzing (Hypothesis): Universal algebraic laws verified across all 41 built-in semirings, lattices, categories, and transforms.
    3. Metamorphic & Manufactured Solutions (MMS): Basis/relabeling invariance, exact recovery on planted sheaf cohomology/Hodge problems, and streaming statistical moment parity.
    4. Schwartz–Zippel PIT & Certificates: Exact polynomial identities over $\mathbb{Q}$ and $O(n^2)$ independent verification of solver certificates.
    5. Formal SMT Proofs (Z3): Unbounded machine-checked proofs for tropical, arctic, and bitwise semiring identities (including Python 3.15t free-threaded support).
  • CLI Auditor Hardening: Expanded algebrax.verify and algebrax.verification test coverage to 97%+.

Bug Fixes

  • analysis: Scaled Jacobi eigenvalue rotation budget with matrix dimension for $10^{-11}$ spectral convergence (laplacian_spectrum).
  • lie: Fixed RootSystem.symmetrizing_factors for non-simply-laced root systems ($G_2, F_4$) to return coprime integer factors.
  • converters: Added automatic complex128 dtype detection in to_numpy for unitary/Hermitian matrices ($\mathfrak{su}_n, \mathfrak{u}_n$).
  • semiring: Guarded power(zero, 0) against IEEE 754 ±inf * 0 = NaN in TropicalSemiring, ArcticSemiring, and LogSemiring.

📖 See docs/verification.md and Proposals EP-0180 through EP-0186 for full details.


Full Changelog: v0.11.1...v0.11.3