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

Theorem abrexco 7289
Description: Composition of two image maps 𝐶(𝑦) and 𝐵(𝑤). (Contributed by NM, 27-May-2013.)
Hypotheses
Ref Expression
abrexco.1 𝐵 ∈ V
abrexco.2 (𝑦 = 𝐵 → 𝐶 = 𝐷)
Assertion
Ref Expression
abrexco {𝑥 ∣ ∃𝑦 ∈ {𝑧 ∣ ∃𝑤 ∈ 𝐴 𝑧 = 𝐵}𝑥 = 𝐶} = {𝑥 ∣ ∃𝑤 ∈ 𝐴 𝑥 = 𝐷}
Distinct variable groups:   𝑦,𝐴,𝑧   𝑦,𝐵,𝑧   𝑤,𝐶   𝑦,𝐷   𝑥,𝑤,𝑦   𝑧,𝑤
Allowed substitution hints:   𝐴(𝑥, 𝑤)   𝐵(𝑥, 𝑤)   𝐶(𝑥, 𝑦, 𝑧)   𝐷(𝑥, 𝑧, 𝑤)

Proof of Theorem abrexco
StepHypRef Expression
1 df-rex 3097 . . . . 5 (∃𝑦 ∈ {𝑧 ∣ ∃𝑤 ∈ 𝐴 𝑧 = 𝐵}𝑥 = 𝐶 ↔ ∃𝑦(𝑦 ∈ {𝑧 ∣ ∃𝑤 ∈ 𝐴 𝑧 = 𝐵} ∧ 𝑥 = 𝐶))
2 vex 3460 . . . . . . . . 9 𝑦 ∈ V
3 eqeq1 2773 . . . . . . . . . 10 (𝑧 = 𝑦 → (𝑧 = 𝐵 ↔ 𝑦 = 𝐵))
43rexbidv 3196 . . . . . . . . 9 (𝑧 = 𝑦 → (∃𝑤 ∈ 𝐴 𝑧 = 𝐵 ↔ ∃𝑤 ∈ 𝐴 𝑦 = 𝐵))
52, 4elab 3638 . . . . . . . 8 (𝑦 ∈ {𝑧 ∣ ∃𝑤 ∈ 𝐴 𝑧 = 𝐵} ↔ ∃𝑤 ∈ 𝐴 𝑦 = 𝐵)
65anbi1i 636 . . . . . . 7 ((𝑦 ∈ {𝑧 ∣ ∃𝑤 ∈ 𝐴 𝑧 = 𝐵} ∧ 𝑥 = 𝐶) ↔ (∃𝑤 ∈ 𝐴 𝑦 = 𝐵 ∧ 𝑥 = 𝐶))
7 r19.41v 3202 . . . . . . 7 (∃𝑤 ∈ 𝐴 (𝑦 = 𝐵 ∧ 𝑥 = 𝐶) ↔ (∃𝑤 ∈ 𝐴 𝑦 = 𝐵 ∧ 𝑥 = 𝐶))
86, 7bitr4i 281 . . . . . 6 ((𝑦 ∈ {𝑧 ∣ ∃𝑤 ∈ 𝐴 𝑧 = 𝐵} ∧ 𝑥 = 𝐶) ↔ ∃𝑤 ∈ 𝐴 (𝑦 = 𝐵 ∧ 𝑥 = 𝐶))
98exbii 1883 . . . . 5 (∃𝑦(𝑦 ∈ {𝑧 ∣ ∃𝑤 ∈ 𝐴 𝑧 = 𝐵} ∧ 𝑥 = 𝐶) ↔ ∃𝑦∃𝑤 ∈ 𝐴 (𝑦 = 𝐵 ∧ 𝑥 = 𝐶))
101, 9bitri 278 . . . 4 (∃𝑦 ∈ {𝑧 ∣ ∃𝑤 ∈ 𝐴 𝑧 = 𝐵}𝑥 = 𝐶 ↔ ∃𝑦∃𝑤 ∈ 𝐴 (𝑦 = 𝐵 ∧ 𝑥 = 𝐶))
11 rexcom4 3296 . . . 4 (∃𝑤 ∈ 𝐴 ∃𝑦(𝑦 = 𝐵 ∧ 𝑥 = 𝐶) ↔ ∃𝑦∃𝑤 ∈ 𝐴 (𝑦 = 𝐵 ∧ 𝑥 = 𝐶))
1210, 11bitr4i 281 . . 3 (∃𝑦 ∈ {𝑧 ∣ ∃𝑤 ∈ 𝐴 𝑧 = 𝐵}𝑥 = 𝐶 ↔ ∃𝑤 ∈ 𝐴 ∃𝑦(𝑦 = 𝐵 ∧ 𝑥 = 𝐶))
13 abrexco.1 . . . . 5 𝐵 ∈ V
14 abrexco.2 . . . . . 6 (𝑦 = 𝐵 → 𝐶 = 𝐷)
1514eqeq2d 2780 . . . . 5 (𝑦 = 𝐵 → (𝑥 = 𝐶 ↔ 𝑥 = 𝐷))
1613, 15ceqsexv 3504 . . . 4 (∃𝑦(𝑦 = 𝐵 ∧ 𝑥 = 𝐶) ↔ 𝑥 = 𝐷)
1716rexbii 3119 . . 3 (∃𝑤 ∈ 𝐴 ∃𝑦(𝑦 = 𝐵 ∧ 𝑥 = 𝐶) ↔ ∃𝑤 ∈ 𝐴 𝑥 = 𝐷)
1812, 17bitri 278 . 2 (∃𝑦 ∈ {𝑧 ∣ ∃𝑤 ∈ 𝐴 𝑧 = 𝐵}𝑥 = 𝐶 ↔ ∃𝑤 ∈ 𝐴 𝑥 = 𝐷)
1918abbii 2836 1 {𝑥 ∣ ∃𝑦 ∈ {𝑧 ∣ ∃𝑤 ∈ 𝐴 𝑧 = 𝐵}𝑥 = 𝐶} = {𝑥 ∣ ∃𝑤 ∈ 𝐴 𝑥 = 𝐷}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572  ∃wex 1814   ∈ wcel 2151  {cab 2747  ∃wrex 3096  Vcvv 3456
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-11 2201  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1575  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-rex 3097  df-v 3458
This theorem is used by:  rankcf  10911  sylow1lem2  19881  sylow3lem1  19909  restco  23560
  Copyright terms: Public domain W3C validator