The structure of Fintype (Fin n) #
This file contains some basic results about the Fintype instance for Fin,
especially properties of Finset.univ : Finset (Fin n).
@[simp]
@[simp]
theorem Fin.card_filter_univ_eq_vector_get_eq_count {α : Type u_1} {n : ℕ} [DecidableEq α] (a : α) (v : List.Vector α n) :
theorem Fin.lt_card_filter_univ_iff_apply_of_imp {n : ℕ} {j : Fin n} (p : Fin n → Prop) [DecidablePred p] (hp : ∀ (i j : Fin n), j ≤ i → p i → p j) :
Given a "downward-closed" predicate p on Fin n (which could be spelt Antitone p),
then p holds for more than j elements iff it holds for p itself.