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

Theorem funinsn 5237
Description: A function based on the singleton of an ordered pair. Unlike funsng 5234, this holds even if 𝐴 or 𝐵 is a proper class. (Contributed by Jim Kingdon, 17-Apr-2022.)
Assertion
Ref Expression
funinsn Fun ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊))

Proof of Theorem funinsn
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 inss2 3343 . . . 4 ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊)) ⊆ (𝑉 × 𝑊)
2 xpss 4712 . . . 4 (𝑉 × 𝑊) ⊆ (V × V)
31, 2sstri 3151 . . 3 ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊)) ⊆ (V × V)
4 df-rel 4611 . . 3 (Rel ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊)) ↔ ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊)) ⊆ (V × V))
53, 4mpbir 145 . 2 Rel ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊))
6 elin 3305 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊)) ↔ (⟨𝑥, 𝑦⟩ ∈ {⟨𝐴, 𝐵⟩} ∧ ⟨𝑥, 𝑦⟩ ∈ (𝑉 × 𝑊)))
76simplbi 272 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊)) → ⟨𝑥, 𝑦⟩ ∈ {⟨𝐴, 𝐵⟩})
8 elsni 3594 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ {⟨𝐴, 𝐵⟩} → ⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩)
97, 8syl 14 . . . . . . 7 (⟨𝑥, 𝑦⟩ ∈ ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊)) → ⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩)
10 vex 2729 . . . . . . . 8 𝑥 ∈ V
11 vex 2729 . . . . . . . 8 𝑦 ∈ V
1210, 11opth 4215 . . . . . . 7 (⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩ ↔ (𝑥 = 𝐴𝑦 = 𝐵))
139, 12sylib 121 . . . . . 6 (⟨𝑥, 𝑦⟩ ∈ ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊)) → (𝑥 = 𝐴𝑦 = 𝐵))
1413simprd 113 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊)) → 𝑦 = 𝐵)
15 elin 3305 . . . . . . . . 9 (⟨𝑥, 𝑧⟩ ∈ ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊)) ↔ (⟨𝑥, 𝑧⟩ ∈ {⟨𝐴, 𝐵⟩} ∧ ⟨𝑥, 𝑧⟩ ∈ (𝑉 × 𝑊)))
1615simplbi 272 . . . . . . . 8 (⟨𝑥, 𝑧⟩ ∈ ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊)) → ⟨𝑥, 𝑧⟩ ∈ {⟨𝐴, 𝐵⟩})
17 elsni 3594 . . . . . . . 8 (⟨𝑥, 𝑧⟩ ∈ {⟨𝐴, 𝐵⟩} → ⟨𝑥, 𝑧⟩ = ⟨𝐴, 𝐵⟩)
1816, 17syl 14 . . . . . . 7 (⟨𝑥, 𝑧⟩ ∈ ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊)) → ⟨𝑥, 𝑧⟩ = ⟨𝐴, 𝐵⟩)
19 vex 2729 . . . . . . . 8 𝑧 ∈ V
2010, 19opth 4215 . . . . . . 7 (⟨𝑥, 𝑧⟩ = ⟨𝐴, 𝐵⟩ ↔ (𝑥 = 𝐴𝑧 = 𝐵))
2118, 20sylib 121 . . . . . 6 (⟨𝑥, 𝑧⟩ ∈ ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊)) → (𝑥 = 𝐴𝑧 = 𝐵))
2221simprd 113 . . . . 5 (⟨𝑥, 𝑧⟩ ∈ ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊)) → 𝑧 = 𝐵)
23 eqtr3 2185 . . . . 5 ((𝑦 = 𝐵𝑧 = 𝐵) → 𝑦 = 𝑧)
2414, 22, 23syl2an 287 . . . 4 ((⟨𝑥, 𝑦⟩ ∈ ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊)) ∧ ⟨𝑥, 𝑧⟩ ∈ ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊))) → 𝑦 = 𝑧)
2524gen2 1438 . . 3 𝑦𝑧((⟨𝑥, 𝑦⟩ ∈ ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊)) ∧ ⟨𝑥, 𝑧⟩ ∈ ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊))) → 𝑦 = 𝑧)
2625ax-gen 1437 . 2 𝑥𝑦𝑧((⟨𝑥, 𝑦⟩ ∈ ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊)) ∧ ⟨𝑥, 𝑧⟩ ∈ ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊))) → 𝑦 = 𝑧)
27 dffun4 5199 . 2 (Fun ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊)) ↔ (Rel ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊)) ∧ ∀𝑥𝑦𝑧((⟨𝑥, 𝑦⟩ ∈ ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊)) ∧ ⟨𝑥, 𝑧⟩ ∈ ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊))) → 𝑦 = 𝑧)))
285, 26, 27mpbir2an 932 1 Fun ({⟨𝐴, 𝐵⟩} ∩ (𝑉 × 𝑊))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wal 1341   = wceq 1343  wcel 2136  Vcvv 2726  cin 3115  wss 3116  {csn 3576  cop 3579   × cxp 4602  Rel wrel 4609  Fun wfun 5182
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 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-pow 4153  ax-pr 4187
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-v 2728  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-br 3983  df-opab 4044  df-id 4271  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-fun 5190
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator