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.

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

The ring equivalence between ulift α and α.

Equations
@[protected, instance]
Equations
@[simp]
theorem ulift.rat_cast_down {α : Type u} [has_rat_cast α] (n : ) :