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

Theorem eloprabi 7755
Description: A consequence of membership in an operation class abstraction, using ordered pair extractors. (Contributed by NM, 6-Nov-2006.) (Revised by David Abernethy, 19-Jun-2012.)
Hypotheses
Ref Expression
eloprabi.1 (𝑥 = (1st ‘(1st𝐴)) → (𝜑𝜓))
eloprabi.2 (𝑦 = (2nd ‘(1st𝐴)) → (𝜓𝜒))
eloprabi.3 (𝑧 = (2nd𝐴) → (𝜒𝜃))
Assertion
Ref Expression
eloprabi (𝐴 ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} → 𝜃)
Distinct variable groups:   𝑥,𝑦,𝑧,𝐴   𝜃,𝑥,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)   𝜓(𝑥,𝑦,𝑧)   𝜒(𝑥,𝑦,𝑧)

Proof of Theorem eloprabi
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 eqeq1 2825 . . . . . 6 (𝑤 = 𝐴 → (𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ↔ 𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩))
21anbi1d 631 . . . . 5 (𝑤 = 𝐴 → ((𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)))
323exbidv 1922 . . . 4 (𝑤 = 𝐴 → (∃𝑥𝑦𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ ∃𝑥𝑦𝑧(𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)))
4 df-oprab 7154 . . . 4 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {𝑤 ∣ ∃𝑥𝑦𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)}
53, 4elab2g 3667 . . 3 (𝐴 ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} → (𝐴 ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} ↔ ∃𝑥𝑦𝑧(𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)))
65ibi 269 . 2 (𝐴 ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} → ∃𝑥𝑦𝑧(𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑))
7 opex 5348 . . . . . . . . . . 11 𝑥, 𝑦⟩ ∈ V
8 vex 3497 . . . . . . . . . . 11 𝑧 ∈ V
97, 8op1std 7693 . . . . . . . . . 10 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (1st𝐴) = ⟨𝑥, 𝑦⟩)
109fveq2d 6668 . . . . . . . . 9 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (1st ‘(1st𝐴)) = (1st ‘⟨𝑥, 𝑦⟩))
11 vex 3497 . . . . . . . . . 10 𝑥 ∈ V
12 vex 3497 . . . . . . . . . 10 𝑦 ∈ V
1311, 12op1st 7691 . . . . . . . . 9 (1st ‘⟨𝑥, 𝑦⟩) = 𝑥
1410, 13syl6req 2873 . . . . . . . 8 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → 𝑥 = (1st ‘(1st𝐴)))
15 eloprabi.1 . . . . . . . 8 (𝑥 = (1st ‘(1st𝐴)) → (𝜑𝜓))
1614, 15syl 17 . . . . . . 7 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝜑𝜓))
179fveq2d 6668 . . . . . . . . 9 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (2nd ‘(1st𝐴)) = (2nd ‘⟨𝑥, 𝑦⟩))
1811, 12op2nd 7692 . . . . . . . . 9 (2nd ‘⟨𝑥, 𝑦⟩) = 𝑦
1917, 18syl6req 2873 . . . . . . . 8 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → 𝑦 = (2nd ‘(1st𝐴)))
20 eloprabi.2 . . . . . . . 8 (𝑦 = (2nd ‘(1st𝐴)) → (𝜓𝜒))
2119, 20syl 17 . . . . . . 7 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝜓𝜒))
227, 8op2ndd 7694 . . . . . . . . 9 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (2nd𝐴) = 𝑧)
2322eqcomd 2827 . . . . . . . 8 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → 𝑧 = (2nd𝐴))
24 eloprabi.3 . . . . . . . 8 (𝑧 = (2nd𝐴) → (𝜒𝜃))
2523, 24syl 17 . . . . . . 7 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝜒𝜃))
2616, 21, 253bitrd 307 . . . . . 6 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝜑𝜃))
2726biimpa 479 . . . . 5 ((𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) → 𝜃)
2827exlimiv 1927 . . . 4 (∃𝑧(𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) → 𝜃)
2928exlimiv 1927 . . 3 (∃𝑦𝑧(𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) → 𝜃)
3029exlimiv 1927 . 2 (∃𝑥𝑦𝑧(𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) → 𝜃)
316, 30syl 17 1 (𝐴 ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} → 𝜃)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1533  wex 1776  wcel 2110  cop 4566  cfv 6349  {coprab 7151  1st c1st 7681  2nd c2nd 7682
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-sep 5195  ax-nul 5202  ax-pow 5258  ax-pr 5321  ax-un 7455
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3772  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-sn 4561  df-pr 4563  df-op 4567  df-uni 4832  df-br 5059  df-opab 5121  df-mpt 5139  df-id 5454  df-xp 5555  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-rn 5560  df-iota 6308  df-fun 6351  df-fv 6357  df-oprab 7154  df-1st 7683  df-2nd 7684
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator