Skip to content

Commit

Permalink
Prove H_odd
Browse files Browse the repository at this point in the history
  • Loading branch information
huynhtrankhanh committed Oct 17, 2024
1 parent 8e0c14b commit 5f4cc8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions theories/CountingBits.v
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ Qed.
(* Hypothesis 2: H_odd (placeholder proof) *)
Lemma H_odd : forall n : nat, total_popcount (2 * n + 1) = total_popcount (2 * n) + popcount (to_binary (2 * n)).
Proof.
(* Placeholder for proof *)
Admitted.
intro n. rewrite (ltac:(lia) : 2 * n + 1 = S (2 * n)). easy.
Qed.

0 comments on commit 5f4cc8d

Please sign in to comment.