Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  cnvoprabOLD Structured version   Visualization version   GIF version

Theorem cnvoprabOLD 30450
Description: The converse of a class abstraction of nested ordered pairs. Obsolete version of cnvoprab 7752 as of 16-Oct-2022, which has nonfreeness hypotheses instead of disjoint variable conditions. (Contributed by Thierry Arnoux, 17-Aug-2017.) (Proof modification is discouraged.) (New usage is discouraged.)
Hypotheses
Ref Expression
cnvoprabOLD.x 𝑥𝜓
cnvoprabOLD.y 𝑦𝜓
cnvoprabOLD.1 (𝑎 = ⟨𝑥, 𝑦⟩ → (𝜓𝜑))
cnvoprabOLD.2 (𝜓𝑎 ∈ (V × V))
Assertion
Ref Expression
cnvoprabOLD {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {⟨𝑧, 𝑎⟩ ∣ 𝜓}
Distinct variable groups:   𝑥,𝑎,𝑦,𝑧   𝜑,𝑎
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)   𝜓(𝑥,𝑦,𝑧,𝑎)

Proof of Theorem cnvoprabOLD
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 excom 2165 . . . . . 6 (∃𝑎𝑧(𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓) ↔ ∃𝑧𝑎(𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓))
2 nfv 1911 . . . . . . . . . . 11 𝑥 𝑤 = ⟨𝑎, 𝑧
3 cnvoprabOLD.x . . . . . . . . . . 11 𝑥𝜓
42, 3nfan 1896 . . . . . . . . . 10 𝑥(𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓)
54nfex 2339 . . . . . . . . 9 𝑥𝑎(𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓)
6 nfv 1911 . . . . . . . . . . . 12 𝑦 𝑤 = ⟨𝑎, 𝑧
7 cnvoprabOLD.y . . . . . . . . . . . 12 𝑦𝜓
86, 7nfan 1896 . . . . . . . . . . 11 𝑦(𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓)
98nfex 2339 . . . . . . . . . 10 𝑦𝑎(𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓)
10 opex 5348 . . . . . . . . . . 11 𝑥, 𝑦⟩ ∈ V
11 opeq1 4796 . . . . . . . . . . . . 13 (𝑎 = ⟨𝑥, 𝑦⟩ → ⟨𝑎, 𝑧⟩ = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩)
1211eqeq2d 2832 . . . . . . . . . . . 12 (𝑎 = ⟨𝑥, 𝑦⟩ → (𝑤 = ⟨𝑎, 𝑧⟩ ↔ 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩))
13 cnvoprabOLD.1 . . . . . . . . . . . 12 (𝑎 = ⟨𝑥, 𝑦⟩ → (𝜓𝜑))
1412, 13anbi12d 632 . . . . . . . . . . 11 (𝑎 = ⟨𝑥, 𝑦⟩ → ((𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓) ↔ (𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)))
1510, 14spcev 3606 . . . . . . . . . 10 ((𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) → ∃𝑎(𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓))
169, 15exlimi 2213 . . . . . . . . 9 (∃𝑦(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) → ∃𝑎(𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓))
175, 16exlimi 2213 . . . . . . . 8 (∃𝑥𝑦(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) → ∃𝑎(𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓))
18 cnvoprabOLD.2 . . . . . . . . . . 11 (𝜓𝑎 ∈ (V × V))
1918adantl 484 . . . . . . . . . 10 ((𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓) → 𝑎 ∈ (V × V))
20 fvex 6677 . . . . . . . . . . 11 (1st𝑎) ∈ V
21 fvex 6677 . . . . . . . . . . 11 (2nd𝑎) ∈ V
22 eqcom 2828 . . . . . . . . . . . . . . 15 ((1st𝑎) = 𝑥𝑥 = (1st𝑎))
23 eqcom 2828 . . . . . . . . . . . . . . 15 ((2nd𝑎) = 𝑦𝑦 = (2nd𝑎))
2422, 23anbi12i 628 . . . . . . . . . . . . . 14 (((1st𝑎) = 𝑥 ∧ (2nd𝑎) = 𝑦) ↔ (𝑥 = (1st𝑎) ∧ 𝑦 = (2nd𝑎)))
25 eqopi 7719 . . . . . . . . . . . . . 14 ((𝑎 ∈ (V × V) ∧ ((1st𝑎) = 𝑥 ∧ (2nd𝑎) = 𝑦)) → 𝑎 = ⟨𝑥, 𝑦⟩)
2624, 25sylan2br 596 . . . . . . . . . . . . 13 ((𝑎 ∈ (V × V) ∧ (𝑥 = (1st𝑎) ∧ 𝑦 = (2nd𝑎))) → 𝑎 = ⟨𝑥, 𝑦⟩)
2714bicomd 225 . . . . . . . . . . . . 13 (𝑎 = ⟨𝑥, 𝑦⟩ → ((𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ (𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓)))
2826, 27syl 17 . . . . . . . . . . . 12 ((𝑎 ∈ (V × V) ∧ (𝑥 = (1st𝑎) ∧ 𝑦 = (2nd𝑎))) → ((𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ (𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓)))
294, 8, 28spc2ed 3601 . . . . . . . . . . 11 ((𝑎 ∈ (V × V) ∧ ((1st𝑎) ∈ V ∧ (2nd𝑎) ∈ V)) → ((𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓) → ∃𝑥𝑦(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)))
3020, 21, 29mpanr12 703 . . . . . . . . . 10 (𝑎 ∈ (V × V) → ((𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓) → ∃𝑥𝑦(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)))
3119, 30mpcom 38 . . . . . . . . 9 ((𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓) → ∃𝑥𝑦(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑))
3231exlimiv 1927 . . . . . . . 8 (∃𝑎(𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓) → ∃𝑥𝑦(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑))
3317, 32impbii 211 . . . . . . 7 (∃𝑥𝑦(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ ∃𝑎(𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓))
3433exbii 1844 . . . . . 6 (∃𝑧𝑥𝑦(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ ∃𝑧𝑎(𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓))
35 exrot3 2168 . . . . . 6 (∃𝑧𝑥𝑦(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ ∃𝑥𝑦𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑))
361, 34, 353bitr2ri 302 . . . . 5 (∃𝑥𝑦𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ ∃𝑎𝑧(𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓))
3736abbii 2886 . . . 4 {𝑤 ∣ ∃𝑥𝑦𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)} = {𝑤 ∣ ∃𝑎𝑧(𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓)}
38 df-oprab 7154 . . . 4 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {𝑤 ∣ ∃𝑥𝑦𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)}
39 df-opab 5121 . . . 4 {⟨𝑎, 𝑧⟩ ∣ 𝜓} = {𝑤 ∣ ∃𝑎𝑧(𝑤 = ⟨𝑎, 𝑧⟩ ∧ 𝜓)}
4037, 38, 393eqtr4ri 2855 . . 3 {⟨𝑎, 𝑧⟩ ∣ 𝜓} = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}
4140cnveqi 5739 . 2 {⟨𝑎, 𝑧⟩ ∣ 𝜓} = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}
42 cnvopab 5991 . 2 {⟨𝑎, 𝑧⟩ ∣ 𝜓} = {⟨𝑧, 𝑎⟩ ∣ 𝜓}
4341, 42eqtr3i 2846 1 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {⟨𝑧, 𝑎⟩ ∣ 𝜓}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1533  wex 1776  wnf 1780  wcel 2110  {cab 2799  Vcvv 3494  cop 4566  {copab 5120   × cxp 5547  ccnv 5548  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