Fredman's Trick Meets Dominance Product: Fine-Grained Complexity of Unweighted APSP, 3SUM Counting, and More
Timothy M. Chan, Virginia Vassilevska Williams, Yinzhan Xu
Abstract
In this paper we carefully combine Fredman's trick [SICOMP'76] and Matoušek's approach for dominance product [IPL'91] to obtain powerful results in fine-grained complexity:
• Under the hypothesis that APSP for undirected graphs with edge weights in 1, 2, . . . , n requires n 3-o(1) time (when ω = 2), we show a variety of conditional lower bounds, including an n 7/3-o(1) lower bound for unweighted directed APSP and an n 2.2-o(1) lower bound for computing the Minimum Witness Product between two n × n Boolean matrices, even if ω = 2, improving upon their trivial n 2 lower bounds. Our techniques can also be used to reduce the unweighted directed APSP problem to other problems. In particular, we show that (when ω = 2), if unweighted directed APSP requires n 2.5-o(1) time, then Minimum Witness Product requires n 7/3-o(1) time.
• We show that, surprisingly, many central problems in fine-grained complexity are equivalent to their natural counting versions. In particular, we show that Min-Plus Product and Exact Triangle are subcubically equivalent to their counting versions, and 3SUM is subquadratically equivalent to its counting version.
• We obtain new algorithms using new variants of the Balog-Szemerédi-Gowers theorem from additive combinatorics. For example, we get an O(n 3.83 ) time deterministic algorithm for exactly counting the number of shortest paths in an arbitrary weighted graph, improving the textbook O(n 4 ) time algorithm. We also get faster algorithms for 3SUM in preprocessed universes, and deterministic algorithms for 3SUM on monotone sets in 1, 2, . . . , n d .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 692f273a-bf39-47de-b54f-183472a65eebCited by top-tier papers8
- A Fine-Grained Classification of Subquadratic Patterns for Subgraph Listing and FriendsKarl Bringmann, Egor GorbachevSTOC 2025 · 5 citations
- Faster Algorithms for Text-to-Pattern Hamming DistancesTimothy M. Chan, Ce Jin, Virginia Vassilevska Williams, Yinzhan XuFOCS 2023 · 3 citations
- Universe Reduction for APSP: Equivalence of Three Fine-Grained HypothesesNick FischerSTOC 2026 · 2 citations
- New Applications of 3SUM-Counting in Fine-Grained Complexity and Pattern MatchingNick Fischer, Ce Jin, Yinzhan XuSODA 2025 · 2 citations
- Sumsets, 3SUM, Subset Sum: Now for Real!Nick FischerSODA 2025 · 1 citation
Builds on10
- A Refined Laser Method and Faster Matrix MultiplicationJosh Alman, Virginia Vassilevska WilliamsSODA 2021 · 275 citations
- Truly Subcubic Min-Plus Product for Less Structured Matrices, with ApplicationsVirginia Vassilevska Williams, Yinzhan XuSODA 2020 · 19 citations
- Monochromatic Triangles, Triangle Listing and APSPVirginia Vassilevska Williams, Yinzhan XuFOCS 2020 · 15 citations
- Approximately counting and sampling small witnesses using a colourful decision oracleHolger Dell, John Lapinskas, Kitty MeeksSODA 2020 · 13 citations
- New Techniques for Proving Fine-Grained Average-Case HardnessMina Dalirrooyfard, Andrea Lincoln, Virginia Vassilevska WilliamsFOCS 2020 · 12 citations
Related papers
- Faster Approximate All Pairs Shortest PathsBarna Saha, Christopher YeSODA 2024 · 3 citations
- All-Pairs Shortest Paths with Few Weights per NodeAmir Abboud, Nick Fischer, Ce Jin, Virginia Vassilevska Williams et al.STOC 2025
- Hardness for triangle problems under even more believable hypotheses: reductions from real APSP, real 3SUM, and OVTimothy M. Chan, Virginia Vassilevska Williams, Yinzhan XuSTOC 2022
- Removing Additive Structure in 3SUM-Based ReductionsCe Jin, Yinzhan XuSTOC 2023 · 9 citations
- Computations with polynomial evaluation oracle: ruling out superlinear SETH-based lower boundsTatiana Belova, Alexander S. Kulikov, Ivan Mihajlin, Olga Ratseeva et al.SODA 2024 · 1 citation
