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

Theorem supeq1 8935
 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 3324 . . . . 5 (𝐵 = 𝐶 → (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ↔ ∀𝑦𝐶 ¬ 𝑥𝑅𝑦))
2 rexeq 3325 . . . . . . 7 (𝐵 = 𝐶 → (∃𝑧𝐵 𝑦𝑅𝑧 ↔ ∃𝑧𝐶 𝑦𝑅𝑧))
32imbi2d 345 . . . . . 6 (𝐵 = 𝐶 → ((𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧) ↔ (𝑦𝑅𝑥 → ∃𝑧𝐶 𝑦𝑅𝑧)))
43ralbidv 3127 . . . . 5 (𝐵 = 𝐶 → (∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧) ↔ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐶 𝑦𝑅𝑧)))
51, 4anbi12d 634 . . . 4 (𝐵 = 𝐶 → ((∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧)) ↔ (∀𝑦𝐶 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐶 𝑦𝑅𝑧))))
65rabbidv 3393 . . 3 (𝐵 = 𝐶 → {𝑥𝐴 ∣ (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))} = {𝑥𝐴 ∣ (∀𝑦𝐶 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐶 𝑦𝑅𝑧))})
76unieqd 4813 . 2 (𝐵 = 𝐶 {𝑥𝐴 ∣ (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))} = {𝑥𝐴 ∣ (∀𝑦𝐶 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐶 𝑦𝑅𝑧))})
8 df-sup 8932 . 2 sup(𝐵, 𝐴, 𝑅) = {𝑥𝐴 ∣ (∀𝑦𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐵 𝑦𝑅𝑧))}
9 df-sup 8932 . 2 sup(𝐶, 𝐴, 𝑅) = {𝑥𝐴 ∣ (∀𝑦𝐶 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦𝐴 (𝑦𝑅𝑥 → ∃𝑧𝐶 𝑦𝑅𝑧))}
107, 8, 93eqtr4g 2819 1 (𝐵 = 𝐶 → sup(𝐵, 𝐴, 𝑅) = sup(𝐶, 𝐴, 𝑅))
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ∧ wa 400   = wceq 1539  ∀wral 3071  ∃wrex 3072  {crab 3075  ∪ cuni 4799   class class class wbr 5033  supcsup 8930 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1912  ax-6 1971  ax-7 2016  ax-8 2114  ax-9 2122  ax-ext 2730 This theorem depends on definitions:  df-bi 210  df-an 401  df-tru 1542  df-ex 1783  df-sb 2071  df-clab 2737  df-cleq 2751  df-clel 2831  df-ral 3076  df-rex 3077  df-rab 3080  df-v 3412  df-in 3866  df-ss 3876  df-uni 4800  df-sup 8932 This theorem is referenced by:  supeq1d  8936  supeq1i  8937  infeq1  8966  bndth  23652  ioorval  24267  uniioombllem6  24281  mdegcl  24762  suplesup  42332  supminfxr  42462  prproropf1olem2  44382  prproropf1olem3  44383  prproropf1olem4  44384  prproropf1o  44385  prproropreud  44387
 Copyright terms: Public domain W3C validator