Documentation
Lean
.
Meta
.
Tactic
.
Split
Search
return to top
source
Imports
Lean.Meta.Tactic.Apply
Lean.Meta.Tactic.Generalize
Lean.Meta.Tactic.SplitIf
Lean.Meta.Match.MatcherApp.Basic
Lean.Meta.Tactic.Simp.Main
Imported by
Lean
.
Meta
.
Split
.
getSimpMatchContext
Lean
.
Meta
.
Split
.
simpMatch
Lean
.
Meta
.
Split
.
simpMatch
.
pre
Lean
.
Meta
.
Split
.
simpMatchTarget
Lean
.
Meta
.
Split
.
discrGenExId
Lean
.
Meta
.
Split
.
isDiscrGenException
Lean
.
Meta
.
Split
.
applyMatchSplitter
Lean
.
Meta
.
Split
.
mkDiscrGenErrorMsg
Lean
.
Meta
.
Split
.
throwDiscrGenError
Lean
.
Meta
.
Split
.
splitMatch
Lean
.
Meta
.
splitTarget?
Lean
.
Meta
.
splitTarget?
.
go
Lean
.
Meta
.
splitLocalDecl?
source
def
Lean
.
Meta
.
Split
.
getSimpMatchContext
:
MetaM
Simp.Context
Equations
Instances For
source
def
Lean
.
Meta
.
Split
.
simpMatch
(
e
:
Expr
)
:
MetaM
Simp.Result
Equations
Instances For
source
def
Lean
.
Meta
.
Split
.
simpMatch
.
pre
(
e
:
Expr
)
:
SimpM
Simp.Step
Equations
Instances For
source
def
Lean
.
Meta
.
Split
.
simpMatchTarget
(
mvarId
:
MVarId
)
:
MetaM
MVarId
Equations
Instances For
source
opaque
Lean
.
Meta
.
Split
.
discrGenExId
:
InternalExceptionId
Internal exception for discriminant generalization failures due to type errors.
source
def
Lean
.
Meta
.
Split
.
isDiscrGenException
(
ex
:
Exception
)
:
Bool
Equations
Instances For
source
def
Lean
.
Meta
.
Split
.
applyMatchSplitter
(
mvarId
:
MVarId
)
(
matcherDeclName
:
Name
)
(
us
:
Array
Level
)
(
params
discrs
:
Array
Expr
)
:
MetaM
(
List
MVarId
)
Equations
Instances For
source
def
Lean
.
Meta
.
Split
.
mkDiscrGenErrorMsg
(
e
:
Expr
)
:
MessageData
Equations
Instances For
source
def
Lean
.
Meta
.
Split
.
throwDiscrGenError
{
α
:
Type
}
(
e
:
Expr
)
:
MetaM
α
Equations
Instances For
source
def
Lean
.
Meta
.
Split
.
splitMatch
(
mvarId
:
MVarId
)
(
e
:
Expr
)
:
MetaM
(
List
MVarId
)
Equations
Instances For
source
def
Lean
.
Meta
.
splitTarget?
(
mvarId
:
MVarId
)
(
splitIte
:
Bool
:=
true
)
:
MetaM
(
Option
(
List
MVarId
)
)
Equations
Instances For
source
partial def
Lean
.
Meta
.
splitTarget?
.
go
(
mvarId
:
MVarId
)
(
splitIte
:
Bool
:=
true
)
(
target
:
Expr
)
(
badCases
:
ExprSet
)
:
MetaM
(
Option
(
List
MVarId
)
)
source
def
Lean
.
Meta
.
splitLocalDecl?
(
mvarId
:
MVarId
)
(
fvarId
:
FVarId
)
:
MetaM
(
Option
(
List
MVarId
)
)
Equations
Instances For