Two Montgomery residues are equal exactly when their natural representatives agree.
@[simp]
Round trip: reducing the represented residue back in is the identity.
@[simp]
@[instance_reducible]
instance
Hex.WordMod.instSemiring_hexHensel
{m : UInt64}
{ctx : _root_.MontCtx m}
:
Lean.Grind.Semiring (WordMod ctx)
Equations
- One or more equations did not get rendered due to their size.
@[instance_reducible]
instance
Hex.WordMod.instRing_hexHensel
{m : UInt64}
{ctx : _root_.MontCtx m}
:
Lean.Grind.Ring (WordMod ctx)
Equations
- One or more equations did not get rendered due to their size.
@[instance_reducible]
instance
Hex.WordMod.instCommRing_hexHensel
{m : UInt64}
{ctx : _root_.MontCtx m}
:
Lean.Grind.CommRing (WordMod ctx)
Equations
- Hex.WordMod.instCommRing_hexHensel = { toRing := Hex.WordMod.instRing_hexHensel, mul_comm := ⋯ }