Documentation
Lean
.
Meta
.
Tactic
.
Grind
.
AC
.
Util
Search
return to top
source
Imports
Lean.Meta.Tactic.Grind.ProveEq
Lean.Meta.Tactic.Grind.Simp
Lean.Meta.Tactic.Grind.AC.Types
Lean.Meta.Tactic.Grind.Arith.CommRing.RingId
Imported by
Lean
.
Meta
.
Grind
.
AC
.
get'
Lean
.
Meta
.
Grind
.
AC
.
modify'
Lean
.
Meta
.
Grind
.
AC
.
checkMaxSteps
Lean
.
Meta
.
Grind
.
AC
.
incSteps
Lean
.
Meta
.
Grind
.
AC
.
ACM
.
Context
Lean
.
Meta
.
Grind
.
AC
.
MonadGetStruct
Lean
.
Meta
.
Grind
.
AC
.
instMonadGetStructOfMonadLift
Lean
.
Meta
.
Grind
.
AC
.
ACM
Lean
.
Meta
.
Grind
.
AC
.
ACM
.
run
Lean
.
Meta
.
Grind
.
AC
.
getOpId
Lean
.
Meta
.
Grind
.
AC
.
ACM
.
getStruct
Lean
.
Meta
.
Grind
.
AC
.
instMonadGetStructACM
Lean
.
Meta
.
Grind
.
AC
.
modifyStruct
Lean
.
Meta
.
Grind
.
AC
.
getOp
Lean
.
Meta
.
Grind
.
AC
.
getTermOpIds
Lean
.
Meta
.
Grind
.
AC
.
addTermOpId
Lean
.
Meta
.
Grind
.
AC
.
mkVar
Lean
.
Meta
.
Grind
.
AC
.
getOpId?
Lean
.
Meta
.
Grind
.
AC
.
isOp?
Lean
.
Meta
.
Grind
.
AC
.
isCommutative
Lean
.
Meta
.
Grind
.
AC
.
hasNeutral
Lean
.
Meta
.
Grind
.
AC
.
isIdempotent
source
def
Lean
.
Meta
.
Grind
.
AC
.
get'
:
GoalM
State
Equations
Instances For
source
@[inline]
def
Lean
.
Meta
.
Grind
.
AC
.
modify'
(
f
:
State
→
State
)
:
GoalM
Unit
Equations
Instances For
source
def
Lean
.
Meta
.
Grind
.
AC
.
checkMaxSteps
:
GoalM
Bool
Equations
Instances For
source
def
Lean
.
Meta
.
Grind
.
AC
.
incSteps
:
GoalM
Unit
Equations
Instances For
source
structure
Lean
.
Meta
.
Grind
.
AC
.
ACM
.
Context
:
Type
opId :
Nat
Instances For
source
class
Lean
.
Meta
.
Grind
.
AC
.
MonadGetStruct
(
m
:
Type
→
Type
)
:
Type
getStruct :
m
Struct
Instances
source
@[always_inline]
instance
Lean
.
Meta
.
Grind
.
AC
.
instMonadGetStructOfMonadLift
(
m
n
:
Type
→
Type
)
[
MonadLift
m
n
]
[
MonadGetStruct
m
]
:
MonadGetStruct
n
Equations
source
@[reducible, inline]
abbrev
Lean
.
Meta
.
Grind
.
AC
.
ACM
(
α
:
Type
)
:
Type
Equations
Instances For
source
@[reducible, inline]
abbrev
Lean
.
Meta
.
Grind
.
AC
.
ACM
.
run
{
α
:
Type
}
(
opId
:
Nat
)
(
x
:
ACM
α
)
:
GoalM
α
Equations
Instances For
source
@[reducible, inline]
abbrev
Lean
.
Meta
.
Grind
.
AC
.
getOpId
:
ACM
Nat
Equations
Instances For
source
def
Lean
.
Meta
.
Grind
.
AC
.
ACM
.
getStruct
:
ACM
Struct
Equations
Instances For
source
instance
Lean
.
Meta
.
Grind
.
AC
.
instMonadGetStructACM
:
MonadGetStruct
ACM
Equations
source
def
Lean
.
Meta
.
Grind
.
AC
.
modifyStruct
(
f
:
Struct
→
Struct
)
:
ACM
Unit
Equations
Instances For
source
def
Lean
.
Meta
.
Grind
.
AC
.
getOp
:
ACM
Expr
Equations
Instances For
source
def
Lean
.
Meta
.
Grind
.
AC
.
getTermOpIds
(
e
:
Expr
)
:
GoalM
(
List
Nat
)
Equations
Instances For
source
def
Lean
.
Meta
.
Grind
.
AC
.
addTermOpId
(
e
:
Expr
)
:
ACM
Unit
Equations
Instances For
source
def
Lean
.
Meta
.
Grind
.
AC
.
mkVar
(
e
:
Expr
)
:
ACM
Grind.AC.Var
Equations
Instances For
source
def
Lean
.
Meta
.
Grind
.
AC
.
getOpId?
(
op
:
Expr
)
:
GoalM
(
Option
Nat
)
Equations
Instances For
source
def
Lean
.
Meta
.
Grind
.
AC
.
isOp?
(
e
:
Expr
)
:
ACM
(
Option
(
Expr
×
Expr
))
Equations
Instances For
source
def
Lean
.
Meta
.
Grind
.
AC
.
isCommutative
:
ACM
Bool
Equations
Instances For
source
def
Lean
.
Meta
.
Grind
.
AC
.
hasNeutral
:
ACM
Bool
Equations
Instances For
source
def
Lean
.
Meta
.
Grind
.
AC
.
isIdempotent
:
ACM
Bool
Equations
Instances For