cs.AIAug 18, 2026

On the Triangle Inequality for the Jaccard Distance in Arbitrary Lattices

Authors: Costin Bădică, Amelia Bădică

Organizations: Department of Computers and Information Technology University of Craiova Craiova, Romania · Department of Business Informatics University of Craiova Craiova, Romania

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. 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⁡\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.

Explore similar work

CardsList
  1. Computational and Statistical Hardness of Calibration Distance

    Mar 19, 2026Mingda QiaoProbability Calibration