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

Theorem opelopabsb 4182
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 4180 . . . 4 (⟨𝐴, 𝐵⟩ ∈ {⟨𝑢, 𝑣⟩ ∣ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑} ↔ ∃𝑢𝑣(⟨𝐴, 𝐵⟩ = ⟨𝑢, 𝑣⟩ ∧ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑))
2 simpl 108 . . . . . . . 8 ((⟨𝐴, 𝐵⟩ = ⟨𝑢, 𝑣⟩ ∧ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑) → ⟨𝐴, 𝐵⟩ = ⟨𝑢, 𝑣⟩)
32eqcomd 2145 . . . . . . 7 ((⟨𝐴, 𝐵⟩ = ⟨𝑢, 𝑣⟩ ∧ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑) → ⟨𝑢, 𝑣⟩ = ⟨𝐴, 𝐵⟩)
4 vex 2689 . . . . . . . 8 𝑢 ∈ V
5 vex 2689 . . . . . . . 8 𝑣 ∈ V
64, 5opth 4159 . . . . . . 7 (⟨𝑢, 𝑣⟩ = ⟨𝐴, 𝐵⟩ ↔ (𝑢 = 𝐴𝑣 = 𝐵))
73, 6sylib 121 . . . . . 6 ((⟨𝐴, 𝐵⟩ = ⟨𝑢, 𝑣⟩ ∧ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑) → (𝑢 = 𝐴𝑣 = 𝐵))
872eximi 1580 . . . . 5 (∃𝑢𝑣(⟨𝐴, 𝐵⟩ = ⟨𝑢, 𝑣⟩ ∧ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑) → ∃𝑢𝑣(𝑢 = 𝐴𝑣 = 𝐵))
9 eeanv 1904 . . . . . 6 (∃𝑢𝑣(𝑢 = 𝐴𝑣 = 𝐵) ↔ (∃𝑢 𝑢 = 𝐴 ∧ ∃𝑣 𝑣 = 𝐵))
10 isset 2692 . . . . . . 7 (𝐴 ∈ V ↔ ∃𝑢 𝑢 = 𝐴)
11 isset 2692 . . . . . . 7 (𝐵 ∈ V ↔ ∃𝑣 𝑣 = 𝐵)
1210, 11anbi12i 455 . . . . . 6 ((𝐴 ∈ V ∧ 𝐵 ∈ V) ↔ (∃𝑢 𝑢 = 𝐴 ∧ ∃𝑣 𝑣 = 𝐵))
139, 12bitr4i 186 . . . . 5 (∃𝑢𝑣(𝑢 = 𝐴𝑣 = 𝐵) ↔ (𝐴 ∈ V ∧ 𝐵 ∈ V))
148, 13sylib 121 . . . 4 (∃𝑢𝑣(⟨𝐴, 𝐵⟩ = ⟨𝑢, 𝑣⟩ ∧ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
151, 14sylbi 120 . . 3 (⟨𝐴, 𝐵⟩ ∈ {⟨𝑢, 𝑣⟩ ∣ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑} → (𝐴 ∈ V ∧ 𝐵 ∈ V))
16 nfv 1508 . . . 4 𝑢𝜑
17 nfv 1508 . . . 4 𝑣𝜑
18 nfs1v 1912 . . . 4 𝑥[𝑢 / 𝑥][𝑣 / 𝑦]𝜑
19 nfs1v 1912 . . . . 5 𝑦[𝑣 / 𝑦]𝜑
2019nfsbxy 1915 . . . 4 𝑦[𝑢 / 𝑥][𝑣 / 𝑦]𝜑
21 sbequ12 1744 . . . . 5 (𝑦 = 𝑣 → (𝜑 ↔ [𝑣 / 𝑦]𝜑))
22 sbequ12 1744 . . . . 5 (𝑥 = 𝑢 → ([𝑣 / 𝑦]𝜑 ↔ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑))
2321, 22sylan9bbr 458 . . . 4 ((𝑥 = 𝑢𝑦 = 𝑣) → (𝜑 ↔ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑))
2416, 17, 18, 20, 23cbvopab 3999 . . 3 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {⟨𝑢, 𝑣⟩ ∣ [𝑢 / 𝑥][𝑣 / 𝑦]𝜑}
2515, 24eleq2s 2234 . 2 (⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} → (𝐴 ∈ V ∧ 𝐵 ∈ V))
26 sbcex 2917 . . 3 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑𝐴 ∈ V)
27 spesbc 2994 . . . 4 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑 → ∃𝑥[𝐵 / 𝑦]𝜑)
28 sbcex 2917 . . . . 5 ([𝐵 / 𝑦]𝜑𝐵 ∈ V)
2928exlimiv 1577 . . . 4 (∃𝑥[𝐵 / 𝑦]𝜑𝐵 ∈ V)
3027, 29syl 14 . . 3 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑𝐵 ∈ V)
3126, 30jca 304 . 2 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑 → (𝐴 ∈ V ∧ 𝐵 ∈ V))
32 opeq1 3705 . . . . 5 (𝑧 = 𝐴 → ⟨𝑧, 𝑤⟩ = ⟨𝐴, 𝑤⟩)
3332eleq1d 2208 . . . 4 (𝑧 = 𝐴 → (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ ⟨𝐴, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑}))
34 dfsbcq2 2912 . . . 4 (𝑧 = 𝐴 → ([𝑧 / 𝑥][𝑤 / 𝑦]𝜑[𝐴 / 𝑥][𝑤 / 𝑦]𝜑))
3533, 34bibi12d 234 . . 3 (𝑧 = 𝐴 → ((⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑) ↔ (⟨𝐴, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝐴 / 𝑥][𝑤 / 𝑦]𝜑)))
36 opeq2 3706 . . . . 5 (𝑤 = 𝐵 → ⟨𝐴, 𝑤⟩ = ⟨𝐴, 𝐵⟩)
3736eleq1d 2208 . . . 4 (𝑤 = 𝐵 → (⟨𝐴, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ ⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑}))
38 dfsbcq2 2912 . . . . 5 (𝑤 = 𝐵 → ([𝑤 / 𝑦]𝜑[𝐵 / 𝑦]𝜑))
3938sbcbidv 2967 . . . 4 (𝑤 = 𝐵 → ([𝐴 / 𝑥][𝑤 / 𝑦]𝜑[𝐴 / 𝑥][𝐵 / 𝑦]𝜑))
4037, 39bibi12d 234 . . 3 (𝑤 = 𝐵 → ((⟨𝐴, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝐴 / 𝑥][𝑤 / 𝑦]𝜑) ↔ (⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝐴 / 𝑥][𝐵 / 𝑦]𝜑)))
41 nfopab1 3997 . . . . . 6 𝑥{⟨𝑥, 𝑦⟩ ∣ 𝜑}
4241nfel2 2294 . . . . 5 𝑥𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑}
43 nfs1v 1912 . . . . 5 𝑥[𝑧 / 𝑥][𝑤 / 𝑦]𝜑
4442, 43nfbi 1568 . . . 4 𝑥(⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑)
45 opeq1 3705 . . . . . 6 (𝑥 = 𝑧 → ⟨𝑥, 𝑤⟩ = ⟨𝑧, 𝑤⟩)
4645eleq1d 2208 . . . . 5 (𝑥 = 𝑧 → (⟨𝑥, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ ⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑}))
47 sbequ12 1744 . . . . 5 (𝑥 = 𝑧 → ([𝑤 / 𝑦]𝜑 ↔ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑))
4846, 47bibi12d 234 . . . 4 (𝑥 = 𝑧 → ((⟨𝑥, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑤 / 𝑦]𝜑) ↔ (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑)))
49 nfopab2 3998 . . . . . . 7 𝑦{⟨𝑥, 𝑦⟩ ∣ 𝜑}
5049nfel2 2294 . . . . . 6 𝑦𝑥, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑}
51 nfs1v 1912 . . . . . 6 𝑦[𝑤 / 𝑦]𝜑
5250, 51nfbi 1568 . . . . 5 𝑦(⟨𝑥, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑤 / 𝑦]𝜑)
53 opeq2 3706 . . . . . . 7 (𝑦 = 𝑤 → ⟨𝑥, 𝑦⟩ = ⟨𝑥, 𝑤⟩)
5453eleq1d 2208 . . . . . 6 (𝑦 = 𝑤 → (⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ ⟨𝑥, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑}))
55 sbequ12 1744 . . . . . 6 (𝑦 = 𝑤 → (𝜑 ↔ [𝑤 / 𝑦]𝜑))
5654, 55bibi12d 234 . . . . 5 (𝑦 = 𝑤 → ((⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ 𝜑) ↔ (⟨𝑥, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑤 / 𝑦]𝜑)))
57 opabid 4179 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ 𝜑)
5852, 56, 57chvar 1730 . . . 4 (⟨𝑥, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑤 / 𝑦]𝜑)
5944, 48, 58chvar 1730 . . 3 (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑)
6035, 40, 59vtocl2g 2750 . 2 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝐴 / 𝑥][𝐵 / 𝑦]𝜑))
6125, 31, 60pm5.21nii 693 1 (⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝐴 / 𝑥][𝐵 / 𝑦]𝜑)
Colors of variables: wff set class
Syntax hints:  wa 103  wb 104   = wceq 1331  wex 1468  wcel 1480  [wsb 1735  Vcvv 2686  [wsbc 2909  cop 3530  {copab 3988
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 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2121  ax-sep 4046  ax-pow 4098  ax-pr 4131
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-nf 1437  df-sb 1736  df-eu 2002  df-mo 2003  df-clab 2126  df-cleq 2132  df-clel 2135  df-nfc 2270  df-rex 2422  df-v 2688  df-sbc 2910  df-un 3075  df-in 3077  df-ss 3084  df-pw 3512  df-sn 3533  df-pr 3534  df-op 3536  df-opab 3990
This theorem is referenced by:  brabsb  4183  opelopabaf  4195  opelopabf  4196  difopab  4672  isarep1  5209
  Copyright terms: Public domain W3C validator