Equations
- One or more equations did not get rendered due to their size.
Instances For
- solved : Lean.Meta.InjectionResultCore
- subgoal (mvarId : Lean.MVarId) (numNewEqs : Nat) : Lean.Meta.InjectionResultCore
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
- solved : Lean.Meta.InjectionResult
- subgoal (mvarId : Lean.MVarId) (newEqs : Array Lean.FVarId) (remainingNames : List Lean.Name) : Lean.Meta.InjectionResult
Instances For
Equations
- Lean.Meta.injectionIntro mvarId numEqs newNames tryToClear = Lean.Meta.injectionIntro.go tryToClear numEqs mvarId #[] newNames
Instances For
Equations
- One or more equations did not get rendered due to their size.
- Lean.Meta.injectionIntro.go tryToClear 0 x✝² x✝¹ x✝ = pure (Lean.Meta.InjectionResult.subgoal x✝² x✝¹ x✝)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
- solved : Lean.Meta.InjectionsResult
injections
closed the input goal. - subgoal
(mvarId : Lean.MVarId)
(remainingNames : List Lean.Name)
(forbidden : Lean.FVarIdSet)
: Lean.Meta.InjectionsResult
injections
produces a new goalmvarId
.remainingNames
contains the user-facing names that have not been used.forbidden
contains all local declarations to whichinjection
has been applied. Recall that some of these declarations may not have been eliminated from the local context due to forward dependencies, and we useforbidden
to avoid non-termination when usinginjections
in a loop.
Instances For
Applies injection
to local declarations in mvarId
. It uses newNames
to name the new local declarations.
maxDepth
is the maximum recursion depth. Only local declarations that are not in forbidden
are considered.
Recall that some of local declarations may not have been eliminated from the local context due to forward dependencies, and
we use forbidden
to avoid non-termination when using injections
in a loop.
Equations
- One or more equations did not get rendered due to their size.