hilbert
6
Search
☰
About
Tutorial
Roadmap
Get involved
Reference manual
Blueprint
API docs
Papers
About
Tutorial
Roadmap
Get involved
Reference manual
Blueprint
API docs
Papers
GitHub
return to top
source
Imports
Init.Core
Imported by
instDecidableEqULift
instDecidableEqULift
.
decEq
instSubsingletonULift
Init
.
Data
.
ULift
source
@[instance_reducible]
instance
instDecidableEqULift
{
α✝
:
Type
u_1}
[
DecidableEq
α✝
]
:
DecidableEq
(
ULift
α✝
)
Equations
instDecidableEqULift
=
instDecidableEqULift.decEq
source
def
instDecidableEqULift
.
decEq
{
α✝
:
Type
u_1}
[
DecidableEq
α✝
]
(
x✝
x✝¹
:
ULift
α✝
)
:
Decidable
(
x✝
=
x✝¹
)
Equations
instDecidableEqULift.decEq
{
down
:=
a
}
{
down
:=
b
}
=
if h :
a
=
b
then
h
▸
isTrue
⋯
else
isFalse
⋯
Instances For
source
instance
instSubsingletonULift
{
α
:
Type
u_1}
[
Subsingleton
α
]
:
Subsingleton
(
ULift
α
)