Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  xpab Structured version   Visualization version   GIF version

Theorem xpab 33252
Description: Cross product of two class abstractions. (Contributed by Scott Fenton, 19-Aug-2024.)
Assertion
Ref Expression
xpab ({𝑥𝜑} × {𝑦𝜓}) = {⟨𝑥, 𝑦⟩ ∣ (𝜑𝜓)}
Distinct variable groups:   𝜑,𝑦   𝜓,𝑥   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)

Proof of Theorem xpab
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relxp 5543 . 2 Rel ({𝑥𝜑} × {𝑦𝜓})
2 relopabv 5665 . 2 Rel {⟨𝑥, 𝑦⟩ ∣ (𝜑𝜓)}
3 df-clab 2717 . . . . 5 (𝑎 ∈ {𝑥𝜑} ↔ [𝑎 / 𝑥]𝜑)
4 df-clab 2717 . . . . 5 (𝑏 ∈ {𝑦𝜓} ↔ [𝑏 / 𝑦]𝜓)
53, 4anbi12i 630 . . . 4 ((𝑎 ∈ {𝑥𝜑} ∧ 𝑏 ∈ {𝑦𝜓}) ↔ ([𝑎 / 𝑥]𝜑 ∧ [𝑏 / 𝑦]𝜓))
6 sban 2090 . . . . . . 7 ([𝑏 / 𝑦](𝜑𝜓) ↔ ([𝑏 / 𝑦]𝜑 ∧ [𝑏 / 𝑦]𝜓))
7 sbsbc 3684 . . . . . . 7 ([𝑏 / 𝑦](𝜑𝜓) ↔ [𝑏 / 𝑦](𝜑𝜓))
8 sbv 2098 . . . . . . . 8 ([𝑏 / 𝑦]𝜑𝜑)
98anbi1i 627 . . . . . . 7 (([𝑏 / 𝑦]𝜑 ∧ [𝑏 / 𝑦]𝜓) ↔ (𝜑 ∧ [𝑏 / 𝑦]𝜓))
106, 7, 93bitr3i 304 . . . . . 6 ([𝑏 / 𝑦](𝜑𝜓) ↔ (𝜑 ∧ [𝑏 / 𝑦]𝜓))
1110sbbii 2086 . . . . 5 ([𝑎 / 𝑥][𝑏 / 𝑦](𝜑𝜓) ↔ [𝑎 / 𝑥](𝜑 ∧ [𝑏 / 𝑦]𝜓))
12 sbsbc 3684 . . . . 5 ([𝑎 / 𝑥][𝑏 / 𝑦](𝜑𝜓) ↔ [𝑎 / 𝑥][𝑏 / 𝑦](𝜑𝜓))
13 sban 2090 . . . . . 6 ([𝑎 / 𝑥](𝜑 ∧ [𝑏 / 𝑦]𝜓) ↔ ([𝑎 / 𝑥]𝜑 ∧ [𝑎 / 𝑥][𝑏 / 𝑦]𝜓))
14 sbv 2098 . . . . . . 7 ([𝑎 / 𝑥][𝑏 / 𝑦]𝜓 ↔ [𝑏 / 𝑦]𝜓)
1514anbi2i 626 . . . . . 6 (([𝑎 / 𝑥]𝜑 ∧ [𝑎 / 𝑥][𝑏 / 𝑦]𝜓) ↔ ([𝑎 / 𝑥]𝜑 ∧ [𝑏 / 𝑦]𝜓))
1613, 15bitri 278 . . . . 5 ([𝑎 / 𝑥](𝜑 ∧ [𝑏 / 𝑦]𝜓) ↔ ([𝑎 / 𝑥]𝜑 ∧ [𝑏 / 𝑦]𝜓))
1711, 12, 163bitr3i 304 . . . 4 ([𝑎 / 𝑥][𝑏 / 𝑦](𝜑𝜓) ↔ ([𝑎 / 𝑥]𝜑 ∧ [𝑏 / 𝑦]𝜓))
185, 17bitr4i 281 . . 3 ((𝑎 ∈ {𝑥𝜑} ∧ 𝑏 ∈ {𝑦𝜓}) ↔ [𝑎 / 𝑥][𝑏 / 𝑦](𝜑𝜓))
19 brxp 5572 . . 3 (𝑎({𝑥𝜑} × {𝑦𝜓})𝑏 ↔ (𝑎 ∈ {𝑥𝜑} ∧ 𝑏 ∈ {𝑦𝜓}))
20 eqid 2738 . . . 4 {⟨𝑥, 𝑦⟩ ∣ (𝜑𝜓)} = {⟨𝑥, 𝑦⟩ ∣ (𝜑𝜓)}
2120brabsb 5386 . . 3 (𝑎{⟨𝑥, 𝑦⟩ ∣ (𝜑𝜓)}𝑏[𝑎 / 𝑥][𝑏 / 𝑦](𝜑𝜓))
2218, 19, 213bitr4i 306 . 2 (𝑎({𝑥𝜑} × {𝑦𝜓})𝑏𝑎{⟨𝑥, 𝑦⟩ ∣ (𝜑𝜓)}𝑏)
231, 2, 22eqbrriv 5635 1 ({𝑥𝜑} × {𝑦𝜓}) = {⟨𝑥, 𝑦⟩ ∣ (𝜑𝜓)}
Colors of variables: wff setvar class
Syntax hints:  wa 399   = wceq 1542  [wsb 2074  wcel 2114  {cab 2716  [wsbc 3680   class class class wbr 5030  {copab 5092   × cxp 5523
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2710  ax-sep 5167  ax-nul 5174  ax-pr 5296
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-ral 3058  df-rex 3059  df-v 3400  df-sbc 3681  df-dif 3846  df-un 3848  df-in 3850  df-ss 3860  df-nul 4212  df-if 4415  df-sn 4517  df-pr 4519  df-op 4523  df-br 5031  df-opab 5093  df-xp 5531  df-rel 5532
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator