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

Theorem opabex3 6101
Description: Existence of an ordered pair abstraction. (Contributed by Jeff Madsen, 2-Sep-2009.)
Hypotheses
Ref Expression
opabex3.1 𝐴 ∈ V
opabex3.2 (𝑥𝐴 → {𝑦𝜑} ∈ V)
Assertion
Ref Expression
opabex3 {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝜑)} ∈ V
Distinct variable group:   𝑥,𝐴,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)

Proof of Theorem opabex3
Dummy variables 𝑣 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 19.42v 1899 . . . . . 6 (∃𝑦(𝑥𝐴 ∧ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)) ↔ (𝑥𝐴 ∧ ∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)))
2 an12 556 . . . . . . 7 ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝜑)) ↔ (𝑥𝐴 ∧ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)))
32exbii 1598 . . . . . 6 (∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝜑)) ↔ ∃𝑦(𝑥𝐴 ∧ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)))
4 elxp 4628 . . . . . . . 8 (𝑧 ∈ ({𝑥} × {𝑦𝜑}) ↔ ∃𝑣𝑤(𝑧 = ⟨𝑣, 𝑤⟩ ∧ (𝑣 ∈ {𝑥} ∧ 𝑤 ∈ {𝑦𝜑})))
5 excom 1657 . . . . . . . . 9 (∃𝑣𝑤(𝑧 = ⟨𝑣, 𝑤⟩ ∧ (𝑣 ∈ {𝑥} ∧ 𝑤 ∈ {𝑦𝜑})) ↔ ∃𝑤𝑣(𝑧 = ⟨𝑣, 𝑤⟩ ∧ (𝑣 ∈ {𝑥} ∧ 𝑤 ∈ {𝑦𝜑})))
6 an12 556 . . . . . . . . . . . . 13 ((𝑧 = ⟨𝑣, 𝑤⟩ ∧ (𝑣 ∈ {𝑥} ∧ 𝑤 ∈ {𝑦𝜑})) ↔ (𝑣 ∈ {𝑥} ∧ (𝑧 = ⟨𝑣, 𝑤⟩ ∧ 𝑤 ∈ {𝑦𝜑})))
7 velsn 3600 . . . . . . . . . . . . . 14 (𝑣 ∈ {𝑥} ↔ 𝑣 = 𝑥)
87anbi1i 455 . . . . . . . . . . . . 13 ((𝑣 ∈ {𝑥} ∧ (𝑧 = ⟨𝑣, 𝑤⟩ ∧ 𝑤 ∈ {𝑦𝜑})) ↔ (𝑣 = 𝑥 ∧ (𝑧 = ⟨𝑣, 𝑤⟩ ∧ 𝑤 ∈ {𝑦𝜑})))
96, 8bitri 183 . . . . . . . . . . . 12 ((𝑧 = ⟨𝑣, 𝑤⟩ ∧ (𝑣 ∈ {𝑥} ∧ 𝑤 ∈ {𝑦𝜑})) ↔ (𝑣 = 𝑥 ∧ (𝑧 = ⟨𝑣, 𝑤⟩ ∧ 𝑤 ∈ {𝑦𝜑})))
109exbii 1598 . . . . . . . . . . 11 (∃𝑣(𝑧 = ⟨𝑣, 𝑤⟩ ∧ (𝑣 ∈ {𝑥} ∧ 𝑤 ∈ {𝑦𝜑})) ↔ ∃𝑣(𝑣 = 𝑥 ∧ (𝑧 = ⟨𝑣, 𝑤⟩ ∧ 𝑤 ∈ {𝑦𝜑})))
11 vex 2733 . . . . . . . . . . . 12 𝑥 ∈ V
12 opeq1 3765 . . . . . . . . . . . . . 14 (𝑣 = 𝑥 → ⟨𝑣, 𝑤⟩ = ⟨𝑥, 𝑤⟩)
1312eqeq2d 2182 . . . . . . . . . . . . 13 (𝑣 = 𝑥 → (𝑧 = ⟨𝑣, 𝑤⟩ ↔ 𝑧 = ⟨𝑥, 𝑤⟩))
1413anbi1d 462 . . . . . . . . . . . 12 (𝑣 = 𝑥 → ((𝑧 = ⟨𝑣, 𝑤⟩ ∧ 𝑤 ∈ {𝑦𝜑}) ↔ (𝑧 = ⟨𝑥, 𝑤⟩ ∧ 𝑤 ∈ {𝑦𝜑})))
1511, 14ceqsexv 2769 . . . . . . . . . . 11 (∃𝑣(𝑣 = 𝑥 ∧ (𝑧 = ⟨𝑣, 𝑤⟩ ∧ 𝑤 ∈ {𝑦𝜑})) ↔ (𝑧 = ⟨𝑥, 𝑤⟩ ∧ 𝑤 ∈ {𝑦𝜑}))
1610, 15bitri 183 . . . . . . . . . 10 (∃𝑣(𝑧 = ⟨𝑣, 𝑤⟩ ∧ (𝑣 ∈ {𝑥} ∧ 𝑤 ∈ {𝑦𝜑})) ↔ (𝑧 = ⟨𝑥, 𝑤⟩ ∧ 𝑤 ∈ {𝑦𝜑}))
1716exbii 1598 . . . . . . . . 9 (∃𝑤𝑣(𝑧 = ⟨𝑣, 𝑤⟩ ∧ (𝑣 ∈ {𝑥} ∧ 𝑤 ∈ {𝑦𝜑})) ↔ ∃𝑤(𝑧 = ⟨𝑥, 𝑤⟩ ∧ 𝑤 ∈ {𝑦𝜑}))
185, 17bitri 183 . . . . . . . 8 (∃𝑣𝑤(𝑧 = ⟨𝑣, 𝑤⟩ ∧ (𝑣 ∈ {𝑥} ∧ 𝑤 ∈ {𝑦𝜑})) ↔ ∃𝑤(𝑧 = ⟨𝑥, 𝑤⟩ ∧ 𝑤 ∈ {𝑦𝜑}))
19 nfv 1521 . . . . . . . . . 10 𝑦 𝑧 = ⟨𝑥, 𝑤
20 nfsab1 2160 . . . . . . . . . 10 𝑦 𝑤 ∈ {𝑦𝜑}
2119, 20nfan 1558 . . . . . . . . 9 𝑦(𝑧 = ⟨𝑥, 𝑤⟩ ∧ 𝑤 ∈ {𝑦𝜑})
22 nfv 1521 . . . . . . . . 9 𝑤(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)
23 opeq2 3766 . . . . . . . . . . 11 (𝑤 = 𝑦 → ⟨𝑥, 𝑤⟩ = ⟨𝑥, 𝑦⟩)
2423eqeq2d 2182 . . . . . . . . . 10 (𝑤 = 𝑦 → (𝑧 = ⟨𝑥, 𝑤⟩ ↔ 𝑧 = ⟨𝑥, 𝑦⟩))
25 df-clab 2157 . . . . . . . . . . 11 (𝑤 ∈ {𝑦𝜑} ↔ [𝑤 / 𝑦]𝜑)
26 sbequ12 1764 . . . . . . . . . . . 12 (𝑦 = 𝑤 → (𝜑 ↔ [𝑤 / 𝑦]𝜑))
2726equcoms 1701 . . . . . . . . . . 11 (𝑤 = 𝑦 → (𝜑 ↔ [𝑤 / 𝑦]𝜑))
2825, 27bitr4id 198 . . . . . . . . . 10 (𝑤 = 𝑦 → (𝑤 ∈ {𝑦𝜑} ↔ 𝜑))
2924, 28anbi12d 470 . . . . . . . . 9 (𝑤 = 𝑦 → ((𝑧 = ⟨𝑥, 𝑤⟩ ∧ 𝑤 ∈ {𝑦𝜑}) ↔ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)))
3021, 22, 29cbvex 1749 . . . . . . . 8 (∃𝑤(𝑧 = ⟨𝑥, 𝑤⟩ ∧ 𝑤 ∈ {𝑦𝜑}) ↔ ∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑))
314, 18, 303bitri 205 . . . . . . 7 (𝑧 ∈ ({𝑥} × {𝑦𝜑}) ↔ ∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑))
3231anbi2i 454 . . . . . 6 ((𝑥𝐴𝑧 ∈ ({𝑥} × {𝑦𝜑})) ↔ (𝑥𝐴 ∧ ∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)))
331, 3, 323bitr4ri 212 . . . . 5 ((𝑥𝐴𝑧 ∈ ({𝑥} × {𝑦𝜑})) ↔ ∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝜑)))
3433exbii 1598 . . . 4 (∃𝑥(𝑥𝐴𝑧 ∈ ({𝑥} × {𝑦𝜑})) ↔ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝜑)))
35 eliun 3877 . . . . 5 (𝑧 𝑥𝐴 ({𝑥} × {𝑦𝜑}) ↔ ∃𝑥𝐴 𝑧 ∈ ({𝑥} × {𝑦𝜑}))
36 df-rex 2454 . . . . 5 (∃𝑥𝐴 𝑧 ∈ ({𝑥} × {𝑦𝜑}) ↔ ∃𝑥(𝑥𝐴𝑧 ∈ ({𝑥} × {𝑦𝜑})))
3735, 36bitri 183 . . . 4 (𝑧 𝑥𝐴 ({𝑥} × {𝑦𝜑}) ↔ ∃𝑥(𝑥𝐴𝑧 ∈ ({𝑥} × {𝑦𝜑})))
38 elopab 4243 . . . 4 (𝑧 ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝜑)} ↔ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝜑)))
3934, 37, 383bitr4i 211 . . 3 (𝑧 𝑥𝐴 ({𝑥} × {𝑦𝜑}) ↔ 𝑧 ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝜑)})
4039eqriv 2167 . 2 𝑥𝐴 ({𝑥} × {𝑦𝜑}) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝜑)}
41 opabex3.1 . . 3 𝐴 ∈ V
42 snexg 4170 . . . . . 6 (𝑥 ∈ V → {𝑥} ∈ V)
4311, 42ax-mp 5 . . . . 5 {𝑥} ∈ V
44 opabex3.2 . . . . 5 (𝑥𝐴 → {𝑦𝜑} ∈ V)
45 xpexg 4725 . . . . 5 (({𝑥} ∈ V ∧ {𝑦𝜑} ∈ V) → ({𝑥} × {𝑦𝜑}) ∈ V)
4643, 44, 45sylancr 412 . . . 4 (𝑥𝐴 → ({𝑥} × {𝑦𝜑}) ∈ V)
4746rgen 2523 . . 3 𝑥𝐴 ({𝑥} × {𝑦𝜑}) ∈ V
48 iunexg 6098 . . 3 ((𝐴 ∈ V ∧ ∀𝑥𝐴 ({𝑥} × {𝑦𝜑}) ∈ V) → 𝑥𝐴 ({𝑥} × {𝑦𝜑}) ∈ V)
4941, 47, 48mp2an 424 . 2 𝑥𝐴 ({𝑥} × {𝑦𝜑}) ∈ V
5040, 49eqeltrri 2244 1 {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝜑)} ∈ V
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1348  wex 1485  [wsb 1755  wcel 2141  {cab 2156  wral 2448  wrex 2449  Vcvv 2730  {csn 3583  cop 3586   ciun 3873  {copab 4049   × cxp 4609
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 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-coll 4104  ax-sep 4107  ax-pow 4160  ax-pr 4194  ax-un 4418
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-rex 2454  df-reu 2455  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-iun 3875  df-br 3990  df-opab 4051  df-mpt 4052  df-id 4278  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator