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

Theorem supeq123d 9209
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 5085 . . . . . . 7 (𝜑 → (𝑥𝐶𝑦𝑥𝐹𝑦))
54notbid 318 . . . . . 6 (𝜑 → (¬ 𝑥𝐶𝑦 ↔ ¬ 𝑥𝐹𝑦))
62, 5raleqbidv 3336 . . . . 5 (𝜑 → (∀𝑦𝐴 ¬ 𝑥𝐶𝑦 ↔ ∀𝑦𝐷 ¬ 𝑥𝐹𝑦))
73breqd 5085 . . . . . . 7 (𝜑 → (𝑦𝐶𝑥𝑦𝐹𝑥))
83breqd 5085 . . . . . . . 8 (𝜑 → (𝑦𝐶𝑧𝑦𝐹𝑧))
92, 8rexeqbidv 3337 . . . . . . 7 (𝜑 → (∃𝑧𝐴 𝑦𝐶𝑧 ↔ ∃𝑧𝐷 𝑦𝐹𝑧))
107, 9imbi12d 345 . . . . . 6 (𝜑 → ((𝑦𝐶𝑥 → ∃𝑧𝐴 𝑦𝐶𝑧) ↔ (𝑦𝐹𝑥 → ∃𝑧𝐷 𝑦𝐹𝑧)))
111, 10raleqbidv 3336 . . . . 5 (𝜑 → (∀𝑦𝐵 (𝑦𝐶𝑥 → ∃𝑧𝐴 𝑦𝐶𝑧) ↔ ∀𝑦𝐸 (𝑦𝐹𝑥 → ∃𝑧𝐷 𝑦𝐹𝑧)))
126, 11anbi12d 631 . . . 4 (𝜑 → ((∀𝑦𝐴 ¬ 𝑥𝐶𝑦 ∧ ∀𝑦𝐵 (𝑦𝐶𝑥 → ∃𝑧𝐴 𝑦𝐶𝑧)) ↔ (∀𝑦𝐷 ¬ 𝑥𝐹𝑦 ∧ ∀𝑦𝐸 (𝑦𝐹𝑥 → ∃𝑧𝐷 𝑦𝐹𝑧))))
131, 12rabeqbidv 3420 . . 3 (𝜑 → {𝑥𝐵 ∣ (∀𝑦𝐴 ¬ 𝑥𝐶𝑦 ∧ ∀𝑦𝐵 (𝑦𝐶𝑥 → ∃𝑧𝐴 𝑦𝐶𝑧))} = {𝑥𝐸 ∣ (∀𝑦𝐷 ¬ 𝑥𝐹𝑦 ∧ ∀𝑦𝐸 (𝑦𝐹𝑥 → ∃𝑧𝐷 𝑦𝐹𝑧))})
1413unieqd 4853 . 2 (𝜑 {𝑥𝐵 ∣ (∀𝑦𝐴 ¬ 𝑥𝐶𝑦 ∧ ∀𝑦𝐵 (𝑦𝐶𝑥 → ∃𝑧𝐴 𝑦𝐶𝑧))} = {𝑥𝐸 ∣ (∀𝑦𝐷 ¬ 𝑥𝐹𝑦 ∧ ∀𝑦𝐸 (𝑦𝐹𝑥 → ∃𝑧𝐷 𝑦𝐹𝑧))})
15 df-sup 9201 . 2 sup(𝐴, 𝐵, 𝐶) = {𝑥𝐵 ∣ (∀𝑦𝐴 ¬ 𝑥𝐶𝑦 ∧ ∀𝑦𝐵 (𝑦𝐶𝑥 → ∃𝑧𝐴 𝑦𝐶𝑧))}
16 df-sup 9201 . 2 sup(𝐷, 𝐸, 𝐹) = {𝑥𝐸 ∣ (∀𝑦𝐷 ¬ 𝑥𝐹𝑦 ∧ ∀𝑦𝐸 (𝑦𝐹𝑥 → ∃𝑧𝐷 𝑦𝐹𝑧))}
1714, 15, 163eqtr4g 2803 1 (𝜑 → sup(𝐴, 𝐵, 𝐶) = sup(𝐷, 𝐸, 𝐹))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396   = wceq 1539  wral 3064  wrex 3065  {crab 3068   cuni 4839   class class class wbr 5074  supcsup 9199
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 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-tru 1542  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-in 3894  df-ss 3904  df-uni 4840  df-br 5075  df-sup 9201
This theorem is referenced by:  infeq123d  9240  wlimeq12  33813  aomclem8  40886
  Copyright terms: Public domain W3C validator