Documentation
Lean
.
Meta
.
Tactic
.
Grind
.
OrderInsts
Search
return to top
source
Imports
Lean.Meta.Tactic.Grind.SynthInstance
Imported by
Lean
.
Meta
.
Grind
.
mkLawfulOrderLTInst?
Lean
.
Meta
.
Grind
.
mkIsPreorderInst?
Lean
.
Meta
.
Grind
.
mkIsPartialOrderInst?
Lean
.
Meta
.
Grind
.
mkIsLinearOrderInst?
Lean
.
Meta
.
Grind
.
mkIsLinearPreorderInst?
Helper function for synthesizing order related instances.
source
def
Lean
.
Meta
.
Grind
.
mkLawfulOrderLTInst?
(
u
:
Level
)
(
type
:
Expr
)
(
ltInst?
leInst?
:
Option
Expr
)
:
GoalM
(
Option
Expr
)
Equations
Instances For
source
def
Lean
.
Meta
.
Grind
.
mkIsPreorderInst?
(
u
:
Level
)
(
type
:
Expr
)
(
leInst?
:
Option
Expr
)
:
GoalM
(
Option
Expr
)
Equations
Instances For
source
def
Lean
.
Meta
.
Grind
.
mkIsPartialOrderInst?
(
u
:
Level
)
(
type
:
Expr
)
(
leInst?
:
Option
Expr
)
:
GoalM
(
Option
Expr
)
Equations
Instances For
source
def
Lean
.
Meta
.
Grind
.
mkIsLinearOrderInst?
(
u
:
Level
)
(
type
:
Expr
)
(
leInst?
:
Option
Expr
)
:
GoalM
(
Option
Expr
)
Equations
Instances For
source
def
Lean
.
Meta
.
Grind
.
mkIsLinearPreorderInst?
(
u
:
Level
)
(
type
:
Expr
)
(
leInst?
:
Option
Expr
)
:
GoalM
(
Option
Expr
)
Equations
Instances For