Equations
- Lean.Meta.instInhabitedGeneralizeArg = { default := { expr := default, xName? := default, hName? := default } }
def
Lean.MVarId.generalize
(mvarId : Lean.MVarId)
(args : Array Lean.Meta.GeneralizeArg)
(transparency : optParam 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
- Lean.MVarId.generalize mvarId args transparency = Lean.Meta.generalizeCore mvarId args transparency
Instances For
@[deprecated Lean.MVarId.generalize]
def
Lean.Meta.generalize
(mvarId : Lean.MVarId)
(args : Array Lean.Meta.GeneralizeArg)
(transparency : optParam 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
- Lean.Meta.generalize mvarId args transparency = Lean.Meta.generalizeCore mvarId args transparency
Instances For
def
Lean.MVarId.generalizeHyp
(mvarId : Lean.MVarId)
(args : Array Lean.Meta.GeneralizeArg)
(hyps : optParam (Array Lean.FVarId) #[])
(fvarSubst : optParam Lean.Meta.FVarSubst { map := ∅ })
(transparency : optParam 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.