{"id":"power-of-two-rejects-zero","text":"The `n > 0` guard in `is_power_of_two` is necessary because `0 & (0 - 1)` equals `0`, which would incorrectly pass the single-set-bit test.","truth_value":"IN","source":"entries/2026/06/06/power-of-two-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"power-of-two-rejects-zero","truth_value":"IN","reason":"premise"}]}}