This release is a pre-release and may not be stable for production use.
omnibias-sos
Turn positivity into a checkable witness. A decomposition earns a scoped certificate through explicit checks.
Static poster · Narrow-screen animation · How this visual is computed
A polynomial positivity problem enters; a proposed Gram decomposition and rigorously checked certificate data leave. The useful distinction is between finding a numerical candidate and earning a positivity verdict.
The animation uses computed outputs to explain this package. Frame transitions are illustrative unless a training step is explicitly identified; it is not a performance comparison.
API reference · Source · Tests · Talk to Derivon
The mathematical connection
SOS is certificate infrastructure and directly implements neither bias collapse nor temperature collapse. A smooth or discrete consumer can use its lower bounds, but annealing success does not imply polynomial positivity. The checker’s domain, rounding and PSD obligations determine what is certified; a proposal alone is insufficient.
Run this README
The examples use omnibias-sos on Python >=3.10. Their installed-wheel
profile selects runtime features, not an editable workspace. Install the prepared
prerelease from PyPI:
python -m pip install --pre "omnibias-sos==0.1.0a2"
For local development before publication, build and test the coordinated wheelhouse using the release guide. The package's wheel profile executes the examples below outside the source checkout.
Existing published consumers may need historical primitive versions; see the compatibility policy.
Why this package exists
A plot that looks positive is not a proof. An SOS certificate represents a polynomial through a Gram matrix and checks the algebra and positivity conditions needed for the stated claim. The distinction between finding a candidate and validating it is central to this package.
What you can build
- Polynomial and monomial-basis representations.
- SOS and constrained Positivstellensatz workflows.
- Rational reconstruction, interval pivot checks and optional formal obligations.
Use SOS to justify polynomial nonnegativity, construct lower bounds or support another package’s certificate. Small examples are useful for learning the workflow; higher degree and dimension increase basis and semidefinite costs. A carefully chosen basis can matter as much as the numerical proposer.
A working example
from omnibias.sos import Polynomial, certify_sos
x = Polynomial.variable(0, 1)
p = x*x + Polynomial.constant(1., 1)
certificate = certify_sos(p)
assert certificate.certified
assert certificate.coeff_residual == 0.0
print(certificate.status)
Choose the right contract
Not every nonnegative polynomial is SOS. Failure or an inconclusive result does not prove negativity. Certificate scope records the domain and assumptions; a finite algebraic replay is not automatically a theorem about an unrepresented analytic model. Report rigorous and formal-check flags separately.
Explore and validate
The API guide contains the generated module/export inventory. Use it to find the focused implementation rather than guessing a symbol from another package. The capability map connects the primitives to larger scientific workflows.
From the main repository, run the package’s regression suite:
uv run pytest packages/omnibias-sos/tests -q
License
AGPL-3.0-or-later or commercial. See LICENSE and the licensing policy. Comply with the AGPL terms or obtain a signed commercial grant; commercial use alone does not require payment. Commercial terms describe the alternative. Previously distributed Apache editions, where applicable, retain their original grants.
Metadata
Release files for omnibias-sos 0.1.0a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| omnibias_sos-0.1.0a2.tar.gz | 53.0 kB | With provenance | Details for omnibias_sos-0.1.0a2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| omnibias_sos-0.1.0a2-py3-none-any.whl | Python 3 | none | any | Details for omnibias_sos-0.1.0a2-py3-none-any.whl |
Total release size: 104.6 kB
Release files / omnibias_sos-0.1.0a2.tar.gz
| Download URL | omnibias_sos-0.1.0a2.tar.gz |
|---|---|
| Size | 53.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a6fdda0d5eff7535d85a0c2c9c888793131a94ea9afcb252a3ff5b0859b9da56
|
|
BLAKE2b-256 checksum How to use checksums |
72bfb09f02be663130b88e7438221b435673d42fb358cbd18ff8e31ed47b70bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.
Transparency logRelease files / omnibias_sos-0.1.0a2-py3-none-any.whl
| Download URL | omnibias_sos-0.1.0a2-py3-none-any.whl |
|---|---|
| Size | 51.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c43d2dc7e23fe4c8e96907080c8a34c9e55a998d4a2f71d10b5c6f0a27cf0b8
|
|
BLAKE2b-256 checksum How to use checksums |
68ca103d33d47143937f55ce1ed1612636f9621b631edc3fc93f26dcb6eab0e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.
Transparency logSecurity for omnibias-sos 0.1.0a2
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for omnibias_sos-0.1.0a2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.
Transparency logA 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.