{"id":"pivot-index-accumulate-after-check","text":"In `pivotIndex`, `left_sum += num` occurs *after* the equality check — this ordering is a critical invariant ensuring the pivot element is excluded from both the left and right sums.","truth_value":"IN","source":"entries/2026/06/06/find-pivot-index-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"pivot-index-accumulate-after-check","truth_value":"IN","reason":"premise"}]}}