{"id":"reverse-bits-fixed-32-iterations","text":"`reverse_bits` always iterates exactly 32 times regardless of input value — this is the key correctness invariant, since a `while n:` loop would silently drop leading zeros (e.g., `reverse_bits(1)` must return `2147483648`).","truth_value":"IN","source":"entries/2026/06/06/reverse-bits-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"reverse-bits-fixed-32-iterations","truth_value":"IN","reason":"premise"}]}}