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

Theorem supeq1 8893
Description: Equality theorem for supremum. (Contributed by NM, 22-May-1999.)
Assertion
Ref Expression
supeq1 (𝐵 = 𝐶 → sup(𝐵, 𝐴, 𝑅) = sup(𝐶, 𝐴, 𝑅))

Proof of Theorem supeq1
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 raleq 3358 . . . . 5 (𝐵 = 𝐶 → (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ↔ ∀𝑦𝐶 ¬ 𝑥𝑅𝑦))
2 rexeq 3359 . . . . . . 7 (𝐵 = 𝐶 → (∃𝑧𝐵 𝑦𝑅𝑧 ↔ ∃𝑧𝐶 𝑦𝑅𝑧))
32imbi2d 344 . . . . . 6 (𝐵 = 𝐶 → ((𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧) ↔ (𝑦𝑅𝑥 → ∃𝑧𝐶 𝑦𝑅𝑧)))
43ralbidv 3162 . . . . 5 (𝐵 = 𝐶 → (∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧) ↔ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐶 𝑦𝑅𝑧)))
51, 4anbi12d 633 . . . 4 (𝐵 = 𝐶 → ((∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧)) ↔ (∀𝑦𝐶 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐶 𝑦𝑅𝑧))))
65rabbidv 3427 . . 3 (𝐵 = 𝐶 → {𝑥𝐴 ∣ (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))} = {𝑥𝐴 ∣ (∀𝑦𝐶 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐶 𝑦𝑅𝑧))})
76unieqd 4814 . 2 (𝐵 = 𝐶 {𝑥𝐴 ∣ (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))} = {𝑥𝐴 ∣ (∀𝑦𝐶 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐶 𝑦𝑅𝑧))})
8 df-sup 8890 . 2 sup(𝐵, 𝐴, 𝑅) = {𝑥𝐴 ∣ (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))}
9 df-sup 8890 . 2 sup(𝐶, 𝐴, 𝑅) = {𝑥𝐴 ∣ (∀𝑦𝐶 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐶 𝑦𝑅𝑧))}
107, 8, 93eqtr4g 2858 1 (𝐵 = 𝐶 → sup(𝐵, 𝐴, 𝑅) = sup(𝐶, 𝐴, 𝑅))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 399   = wceq 1538  wral 3106  wrex 3107  {crab 3110   cuni 4800   class class class wbr 5030  supcsup 8888
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-ex 1782  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-ral 3111  df-rex 3112  df-rab 3115  df-v 3443  df-in 3888  df-ss 3898  df-uni 4801  df-sup 8890
This theorem is referenced by:  supeq1d  8894  supeq1i  8895  infeq1  8924  bndth  23563  ioorval  24178  uniioombllem6  24192  mdegcl  24670  suplesup  41971  supminfxr  42103  prproropf1olem2  44021  prproropf1olem3  44022  prproropf1olem4  44023  prproropf1o  44024  prproropreud  44026
  Copyright terms: Public domain W3C validator