Documentation
Lean
.
Meta
.
Tactic
.
LinearArith
.
Simp
Search
return to top
source
Imports
Lean.Meta.Tactic.LinearArith.Basic
Lean.Meta.Tactic.LinearArith.Nat.Simp
Imported by
Lean
.
Meta
.
Linear
.
parentIsTarget
Lean
.
Meta
.
Linear
.
simp?
source
def
Lean
.
Meta
.
Linear
.
parentIsTarget
(parent? :
Option
Lean.Expr
)
:
Bool
Equations
Lean.Meta.Linear.parentIsTarget
none
=
false
Lean.Meta.Linear.parentIsTarget
(
some
parent
)
=
(
Lean.Meta.Linear.isLinearTerm
parent
||
Lean.Meta.Linear.isLinearCnstr
parent
)
Instances For
source
def
Lean
.
Meta
.
Linear
.
simp?
(e :
Lean.Expr
)
(parent? :
Option
Lean.Expr
)
:
Lean.MetaM
(
Option
(
Lean.Expr
×
Lean.Expr
)
)
Equations
One or more equations did not get rendered due to their size.
Instances For