Skip to content

0.4.0 - 2026-08-12

Choose a tag to compare

@github-actions github-actions released this 12 Aug 21:55

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

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