ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  eloprabi GIF version

Theorem eloprabi 6156
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 2171 . . . . . 6 (𝑤 = 𝐴 → (𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ↔ 𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩))
21anbi1d 461 . . . . 5 (𝑤 = 𝐴 → ((𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)))
323exbidv 1856 . . . 4 (𝑤 = 𝐴 → (∃𝑥𝑦𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ ∃𝑥𝑦𝑧(𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)))
4 df-oprab 5840 . . . 4 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {𝑤 ∣ ∃𝑥𝑦𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)}
53, 4elab2g 2868 . . 3 (𝐴 ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} → (𝐴 ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} ↔ ∃𝑥𝑦𝑧(𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)))
65ibi 175 . 2 (𝐴 ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} → ∃𝑥𝑦𝑧(𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑))
7 vex 2724 . . . . . . . . . . . 12 𝑥 ∈ V
8 vex 2724 . . . . . . . . . . . 12 𝑦 ∈ V
97, 8opex 4201 . . . . . . . . . . 11 𝑥, 𝑦⟩ ∈ V
10 vex 2724 . . . . . . . . . . 11 𝑧 ∈ V
119, 10op1std 6108 . . . . . . . . . 10 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (1st𝐴) = ⟨𝑥, 𝑦⟩)
1211fveq2d 5484 . . . . . . . . 9 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (1st ‘(1st𝐴)) = (1st ‘⟨𝑥, 𝑦⟩))
137, 8op1st 6106 . . . . . . . . 9 (1st ‘⟨𝑥, 𝑦⟩) = 𝑥
1412, 13eqtr2di 2214 . . . . . . . 8 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → 𝑥 = (1st ‘(1st𝐴)))
15 eloprabi.1 . . . . . . . 8 (𝑥 = (1st ‘(1st𝐴)) → (𝜑𝜓))
1614, 15syl 14 . . . . . . 7 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝜑𝜓))
1711fveq2d 5484 . . . . . . . . 9 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (2nd ‘(1st𝐴)) = (2nd ‘⟨𝑥, 𝑦⟩))
187, 8op2nd 6107 . . . . . . . . 9 (2nd ‘⟨𝑥, 𝑦⟩) = 𝑦
1917, 18eqtr2di 2214 . . . . . . . 8 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → 𝑦 = (2nd ‘(1st𝐴)))
20 eloprabi.2 . . . . . . . 8 (𝑦 = (2nd ‘(1st𝐴)) → (𝜓𝜒))
2119, 20syl 14 . . . . . . 7 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝜓𝜒))
229, 10op2ndd 6109 . . . . . . . . 9 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (2nd𝐴) = 𝑧)
2322eqcomd 2170 . . . . . . . 8 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → 𝑧 = (2nd𝐴))
24 eloprabi.3 . . . . . . . 8 (𝑧 = (2nd𝐴) → (𝜒𝜃))
2523, 24syl 14 . . . . . . 7 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝜒𝜃))
2616, 21, 253bitrd 213 . . . . . 6 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝜑𝜃))
2726biimpa 294 . . . . 5 ((𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) → 𝜃)
2827exlimiv 1585 . . . 4 (∃𝑧(𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) → 𝜃)
2928exlimiv 1585 . . 3 (∃𝑦𝑧(𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) → 𝜃)
3029exlimiv 1585 . 2 (∃𝑥𝑦𝑧(𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) → 𝜃)
316, 30syl 14 1 (𝐴 ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} → 𝜃)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1342  wex 1479  wcel 2135  cop 3573  cfv 5182  {coprab 5837  1st c1st 6098  2nd c2nd 6099
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1434  ax-7 1435  ax-gen 1436  ax-ie1 1480  ax-ie2 1481  ax-8 1491  ax-10 1492  ax-11 1493  ax-i12 1494  ax-bndl 1496  ax-4 1497  ax-17 1513  ax-i9 1517  ax-ial 1521  ax-i5r 1522  ax-13 2137  ax-14 2138  ax-ext 2146  ax-sep 4094  ax-pow 4147  ax-pr 4181  ax-un 4405
This theorem depends on definitions:  df-bi 116  df-3an 969  df-tru 1345  df-nf 1448  df-sb 1750  df-eu 2016  df-mo 2017  df-clab 2151  df-cleq 2157  df-clel 2160  df-nfc 2295  df-ral 2447  df-rex 2448  df-v 2723  df-sbc 2947  df-un 3115  df-in 3117  df-ss 3124  df-pw 3555  df-sn 3576  df-pr 3577  df-op 3579  df-uni 3784  df-br 3977  df-opab 4038  df-mpt 4039  df-id 4265  df-xp 4604  df-rel 4605  df-cnv 4606  df-co 4607  df-dm 4608  df-rn 4609  df-iota 5147  df-fun 5184  df-fv 5190  df-oprab 5840  df-1st 6100  df-2nd 6101
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator