Repository navigation
Releases
QuadMath 0.7.0 — Range-safe inference, exact geometry and scientific diagnostics
QuadMath 0.7.0 · symergetics 1.4.0 · QuadCraft v0.6.0
Coordinated contracts and reproducible commands. Historical releases/assets are unchanged.
Complete changes
Statistical geometry, stable fitting and honest examples
- Draw confidence-interval endpoints independently of point estimates, including intervals that exclude an estimate and zero-width intervals; validate before allocating figures and close only owned figures after real drawing failures.
- Evaluate fitted scaling curves through a shared anchored, centered/scaled log-ratio fit with binary-exponent prediction rather than reconstructing a global intercept. Preserve adjacent represented sizes/runtimes, sorted fit geometry, constant timings and explicit failure for unrepresentable curves.
- Preserve tied empirical mass and a visible zero-to-one jump for singleton ECDFs. Compute representable histogram means without overflowing an intermediate sum.
- Replace arbitrary interval widths and misleading benchmark labels with computed seeded percentile-bootstrap intervals and explicitly synthetic inputs. Show known population means in the bootstrap/jackknife comparison.
- Modularize method sections and clarify nominal coverage, individual zero exclusion versus between-group tests, figure ownership and numerical versus encoded-file reproducibility. Replace copied inventories/byte assertions with consumer-visible geometry and resource regressions.
Graphical evidence and numerical diagnostics
- Add importable
quadmath.viz.abstracts.render_quadray_abstract, producing PNG/SVG with actual native basis endpoints, the rank-three gauge quotient and all twelve FCC neighbors in contact with a central sphere. Preserve caller figures and atomic per-format saves. - Publish the scalable quadray/FCC abstract on the repository landing page with direct producer and reproduction links.
- Include SVG companions in isolated output manifests. Replace the regression demo's unrelated polynomial and framework tetrahedron with actual predictions; orient spectral tips along eigenvector columns.
- Distinguish sample-gradient Gram matrices, statistical Fisher information, metric descent and geodesic integration in figures, API docstrings and manuscript captions.
- Align regression state/loss/gradient arrays, report actual stopping reasons and expose raw model inputs. Restrict categorical landscapes to their valid simplex face, identify sampled minima and label ideal interior entropy curvature explicitly.
- Mark the simplex's actual final recorded best, include the final snapshot and distinguish simplex slots from persistent vertex identities.
Modular documentation and verification
- Audit mathematical chapters, specification and operational guides against current source; maintain canonical API-glossary and scripted manuscript-projection ownership.
- Check fragment-only links, duplicate heading slugs, encoded/reference targets and linked Markdown outside scanned roots. Preserve long code fences. Missing/empty authored roots fail; multi-root repository scans prune dependency/generated trees without exempting linked targets.
- Add numerical data/domain/eigenvector regressions and real multi-root link-gate fixtures. Historical releases and deposited PDFs remain version-specific evidence, not claims about current main.
Exact geometry, range-safe inference and field transport
-
Subtract quadray points exactly before embedding floating distances, preserving small displacements between large native coordinates. Preserve mixed integer/rational matrix entries without homogeneous float coercion, and reject malformed embeddings consistently.
-
Accept finite NumPy floating scalars, including
np.float32, in strict inverse coordinates and matrices as their exact represented binary rationals; retain tolerance-free lattice membership, exact row sums and rank checks. -
Add public
sample_meanandscaling_predict(sizes, times, query_sizes); retain thescaling_fitthree-tuple summary. Use compensated means with an overflow-only exact fallback, exact endpoint quantile interpolation and local centered/scaled moments. -
Reduce distant log ratios through binary mantissas/exponents instead of subtracting large absolute logarithms. Preserve representable maximum-time power-law endpoints without clipping predictions or forcing noisy fits through observations.
-
Stream bootstrap resamples through one seeded generator with linear sample-plus-iteration storage. Bootstrap and jackknife now default to
sample_mean; require finite one-dimensional samples and finite real scalar callbacks. Reject unrepresentable jackknife bias/intervals. -
Use centered normalized pool-range permutation tie tolerance rather than absolute-offset tolerance. Stabilize Cohen's d and Welch inference across extreme representable offsets/units, and retain representable tiny Student-t tails without a normal approximation. Singleton descriptive standard deviation remains undefined; genuinely out-of-range descriptive spread can be infinite.
-
Transport nonnegative Gaussian observation mixtures through the dense regularized learning system, preserving mixed-magnitude observations and cancellation-sensitive targets. Zero regularization evaluates the kernel target directly. Require observations in each graph component; reject nonfinite, nonconvex or physically backward-inaccurate fits atomically, without promising forward accuracy in ill-conditioned systems.
-
Keep physical convex means portable on Python 3.11: compensate ordinary same-sign sums and accumulate mixed-sign or extreme products exactly. Preserve the zero-field optimum and require either an accurate ill-conditioned fit or an atomic numerical rejection.
-
Retain conservative edge-flux transport at extreme finite magnitudes using exact accumulation when incident flux plus old state could overflow. Floating ordinary-path conservation remains subject to roundoff.
-
Separate original wheel and source-distribution-rebuilt wheel proofs per supported Python version; distinguish installed-artifact receipts from editable-source checks and fixed-toolchain repeatability from universal byte reproducibility.
-
Retain the new
CITATION.cffsoftware citation and ORCID metadata on main.
Verified final-main behavior and artifacts
- Both final-main Python 3.11/3.13 mathematical/package jobs passed with 100% statement and branch coverage: 3,879 statements and 1,128 branches exercised. Formal
lake/leancheckerand the actual production manuscript job passed. - Original wheels, source archives and source-rebuilt wheels were exercised in isolated CI consumers outside checkouts; every Python payload was additionally compared with the frozen Git source (41 wheel modules; 118 Python files in each source archive).
- Additional isolated final-wheel consumers on Python 3.11.18 and 3.13.17 recovered ascending/descending representable maximum-time scaling, adjacent-float identity, overflow-safe means/bootstrap, the Student-t df=1000, |t|=10 two-sided tail 1.6670702958601736e-22, and positive/signed analytic field solutions.
- The final 118-page production PDF has zero extracted replacement characters; its current range-reduction methods page was rasterized and inspected. The PDF/TeX are the actual final-main build artifacts, not an alternate local font build.
The fixed-ref full suite passed 16/16 selected stages, with no unexecuted checks and clean, unchanged raw source-input fingerprints at both boundaries. Actual coordinated workflow.
| Repository | Verified main revision |
|---|---|
| QuadMath | a8e335bf012a89eaddf25667ce404a0a163ebd99 |
| symergetics | 0289e11cbf6483339ed48414913ef830d3ef8c0d |
| QuadCraft | 4b3294408a3ad64b94b8e285d7b308c9fdc095fa |
Final-main project workflows
Download integrity and reproduction
SHA256SUMS covers every uploaded payload including source-provenance.json. suite-receipt.json is the successful schema-2 full-profile receipt. Distribution proof archives preserve original and source-rebuilt packages, both isolated consumers, resolved build/runtime tools and checksums for Python 3.11/3.13. Verification archives contain actual consumer outcomes and explicit limitations; local proof paths are normalized, not scientific values or hashes. GitHub hosting alone is not a platform-immutability guarantee.
Compatibility and evidence boundaries
scaling_fitretains its reporting tuple; usescaling_predictfor stable evaluation. Invalid/nonfinite data, nonfinite callbacks and unrepresentable results raise rather than returning a substitute. Bootstrap/jackknife defaults now use the finite range-safesample_mean.- Learning remains a dense solve and can reject ill-conditioned or numerically unreliable responses atomically. A physical backward-error check is not a forward-accuracy guarantee. Ordinary floating transport is not globally exact or universally bit-identical.
- Lean covers the documented integer quotient, metric, determinant/volume bridges and shell bounds—not universal BFS/shell-count equivalence, floating simulation, field learning or gameplay.
- Wheels/source archives are GitHub release assets; no PyPI publication was performed. TeX requires the documented figure generators, fonts/media tools and build environment; it is not a standalone TeX bundle.
[Full version comparison](https://github.com/docxology/Qua...
QuadMath 0.6.0 — Exact methods, conservative simulation and formal geometry
0.6.0 — 2026-11-07
Exact methods and simulation
- Add exact rational dot products, squared norms/distances, signed tetrahedral volume, triangle squared area and affine combinations with signed weights. Preserve explicit rational forward embeddings and resolved native cancellation before rounding.
- Add hard-boundary harmonic extension with component anchoring, scale-safe solves and atomic failure. Keep regularized learning as a distinct soft-observation method.
- Add cached undirected graph edges, a graph Laplacian, Dirichlet energy and conservative transport preserving ordinary mass/constants in exact arithmetic. Keep symmetric-normalized heat's different stationary mode explicit.
- Preserve unbounded integer majority decisions, exact count objectives and fractional noisy observations; compute representable floating mean-square scores without premature squared overflow.
Geometry, visualization and orchestration
- Replace malformed six-solid construction meshes with closed supporting-plane/indexed geometry; measure native volumes and edge lengths instead of copying labels. The displayed truncated octahedron has 24 vertices, 36 edges, 14 faces and native volume 96 at the declared scale.
- Render exact sparse quotient-plane cells without dense huge-span allocation or float-collapsed cell edges. Compare hard/soft boundaries and conservative/normalized dynamics with shared scales and explicit conservation diagnostics.
- Honor external
QUADMATH_OUTPUT_DIRthroughout all figure/data generators. Manifest entries are now relative to the configured output root, including the default root; readers must resolve against that root. - Add manuscript
--figures-dirfor isolated generation/porting; correct rational native-volume, reachability, unit and centered-volume examples. Rename the symbolic CSV field toV_ace_ivm; it is not restricted to integers. - Keep mathematical Unicode out of code listings: render the construction table's square roots and signed coordinates as mathematics. PDF failures now print actual TeX error context before the compiler tail.
- Check harmonic residuals with degree/scale-aware floating backward-error bounds, retaining exact boundary and independent linear-field recovery assertions across BLAS platforms.
Formal scope
- Prove the integer-quadray physical quotient/canonical uniqueness, distance positivity and gauge congruence, determinant/volume bridges and universal shell lower bounds in dependency-free Lean.
- Add pinned
lake build/leancheckerCI. Universal shell counts/BFS equivalence, rational-coordinate extensions, floating simulations and gameplay remain outside those proofs.
Local verification: the full mathematical suite passed 100% statement/branch coverage; lake build, leanchecker, all 19 figure generators, strict manuscript/glossary/link checks and installed Python 3.11 wheel consumers were exercised successfully.
Cross-suite consumers and limits: interoperability guide.
Coordinated release and reproducibility
| Project | Release | Exact main revision |
|---|---|---|
| QuadMath | 0.6.0 | 1e960220e2616703fc468ab3f857b21114c961be |
| symergetics | 1.3.0 | 4ab5807a37664158f11e7383f76fdd8ac6672c3e |
| QuadCraft | v0.5.0 | c0f3dc4206086e6a5167ccaaec0e28ece70b7932 |
The source-pinned Linux suite run passed all 14 selected full-profile checks, with no unexecuted checks and clean source/worktrees. The same exact-revision command passed locally; existing generated outputs were not included in source commits. Attached suite-verification.json and suite-verification-local.json retain actual commands, return codes, versions and revisions. Machine-specific artifact locations are replaced by logical aliases for publication.
- QuadMath source-specific verification: Python 3.11/3.13 tests at 100% statement/branch coverage, installed public-method consumers, Lean build/leanchecker, regenerated figures and the successful 123-page canonical manuscript.
- symergetics source-specific verification: both Python versions passed scientific coverage, standalone demos and minimally installed wheel consumers. The additional patched local scientific run passed 1,467 tests, 12 skipped, 91.07% coverage; current Matplotlib 3.11.2 comparative/dashboard consumers rendered outside checkouts.
- QuadCraft main Chromium run: all 30 games passed, with native Doom capture active and actual held-fire/late-input/respawn behavior exercised. Local macOS capture was genuinely denied; both outcomes are recorded, not mocked. The portfolio CLI reported 2,341 passing checks. Native Linux graphical compilation and Debug/Release headless checks passed; protected-main PR #6 merged normally without force/admin bypass.
- Five real implementations checked 279 coordinate cases each, 34 exact volumes, 216 FCC site comparisons, 37 rational vertex means, two fixed-width rational-ingress cases, 280 exact-metric pairs and 15 conservative Python/JavaScript graph steps. Maximum observed mass drift was
1.4210854715202004e-14.
Boundaries and migration notes
- Ordinary-mass conservative transport is distinct from symmetric-normalized heat. JavaScript uses
Number/Float64 and SimAnt stores Float32; this is not arbitrary-precision conservation. - Vertex means and uniform-solid mass centroids are different. Closed-surface moments require non-self-intersecting, mutually nonintersecting surfaces; closure alone does not certify embeddedness.
- Lean proves the documented integer quotient, metric/volume bridge and bounds, not floating simulation, gameplay, universal shell counts or BFS equivalence.
- QuadMath figure manifests now resolve relative to the configured output root; the symbolic CSV column is
V_ace_ivm, not the obsolete integer-only label. - Shared continuous-loop callbacks use seconds; intervals/browser timestamps remain milliseconds. Raw eight-neighbor SimAnt occupancy is not the physical twelve-neighbor FCC graph.
- The mega abstract accepts its declared arguments only; previously ignored extra keywords now raise. Irrational constants remain approximations.
- Interactive native OpenGL gameplay was not exercised. The local official-font PDF path was unavailable; the attached manuscript was built by the successful source-specific Linux workflow.
Assets include source-specific distributions where applicable, portable verification receipts, observed runtime evidence and SHA256SUMS. See the suite contract for units, inverses and precision boundaries.
QuadMath assets include the regenerated PDF and TeX; reproduce images from the tagged sources with the documented manuscript pipeline.
QuadMath 0.5.0 — Stable information geometry and exact centroids
Stable information geometry
- Normalize finite nonnegative probability weights without overflowing their sum, including joint arrays, integer totals and subnormal scales.
- Retain positive support in log space across the full finite-weight range, including finite KL, tiny entropy/mutual information and recoverable rare-state likelihood contributions.
- Define
epsconsistently as normalized-probability pseudocounts followed by renormalization.eps=0preserves exact support boundaries, including infinite KL for missing reference support. - Preserve subnormal support in Jensen–Shannon mixtures and smooth joint distributions once before computing mutual information marginals.
- Widen integral Fisher scores before products. Ordinary batches retain the floating Gram fast path; overflow-risk normalized batches use exact accumulation so unrelated small curvature is not erased.
- Estimate Quadray Fisher information from transformed scores; safely symmetrize and analyze large/subnormal Fisher spectra and curvature.
- Keep zero-posterior likelihood terms out of expected surprise while retaining genuine infinite/undefined likelihood contributions on positive support.
Exact geometry and suite integration
- Add exported
centroid_exact(points), returning a canonical four-Fractiontuple without lattice snapping, including arbitrary-size and rational inputs. - Promote NumPy-backed
Fractionnumerator/denominator fields before coordinate arithmetic, exact centroids and strict inverse elimination. Signed/unsigned fields no longer wrap these exact paths. - Preserve existing half-up snapped centroid and componentwise inverse contracts.
- Compare exact continuous centroids with symergetics alongside the five-runtime coordinate, determinant and independently enumerated FCC checks.
- Update the canonical manuscript, generated API glossary and companion-project contracts for the coordinated symergetics 1.2.0 / QuadCraft v0.4.0 release.
Compatibility: public information-method signatures are unchanged, but explicit
non-negligible eps values now denote real pseudocount smoothing rather than
logarithm/overlap offsets. Irrational/floating calculations are not exactness
certificates; exceptional exact Fisher accumulation has a higher runtime cost.
Coordinated Synergetics suite
| Project | Minor release | Tested main source |
|---|---|---|
| QuadMath | 0.5.0 | ad3f529f647c |
| symergetics | 1.2.0 | 115cbfa6a7a0 |
| QuadCraft | v0.4.0 | 70984f91559c |
Production packages remain independently usable; no sibling runtime dependency was introduced. The suite guide specifies gauge, raw-versus-physical identity, orientation/units, distinct inverse contracts and exact-centroid transport.
Exercised verification
| Gate | Observed result |
|---|---|
| QuadMath | 1,077 cases; 100% statement/branch coverage; Python 3.11/3.13 CI passed |
| symergetics | 1,415 passed, 12 skipped; local Python 3.13 coverage 88.28%, above the 85% floor; Python 3.11/3.13 CI passed |
| QuadCraft CLI | 2,395 reported checks passed; no failures |
| Structural/live browser inventory | All 30 games validated; all 30 real Chromium scenarios passed, with initial/final screenshots |
| Native core/builds | Both Release CTest targets passed; Linux Debug/Release headless and graphical compilation passed |
| Interoperability | 279 coordinates per implementation across five runtimes; 34 exact volumes, 37 exact-centroid cases, 216 FCC comparisons and two fixed-width rational-ingress cases |
| Revision-pinned full suite | All 14 stages passed, no unexecuted checks; schema-v1 receipt records the exact three revisions/versions and clean source/worktrees without private host paths |
| Scientific demonstrations | All 10 standalone demos completed through the real orchestrator and both CI matrix jobs |
| Final installed wheels | Both CI-built wheels exercised outside checkouts on Python 3.11.18/NumPy 2.4.6, including NumPy-backed fractions; symergetics without plotting/scientific extras |
| Manuscript | Fresh 119-page PDF and TeX built on Linux; downloaded PDF metadata and rendered cover inspected; visible date November 07, 2026 |
Source-specific CI evidence
- QuadMath mathematical verification, installed-wheel checks and fresh manuscript.
- symergetics Python 3.11/3.13 tests, coverage, all demos and minimally installed wheels.
- Explicit three-revision full suite with clean-source enforcement and automatic main integration.
- QuadCraft protected-main PR #5 merged normally. Its main Chromium gate, games gate, documentation links and graphical plus Debug/Release native builds passed.
Artifacts, compatibility and limits
- QuadMath assets: final-source wheel/sdist, versioned manuscript PDF/TeX and
SHA256SUMS. - symergetics assets: final-source wheel/sdist, the unmodified clean, explicit-ref
suite-receipt.jsonandSHA256SUMS. - QuadCraft assets: final-main Chromium evidence ZIP containing 30 outcomes, 60 initial/final screenshots and runtime/server diagnostics, plus
SHA256SUMS. - Newly generated local research output was excluded from the source commits. Existing Python 3.15 pins and locked dependency versions were retained; scientific gates explicitly select supported Python 3.11/3.13 environments. This is not a new dependency/advisory audit.
- Browser evidence covers actual input, state, rendering, picking and pause/reset transitions—not every gameplay path or browser. Linux Doom pointer lock was active; denied local macOS capture displayed the keyboard-control notice. Interactive native gameplay was not exercised.
- Local macOS graphical configuration lacked system GLEW; local XeTeX could not load the required DejaVu fonts. Successful Linux native compilation and the actual Linux manuscript pipeline supply the corresponding release evidence; no fake/local fallback artifacts are attached.
QuadMath 0.4.0 — exact geometry and verified suite workflows
Changelog
0.4.0 — 2026-11-06
Mathematical methods
- Preserve common-offset gauge equivalence before floating embedding and exact centroid accumulation, including fixed-width NumPy inputs.
- Stabilize the inverse embedding solve and admit reconstructed integer candidates only when they replay the actual forward XYZ values. Component-wise half-up snapping remains distinct from closest-point lattice search.
- Promote integral scalars before Bareiss elimination, edge subtraction and determinant projection. Signed/unsigned NumPy integer overflow no longer corrupts exact determinants, rank or tetrahedron volumes.
- Compute distances, angles and Cayley–Menger pairwise geometry from integer displacements rather than subtracting large absolute floating positions. Materialize iterable embeddings before reuse.
- Use range-safe norms and normalized angle calculations at extreme finite scales, and retain finite scaled products when a large integer cannot first be converted to float.
- Normalize Cayley–Menger calculations and restore dimensional units without premature volume/radius overflow or underflow.
- Widen low-precision lattice-query inputs before gauge subtraction and use nonnegative Cartesian squared distances.
- Evaluate shell/cumulative counts exactly, widening array results when necessary. Remove arbitrarily large site gauges before bounded index lookup; enumeration order and
MAX_SHELL=32are unchanged.
Orchestration and artifacts
- Anchor both shell entrypoints to their checkout, regardless of the caller's working directory.
- Check the existing API glossary for freshness in the non-PDF coherence gate; stale documentation fails instead of being silently accepted.
- Accept emitted figure paths containing spaces while retaining repository containment, suffix filtering and deduplication.
- Preserve generation diagnostics, explicitly check combined-source reads/writes, and publish PDFs only after successful XeTeX passes. Failed builds cannot leave stale or partially written canonical PDFs looking current.
- Honor
SOURCE_DATE_EPOCHfor the visible UTC manuscript date. This is not a byte-reproducible PDF guarantee.
Distribution and suite integration
- Build an installable
quadmathwheel and source distribution using the existing suite's Hatchling convention; metadata names the shipped Apache-2.0 license. - Exclude generated output and manuscript figure copies from source distributions.
- Support explicit
QUADMATH_OUTPUT_DIRfor installed plotting/data consumers without a checkout. Source tools retainquadmath/output/by default. - Add Python 3.11/3.13 coverage/package gates and a Linux manuscript pipeline with the actual font, TeX, video and Pandoc prerequisites.
- Require the patched pytest ≥9.0.3 floor consistently in both development dependency declarations (GHSA-6w46-j5rx-g56g); the locked test runner was already exercised at 9.2.0.
- Cross-reference symergetics and QuadCraft, document the orientation/unit conversion, and check independently enumerated FCC sites as well as actual Python/JavaScript/C++ coordinate APIs.
Compatibility and verification
The four-component quotient remains three-dimensional. Exact volume documentation now correctly describes Fraction(abs(det), 4), including the primitive 1/4 tetrahedron; no integer-volume rounding was introduced. Existing inverse, shell numbering and raw-versus-physical identity conventions remain explicit.
Run UV_PYTHON=3.13 ./run_all.sh --test-only, then UV_PYTHON=3.13 ./run_all.sh --with-pdf for the full local manuscript pipeline. The coordinated suite verifier also exercises the native and browser-language mathematical consumers. See the suite guide for contracts and verification receipts.
Release verification: 988 tests passed with 100% statement/branch coverage. The coordinated command executed all 13 stages; interoperability covered 279 coordinates per implementation, 34 exact volumes and 216 independently enumerated FCC sites.
Published verification and assets
- Successful Linux verification: both supported scientific CI interpreters, built/installed distributions, documentation contracts, and complete manuscript regeneration/port validation.
- Attached: wheel, curated source distribution, the inspected 119-page combined PDF, companion TeX, and SHA256SUMS. The TeX expects the repository-generated figures for recompilation.
- The visible manuscript date is the source commit's UTC date; byte-reproducible PDFs are not claimed. The released wheel is byte-identical to the independently smoke-tested local wheel.
Coordinated Synergetics release set
The suite contract distinguishes three-dimensional physical geometry, four-index labels, orientation/unit conversion, exact volumes and inverse policies.
Source commit: b69c925b3a2c58eacf567d53cf877c2a88424048. Generated local output/logs are not part of these release changes.
QuadMath 0.3.0
Release 0.3.0. Breaking (pre-1.0 minor bump): ivm_field.ball_sites renamed to shell_ball_sites; statistics callables are 1-D in, scalar out; plot_loss_history accepts out_path. Includes slerp midpoint, NaN rejection, permutation tie tolerance, quadray_from_xyz component-wise contract (documented), bit-exact MP4 and reproducible SVG, atomic writes, 18-section PDF build with DejaVu font check, and synced manuscript. Verification: 836 tests passing, 100% coverage, all 18 sections and combined PDF built with xelatex. Full notes: commit b89584f.
QuadMath 0.2.0
Behavior changes:
expected_free_energy: posterior entropy no longer subtracted twice.G = KL[Q||P] - E_q[log P(o|s)] - log P(o). Values differ from 0.1.0.ivm_dynamics.ball_sitesexcludes IVM void sites. Radius-3 ball is 13 sites (was 27); radius 1 and 2 are origin-only.get_repo_rootraisesRuntimeErrorinstead of returning/.mutual_informationandinformation_gainreject negative entries.qrotateacceptsqand-q;centroidrounds half up and is shift-invariant.
Fixes: Nelder-Mead representative independence; one-shot iterable embeddings in dot/distance/angle; NaN rejected by alpha/lam/kernel_width checks; duplicate observation sites rejected in ivm_field.learn; scaling_fit NaN r2 for constant times; benchmark cold timing; sites_through_shell returns a copy; Pillow declared; unused imports/locals removed.
Open items: see TODO.md, 'Review 2026-10-07'.