Theorems · Theorem · number theory
Fin.odd_iff
∀ {n : ℕ} {k : Fin n} [inst : NeZero n], Odd k ↔ Odd n ∨ Odd ↑kIn Fin n, all elements are odd for odd n,
otherwise an element is odd iff its Fin.val value is odd.
- Defined in
- Mathlib.Data.Fin.Parity
- Cited by
- 1 results in Mathlib
- Foundations
- Depth 71 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- NeZero
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites7
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Evenproof · cited by 444
- Oddstatement and proof · cited by 364
- Nat.not_even_iff_oddproof · cited by 34
- imp_iff_not_orproof · cited by 12
- Fin.odd_iff_of_evenproof · cited by 4
- Fin.odd_of_valproof · cited by 3
- Fin.odd_of_oddproof · cited by 1
Cited by1
Results whose statement or proof uses this declaration.
- Fin.odd_iff_impproof · cited by 0