All-edges Exact Triangle in time from the pruned Lop detection
ProvedLight.Sec3.claim_aeUniform_midAssume Lop-AE-SparseTri detection has the running time of the thin regime, that is, holds: for some the problem is solved in a time with
Then All-Edges Exact Triangle is solved, uniformly in the size and the weights, in time
for some constant , where is the number of vertices per part and an upper bound on the absolute values of the weights.
Here All-Edges Exact Triangle asks, given integer weight matrices , for the flag of every pair telling whether some has ; Lop-AE-SparseTri is Definition 13 of Alman and Vassilevska Williams. "Solved in time " refers to programs of the library's light language, which compiles to the word RAM: one program solves every instance within the bound, with a polynomially bounded need of memory and word size.
The exponent comes from Theorem 17 for the all-edges host at the middle dimension with and : the oracle is called at inner dimension about , inside the regime , and . This bound is what the reduction from APSP to all-edges Exact Triangle consumes.
Formalization Note The statement is Claim.LopDetectP aeModel → Claim.ExactTriangleUniform aeModel (143 / 68400) 2, where ExactTriangleUniform M δ e says M.exactTriangle (uniformTime K δ e) for some K ≥ 1, and aeModel reads "Exact Triangle" as the all-edges task.
/- Copyright (c) 2026 Anthropic, PBC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. SPDX-License-Identifier: Apache-2.0 -/ -- Generated by skeleton subtraction from the ThreeSumApsp library at commit 27a2fa4bab32. import Definitions.Def_APSP299791_Defs5 set_option autoImplicit false set_option relaxedAutoImplicit false open Light open Light.Sec3 open ThreeSumApsp
theorem Light.Sec3.claim_aeUniform_mid (hlop : Claim.LopDetectP aeModel) :
Claim.ExactTriangleUniform aeModel (143 / 68400) 2 := by sorry