{"id":"early-exit-correctness","text":"The `if j > min_sum: break` in `findRestaurant` is correct because all index map values are non-negative, guaranteeing `idx_sum >= j`; once `j` exceeds the current best sum, no future candidate can improve the answer.","truth_value":"IN","source":"entries/2026/06/06/minimum-index-sum-of-two-lists-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"early-exit-correctness","truth_value":"IN","reason":"premise"}]}}