some hif the discriminant is annotated withh:
Instances For
- map : Std.HashMap Nat (Std.TreeSet Nat compare)
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Information about the structure of a matcher declaration
- numParams : Nat
Number of parameters
- numDiscrs : Nat
Number of discriminants
- altInfos : Array AltParamInfo
Parameter structure information for each alternative
uElimPos?issome poswhen the matcher can eliminate in different universe levels, andposis the position of the universe level parameter that specifies the elimination universe. It isnoneif the matcher only eliminates intoProp.discrInfos[i] = { hName? := some h }if the i-th discriminant was annotated withh :.- overlaps : Overlaps
(Conservative approximation of) which alternatives may overlap another.
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
def
Lean.Meta.Match.Extension.addMatcherInfo
(env : Environment)
(matcherName : Name)
(info : MatcherInfo)
:
Equations
Instances For
Equations
Instances For
def
Lean.Meta.Match.addMatcherInfo
{m : Type → Type}
[Monad m]
[MonadEnv m]
(matcherName : Name)
(info : MatcherInfo)
:
m Unit
Equations
Instances For
Equations
Instances For
def
Lean.Meta.getMatcherInfo?
{m : Type → Type}
[Monad m]
[MonadEnv m]
(declName : Name)
:
m (Option MatcherInfo)
Equations
Instances For
@[export lean_is_matcher]