On the Triangle Inequality for the Jaccard Distance in Arbitrary Lattices

Costin Bădică, Amelia Bădică
8/18/2026
cs.AIcs.DMmath.CO

No confident code implementation found for this paper.

Abstract

This paper presents new theoretical results on generalizing the Jaccard distance for lattices and real valuations. We demonstrate that when the valuation is strictly positive, monotone, and modular, the Jaccard distance satisfies the triangle inequality on arbitrary lattices, effectively generalizing earlier results that depended heavily on distributivity.

Show full abstract

Moving to relatively complemented distributive lattices (which safely drop the requirement for the global bounds found in Boolean algebras), we prove the triangle inequality holds as long as the valuation is positive, monotone, supermodular, and $\log$-submodular. Additionally, we adapt the symmetric-difference Jaccard formulation for submodular valuations to sectionally complemented distributive lattices. Shifting to necessary conditions, we prove that supermodularity is a strict requirement for the standard generalized Jaccard distance to operate as a valid metric. Finally, we map the practical value of relaxing these structural constraints to computational fields like quantum information theory, formal concept analysis, and machine learning, closing with a brief look at open mathematical problems.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{bdic2026triangle,
  title  = {On the Triangle Inequality for the Jaccard Distance in Arbitrary Lattices},
  author = {Costin Bădică and Amelia Bădică},
  year   = {2026},
  eprint = {2608.18194},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.18194v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.18194.svg)](https://codeofpaper.com/paper/2608.18194)

Discussion