apply h.get_inj k l (as.size_swap i j ▸ hk) (as.size_swap i j ▸ hl)
case h
α : Type u
as : Array α
i j : Fin (size as)
h : Nodup as
k l : Nat
hk : k < size (swap as i j)
hl : l < size (swap as i j)
has : (swap as i j)[k] = (swap as i j)[l]
⊢ k = l
case h
α : Type u
as : Array α
i j : Fin (size as)
h : Nodup as
k l : Nat
hk : k < size (swap as i j)
hl : l < size (swap as i j)
has : (swap as i j)[k] = (swap as i j)[l]
⊢ as[k] = as[l]