Expand description
Specialized Libraries Module
This module contains high-performance specialized mathematical and scientific libraries that leverage Phase 2 architectural enhancements for unprecedented performance and capabilities.
§Cold Domain Decoupling and Module Caller Audit
Cold scientific and hardware domains are staged for opt-in feature gating:
chemistry_modeling: Quantum chemistry, DFT, and Roothaan-Hall SCF. Referenced bymcp::mcp_tool_impls::chemistryandpoet_host::invoke::science::chem.financial_modeling: Option pricing, Black-Scholes, and portfolio risk. Referenced bypoet_host::invoke::econ::{ml_finance, portfolio}.qpu_bridge: Quantum processing unit job scheduler and driver interfaces. Referenced bymcp::mcp_stub_impls.quantum_biology: Biological quantum coherence and state synchronization. A true leaf module with zero external callers acrossqualia-core-db. Gated cleanly underall(not(target_arch = "wasm32"), not(feature = "minimal-fast-build")).
All public module re-exports are 100% preserved under default/monolith builds.
Use active_specialized_lib_mask to query active modules with zero heap allocations.
Re-exports§
pub use shared::FixedArray;pub use shared::FixedQueue;pub use shared::FixedStack;pub use shared::RingBuffer;
Modules§
- category_
theory - Category Theory Library
- chemistry_
modeling - Chemistry Modeling Library - Molecular Simulation and Chemical Analysis
- computational_
economics - Computational economics and finance coordination layer: capability matrices, shared categorical transforms, and native economics kernels. Kept available to WASM because the first layer is metadata + zero-dependency utilities. Native computational economics coordination layer.
- computational_
geometry - Native computational geometry: robust predicates, topology/graph structures, Q42/10D adapters, and the computational-geometry algorithm families. Unlike the older specialized libraries this module is available to browser/WASM builds. Native computational geometry for QualiaDB.
- computer_
vision - Computer vision specialized library (MIG-V2).
- constructibility
- Constructibility — compass-and-straightedge feasibility decisions.
- cryptographic_
library - Cryptographic Library - Quantum-Resistant Cryptographic Operations
- engineering_
analysis - Engineering Analysis Library - Structural, Mechanical, and Systems Engineering Analysis
- financial_
modeling - Financial Modeling Library - Secure Financial Computing and Risk Analysis
- linear_
algebra - Linear Algebra Library - High-Performance Mathematical Computing
- machine_
learning - Machine Learning Library - Edge AI and Neural Network Computing
- medical_
computing - Medical Computing Library - Healthcare Data Processing and Medical Analytics
- multivar_
calculus - Multivariable symbolic differentiation — gradient, Jacobian, Hessian (Calculus
plan §3, the ★★ standout). Built on the CAS’s existing single-variable
differentiate, so every partial is a symbolic, provenance-bearing derivative (citable via the CAS’sto_quins/expr_citation_hash) — honest math, not a black-box autodiff number. - physics_
simulation - Physics Simulation Library - High-Performance Physics Computing
- polynomial_
algebra - Dense univariate polynomial algebra over
f64coefficients. - qpu_
bridge - quantum_
biology - Quantum Biology Library - Quantum-Enhanced Biological Analysis
- shared
- Shared utilities for specialized libraries
- statistical_
computing - Statistical Computing Library - Privacy-Preserving Statistical Analysis
- symbolic_
algebra - Symbolic algebra — a small computer-algebra system (CAS).
- symbolic_
assumptions - Simplification under assumptions (Gap analysis §3.3) — CAS simplifications that are only valid when the simplifier knows a variable’s sign / nonzero-ness.
- symbolic_
integration - Symbolic integration (Calculus plan §4.1) — antiderivatives over the CAS.
- symbolic_
limits - Limits (Calculus plan §4.2) — limits of CAS expressions, with l’Hôpital’s
rule for
0/0indeterminate forms and a numeric-probe limit at infinity for rational expressions. Fail-closed (None) when still indeterminate after the bounded passes. - symbolic_
ode - Symbolic differential equations (Gap analysis §3.4) — closed-form solutions for the standard solvable classes of ODE, plus first-order-linear PDE (method of characteristics) and second-order-linear PDE type classification.
- symbolic_
series - Taylor / Maclaurin series (Calculus plan §4.2) — the series of a CAS expression
about a point, by repeated symbolic differentiation.
cₖ = f⁽ᵏ⁾(a)/k!. - symbolic_
solve - Equation solving (Gap analysis §3.2) — polynomial roots (any degree), real-root extraction, linear systems, and roots of a CAS polynomial expression.
- symbolic_
trig - Trigonometric simplification (Gap analysis §3.3) — identity-driven rewrites over the
CAS’s
Sin/Cos/Tannodes that plainsimplifycannot do (it knows only constant folding and algebraic identities).
Constants§
- LIB_
CATEGORY_ THEORY - LIB_
CHEMISTRY_ MODELING - LIB_
COMPUTATIONAL_ ECONOMICS - LIB_
COMPUTATIONAL_ GEOMETRY - LIB_
COMPUTER_ VISION - LIB_
CONSTRUCTIBILITY - LIB_
CRYPTOGRAPHIC_ LIBRARY - LIB_
ENGINEERING_ ANALYSIS - LIB_
FINANCIAL_ MODELING - LIB_
LINEAR_ ALGEBRA - LIB_
MACHINE_ LEARNING - LIB_
MEDICAL_ COMPUTING - LIB_
MULTIVAR_ CALCULUS - LIB_
PHYSICS_ SIMULATION - LIB_
POLYNOMIAL_ ALGEBRA - LIB_
QPU_ BRIDGE - LIB_
QUANTUM_ BIOLOGY - LIB_
SHARED - LIB_
STATISTICAL_ COMPUTING - LIB_
SYMBOLIC_ ALGEBRA - LIB_
SYMBOLIC_ ASSUMPTIONS - LIB_
SYMBOLIC_ INTEGRATION - LIB_
SYMBOLIC_ LIMITS - LIB_
SYMBOLIC_ ODE - LIB_
SYMBOLIC_ SERIES - LIB_
SYMBOLIC_ SOLVE - LIB_
SYMBOLIC_ TRIG
Functions§
- active_
specialized_ lib_ mask - Returns the 32-bit bitmask of active specialized libraries compiled into this binary.
- is_
specialized_ lib_ active - Checks whether a specific specialized library capability bit is active in the current build.
- specialized_
lib_ name - Returns the canonical snake_case name of a specialized library capability bit.