Clear the low six bits of a 256-bit natural number
ProvedChallenge.Ripemd160.Submission.Proofs.Bytecode.PadLimitArithmetic.mask_low6_nateip8200
Clear the low six bits of a 256-bit natural number.
Public Apache-2.0 source contributed by Meganpark980320 in verified Yukon submission 0f4090d0-7dc5-4295-857e-4a8cf37f49fb. Source uses Lean 4.31.0; this selected Nat theorem is independently checked in the displayed provider environment. No full-project port or cross-version definition correspondence is claimed.
Preamble
import Mathlib namespace Challenge.Ripemd160.Submission.Proofs.Bytecode.PadLimitArithmetic
Formal statement
theorem mask_low6_nat (n : Nat) (hn : n < 2 ^ 256) :
(2 ^ 256 - 1 - 63) &&& n = n >>> 6 <<< 6 := by sorry
end Challenge.Ripemd160.Submission.Proofs.Bytecode.PadLimitArithmetic
Source