Equations
- One or more equations did not get rendered due to their size.
- (Lean.Elab.Tactic.Do.SplitInfo.ite e).resTy = some (e.getArg! 0)
- (Lean.Elab.Tactic.Do.SplitInfo.dite e).resTy = some (e.getArg! 0)
Instances For
A list of pairs (numParams, alt)
per match alternative, where numParams
is the
number of parameters of the alternative and alt
is the alternative.
Equations
- (Lean.Elab.Tactic.Do.SplitInfo.ite e).altInfos = #[(0, e.getArg! 3), (0, e.getArg! 4)]
- (Lean.Elab.Tactic.Do.SplitInfo.dite e).altInfos = #[(1, e.getArg! 3), (1, e.getArg! 4)]
- (Lean.Elab.Tactic.Do.SplitInfo.matcher matcherApp).altInfos = Array.mapIdx (fun (idx numParams : Nat) => (numParams, matcherApp.alts[idx]!)) matcherApp.altNumParams
Instances For
def
Lean.Elab.Tactic.Do.SplitInfo.splitWithConstantMotive
{n : Type → Type}
[MonadLiftT MetaM n]
[MonadControlT MetaM n]
[Monad n]
[MonadError n]
[MonadEnv n]
[MonadLog n]
[AddMessageContext n]
[MonadOptions n]
(info : SplitInfo)
(resTy : Expr)
(onAlt : Name → Nat → Array Expr → n Expr)
(useSplitter : Bool := false)
:
n Expr
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- (Lean.Elab.Tactic.Do.SplitInfo.dite e_1).simpDiscrs? e = pure none
- (Lean.Elab.Tactic.Do.SplitInfo.ite e_1).simpDiscrs? e = pure none
- (Lean.Elab.Tactic.Do.SplitInfo.matcher matcherApp).simpDiscrs? e = Lean.Meta.Simp.simpMatchDiscrs? matcherApp.toMatcherInfo e
Instances For
Equations
- One or more equations did not get rendered due to their size.