English
Reiterates the compatibility of piCongrLeft with restrict via Set actions.
Русский
Утверждает совместимость piCongrLeft с ограничением через действия Set.
LaTeX
$$$ (s.equivToSet.piCongrLeft (\\lambda i, \\pi i.val)) \\circ s.restrict = s.toSet.restrict. $$$
Lean4
/-- If a function `f` is restricted to a finite set `t`, and `s ⊆ t`,
this is the restriction to `s`. -/
@[simp]
def restrict₂ (hst : s ⊆ t) (f : (i : t) → π i) (i : s) : π i :=
f ⟨i.1, hst i.2⟩