Documentation

Mathlib.Init.Data.Fin.Basic

Note about Mathlib/Init/ #

The files in Mathlib/Init are leftovers from the port from Mathlib3. (They contain content moved from lean3 itself that Mathlib needed but was not moved to lean4.)

We intend to move all the content of these files out into the main Mathlib directory structure. Contributions assisting with this are appreciated.

#align statements without corresponding declarations (i.e. because the declaration is in Batteries or Lean) can be left here. These will be deleted soon so will not significantly delay deleting otherwise empty Init files.

Theorems about equality in Fin. #

@[deprecated Fin.eq_of_val_eq]
theorem Fin.eq_of_veq {n : } {i : Fin n} {j : Fin n} :
i = ji = j
@[deprecated Fin.val_eq_of_eq]
theorem Fin.veq_of_eq {n : } {i : Fin n} {j : Fin n} :
i = ji = j
theorem Fin.ne_of_vne {n : } {i : Fin n} {j : Fin n} (h : i j) :
i j
theorem Fin.vne_of_ne {n : } {i : Fin n} {j : Fin n} (h : i j) :
i j