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