/-
Copyright (c) 2025 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes
-/
module
public import Mathlib.Data.Multiset.Defs
import Mathlib.Data.List.Pairwise
set_option doc.verso true
set_option doc.verso.suggestions false
/-!
# Pairwise relations on a multiset
This file provides basic results about `Multiset.Pairwise` (definitions are in
`Mathlib/Data/Multiset/Defs.lean`).
-/
public section
namespace Multiset
variable {α : Type*} {r : α → α → Prop} {s : Multiset α}
theorem Pairwise.forall [Std.Symm r] (hs : Pairwise r s) :
∀ ⦃a⦄, a ∈ s → ∀ ⦃b⦄, b ∈ s → a ≠ b → r a b :=
let ⟨_, hl₁, hl₂⟩ := hs
hl₁.symm ▸ hl₂.forall
end Multiset
¤ Dauer der Verarbeitung: 0.3 Sekunden
¤
*© Formatika GbR, Deutschland