The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V06. Rings, fields and ordered algebra

Mathlib.Algebra.Ring.ULift

31 declarations. Mathlib docs · Source

instance ULift.mulZeroClass E0 #

{M₀ : Type u_1} → [MulZeroClass M₀] → MulZeroClass (ULift.{u_2, u_1} M₀)

instance ULift.distrib E0 #

{R : Type u} → [Distrib R] → Distrib (ULift.{u_1, u} R)

instance ULift.instNatCast E0 #

{R : Type u} → [NatCast R] → NatCast (ULift.{u_1, u} R)

instance ULift.instIntCast E0 #

{R : Type u} → [IntCast R] → IntCast (ULift.{u_1, u} R)

theorem ULift.up_natCast E0 #

∀ {R : Type u} [inst : NatCast R] (n : ℕ), { down := ↑n } = ↑n

theorem ULift.up_ofNat E0 #

∀ {R : Type u} [inst : NatCast R] (n : ℕ) [inst_1 : n.AtLeastTwo], { down := OfNat.ofNat n } = OfNat.ofNat n

theorem ULift.up_intCast E0 #

∀ {R : Type u} [inst : IntCast R] (n : ℤ), { down := ↑n } = ↑n

theorem ULift.down_natCast E0 #

∀ {R : Type u} [inst : NatCast R] (n : ℕ), (↑n).down = ↑n

theorem ULift.down_ofNat E0 #

∀ {R : Type u} [inst : NatCast R] (n : ℕ) [inst_1 : n.AtLeastTwo], (OfNat.ofNat n).down = OfNat.ofNat n

theorem ULift.down_intCast E0 #

∀ {R : Type u} [inst : IntCast R] (n : ℤ), (↑n).down = ↑n

instance ULift.addMonoidWithOne E0 #

{R : Type u} → [AddMonoidWithOne R] → AddMonoidWithOne (ULift.{u_1, u} R)

instance ULift.addCommMonoidWithOne E0 #

{R : Type u} → [AddCommMonoidWithOne R] → AddCommMonoidWithOne (ULift.{u_1, u} R)

instance ULift.addGroupWithOne E0 #

{R : Type u} → [AddGroupWithOne R] → AddGroupWithOne (ULift.{u_1, u} R)

instance ULift.addCommGroupWithOne E0 #

{R : Type u} → [AddCommGroupWithOne R] → AddCommGroupWithOne (ULift.{u_1, u} R)

instance ULift.nonUnitalNonAssocSemiring E0 #

{R : Type u} → [NonUnitalNonAssocSemiring R] → NonUnitalNonAssocSemiring (ULift.{u_1, u} R)

instance ULift.nonAssocSemiring E0 #

{R : Type u} → [NonAssocSemiring R] → NonAssocSemiring (ULift.{u_1, u} R)

instance ULift.nonUnitalSemiring E0 #

{R : Type u} → [NonUnitalSemiring R] → NonUnitalSemiring (ULift.{u_1, u} R)

instance ULift.semiring E0 #

{R : Type u} → [Semiring R] → Semiring (ULift.{u_1, u} R)

def ULift.ringEquiv E1 #

{R : Type u} → [inst : NonUnitalNonAssocSemiring R] → ULift.{u_1, u} R ≃+* R

The ring equivalence between ULift R and R.

instance ULift.nonUnitalCommSemiring E0 #

{R : Type u} → [NonUnitalCommSemiring R] → NonUnitalCommSemiring (ULift.{u_1, u} R)

instance ULift.commSemiring E0 #

{R : Type u} → [CommSemiring R] → CommSemiring (ULift.{u_1, u} R)

instance ULift.nonUnitalNonAssocRing E0 #

{R : Type u} → [NonUnitalNonAssocRing R] → NonUnitalNonAssocRing (ULift.{u_1, u} R)

instance ULift.nonUnitalRing E0 #

{R : Type u} → [NonUnitalRing R] → NonUnitalRing (ULift.{u_1, u} R)

instance ULift.nonAssocRing E0 #

{R : Type u} → [NonAssocRing R] → NonAssocRing (ULift.{u_1, u} R)

instance ULift.ring E0 #

{R : Type u} → [Ring R] → Ring (ULift.{u_1, u} R)

instance ULift.nonUnitalCommRing E0 #

{R : Type u} → [NonUnitalCommRing R] → NonUnitalCommRing (ULift.{u_1, u} R)

instance ULift.commRing E0 #

{R : Type u} → [CommRing R] → CommRing (ULift.{u_1, u} R)

def RingHom.ulift E1 #

{R : Type u_1} →
  {S : Type u_2} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → ULift.{u₁, u_1} R →+* ULift.{u₂, u_2} S

ULift is functorial for ring homomorphisms.

theorem RingHom.ulift_apply E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] (f : R →+* S) (x : ULift.{u₁, u_1} R),
  (RingHom.ulift.{u₁, u_3, u_1, u_2} f) x = { down := f x.down }

theorem RingHom.down_ulift_apply E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] (f : R →+* S) (x : ULift.{u₁, u_1} R),
  ((RingHom.ulift.{u₁, u_3, u_1, u_2} f) x).down = f x.down

theorem RingHom.comp_ulift_eq E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] (f : R →+* S),
  ULift.ringEquiv.toRingHom.comp ((RingHom.ulift.{u₁, u₂, u_1, u_2} f).comp ULift.ringEquiv.symm.toRingHom) = f