Documentation
Lean
.
Meta
.
RecursorInfo
Search
Google site search
Lean
.
Meta
.
RecursorInfo
source
Imports
Init
Lean.AuxRecursor
Lean.Meta.Basic
Lean.Util.FindExpr
Imported by
Lean
.
Meta
.
RecursorUnivLevelPos
Lean
.
Meta
.
instToStringRecursorUnivLevelPos
Lean
.
Meta
.
RecursorInfo
Lean
.
Meta
.
RecursorInfo
.
numParams
Lean
.
Meta
.
RecursorInfo
.
numIndices
Lean
.
Meta
.
RecursorInfo
.
motivePos
Lean
.
Meta
.
RecursorInfo
.
firstIndexPos
Lean
.
Meta
.
RecursorInfo
.
isMinor
Lean
.
Meta
.
RecursorInfo
.
numMinors
Lean
.
Meta
.
RecursorInfo
.
instToStringRecursorInfo
Lean
.
Meta
.
Attribute
.
Recursor
.
getMajorPos
Lean
.
Meta
.
recursorAttribute
Lean
.
Meta
.
getMajorPos?
Lean
.
Meta
.
mkRecursorInfo
source
inductive
Lean
.
Meta
.
RecursorUnivLevelPos
:
Type
motive:
Lean.Meta.RecursorUnivLevelPos
majorType:
Nat
→
Lean.Meta.RecursorUnivLevelPos
Instances For
source
instance
Lean
.
Meta
.
instToStringRecursorUnivLevelPos
:
ToString
Lean.Meta.RecursorUnivLevelPos
source
structure
Lean
.
Meta
.
RecursorInfo
:
Type
recursorName :
Lake.Name
typeName :
Lake.Name
univLevelPos :
List
Lean.Meta.RecursorUnivLevelPos
depElim :
Bool
recursive :
Bool
numArgs :
Nat
majorPos :
Nat
paramsPos :
List
(
Option
Nat
)
indicesPos :
List
Nat
produceMotive :
List
Bool
Instances For
source
def
Lean
.
Meta
.
RecursorInfo
.
numParams
(info :
Lean.Meta.RecursorInfo
)
:
Nat
Instances For
source
def
Lean
.
Meta
.
RecursorInfo
.
numIndices
(info :
Lean.Meta.RecursorInfo
)
:
Nat
Instances For
source
def
Lean
.
Meta
.
RecursorInfo
.
motivePos
(info :
Lean.Meta.RecursorInfo
)
:
Nat
Instances For
source
def
Lean
.
Meta
.
RecursorInfo
.
firstIndexPos
(info :
Lean.Meta.RecursorInfo
)
:
Nat
Instances For
source
def
Lean
.
Meta
.
RecursorInfo
.
isMinor
(info :
Lean.Meta.RecursorInfo
)
(pos :
Nat
)
:
Bool
Instances For
source
def
Lean
.
Meta
.
RecursorInfo
.
numMinors
(info :
Lean.Meta.RecursorInfo
)
:
Nat
Instances For
source
instance
Lean
.
Meta
.
RecursorInfo
.
instToStringRecursorInfo
:
ToString
Lean.Meta.RecursorInfo
source
def
Lean
.
Meta
.
Attribute
.
Recursor
.
getMajorPos
(stx :
Lean.Syntax
)
:
Lean.AttrM
Nat
Instances For
source
opaque
Lean
.
Meta
.
recursorAttribute
:
Lean.ParametricAttribute
Nat
source
def
Lean
.
Meta
.
getMajorPos?
(env :
Lean.Environment
)
(declName :
Lake.Name
)
:
Option
Nat
Instances For
source
def
Lean
.
Meta
.
mkRecursorInfo
(declName :
Lake.Name
)
(majorPos? :
optParam
(
Option
Nat
)
none
)
:
Lean.MetaM
Lean.Meta.RecursorInfo
Instances For