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

Theorem opelopabsb 4245
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 4243 . . . 4 (⟨𝐴, 𝐵⟩ ∈ {⟨𝑢, 𝑣⟩ ∣ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑} ↔ ∃𝑢𝑣(⟨𝐴, 𝐵⟩ = ⟨𝑢, 𝑣⟩ ∧ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑))
2 simpl 108 . . . . . . . 8 ((⟨𝐴, 𝐵⟩ = ⟨𝑢, 𝑣⟩ ∧ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑) → ⟨𝐴, 𝐵⟩ = ⟨𝑢, 𝑣⟩)
32eqcomd 2176 . . . . . . 7 ((⟨𝐴, 𝐵⟩ = ⟨𝑢, 𝑣⟩ ∧ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑) → ⟨𝑢, 𝑣⟩ = ⟨𝐴, 𝐵⟩)
4 vex 2733 . . . . . . . 8 𝑢 ∈ V
5 vex 2733 . . . . . . . 8 𝑣 ∈ V
64, 5opth 4222 . . . . . . 7 (⟨𝑢, 𝑣⟩ = ⟨𝐴, 𝐵⟩ ↔ (𝑢 = 𝐴𝑣 = 𝐵))
73, 6sylib 121 . . . . . 6 ((⟨𝐴, 𝐵⟩ = ⟨𝑢, 𝑣⟩ ∧ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑) → (𝑢 = 𝐴𝑣 = 𝐵))
872eximi 1594 . . . . 5 (∃𝑢𝑣(⟨𝐴, 𝐵⟩ = ⟨𝑢, 𝑣⟩ ∧ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑) → ∃𝑢𝑣(𝑢 = 𝐴𝑣 = 𝐵))
9 eeanv 1925 . . . . . 6 (∃𝑢𝑣(𝑢 = 𝐴𝑣 = 𝐵) ↔ (∃𝑢 𝑢 = 𝐴 ∧ ∃𝑣 𝑣 = 𝐵))
10 isset 2736 . . . . . . 7 (𝐴 ∈ V ↔ ∃𝑢 𝑢 = 𝐴)
11 isset 2736 . . . . . . 7 (𝐵 ∈ V ↔ ∃𝑣 𝑣 = 𝐵)
1210, 11anbi12i 457 . . . . . 6 ((𝐴 ∈ V ∧ 𝐵 ∈ V) ↔ (∃𝑢 𝑢 = 𝐴 ∧ ∃𝑣 𝑣 = 𝐵))
139, 12bitr4i 186 . . . . 5 (∃𝑢𝑣(𝑢 = 𝐴𝑣 = 𝐵) ↔ (𝐴 ∈ V ∧ 𝐵 ∈ V))
148, 13sylib 121 . . . 4 (∃𝑢𝑣(⟨𝐴, 𝐵⟩ = ⟨𝑢, 𝑣⟩ ∧ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
151, 14sylbi 120 . . 3 (⟨𝐴, 𝐵⟩ ∈ {⟨𝑢, 𝑣⟩ ∣ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑} → (𝐴 ∈ V ∧ 𝐵 ∈ V))
16 nfv 1521 . . . 4 𝑢𝜑
17 nfv 1521 . . . 4 𝑣𝜑
18 nfs1v 1932 . . . 4 𝑥[𝑢 / 𝑥][𝑣 / 𝑦]𝜑
19 nfs1v 1932 . . . . 5 𝑦[𝑣 / 𝑦]𝜑
2019nfsbxy 1935 . . . 4 𝑦[𝑢 / 𝑥][𝑣 / 𝑦]𝜑
21 sbequ12 1764 . . . . 5 (𝑦 = 𝑣 → (𝜑 ↔ [𝑣 / 𝑦]𝜑))
22 sbequ12 1764 . . . . 5 (𝑥 = 𝑢 → ([𝑣 / 𝑦]𝜑 ↔ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑))
2321, 22sylan9bbr 460 . . . 4 ((𝑥 = 𝑢𝑦 = 𝑣) → (𝜑 ↔ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑))
2416, 17, 18, 20, 23cbvopab 4060 . . 3 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {⟨𝑢, 𝑣⟩ ∣ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑}
2515, 24eleq2s 2265 . 2 (⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} → (𝐴 ∈ V ∧ 𝐵 ∈ V))
26 sbcex 2963 . . 3 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑𝐴 ∈ V)
27 spesbc 3040 . . . 4 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑 → ∃𝑥[𝐵 / 𝑦]𝜑)
28 sbcex 2963 . . . . 5 ([𝐵 / 𝑦]𝜑𝐵 ∈ V)
2928exlimiv 1591 . . . 4 (∃𝑥[𝐵 / 𝑦]𝜑𝐵 ∈ V)
3027, 29syl 14 . . 3 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑𝐵 ∈ V)
3126, 30jca 304 . 2 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑 → (𝐴 ∈ V ∧ 𝐵 ∈ V))
32 opeq1 3765 . . . . 5 (𝑧 = 𝐴 → ⟨𝑧, 𝑤⟩ = ⟨𝐴, 𝑤⟩)
3332eleq1d 2239 . . . 4 (𝑧 = 𝐴 → (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ ⟨𝐴, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑}))
34 dfsbcq2 2958 . . . 4 (𝑧 = 𝐴 → ([𝑧 / 𝑥][𝑤 / 𝑦]𝜑[𝐴 / 𝑥][𝑤 / 𝑦]𝜑))
3533, 34bibi12d 234 . . 3 (𝑧 = 𝐴 → ((⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑) ↔ (⟨𝐴, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝐴 / 𝑥][𝑤 / 𝑦]𝜑)))
36 opeq2 3766 . . . . 5 (𝑤 = 𝐵 → ⟨𝐴, 𝑤⟩ = ⟨𝐴, 𝐵⟩)
3736eleq1d 2239 . . . 4 (𝑤 = 𝐵 → (⟨𝐴, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ ⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑}))
38 dfsbcq2 2958 . . . . 5 (𝑤 = 𝐵 → ([𝑤 / 𝑦]𝜑[𝐵 / 𝑦]𝜑))
3938sbcbidv 3013 . . . 4 (𝑤 = 𝐵 → ([𝐴 / 𝑥][𝑤 / 𝑦]𝜑[𝐴 / 𝑥][𝐵 / 𝑦]𝜑))
4037, 39bibi12d 234 . . 3 (𝑤 = 𝐵 → ((⟨𝐴, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝐴 / 𝑥][𝑤 / 𝑦]𝜑) ↔ (⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝐴 / 𝑥][𝐵 / 𝑦]𝜑)))
41 nfopab1 4058 . . . . . 6 𝑥{⟨𝑥, 𝑦⟩ ∣ 𝜑}
4241nfel2 2325 . . . . 5 𝑥𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑}
43 nfs1v 1932 . . . . 5 𝑥[𝑧 / 𝑥][𝑤 / 𝑦]𝜑
4442, 43nfbi 1582 . . . 4 𝑥(⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑)
45 opeq1 3765 . . . . . 6 (𝑥 = 𝑧 → ⟨𝑥, 𝑤⟩ = ⟨𝑧, 𝑤⟩)
4645eleq1d 2239 . . . . 5 (𝑥 = 𝑧 → (⟨𝑥, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ ⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑}))
47 sbequ12 1764 . . . . 5 (𝑥 = 𝑧 → ([𝑤 / 𝑦]𝜑 ↔ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑))
4846, 47bibi12d 234 . . . 4 (𝑥 = 𝑧 → ((⟨𝑥, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑤 / 𝑦]𝜑) ↔ (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑)))
49 nfopab2 4059 . . . . . . 7 𝑦{⟨𝑥, 𝑦⟩ ∣ 𝜑}
5049nfel2 2325 . . . . . 6 𝑦𝑥, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑}
51 nfs1v 1932 . . . . . 6 𝑦[𝑤 / 𝑦]𝜑
5250, 51nfbi 1582 . . . . 5 𝑦(⟨𝑥, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑤 / 𝑦]𝜑)
53 opeq2 3766 . . . . . . 7 (𝑦 = 𝑤 → ⟨𝑥, 𝑦⟩ = ⟨𝑥, 𝑤⟩)
5453eleq1d 2239 . . . . . 6 (𝑦 = 𝑤 → (⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ ⟨𝑥, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑}))
55 sbequ12 1764 . . . . . 6 (𝑦 = 𝑤 → (𝜑 ↔ [𝑤 / 𝑦]𝜑))
5654, 55bibi12d 234 . . . . 5 (𝑦 = 𝑤 → ((⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ 𝜑) ↔ (⟨𝑥, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑤 / 𝑦]𝜑)))
57 opabid 4242 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ 𝜑)
5852, 56, 57chvar 1750 . . . 4 (⟨𝑥, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑤 / 𝑦]𝜑)
5944, 48, 58chvar 1750 . . 3 (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑)
6035, 40, 59vtocl2g 2794 . 2 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝐴 / 𝑥][𝐵 / 𝑦]𝜑))
6125, 31, 60pm5.21nii 699 1 (⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝐴 / 𝑥][𝐵 / 𝑦]𝜑)
Colors of variables: wff set class
Syntax hints:  wa 103  wb 104   = wceq 1348  wex 1485  [wsb 1755  wcel 2141  Vcvv 2730  [wsbc 2955  cop 3586  {copab 4049
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-14 2144  ax-ext 2152  ax-sep 4107  ax-pow 4160  ax-pr 4194
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-rex 2454  df-v 2732  df-sbc 2956  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-opab 4051
This theorem is referenced by:  brabsb  4246  opelopabaf  4258  opelopabf  4259  difopab  4744  isarep1  5284
  Copyright terms: Public domain W3C validator