Repository navigation
Releases
0.9.0 - 2026-09-15
Release Notes
Added
PersistentClassArtifactwrites version 1HOLOSPCbytes for one selected
canonical persistent H1 class. The artifact binds the complete labeled
weighted source, threshold, field, interval, class identity, critical pair,
birth cycle, and finite-death bounding chain.PersistentCoordinateArtifactwrites version 1HOLOSPHbytes that nest a
persistent-class artifact. The coordinate carries its integer lift, field
multiplier, divisibility, gauge-fixed potential, and residual tolerance.holos persistent-classandholos persistent-circularbuild the new
artifacts. The circular command accepts--integral-liftand can write a
phase sidecar.- Existing fixed-scale Python circular functions and
holos circularaccept
checked supplied integral lifts. This supports modulus two when continuation
is not requested. - Python exposes
persistent_class_sparse,persistent_class_condensed,
persistent_class_points, andpersistent_class_square, with matching
persistent_circular_*functions for the same input forms. - Circular-coordinate families retain every extension entry and report
not_attempted,lift_failed,solve_failed, orsuccessoutcomes. A
failure at one grade does not discard a successful coordinate at another.
Automatic family construction requires an odd prime because the family API
has no supplied-lift parameter for modulus two. - Rust exposes
ProgramDiagramStatefor exact diagram updates that defer
refreshed class spaces untilmaterialize. Finite bipersistence construction
reuses equal active graphs, cohomology spaces, and cover maps while retaining
explicit node and map records.
Changed
HOLOSBPis now version 2. Circular-family entries preserve their extension
kind and carry a computation status. Version 1 bytes are rejected by the
decoder.CohomologyRestriction::image_containsnow takes a matching
&CohomologySpaceand returnsResult<bool>. Callers must handle validation
errors.CohomologyRelation::contains_old_classnow takes a matching
&CohomologySpaceand returnsResult<bool>. Callers must handle
validation errors.- Circular phase normalization maps wrap-boundary and negative-zero results to
positive zero before output.
Correctness and limits
- The persistent-class checker replays the bounded H1 profile and checks the
selected class, its interval group, critical pair, birth-cycle closure and
pairing, and its finite-death chain. The cycle pairs to the selected class
with value one in the declared field. The critical pair supplies endpoint
evidence and does not define the class basis vector. - Essentiality means that the selected class has no death in the complex
bounded by the declared threshold. - Source binding includes vertex labels and all listed source weights. A
representative-scale active graph does not replace that source binding. The
checker certifies the embedded graph. Compare it with an expected source
graph, or compare the payload digest, to associate an artifact with an
external dataset. That association does not authenticate the producer. - A circular field multiplier relates the integer lift modulo the field to the
selected cocycle. Divisibility is the positive gcd of integer periods and can
exceed one. A caller that requires a primitive integer class must check
divisibility == 1. The checker recomputes the relative harmonic residual
and checks it against the declared tolerance. The tolerance describes the
harmonic solve; it does not state angular phase precision. ForHOLOSCC
andHOLOSPH, the default maximum tolerance is1e-8;
holos-check ARTIFACT --max-tolerance Roverrides it for these runners. - Automatic integral lifting remains a bounded centered search for odd primes.
A lift failure is a computational result. It does not prove that no lift
exists. A supplied integral lift supports modulus two. HOLOSCCremains a fixed-scale artifact. Its checker does not verify
persistence endpoints, and its payload records active edge endpoints rather
than weights on inactive source edges. UseHOLOSPCandHOLOSPHfor the
source-bound interval and witness contract.
holos-tda 0.9.0
Install holos-tda 0.9.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/t0rsion/holos/releases/download/v0.9.0/holos-tda-installer.sh | shInstall prebuilt binaries via Homebrew
brew install t0rsion/tap/holos-tdaDownload holos-tda 0.9.0
| File | Platform | Checksum |
|---|---|---|
| holos-tda-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| holos-tda-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| holos-tda-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| holos-tda-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| holos-tda-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
holos-tda-check 0.9.0
Install holos-tda-check 0.9.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/t0rsion/holos/releases/download/v0.9.0/holos-tda-check-installer.sh | shInstall prebuilt binaries via Homebrew
brew install t0rsion/tap/holos-tda-checkDownload holos-tda-check 0.9.0
| File | Platform | Checksum |
|---|---|---|
| holos-tda-check-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| holos-tda-check-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| holos-tda-check-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| holos-tda-check-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| holos-tda-check-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
0.8.0 - 2026-09-10
Release Notes
Workflow validation and maintenance
- Rust and Python tests export circular, finite-module, program, and trace
artifacts to the independent checker. Python tests invokeholos-checkas
a separate process and reject mismatched program source graphs. - Bipersistence claim recording checks collection limits before insertion.
A rejected insertion leaves the artifact bytes and digest unchanged.
Replacing an existing claim at capacity remains valid. - The program checker accepts essential class representatives when the
requested threshold exceeds the graph's largest edge weight. It uses the
same capped representative scale as the producer. - The relative-interface graph sweep covers every edge subset on five
vertices. Ignored scalar oracle sweeps cap their internal workers at two. - Shared validation, finite-field arithmetic, proof accounting, and Python
input conversion remove duplicate implementation paths. The independent
checker retains its own arithmetic implementation.
Result-sensitive programs
Added
- Scalar class records bind the active labeled graph, persistence interval,
field, representative scale, and canonical class identity. - Python exposes
circular_coordinates_classfor square distance matrices. holos circular --class SPACE BASISconsumes the class JSON written by
--representatives. The selected record supplies its field, scale, source
graph binding, interval, cocycle, and canonical class identity.HOLOSATLversion 2 preserves optional class provenance in its bounded
envelope. The independent checker reads the same version and fields.PersistenceProgramcompiles sparse H0 and H1 persistence into local atoms,
derives result-sensitive guards from checked reductions, and composes exact
diagrams across those atoms.ProgramArtifactandProgramTraceArtifactencodeHOLOSPRGprograms and
HOLOSDLTupdate traces. Traces record graph states, update modes, work,
events, class continuation, correspondence, and repair checkpoints.- The independent checker rebuilds program decompositions, nested reductions,
result-sensitive guards, local repairs, class relations, and exact diagrams. - A fixed strict-containment witness and an ignored exhaustive sweep exercise
guard acceptance, local suffix repair, and composition against monolithic
reduction. - Registered constructed and public temporal-graph studies record exact
diagrams, artifacts, independent checks, and build provenance. A separate
pinned external-baseline runner supports fixed-graph H0 and H1 comparisons.
Changed
- Persistent class validation accepts positive infinity for essential classes.
It rejects NaN, negative infinity, negative zero, and representatives outside
finite intervals. - Class-bound automatic circular lifting requires an odd prime. The Rust
supplied-lift path continues to support modulus two. - Program updates repair only affected cyclic atoms when their topology and
result-sensitive guards permit it. A topology or threshold-membership change
recompiles the program. - Program diagram evaluation recomputes H0 death-edge provenance on the updated
active graph. Stored local reductions supply the accepted H1 endpoints.
Correctness and limits
HOLOSATLversion 1 artifacts are not accepted by the version 2 decoder.
Re-encode them with the current producer before verification.- Class identity uses the canonical
BasisClassIddigest. It does not add a
second cocycle canonicalization pass. - Result-sensitive guards certify exact evaluation only for the recorded graph
topology, threshold, and local reduction conditions. The trace checker
validates recorded transitions and does not certify a scheduling policy. - Program trace decoders reject collection counts that cannot fit in the
remaining bounded envelope before they allocate those collections. - Program artifacts reject composite and out-of-range moduli, negative-zero
thresholds, and negative-zero diagram endpoints on every verification path. - External and public studies are controls on their declared fixed inputs. They
do not establish a general performance or priority claim.
Finite bipersistence
Added
DegreeRipsBifiltrationconstructs a multicritical flag bifiltration from a
sparse weighted graph. A full grid uses every critical scale and minimum
degree. A declared grid uses exact caller-supplied axes.BipersistenceModulecomputes canonical H1 spaces at every grid node, all
horizontal and vertical cover maps, and every commutative square over a
prime field.- Comparable-grade maps compose the checked covers. Generalized-rank queries
compute the exact limit-to-colimit rank on any finite region with a
connected comparability graph. Closed rectangle queries use the same path. CohomologyClassAtlasclassifies the affine extension fiber of a selected
nonzero class throughout its upper parameter cone. It records unique,
ambiguous, and empty fibers and their connected regions.CircularCoordinateFamilycomputes a checked phase at each unique class
extension. Ambiguous and empty extensions have no phase.BipersistenceArtifactrecords the source graph, finite H1 functor,
generalized ranks, class atlases, and circular families. The independent
checker reconstructs every claim fromHOLOSBPbytes.holos bipersistenceaccepts declared grid axes, rectangles, connected
region files, canonical basis classes, and cocycle rows in Ripser.py format.
Its JSON report includes node, rectangle, region, atlas, and phase data.- Python exposes finite modules, maps, generalized ranks, class atlases,
circular families, artifact mutation, decoding, and replay. - Dense and ignored oracle sweeps compare nodes, maps, rectangles, and
connected regions with direct chain-level arithmetic. Theformal/v09
models check bounded soundness obligations. - Registered studies check the full artifact path on synthetic graphs,
compare finite node ranks with multipers and GUDHI, and run two selected
cocycles on a 400-landmark Gardner grid-cell graph.
Changed
- Circular-coordinate families normalize extension representatives
projectively before lifting. A selected cohomology line therefore keeps the
same coordinate convention when its canonical coefficient vector changes
by a nonzero field scalar. - The command implementation, Python bindings, bipersistence producer, and
independent checker are split by responsibility.
Correctness and limits
- The finite module covers H1 degree-Rips on its recorded axes. It does not
certify values between grid points or compute presentations, resolutions,
signed decompositions, or matching distances. - At scale
r, degree is measured in the threshold graph before the induced
restriction to vertices of degree at leastk. - A closed product rectangle has a unique minimum and maximum. Its
generalized rank equals the ordinary corner-map rank. Connected regions
without these extrema exercise the general limit-to-colimit computation. - Circular phases are withheld when the selected class extension is
ambiguous or absent. Automatic lifting keeps the odd-prime and
centered-search limits described in the circular-coordinate section. - External comparisons cover finite node ranks on frozen examples. They do
not compare generalized ranks with signed measures. - The checker is independent Rust code, not formal verification. The bounded
SMT models specify proof obligations, not the compiled implementation.
Circular coordinates
Added
- Class-aware circular coordinates resolve a selected H1 cocycle in the
canonical fixed-scale cohomology basis, check an integral lift, and compute
an unweighted harmonic phase with a component-wise gauge. cocycle_from_ripser_termsaccepts Ripser-shaped rows. It restricts the
representative to active edges before orientation and projective
normalization.- Circular continuation computes the exact affine fiber induced by both
restrictions to the common active flag subcomplex. It returnsUnique,
Ambiguous,NoExtension, orNoNonzeroContinuation. An ambiguous result
includes its additive direction. CircularCoordinateArtifactstores one fixed-scale graph, field class,
integral cocycle, divisibility, potential, residual tolerance, and optional
continuation.holos-tda-checkreconstructs these claims without depending
on the producer crate.holos circularwrites phases and aHOLOSCCartifact. Python exposes
point, condensed-distance, square-distance, and sparse-graph paths.- Registered synthetic and Gardner grid-cell studies compare the circular
path with DREiMac and independent SciPy least-squares solves. The study
records include dependency versions, input and artifact digests, and
separate-checker results.
Changed
cohomology_relationnow returns the complete kernel of the paired
restriction map. Version 0.7 omitted both restriction kernels from the
relation basis. Itsrelation_ranktherefore described only the matched
restriction image, despite the documented full-relation contract.CohomologyRelation::relation_ranknow means the dimension of the complete
relation.old_kernel_rankandnew_kernel_rankreport the omitted kernel
dimensions. Pythoncohomology_relationreturns both fields.- Circular interfaces default to prime 47. Automatic lifting requires an odd
prime. The Rust supplied-lift path accepts prime 2.
Correctness and limits
- A checked artifact covers an active graph and class at one scale. It does
not certify persistence-interval provenance or the original weighted input. - Automatic lifting searches centered representatives of nonzero scalar
multiples. It can reject a class that has another integral lift. - The harmonic objective is unweighted. The residual checks stationarity of
that objective, not phase error...
0.7.0 - 2026-08-29
Release Notes
Added
- Finite collapse portfolios select the exact minimum over declared serial,
rounds, and adaptive schedules by edge or reduction-column count. - Explicit filtered-complex certificates record dimension-generic
D V = Rfactorizations. The separate checker rebuilds the diagram. - Persistence atlases, immutable indexes, atomic patches, proof deltas, and
local durable streams support checked reuse and updates. - Canonical cohomology spaces, affine event schedules, kinetic zigzags, and
weighted interventions track named classes through change. - Proof trees certify weighted topology synthesis over finite or complete
affine state schedules. - Relative interfaces compose filtered pieces across protected subcomplexes.
- Failure-tolerant coverage synthesis can bind graph claims to exact planar
radius geometry over binary64 input. - Rust, CLI, Python, and
holos-checkentry points expose these workflows. - A consolidated study and the
formal/v07suite cover their proof kernels.
Changed
- The workspace uses Rust edition 2024 and declares Rust 1.85 as its minimum
supported toolchain. - Public APIs now center on filtered complexes, proof artifacts, immutable
indexes, and typed synthesis specifications. Experimental pre-1.0 APIs are
not source compatible. - The v0.7 certified-workflow study replaces historical one-release drivers.
Correctness and limits
holos-tda-checkdoes not link the producer. Collapse artifacts still use
the linked collapse verifier.- The SMT suite checks logical kernels, not the compiled Rust implementation.
- Portfolio optimality covers only the declared schedules. Geometry binding
covers finite planar states. SHA-256 does not authenticate a producer. - The new workflows make no general performance or priority claim.
holos-tda 0.7.0
Install holos-tda 0.7.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/t0rsion/holos/releases/download/v0.7.0/holos-tda-installer.sh | shInstall prebuilt binaries via Homebrew
brew install t0rsion/tap/holos-tdaDownload holos-tda 0.7.0
| File | Platform | Checksum |
|---|---|---|
| holos-tda-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| holos-tda-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| holos-tda-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| holos-tda-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| holos-tda-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
holos-tda-check 0.7.0
Install holos-tda-check 0.7.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/t0rsion/holos/releases/download/v0.7.0/holos-tda-check-installer.sh | shInstall prebuilt binaries via Homebrew
brew install t0rsion/tap/holos-tda-checkDownload holos-tda-check 0.7.0
| File | Platform | Checksum |
|---|---|---|
| holos-tda-check-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| holos-tda-check-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| holos-tda-check-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| holos-tda-check-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| holos-tda-check-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
0.6.0 - 2026-08-26
Release Notes
Performance
On the registered confirmation corpus
(benchmarks/north_star_confirm_corpus.toml, 31 entries with seeds disjoint
from every tuning and landing set), on one physical core of an i9-13900KS,
holos took a median 0.36 to 0.39 of the corresponding ripser build's wall
time over 24 graded headline entries; the largest ratio over all 25 graded
entries was 0.65 to 0.67. An entry whose ripser wall time is under 20 ms is
reported but not graded. By stratum: sparse-selected 0.36 to 0.38 over 25
entries, maxdim-1 0.35 to 0.41 over 20 entries, maxdim-2 0.31 over 3
entries; the dense-selected stratum had one descriptive entry and no graded
entry, because with the routing rule every dense input of the corpus above
the floor routes to the sparse engine. Public 0.5.0 took a median 1.33 to
1.35 of ripser over the same entries.
At four physical cores without SMT, holos's fresh-process wall time was a
median 0.34 to 0.37 of giotto-ph 0.2.4's in-process ripser_parallel time
over 17 to 18 graded headline entries; the largest ratio over all 18 to 19
graded entries was 0.58 to 0.67. The giotto-ph clock excludes process start
and input parsing, which holos includes, so the comparison favors giotto-ph.
On the CPU scaling entries holos ran 1.9 to 2.1 times faster at four cores
than at one.
The matched-precision f64 ripser build is a diagnostic reported in its own
table (29 entries against ripser-f64 and 2 against ripser-coeff-f64), never
pooled with the stock arm. The records report the A/A control for each timed
pass.
The records behind these numbers are attached to the release: the clean
confirmation reproductions (range source), the revealed first run on the
original corpus (superseded), and the engineering landing matrix and tuning
records (evidence, not claims).
Added
- Engine routing for dense input.
RipsParams::engine,
RipsParams::with_engine, andholos --engine auto|dense|sparsepick the
engine a dense matrix reduces through.Engine::Autois the default, and
the Python bindings use it. It converts the matrix to the graph of its
edges at the resolved threshold when the input has at least 32 points, the
edge density is at or below four fifths, and the conversion (24 bytes an
edge and 24 a point) fits a memory budget of 32 MiB or the bytes of the
compact matrix, whichever is larger.
Engine::Densekeeps the matrix.Engine::Sparseconverts and ignores
the budget, because it is an explicit request. An infinite threshold
routes as well, including the default threshold of a disconnected input:
such a threshold admits every finite pair and no absent one, so a matrix
of mostly absent pairs still has a sparse graph. The rule and its
constants are frozen. The diagram is identical under every setting. - A storage form for a dense run.
RipsParams::dense_storage,
RipsParams::with_dense_storage, andholos --dense-storage auto|compact|squarepick the form the dense engine reduces from. holos
builds everyDistanceMatrixcompact, as the condensed lower triangle.
DenseStorage::Autois the default and converts to a full row-major
matrix, which holds both triangles, when a frozen rule reads the compact
matrix size, a budget on the bytes the second triangle adds, the edge
count at the resolved threshold, and the distances the cofacet diameter
fold will read. The full form makes the fold read one contiguous row per
simplex vertex where the compact form reads a strided column.
DenseStorage::Compactforbids the conversion andDenseStorage::Square
forces it. The choice comes after routing, so a run the routing sends to
the sparse engine builds no full matrix. The conversion runs once and the
caller keeps its own matrix, so a run in the full form holds one and a
half times that form. The diagram is identical under every setting. RipsParams::use_adjacency_rowsand the hidden--no-adjacency-rows
flag, which turn the adjacency rows off for differential tests. They join
use_emergent_pairs,use_apparent_pairs, anduse_clearingas
optimization toggles that must not change a diagram.io::parse_point_cloud,io::parse_condensed, andio::parse_triplets
parse text a caller already holds, in the grammar the matching reader
accepts.io::Tripletnames the(usize, usize, f64)a sparse parse
returns.
Changed
io::read_point_cloud,io::read_lower_distance_matrix, and
io::read_sparse_matrixtake a worker budget as a second argument. Pass 1
for the previous behavior. There is no alias for the old signature.holos --threadscovers the input parse as well as the reduction and the
collapse.RipsParams::threadsis unchanged, and the CLI passes it to the
reader.- Treat
RipsParams::threadsas the worker budget for a run: the most
workers it may use, not the number every step must use. The edge sort, the
dim-0 apparent test, the cofacet assembly, and the column reduction each
turn their own work estimate into a worker count under that budget, and a
step with little work runs on one thread. The thresholds are frozen
constants, and a test pins the decisions they produce: the dim-0 apparent
test takes a second worker at 128 cycle edges, the assembly at 256 source
simplices, and the sort at 20,000 elements. The diagram does not change at
any worker count. - Store the sparse engine's neighbor lists in one compressed block: one
offset per vertex, one array of neighbor indices, and one array of
distances, in place of one vector of (vertex, distance) pairs per vertex.
The cofacet merge scans the index array and reads a distance only on a
match, so it touches a quarter of the bytes it did, and a routed dense
input builds the block directly without a triplet buffer. Every list keeps
its order, entry for entry. - Run the dim-0 apparent test on adjacency rows when the graph is dense
enough for them. The rows hold one bit per pair at or below the threshold,
with a rank index that reads any edge's distance in constant time. The
dim-0 walk then sets a second bit set, the activation rows, as it passes
each edge, so for a cycle edge the largest common bit of its two
activation rows names the youngest cofacet of equal diameter, and the
facet check reads at most two distances. The engine builds the rows only
when the graph has at least 1,024 cycle edges and the adjacency rows,
their rank index, the activation rows, and the distances together cost at
most 64 bytes an edge, which is about what the graph itself costs. A
sparser graph keeps the neighbor-list test. The columns, their order, and
the diagram do not change at any worker count. - Read an input file in windows of 16 MiB that end at a newline. A reader
parses one window at a time, so it holds one window and the parsed values,
not the whole text, and the first window is sized by the length the file
reports. With more than one thread, a second thread reads the next window
while the current one parses. Values, line numbers, and error messages do
not change. - Parse input text in line chunks under the worker budget. With more than
one thread and a text of at least one mebibyte, a window splits into one
line chunk per worker at newline boundaries, each chunk parses with the
serial per-line code, and the chunk outputs concatenate in file order.
Each chunk knows the line number it starts at, so the values are the same
bit for bit and an error names the same line with the same text as a
serial parse. A file that holds all its numbers on one line stays serial,
because a chunk ends at a newline. - Scan input text by bytes and parse each number in place. The readers
accept the grammar they accepted before, comma or whitespace separators
and#comment lines, and produce the same values bit for bit. A line
with a non-ASCII byte takes the previous path. - Enumerate the sparse engine's cofacets by a descending merge of the
neighbor lists and report each one as the merge finds it, so a search that
stops early stops the merge with it. When the caller asks for the upper
cofacets alone, the merge ends at the highest simplex vertex: no candidate
at or below that vertex is above every simplex vertex, and the candidates
descend, so one search of the driver's neighbor list finds where the merge
stops. - Stop a cofacet's diameter fold at the first distance above the caller's
bound. Two callers hold a bound: the apparent-pair test wants a cofacet
whose diameter equals its simplex's, and the assembly and the coboundary
keep only what the threshold admits. The dense and the sparse enumerator
each share one walk between the bounded and the unbounded form, and the
unbounded form carries no bound test. A sparse source knows its largest
stored distance, so a threshold at or above that distance raises the bound
to infinity and leaves a test the walk always passes. - Take the repeated work out of the apparent-pair tests. The cofacet
enumerator reports the vertex it adds, so a caller builds the partner's
vertex set from the set it holds instead of decoding the partner's index
again. One classifier answers both directions of the test and writes only
into buffers its caller owns, so a test allocates nothing. The
zero-apparent back-check keeps a simplex's pairwise distances in one
table, adds the distance from the added vertex to each simplex vertex, and
reads every facet diameter as a maximum over that table; each facet index
comes from the vertices by the combinadic identityidx_below - C(v_k, k+1) + idx_above, so the walk runs no binary search. With the added
vertex above every simplex vertex the back-check answers without reading
anything. The facet order, the tie rules, and the diameter comparisons are
unchanged, so the apparent pairs are the same. - Decode an edge index without the general search.
BinomialTable::unrank
takes a shortcut at dimensio...
0.5.0 - 2026-08-17
Release Notes
Added
- Two parallel edge collapse schedules. Both write certificates the
independent verifier accepts, both give the same diagram as the serial
collapse, and both are deterministic at every worker count.- The ordered schedule,
collapse::collapse_dense_ordered_paralleland
collapse::collapse_sparse_ordered_parallel, runs the serial schedule
on worker threads. Workers test a bounded window of the due edges
against one immutable state of the graph. The window then retires in
serial order: an edge reuses its cached test when no removal committed
since the test can have changed the result, and otherwise the test
runs again against the current graph. The reduced graph and the
certificate are the serial ones at every worker count, field for
field, with each floating value compared by bits. The certificates are
algorithm version 1. A gate covers dense and sparse input, worker
counts 0, 1, 2, 4, and 8, and window sizes from one edge to larger
than the whole input, and it compares against the serial collapse and
against an independent unpruned reference. - The rounds schedule,
collapse::collapse_dense_rounds_paralleland
collapse::collapse_sparse_rounds_parallel, removes edges in rounds.
Each round tests the live edges against a frozen snapshot of the graph
and deletes a batch whose removals provably do not affect each other,
so the batch is equivalent to removing those edges one at a time in
the recorded order. The reduced graph and the certificate are
identical at every worker count, field for field, with each floating
value compared by bits. They are not the serial ones: the two
schedules can keep different edges. A gate enforces the identity at 1,
2, 4, and 8 threads, and the diagram equality battery runs against the
serial collapse, the uncollapsed run, and the oracle.
- The ordered schedule,
CollapseScheduleonRipsParams, with
RipsParams::with_collapse_scheduleand the CLI flag
--collapse-schedule serial|ordered|rounds. It picks the schedule the
pipeline runs whencollapse_edgesis set. The default is the serial
schedule. The Python bindings exposecollapse_edgesalone and run the
serial schedule; theholos-tdaconsole script carries the flag.- Algorithm version 2 certificates for the rounds schedule.
CollapseCertificate::algorithm_versionreports 2, and each removal
step records its round.RemovalStep::epochreturns a step's epoch, and
CollapseStats::epochsreturns the epoch count. An epoch is a pass for
version 1 and a round for version 2. A step does not carry the version,
so read the version from the certificate. - Round checks in the independent verifier. For a version 2 certificate it
rebuilds the graph before each round and validates every witness of that
round against that one snapshot, with the checks it already applied to
version 1. It then checks that no removal of the round has both
endpoints in the closed common neighborhood of another removal of the
same round, that the recorded order within the round holds, and that the
round numbers are contiguous. The verifier rejects a round that groups
removals which affect each other, even when the same removals in
sequence would pass. The independence check examines the endpoint pairs
inside each closed common neighborhood instead of every pair of
removals, so a wide round of small neighborhoods costs the sum of the
squared neighborhood sizes, not the round width squared. Version 1
certificates keep their existing checks. - Scheduling counters on
CollapseStatsfor the ordered schedule.
logical_testsis the test count of the serial schedule.
invalidated_resultscounts cached tests dropped before use, whether a
conflicting removal or a large-neighborhood bail invalidated them; every
dropped test runs again serially at its turn, so this is also the repair
count.global_invalidationscounts the large-neighborhood bails that
dropped at least one cached test ahead of them, andwindow_batches
counts the window stages executed.window_slots_offeredand
window_members_formedgive window occupancy, and
window_members_reusedcounts the cached verdicts consumed without a
repair.edge_testskeeps its meaning of physical predicate calls,
which speculation can push above the logical count. The structural
fields are identical at every worker count and window size; the
scheduling counters,edge_tests, andmax_common_neighborhoodare the
fields that move. CollapseTimingsonCollapsedRipssplits an ordered run's wall clock
into the parallel test phase, the serial retirement walk, and the repairs
inside it. It is a diagnostic: the values vary between runs, never
affect an output field, and are zero on the serial and rounds schedules.- A phase-separated scaling benchmark (
crates/collapse-bench,
benchmarks/collapse_scaling_rounds.sh,
benchmarks/collapse_scaling_ordered.sh). It times the distance build,
the graph construction, the whole collapse call, and the downstream
reduction in one process, each on its own clock, so it measures collapse
time directly instead of subtracting it from a total. It asserts diagram
equality across every configuration before it reports a timing.
Changed
- With
RipsParams::collapse_edgesset,RipsParams::threadsis the
worker budget for the whole pipeline. One pool serves the reduction and,
when a parallel schedule runs, the collapse. A standalone parallel
collapse call owns a pool for its duration. - The CLI reports passes for the serial and ordered schedules and rounds
for the rounds schedule. CollapsedRipsis#[non_exhaustive]and carries atimingsfield;
construct it from a collapse call only.CollapseStatsimplements
Default.RemovalStep::passand thepassesfield are gone. Use
RemovalStep::epochandCollapseStats::epochs.- Performance, from two preregistered scaling studies (held-out
confirmation sets, four physical cores with two threads each). Neither
parallel schedule beats the serial collapse end to end on the median
entry, so the serial collapse stays the default and the throughput
recommendation in the confirmed regimes.- The ordered schedule, graded negative under its frozen rule. At four
workers the median confirmed entry runs the collapse at 0.84x the
serial speed and the whole pipeline at 0.85x. The serial collapse is
faster end to end on ten of the thirteen confirmed entries; the
ordered schedule wins three, by at most 1.13x. Peak memory is a median
1.06x and at most 1.15x of the serial pipeline. The cost is repair.
Earlier removals invalidate most cached tests, which then run again
serially, and on the median entry those repairs alone take about three
quarters of the whole serial collapse phase. The windows still stay at
or above 99 percent full on every headline entry, and the physical
test count stays inside its 2x bound. The ordered schedule gives a
parallel run whose reduced graph and certificate are exactly the
serial ones, bit for bit. - The rounds schedule, graded parallel-but-Amdahl-limited under its
frozen rule. The collapse itself scales with workers, a median 4.8x
from one worker to eight, and that does not carry to the pipeline. The
complete run is slower than the same pipeline with the serial collapse
on every confirmed entry, because the rounds schedule tests many more
edges to reach its fixed point, and the gap grows with the edge count.
Peak memory is a median 1.35x and at most 1.43x of the serial
pipeline. The rounds schedule gives a result that does not depend on
the worker count and, on some inputs, a much smaller reduced graph.
One confirmation entry keeps 2,199 edges where the serial schedule
keeps 16,815. - The point estimates above come from the registered runs. Their
records, the exact corpus files they cite, and a reproduction at a
release candidate commit are attached to the release. The registered
runs cite internal development commits that are not in the public
history; the reproduction, whose timings and peak memory are
descriptive, gave the same grades and the same numbers within
rounding.
- The ordered schedule, graded negative under its frozen rule. At four
Install holos-tda 0.5.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/t0rsion/holos/releases/download/v0.5.0/holos-tda-installer.sh | shInstall prebuilt binaries via Homebrew
brew install t0rsion/tap/holos-tdaDownload holos-tda 0.5.0
| File | Platform | Checksum |
|---|---|---|
| holos-tda-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| holos-tda-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| holos-tda-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| holos-tda-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| [holos-tda-x86_64-unknown-linux-gnu.tar.xz](https://github.com/t0rsion/holos/releases/download/v0.5.0/holos-tda-x86_64-unk... |
0.4.0 - 2026-08-12
Release Notes
Added
- Filtered edge collapse. Set
--collapse-edgeson the CLI,
RipsParams::collapse_edges(orwith_edge_collapse()) in the Rust
library, orcollapse_edges=in Python. The collapse removes edges whose
absence cannot change any bar, and the engine then runs on the smaller
graph. The diagram is unchanged in every dimension: the test battery
requires bar-for-bar equality against the uncollapsed run across a range
of moduli, thresholds, and thread counts, and every optimization-toggle
combination. Collapse is off by default. - Standalone collapse API:
collapse::collapse_denseand
collapse::collapse_sparsereturn the reducedSparseDistanceMatrix, a
CollapseCertificate, and run counters. The reduction does not depend on
the coefficient field, the homology dimension, the optimization toggles,
or the thread count, so one collapsed graph serves many runs. CollapseCertificate: a replayable record of every removal, with the
edge, its value, the pass, and the witness data that certifies it. The
certificate and the reduced graph reconstruct the thresholded input.- An independent certificate verifier,
collapse::verify::verify_denseand
verify_sparse. It rebuilds the graph, re-derives the criterion from the
specification, checks every recorded witness directly at every scale
where the edge's neighborhood changes, and confirms that no further edge
is removable. It shares no code with the collapse itself. SparseDistanceMatrix::edges(): every stored edge once, as endpoints and
value.- A preregistered break-even study for the collapse
(benchmarks/collapse_bench.sh,benchmarks/collapse_corpus.toml). The
families, the parameter grid, the sampling rule, and the decision rule
were written down before the measurements. Seebenchmarks/README.md.
Changed
- With collapse enabled, dense input runs through the sparse enumerator,
because the reduced graph is sparse. The diagram is identical either way. - The collapse resolves the threshold before it runs, by the same rule the
engine uses. Surviving edge values are the input values, bit for bit.
Install holos-tda 0.4.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/t0rsion/holos/releases/download/v0.4.0/holos-tda-installer.sh | shInstall prebuilt binaries via Homebrew
brew install t0rsion/tap/holos-tdaDownload holos-tda 0.4.0
| File | Platform | Checksum |
|---|---|---|
| holos-tda-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| holos-tda-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| holos-tda-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| holos-tda-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| holos-tda-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
0.3.1 - 2026-08-05
Release Notes
Packaging and release-infrastructure patch. No engine or API changes.
Changed
- The repository is a cargo workspace:
crates/holos-tda(the core crate)
andcrates/holos-tda-py(the Python wrapper). The wrapper depends on
the core crate by path, so wheels and sdists build without waiting for
a crates.io publish. Each crate has its own directory, which removes
the file collision behind the 0.2.1 sdist failure. - One tag runs the whole release: version gate, a preflight that packages
the crate and re-tests it extracted at the MSRV, wheels and sdist,
crates.io, PyPI. The GitHub release with installers still comes from
the same tag. - The crate archive no longer bundles the benchmark scripts; the README
points to the repository for them. - Benchmark scripts truncate their result tables on rerun instead of
appending stale blocks.
Install holos-tda 0.3.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/t0rsion/holos/releases/download/v0.3.1/holos-tda-installer.sh | shInstall prebuilt binaries via Homebrew
brew install t0rsion/tap/holos-tdaDownload holos-tda 0.3.1
| File | Platform | Checksum |
|---|---|---|
| holos-tda-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| holos-tda-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| holos-tda-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| holos-tda-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| holos-tda-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
0.3.0 - 2026-08-04
Release Notes
Added
- Parallel reduction. Set
--threads Non the CLI,RipsParams::threads
in the Rust library, orthreads=in Python. Workers reduce the columns
of each dimension concurrently and out of order; pivot ownership follows
the column order. The diagram is identical at any thread count. A
determinism test enforces bar-for-bar equality. - Benchmark scripts for parallel scaling, for sparse input, and for an
equal-core comparison against giotto-ph (benchmarks/).
Changed
- Sparse input enumerates cofacets through neighbor-list intersection. A
sparse filtration now saves enumeration time as well as memory. - The serial engine is faster. Coefficients pack into the entry word. The
top dimension is not materialized. The enclosing radius takes one pass
over the distances. The reducer allocates less.
Install holos-tda 0.3.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/t0rsion/holos/releases/download/v0.3.0/holos-tda-installer.sh | shInstall prebuilt binaries via Homebrew
brew install t0rsion/tap/holos-tdaDownload holos-tda 0.3.0
| File | Platform | Checksum |
|---|---|---|
| holos-tda-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| holos-tda-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| holos-tda-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| holos-tda-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| holos-tda-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
0.2.1 - 2026-07-25
Release Notes
Fixed
- Packaging: the Python source distribution failed to build because the
wrapper crate vendored the root crate through a path dependency, colliding
onREADME.mdand the license files. The wrapper now depends on the
publishedholos-tdacrate, so the sdist builds and wheels publish to
PyPI. No library, CLI, or Rust API changes.
Install holos-tda 0.2.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/t0rsion/holos/releases/download/v0.2.1/holos-tda-installer.sh | shInstall prebuilt binaries via Homebrew
brew install t0rsion/tap/holos-tdaDownload holos-tda 0.2.1
| File | Platform | Checksum |
|---|---|---|
| holos-tda-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| holos-tda-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| holos-tda-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| holos-tda-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| holos-tda-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
0.2.0 - Unreleased
Release Notes
Added
- Coefficients in a prime field Z/p, p < 32768:
--moduluson the CLI,
RipsParams::modulus(andwith_modulus) in the library. Z/2 stays the
default and keeps its exact v0.1 code path and performance. Validated by
a mod-p oracle, differential tests against a coefficient-enabled ripser
build, and a projective-plane fixture whose H1/H2 differ between Z/2 and
Z/3. - Sparse distance input:
SparseDistanceMatrix,rips_persistence_sparse,
and--format sparse(ripser-compatiblei j dtriplets). Pairs not
listed are absent at every scale; distance storage is O(n + edges)
instead of the dense O(n^2). - Python bindings, published as
holos-tdaon PyPI:import holos_tdafor
the library (rips_points,rips_condensed,rips_sparse), and a
holos-tdaconsole script that is the same CLI (works underuvx).
abi3 wheels for Linux, macOS, and Windows. - The CLI is callable as a library function (
holos_tda::cli::run_cli).
Install holos-tda 0.2.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/t0rsion/holos/releases/download/v0.2.0/holos-tda-installer.sh | shInstall prebuilt binaries via Homebrew
brew install t0rsion/tap/holos-tdaDownload holos-tda 0.2.0
| File | Platform | Checksum |
|---|---|---|
| holos-tda-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| holos-tda-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| holos-tda-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| holos-tda-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| holos-tda-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |