Documentation
Init
.
Data
.
Subtype
.
OrderExtra
Search
return to top
source
Imports
Init.Data.Ord
Init.Data.Subtype.Order
Imported by
instOrdSubtype
source
instance
instOrdSubtype
{
α
:
Type
u}
[
Ord
α
]
{
P
:
α
→
Prop
}
:
Ord
(
Subtype
P
)
Equations
instOrdSubtype
=
{
compare
:=
fun (
a
b
:
Subtype
P
) =>
compare
a
.
val
b
.
val
}