Extra lemmas about ULift
and PLift
#
In this file we provide Subsingleton
, Unique
, DecidableEq
, and isEmpty
instances for
ULift α
and PLift α
. We also prove ULift.forall
, ULift.exists
, PLift.forall
, and
PLift.exists
.
Equations
- ⋯ = ⋯
Equations
- PLift.instDecidableEq_mathlib = Equiv.plift.decidableEq
@[simp]
@[simp]
@[simp]
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ULift.instUnique = Equiv.ulift.unique
Equations
- ULift.instDecidableEq_mathlib = Equiv.ulift.decidableEq
@[simp]
theorem
ULift.forall
{α : Type u}
{p : ULift.{u_1, u} α → Prop}
:
(∀ (x : ULift.{u_1, u} α), p x) ↔ ∀ (x : α), p { down := x }
@[simp]
theorem
ULift.exists
{α : Type u}
{p : ULift.{u_1, u} α → Prop}
:
(∃ (x : ULift.{u_1, u} α), p x) ↔ ∃ (x : α), p { down := x }
@[simp]
@[simp]
@[simp]
theorem
ULift.ext
{α : Type u}
(x : ULift.{u_1, u} α)
(y : ULift.{u_1, u} α)
(h : x.down = y.down)
:
x = y