law double_div_two_add_mod_two
import bend-mathlib@0.8.1.0/nat.bend as Natimport Base
3650# Twice the half plus the parity is the number: double (n / 2) + n % 2 = n.
3651law double_div_two_add_mod_two:
3652 for n: Nat
3653 {Nat.add(Nat.double(Nat.div(n, 2n)), Nat.mod(n, 2n)) == n : Nat}