Documentation
Init
.
Data
.
Option
.
Instances
Search
Google site search
return to top
source
Imports
Init.Data.Option.Basic
Imported by
Option
.
eq_of_eq_some
Option
.
eq_none_of_isNone
source
theorem
Option
.
eq_of_eq_some
{α :
Type
u}
{x :
Option
α
}
{y :
Option
α
}
:
(
∀ (
z
:
α
),
x
=
some
z
↔
y
=
some
z
)
→
x
=
y
source
theorem
Option
.
eq_none_of_isNone
{α :
Type
u}
{o :
Option
α
}
:
Option.isNone
o
=
true
→
o
=
none