Theorems · Theorem · combinatorics
List.duplicate_iff_exists_distinct_get
∀ {α : Type u_1} {l : List α} {x : α}, List.Duplicate x l ↔ ∃ n m, ∃ (_ : n < m), x = l.get n ∧ x = l.get mAn element x : α of l : List α is a duplicate iff it can be found
at two distinct indices n m : ℕ inside the list l.
- Defined in
- Mathlib.Data.List.NodupEquivFin
- Cited by
- 0 results in Mathlib
- Foundations
- Depth 67 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites8
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- DFunLike.coeproof · cited by 62,936
- OrderEmbeddingproof · cited by 619
- List.Duplicatestatement · cited by 24
- OrderEmbedding.lt_iff_ltproof · cited by 23
- OrderEmbedding.ofStrictMonoproof · cited by 15
- List.duplicate_iff_two_le_countproof · cited by 2
- List.sublist_iff_exists_fin_orderEmbedding_get_eqproof · cited by 1
- OrderEmbedding.ofStrictMono.congr_simpproof · cited by 1
Cited by0
Results whose statement or proof uses this declaration.
Nothing cites this yet.