English
The map f ↦ graphEquiv₂ f is an order isomorphism Fin n ≃o graph f.
Русский
Отображение f ↦ graphEquiv₂ f является упорядоченным изоморфизмом Fin n ≃o graph f.
LaTeX
$$$\\mathrm{graphEquiv}_2(f) : \\mathrm{Fin}\\,n \\simeq_o \\mathrm{graph}(f).$$$
Lean4
/-- `graphEquiv₂ f` is an equivalence between `Fin n` and `graph f` that respects the order.
-/
def graphEquiv₂ (f : Fin n → α) : Fin n ≃o graph f :=
Finset.orderIsoOfFin _ (by simp)