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

Theorem supeq123d 9139
Description: Equality deduction for supremum. (Contributed by Stefan O'Rear, 20-Jan-2015.)
Hypotheses
Ref Expression
supeq123d.a (𝜑𝐴 = 𝐷)
supeq123d.b (𝜑𝐵 = 𝐸)
supeq123d.c (𝜑𝐶 = 𝐹)
Assertion
Ref Expression
supeq123d (𝜑 → sup(𝐴, 𝐵, 𝐶) = sup(𝐷, 𝐸, 𝐹))

Proof of Theorem supeq123d
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 supeq123d.b . . . 4 (𝜑𝐵 = 𝐸)
2 supeq123d.a . . . . . 6 (𝜑𝐴 = 𝐷)
3 supeq123d.c . . . . . . . 8 (𝜑𝐶 = 𝐹)
43breqd 5081 . . . . . . 7 (𝜑 → (𝑥𝐶𝑦𝑥𝐹𝑦))
54notbid 317 . . . . . 6 (𝜑 → (¬ 𝑥𝐶𝑦 ↔ ¬ 𝑥𝐹𝑦))
62, 5raleqbidv 3327 . . . . 5 (𝜑 → (∀𝑦𝐴 ¬ 𝑥𝐶𝑦 ↔ ∀𝑦𝐷 ¬ 𝑥𝐹𝑦))
73breqd 5081 . . . . . . 7 (𝜑 → (𝑦𝐶𝑥𝑦𝐹𝑥))
83breqd 5081 . . . . . . . 8 (𝜑 → (𝑦𝐶𝑧𝑦𝐹𝑧))
92, 8rexeqbidv 3328 . . . . . . 7 (𝜑 → (∃𝑧𝐴 𝑦𝐶𝑧 ↔ ∃𝑧𝐷 𝑦𝐹𝑧))
107, 9imbi12d 344 . . . . . 6 (𝜑 → ((𝑦𝐶𝑥 → ∃𝑧𝐴 𝑦𝐶𝑧) ↔ (𝑦𝐹𝑥 → ∃𝑧𝐷 𝑦𝐹𝑧)))
111, 10raleqbidv 3327 . . . . 5 (𝜑 → (∀𝑦𝐵 (𝑦𝐶𝑥 → ∃𝑧𝐴 𝑦𝐶𝑧) ↔ ∀𝑦𝐸 (𝑦𝐹𝑥 → ∃𝑧𝐷 𝑦𝐹𝑧)))
126, 11anbi12d 630 . . . 4 (𝜑 → ((∀𝑦𝐴 ¬ 𝑥𝐶𝑦 ∧ ∀𝑦𝐵 (𝑦𝐶𝑥 → ∃𝑧𝐴 𝑦𝐶𝑧)) ↔ (∀𝑦𝐷 ¬ 𝑥𝐹𝑦 ∧ ∀𝑦𝐸 (𝑦𝐹𝑥 → ∃𝑧𝐷 𝑦𝐹𝑧))))
131, 12rabeqbidv 3410 . . 3 (𝜑 → {𝑥𝐵 ∣ (∀𝑦𝐴 ¬ 𝑥𝐶𝑦 ∧ ∀𝑦𝐵 (𝑦𝐶𝑥 → ∃𝑧𝐴 𝑦𝐶𝑧))} = {𝑥𝐸 ∣ (∀𝑦𝐷 ¬ 𝑥𝐹𝑦 ∧ ∀𝑦𝐸 (𝑦𝐹𝑥 → ∃𝑧𝐷 𝑦𝐹𝑧))})
1413unieqd 4850 . 2 (𝜑 {𝑥𝐵 ∣ (∀𝑦𝐴 ¬ 𝑥𝐶𝑦 ∧ ∀𝑦𝐵 (𝑦𝐶𝑥 → ∃𝑧𝐴 𝑦𝐶𝑧))} = {𝑥𝐸 ∣ (∀𝑦𝐷 ¬ 𝑥𝐹𝑦 ∧ ∀𝑦𝐸 (𝑦𝐹𝑥 → ∃𝑧𝐷 𝑦𝐹𝑧))})
15 df-sup 9131 . 2 sup(𝐴, 𝐵, 𝐶) = {𝑥𝐵 ∣ (∀𝑦𝐴 ¬ 𝑥𝐶𝑦 ∧ ∀𝑦𝐵 (𝑦𝐶𝑥 → ∃𝑧𝐴 𝑦𝐶𝑧))}
16 df-sup 9131 . 2 sup(𝐷, 𝐸, 𝐹) = {𝑥𝐸 ∣ (∀𝑦𝐷 ¬ 𝑥𝐹𝑦 ∧ ∀𝑦𝐸 (𝑦𝐹𝑥 → ∃𝑧𝐷 𝑦𝐹𝑧))}
1714, 15, 163eqtr4g 2804 1 (𝜑 → sup(𝐴, 𝐵, 𝐶) = sup(𝐷, 𝐸, 𝐹))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395   = wceq 1539  wral 3063  wrex 3064  {crab 3067   cuni 4836   class class class wbr 5070  supcsup 9129
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-tru 1542  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-in 3890  df-ss 3900  df-uni 4837  df-br 5071  df-sup 9131
This theorem is referenced by:  infeq123d  9170  wlimeq12  33740  aomclem8  40802
  Copyright terms: Public domain W3C validator