mathlib documentation

algebra.ring.ulift

ulift instances for ring

This file defines instances for ring, semiring and related structures on ulift types.

(Recall ulift α is just a "copy" of a type α in a higher universe.)

We also provide ulift.ring_equiv : ulift R ≃+* R.

@[instance]
def ulift.mul_zero_class {α : Type u} [mul_zero_class α] :

Equations
@[instance]
def ulift.distrib {α : Type u} [distrib α] :

Equations
@[instance]
def ulift.semiring {α : Type u} [semiring α] :

Equations
def ulift.ring_equiv {α : Type u} [semiring α] :
ulift α ≃+* α

The ring equivalence between ulift α and α.

Equations
@[instance]
def ulift.comm_semiring {α : Type u} [comm_semiring α] :

Equations
@[instance]
def ulift.ring {α : Type u} [ring α] :
ring (ulift α)

Equations