Equations
- Lean.Meta.instInhabitedGeneralizeArg = { default := { expr := default, xName? := default, hName? := default } }
def
Lean.MVarId.generalize
(mvarId : Lean.MVarId)
(args : Array Lean.Meta.GeneralizeArg)
(transparency : Lean.Meta.TransparencyMode := Lean.Meta.TransparencyMode.instances)
:
Telescopic generalize
tactic. It can simultaneously generalize many terms.
It uses kabstract
to occurrences of the terms that need to be generalized.
Equations
- mvarId.generalize args transparency = Lean.Meta.generalizeCore✝ mvarId args transparency
Instances For
def
Lean.MVarId.generalizeHyp
(mvarId : Lean.MVarId)
(args : Array Lean.Meta.GeneralizeArg)
(hyps : Array Lean.FVarId := #[])
(fvarSubst : Lean.Meta.FVarSubst := { map := ∅ })
(transparency : Lean.Meta.TransparencyMode := Lean.Meta.TransparencyMode.instances)
:
Extension of generalize
to support generalizing within specified hypotheses.
The hyps
array contains the list of hypotheses within which to look for occurrences
of the generalizing expressions.
Equations
- One or more equations did not get rendered due to their size.