The areas / V33. Data structures and computation
Mathlib.Data.List.Perm.Lattice
8 declarations. Mathlib docs · Source
theorem List.Perm.bagInter_right E1 #
∀ {α : Type u_1} [inst : DecidableEq α] {l₁ l₂ : List α} (t : List α), l₁.Perm l₂ → (l₁.bagInter t).Perm (l₂.bagInter t)
theorem List.Perm.bagInter_left E1 #
∀ {α : Type u_1} [inst : DecidableEq α] (l : List α) {t₁ t₂ : List α}, t₁.Perm t₂ → l.bagInter t₁ = l.bagInter t₂
theorem List.Perm.bagInter E1 #
∀ {α : Type u_1} [inst : DecidableEq α] {l₁ l₂ t₁ t₂ : List α},
l₁.Perm l₂ → t₁.Perm t₂ → (l₁.bagInter t₁).Perm (l₂.bagInter t₂)
theorem List.Perm.bagInter_symm E1 #
∀ {α : Type u_1} [inst : DecidableEq α] (l₁ l₂ : List α), (l₁.bagInter l₂).Perm (l₂.bagInter l₁)
theorem List.Perm.inter_append E1 #
∀ {α : Type u_1} [inst : DecidableEq α] {l t₁ t₂ : List α}, t₁.Disjoint t₂ → (l ∩ (t₁ ++ t₂)).Perm (l ∩ t₁ ++ l ∩ t₂)
theorem List.Perm.take_inter E1 #
∀ {α : Type u_1} [inst : DecidableEq α] {xs ys : List α} (n : ℕ),
xs.Perm ys → ys.Nodup → (List.take n xs).Perm (ys ∩ List.take n xs)
theorem List.Perm.drop_inter E1 #
∀ {α : Type u_1} [inst : DecidableEq α] {xs ys : List α} (n : ℕ),
xs.Perm ys → ys.Nodup → (List.drop n xs).Perm (ys ∩ List.drop n xs)
theorem List.Perm.dropSlice_inter E1 #
∀ {α : Type u_1} [inst : DecidableEq α] {xs ys : List α} (n m : ℕ),
xs.Perm ys → ys.Nodup → (List.dropSlice n m xs).Perm (ys ∩ List.dropSlice n m xs)