Documentation

Complexity.Algorithms.WordRAM.ThreeSum.Decision.Boundary

Exact ordinary 3SUM boundary verdicts #

Inputs of lengths zero, one and two cannot contain three distinct positions, even when values repeat. The actual native controller returns false before preprocessing on precisely this branch. This is a final-verdict optimization, not an assertion about the instance catalogue.

Main results #

These boundary and native execution proofs are original.

Three distinct input positions require at least three entries.

The length header and constants are read by actual native instructions.

Every admitted empty, singleton or two-entry input follows the actual false-verdict path.