Documentation

Init.Grind.CommRing.UInt

theorem UInt8.ofNat_mod_size' {x : Nat} :
ofNat (x % 256) = ofNat x

Variant of UInt8.ofNat_mod_size replacing 2 ^ 8 with 256.

Equations
Equations
theorem UInt16.ofNat_mod_size' {x : Nat} :
ofNat (x % 65536) = ofNat x

Variant of UInt16.ofNat_mod_size replacing 2 ^ 16 with 65536.

Equations
Equations
theorem UInt32.ofNat_mod_size' {x : Nat} :
ofNat (x % 4294967296) = ofNat x

Variant of UInt32.ofNat_mod_size replacing 2 ^ 32 with 4294967296.

Equations
Equations
theorem UInt64.ofNat_mod_size' {x : Nat} :
ofNat (x % 18446744073709551616) = ofNat x

Variant of UInt64.ofNat_mod_size replacing 2 ^ 64 with 18446744073709551616.

Equations
Equations
Equations
Equations
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.