MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  supeq3 Structured version   Visualization version   GIF version

Theorem supeq3 9465
Description: Equality theorem for supremum. (Contributed by Scott Fenton, 13-Jun-2018.)
Assertion
Ref Expression
supeq3 (𝑅 = 𝑆 → sup(𝐴, 𝐵, 𝑅) = sup(𝐴, 𝐵, 𝑆))

Proof of Theorem supeq3
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 breq 5108 . . . . . . 7 (𝑅 = 𝑆 → (𝑥𝑅𝑦 ↔ 𝑥𝑆𝑦))
21notbid 321 . . . . . 6 (𝑅 = 𝑆 → (¬ 𝑥𝑅𝑦 ↔ ¬ 𝑥𝑆𝑦))
32ralbidv 3189 . . . . 5 (𝑅 = 𝑆 → (∀𝑦 ∈ 𝐴 ¬ 𝑥𝑅𝑦 ↔ ∀𝑦 ∈ 𝐴 ¬ 𝑥𝑆𝑦))
4 breq 5108 . . . . . . 7 (𝑅 = 𝑆 → (𝑦𝑅𝑥 ↔ 𝑦𝑆𝑥))
5 breq 5108 . . . . . . . 8 (𝑅 = 𝑆 → (𝑦𝑅𝑧 ↔ 𝑦𝑆𝑧))
65rexbidv 3190 . . . . . . 7 (𝑅 = 𝑆 → (∃𝑧 ∈ 𝐴 𝑦𝑅𝑧 ↔ ∃𝑧 ∈ 𝐴 𝑦𝑆𝑧))
74, 6imbi12d 347 . . . . . 6 (𝑅 = 𝑆 → ((𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐴 𝑦𝑅𝑧) ↔ (𝑦𝑆𝑥 → ∃𝑧 ∈ 𝐴 𝑦𝑆𝑧)))
87ralbidv 3189 . . . . 5 (𝑅 = 𝑆 → (∀𝑦 ∈ 𝐵 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐴 𝑦𝑅𝑧) ↔ ∀𝑦 ∈ 𝐵 (𝑦𝑆𝑥 → ∃𝑧 ∈ 𝐴 𝑦𝑆𝑧)))
93, 8anbi12d 644 . . . 4 (𝑅 = 𝑆 → ((∀𝑦 ∈ 𝐴 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐵 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐴 𝑦𝑅𝑧)) ↔ (∀𝑦 ∈ 𝐴 ¬ 𝑥𝑆𝑦 ∧ ∀𝑦 ∈ 𝐵 (𝑦𝑆𝑥 → ∃𝑧 ∈ 𝐴 𝑦𝑆𝑧))))
109rabbidv 3423 . . 3 (𝑅 = 𝑆 → {𝑥 ∈ 𝐵 ∣ (∀𝑦 ∈ 𝐴 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐵 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐴 𝑦𝑅𝑧))} = {𝑥 ∈ 𝐵 ∣ (∀𝑦 ∈ 𝐴 ¬ 𝑥𝑆𝑦 ∧ ∀𝑦 ∈ 𝐵 (𝑦𝑆𝑥 → ∃𝑧 ∈ 𝐴 𝑦𝑆𝑧))})
1110unieqd 4883 . 2 (𝑅 = 𝑆 → ∪ {𝑥 ∈ 𝐵 ∣ (∀𝑦 ∈ 𝐴 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐵 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐴 𝑦𝑅𝑧))} = ∪ {𝑥 ∈ 𝐵 ∣ (∀𝑦 ∈ 𝐴 ¬ 𝑥𝑆𝑦 ∧ ∀𝑦 ∈ 𝐵 (𝑦𝑆𝑥 → ∃𝑧 ∈ 𝐴 𝑦𝑆𝑧))})
12 df-sup 9458 . 2 sup(𝐴, 𝐵, 𝑅) = ∪ {𝑥 ∈ 𝐵 ∣ (∀𝑦 ∈ 𝐴 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐵 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐴 𝑦𝑅𝑧))}
13 df-sup 9458 . 2 sup(𝐴, 𝐵, 𝑆) = ∪ {𝑥 ∈ 𝐵 ∣ (∀𝑦 ∈ 𝐴 ¬ 𝑥𝑆𝑦 ∧ ∀𝑦 ∈ 𝐵 (𝑦𝑆𝑥 → ∃𝑧 ∈ 𝐴 𝑦𝑆𝑧))}
1411, 12, 133eqtr4g 2823 1 (𝑅 = 𝑆 → sup(𝐴, 𝐵, 𝑅) = sup(𝐴, 𝐵, 𝑆))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1570  ∀wral 3080  ∃wrex 3090  {crab 3416  ∪ cuni 4870   class class class wbr 5106  supcsup 9456
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-uni 4871  df-br 5107  df-sup 9458
This theorem is used by:  infeq3  9497
  Copyright terms: Public domain W3C validator