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

Theorem opelopabsb 3997
Description: The law of concretion in terms of substitutions. (Contributed by NM, 30-Sep-2002.) (Revised by Mario Carneiro, 18-Nov-2016.)
Assertion
Ref Expression
opelopabsb (⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝐴 / 𝑥][𝐵 / 𝑦]𝜑)
Distinct variable groups:   𝑥,𝑦   𝑥,𝐵
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐴(𝑥,𝑦)   𝐵(𝑦)

Proof of Theorem opelopabsb
Dummy variables 𝑣 𝑢 𝑧 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elopab 3995 . . . 4 (⟨𝐴, 𝐵⟩ ∈ {⟨𝑢, 𝑣⟩ ∣ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑} ↔ ∃𝑢𝑣(⟨𝐴, 𝐵⟩ = ⟨𝑢, 𝑣⟩ ∧ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑))
2 simpl 102 . . . . . . . 8 ((⟨𝐴, 𝐵⟩ = ⟨𝑢, 𝑣⟩ ∧ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑) → ⟨𝐴, 𝐵⟩ = ⟨𝑢, 𝑣⟩)
32eqcomd 2045 . . . . . . 7 ((⟨𝐴, 𝐵⟩ = ⟨𝑢, 𝑣⟩ ∧ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑) → ⟨𝑢, 𝑣⟩ = ⟨𝐴, 𝐵⟩)
4 vex 2560 . . . . . . . 8 𝑢 ∈ V
5 vex 2560 . . . . . . . 8 𝑣 ∈ V
64, 5opth 3974 . . . . . . 7 (⟨𝑢, 𝑣⟩ = ⟨𝐴, 𝐵⟩ ↔ (𝑢 = 𝐴𝑣 = 𝐵))
73, 6sylib 127 . . . . . 6 ((⟨𝐴, 𝐵⟩ = ⟨𝑢, 𝑣⟩ ∧ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑) → (𝑢 = 𝐴𝑣 = 𝐵))
872eximi 1492 . . . . 5 (∃𝑢𝑣(⟨𝐴, 𝐵⟩ = ⟨𝑢, 𝑣⟩ ∧ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑) → ∃𝑢𝑣(𝑢 = 𝐴𝑣 = 𝐵))
9 eeanv 1807 . . . . . 6 (∃𝑢𝑣(𝑢 = 𝐴𝑣 = 𝐵) ↔ (∃𝑢 𝑢 = 𝐴 ∧ ∃𝑣 𝑣 = 𝐵))
10 isset 2561 . . . . . . 7 (𝐴 ∈ V ↔ ∃𝑢 𝑢 = 𝐴)
11 isset 2561 . . . . . . 7 (𝐵 ∈ V ↔ ∃𝑣 𝑣 = 𝐵)
1210, 11anbi12i 433 . . . . . 6 ((𝐴 ∈ V ∧ 𝐵 ∈ V) ↔ (∃𝑢 𝑢 = 𝐴 ∧ ∃𝑣 𝑣 = 𝐵))
139, 12bitr4i 176 . . . . 5 (∃𝑢𝑣(𝑢 = 𝐴𝑣 = 𝐵) ↔ (𝐴 ∈ V ∧ 𝐵 ∈ V))
148, 13sylib 127 . . . 4 (∃𝑢𝑣(⟨𝐴, 𝐵⟩ = ⟨𝑢, 𝑣⟩ ∧ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
151, 14sylbi 114 . . 3 (⟨𝐴, 𝐵⟩ ∈ {⟨𝑢, 𝑣⟩ ∣ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑} → (𝐴 ∈ V ∧ 𝐵 ∈ V))
16 nfv 1421 . . . 4 𝑢𝜑
17 nfv 1421 . . . 4 𝑣𝜑
18 nfs1v 1815 . . . 4 𝑥[𝑢 / 𝑥][𝑣 / 𝑦]𝜑
19 nfs1v 1815 . . . . 5 𝑦[𝑣 / 𝑦]𝜑
2019nfsbxy 1818 . . . 4 𝑦[𝑢 / 𝑥][𝑣 / 𝑦]𝜑
21 sbequ12 1654 . . . . 5 (𝑦 = 𝑣 → (𝜑 ↔ [𝑣 / 𝑦]𝜑))
22 sbequ12 1654 . . . . 5 (𝑥 = 𝑢 → ([𝑣 / 𝑦]𝜑 ↔ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑))
2321, 22sylan9bbr 436 . . . 4 ((𝑥 = 𝑢𝑦 = 𝑣) → (𝜑 ↔ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑))
2416, 17, 18, 20, 23cbvopab 3828 . . 3 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {⟨𝑢, 𝑣⟩ ∣ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑}
2515, 24eleq2s 2132 . 2 (⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} → (𝐴 ∈ V ∧ 𝐵 ∈ V))
26 sbcex 2772 . . 3 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑𝐴 ∈ V)
27 spesbc 2843 . . . 4 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑 → ∃𝑥[𝐵 / 𝑦]𝜑)
28 sbcex 2772 . . . . 5 ([𝐵 / 𝑦]𝜑𝐵 ∈ V)
2928exlimiv 1489 . . . 4 (∃𝑥[𝐵 / 𝑦]𝜑𝐵 ∈ V)
3027, 29syl 14 . . 3 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑𝐵 ∈ V)
3126, 30jca 290 . 2 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑 → (𝐴 ∈ V ∧ 𝐵 ∈ V))
32 opeq1 3549 . . . . 5 (𝑧 = 𝐴 → ⟨𝑧, 𝑤⟩ = ⟨𝐴, 𝑤⟩)
3332eleq1d 2106 . . . 4 (𝑧 = 𝐴 → (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ ⟨𝐴, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑}))
34 dfsbcq2 2767 . . . 4 (𝑧 = 𝐴 → ([𝑧 / 𝑥][𝑤 / 𝑦]𝜑[𝐴 / 𝑥][𝑤 / 𝑦]𝜑))
3533, 34bibi12d 224 . . 3 (𝑧 = 𝐴 → ((⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑) ↔ (⟨𝐴, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝐴 / 𝑥][𝑤 / 𝑦]𝜑)))
36 opeq2 3550 . . . . 5 (𝑤 = 𝐵 → ⟨𝐴, 𝑤⟩ = ⟨𝐴, 𝐵⟩)
3736eleq1d 2106 . . . 4 (𝑤 = 𝐵 → (⟨𝐴, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ ⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑}))
38 dfsbcq2 2767 . . . . 5 (𝑤 = 𝐵 → ([𝑤 / 𝑦]𝜑[𝐵 / 𝑦]𝜑))
3938sbcbidv 2817 . . . 4 (𝑤 = 𝐵 → ([𝐴 / 𝑥][𝑤 / 𝑦]𝜑[𝐴 / 𝑥][𝐵 / 𝑦]𝜑))
4037, 39bibi12d 224 . . 3 (𝑤 = 𝐵 → ((⟨𝐴, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝐴 / 𝑥][𝑤 / 𝑦]𝜑) ↔ (⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝐴 / 𝑥][𝐵 / 𝑦]𝜑)))
41 nfopab1 3826 . . . . . 6 𝑥{⟨𝑥, 𝑦⟩ ∣ 𝜑}
4241nfel2 2190 . . . . 5 𝑥𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑}
43 nfs1v 1815 . . . . 5 𝑥[𝑧 / 𝑥][𝑤 / 𝑦]𝜑
4442, 43nfbi 1481 . . . 4 𝑥(⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑)
45 opeq1 3549 . . . . . 6 (𝑥 = 𝑧 → ⟨𝑥, 𝑤⟩ = ⟨𝑧, 𝑤⟩)
4645eleq1d 2106 . . . . 5 (𝑥 = 𝑧 → (⟨𝑥, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ ⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑}))
47 sbequ12 1654 . . . . 5 (𝑥 = 𝑧 → ([𝑤 / 𝑦]𝜑 ↔ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑))
4846, 47bibi12d 224 . . . 4 (𝑥 = 𝑧 → ((⟨𝑥, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑤 / 𝑦]𝜑) ↔ (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑)))
49 nfopab2 3827 . . . . . . 7 𝑦{⟨𝑥, 𝑦⟩ ∣ 𝜑}
5049nfel2 2190 . . . . . 6 𝑦𝑥, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑}
51 nfs1v 1815 . . . . . 6 𝑦[𝑤 / 𝑦]𝜑
5250, 51nfbi 1481 . . . . 5 𝑦(⟨𝑥, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑤 / 𝑦]𝜑)
53 opeq2 3550 . . . . . . 7 (𝑦 = 𝑤 → ⟨𝑥, 𝑦⟩ = ⟨𝑥, 𝑤⟩)
5453eleq1d 2106 . . . . . 6 (𝑦 = 𝑤 → (⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ ⟨𝑥, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑}))
55 sbequ12 1654 . . . . . 6 (𝑦 = 𝑤 → (𝜑 ↔ [𝑤 / 𝑦]𝜑))
5654, 55bibi12d 224 . . . . 5 (𝑦 = 𝑤 → ((⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ 𝜑) ↔ (⟨𝑥, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑤 / 𝑦]𝜑)))
57 opabid 3994 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ 𝜑)
5852, 56, 57chvar 1640 . . . 4 (⟨𝑥, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑤 / 𝑦]𝜑)
5944, 48, 58chvar 1640 . . 3 (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑)
6035, 40, 59vtocl2g 2617 . 2 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝐴 / 𝑥][𝐵 / 𝑦]𝜑))
6125, 31, 60pm5.21nii 620 1 (⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝐴 / 𝑥][𝐵 / 𝑦]𝜑)
Colors of variables: wff set class
Syntax hints:  wa 97  wb 98   = wceq 1243  wex 1381  wcel 1393  [wsb 1645  Vcvv 2557  [wsbc 2764  cop 3378  {copab 3817
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-14 1405  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022  ax-sep 3875  ax-pow 3927  ax-pr 3944
This theorem depends on definitions:  df-bi 110  df-3an 887  df-tru 1246  df-nf 1350  df-sb 1646  df-eu 1903  df-mo 1904  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-rex 2312  df-v 2559  df-sbc 2765  df-un 2922  df-in 2924  df-ss 2931  df-pw 3361  df-sn 3381  df-pr 3382  df-op 3384  df-opab 3819
This theorem is referenced by:  brabsb  3998  opelopabaf  4010  opelopabf  4011  difopab  4469  isarep1  4985
  Copyright terms: Public domain W3C validator