Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Lean/Mathlib/Mathlib/Order/Preorder/     Datei vom 15.10.2026 mit Größe 1 kB image not shown  

Quelle  PairwiseChain.lean   Sprache: Lean

 

/-
Copyright (c) 2025 Jasper Mulder-Sohn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Edward van de Meent, Jasper Mulder-Sohn
-/

module

public import Mathlib.Data.Set.Pairwise.Lattice
public import Mathlib.Order.Preorder.Chain

set_option doc.verso true
set_option doc.verso.suggestions false

/-!
# Pairwise results for chains

In this file `Pairwise` results are applied to chains of sets.
-/


public section

open Set

variable {α β : Type*} {c : Set (Set α)} {r : α → α → Prop}
variable (hc : IsChain (· ⊆ ·) c)

namespace IsChain

include hc

lemma pairwise_iUnion₂ : (⋃ s ∈ c, s).Pairwise r ↔ ∀ s ∈ c, s.Pairwise r :=
  pairwise_iUnion₂_iff hc.directedOn

lemma pairwiseDisjoint_iUnion₂ [PartialOrder β] [OrderBot β] (f : α → β) :
    (⋃ s ∈ c, s).PairwiseDisjoint f ↔ ∀ s ∈ c, s.PairwiseDisjoint f :=
  hc.pairwise_iUnion₂

lemma pairwise_sUnion : (⋃₀ c).Pairwise r ↔ ∀ s ∈ c, s.Pairwise r :=
  Set.pairwise_sUnion hc.directedOn

lemma pairwiseDisjoint_sUnion [PartialOrder β] [OrderBot β] (f : α → β) :
    (⋃₀ c).PairwiseDisjoint f ↔ ∀ s ∈ c, s.PairwiseDisjoint f :=
  hc.pairwise_sUnion

end IsChain

Messung
CHZG
9410010097

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland