Release Notes
Added
- Filtered edge collapse. Set
--collapse-edges on the CLI,
RipsParams::collapse_edges (or with_edge_collapse()) in the Rust
library, or collapse_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_dense and
collapse::collapse_sparse return the reduced SparseDistanceMatrix, 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_dense and
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. See benchmarks/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 | sh
Install prebuilt binaries via Homebrew
brew install t0rsion/tap/holos-tda
Download holos-tda 0.4.0