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

Theorem supeq3 9065
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 5055 . . . . . . 7 (𝑅 = 𝑆 → (𝑥𝑅𝑦𝑥𝑆𝑦))
21notbid 321 . . . . . 6 (𝑅 = 𝑆 → (¬ 𝑥𝑅𝑦 ↔ ¬ 𝑥𝑆𝑦))
32ralbidv 3118 . . . . 5 (𝑅 = 𝑆 → (∀𝑦𝐴 ¬ 𝑥𝑅𝑦 ↔ ∀𝑦𝐴 ¬ 𝑥𝑆𝑦))
4 breq 5055 . . . . . . 7 (𝑅 = 𝑆 → (𝑦𝑅𝑥𝑦𝑆𝑥))
5 breq 5055 . . . . . . . 8 (𝑅 = 𝑆 → (𝑦𝑅𝑧𝑦𝑆𝑧))
65rexbidv 3216 . . . . . . 7 (𝑅 = 𝑆 → (∃𝑧𝐴 𝑦𝑅𝑧 ↔ ∃𝑧𝐴 𝑦𝑆𝑧))
74, 6imbi12d 348 . . . . . 6 (𝑅 = 𝑆 → ((𝑦𝑅𝑥 → ∃𝑧𝐴 𝑦𝑅𝑧) ↔ (𝑦𝑆𝑥 → ∃𝑧𝐴 𝑦𝑆𝑧)))
87ralbidv 3118 . . . . 5 (𝑅 = 𝑆 → (∀𝑦𝐵 (𝑦𝑅𝑥 → ∃𝑧𝐴 𝑦𝑅𝑧) ↔ ∀𝑦𝐵 (𝑦𝑆𝑥 → ∃𝑧𝐴 𝑦𝑆𝑧)))
93, 8anbi12d 634 . . . 4 (𝑅 = 𝑆 → ((∀𝑦𝐴 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐵 (𝑦𝑅𝑥 → ∃𝑧𝐴 𝑦𝑅𝑧)) ↔ (∀𝑦𝐴 ¬ 𝑥𝑆𝑦 ∧ ∀𝑦𝐵 (𝑦𝑆𝑥 → ∃𝑧𝐴 𝑦𝑆𝑧))))
109rabbidv 3390 . . 3 (𝑅 = 𝑆 → {𝑥𝐵 ∣ (∀𝑦𝐴 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐵 (𝑦𝑅𝑥 → ∃𝑧𝐴 𝑦𝑅𝑧))} = {𝑥𝐵 ∣ (∀𝑦𝐴 ¬ 𝑥𝑆𝑦 ∧ ∀𝑦𝐵 (𝑦𝑆𝑥 → ∃𝑧𝐴 𝑦𝑆𝑧))})
1110unieqd 4833 . 2 (𝑅 = 𝑆 {𝑥𝐵 ∣ (∀𝑦𝐴 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐵 (𝑦𝑅𝑥 → ∃𝑧𝐴 𝑦𝑅𝑧))} = {𝑥𝐵 ∣ (∀𝑦𝐴 ¬ 𝑥𝑆𝑦 ∧ ∀𝑦𝐵 (𝑦𝑆𝑥 → ∃𝑧𝐴 𝑦𝑆𝑧))})
12 df-sup 9058 . 2 sup(𝐴, 𝐵, 𝑅) = {𝑥𝐵 ∣ (∀𝑦𝐴 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐵 (𝑦𝑅𝑥 → ∃𝑧𝐴 𝑦𝑅𝑧))}
13 df-sup 9058 . 2 sup(𝐴, 𝐵, 𝑆) = {𝑥𝐵 ∣ (∀𝑦𝐴 ¬ 𝑥𝑆𝑦 ∧ ∀𝑦𝐵 (𝑦𝑆𝑥 → ∃𝑧𝐴 𝑦𝑆𝑧))}
1411, 12, 133eqtr4g 2803 1 (𝑅 = 𝑆 → sup(𝐴, 𝐵, 𝑅) = sup(𝐴, 𝐵, 𝑆))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 399   = wceq 1543  wral 3061  wrex 3062  {crab 3065   cuni 4819   class class class wbr 5053  supcsup 9056
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-ext 2708
This theorem depends on definitions:  df-bi 210  df-an 400  df-tru 1546  df-ex 1788  df-sb 2071  df-clab 2715  df-cleq 2729  df-clel 2816  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3410  df-in 3873  df-ss 3883  df-uni 4820  df-br 5054  df-sup 9058
This theorem is referenced by:  infeq3  9096
  Copyright terms: Public domain W3C validator