blob: cf2bfcd0b34eb3b6c8156824c183d1d0e200e74e [file] [edit]
constructor Ring.mk.{u} : {R : Type u} → [toZero : Zero R] → (gsmul : Int → R → R) → (∀ (a : R), gsmul 0 a = 0) → Ring R
Ring.mk (fun x n => x.toNat * n) ⋯ : Ring Nat