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 36731
Description: Cartesian 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 5679 . 2 Rel ({𝑥 ∣ 𝜑} × {𝑦 ∣ 𝜓})
2 relopab 5815 . 2 Rel {⟨𝑥, 𝑦⟩ ∣ (𝜑 ∧ 𝜓)}
3 df-clab 2748 . . . . 5 (𝑎 ∈ {𝑥 ∣ 𝜑} ↔ [𝑎 / 𝑥]𝜑)
4 df-clab 2748 . . . . 5 (𝑏 ∈ {𝑦 ∣ 𝜓} ↔ [𝑏 / 𝑦]𝜓)
53, 4anbi12i 640 . . . 4 ((𝑎 ∈ {𝑥 ∣ 𝜑} ∧ 𝑏 ∈ {𝑦 ∣ 𝜓}) ↔ ([𝑎 / 𝑥]𝜑 ∧ [𝑏 / 𝑦]𝜓))
6 sban 2123 . . . . . . 7 ([𝑏 / 𝑦](𝜑 ∧ 𝜓) ↔ ([𝑏 / 𝑦]𝜑 ∧ [𝑏 / 𝑦]𝜓))
7 sbsbc 3748 . . . . . . 7 ([𝑏 / 𝑦](𝜑 ∧ 𝜓) ↔ [𝑏 / 𝑦](𝜑 ∧ 𝜓))
8 sbv 2131 . . . . . . . 8 ([𝑏 / 𝑦]𝜑 ↔ 𝜑)
98anbi1i 636 . . . . . . 7 (([𝑏 / 𝑦]𝜑 ∧ [𝑏 / 𝑦]𝜓) ↔ (𝜑 ∧ [𝑏 / 𝑦]𝜓))
106, 7, 93bitr3i 304 . . . . . 6 ([𝑏 / 𝑦](𝜑 ∧ 𝜓) ↔ (𝜑 ∧ [𝑏 / 𝑦]𝜓))
1110sbbii 2118 . . . . 5 ([𝑎 / 𝑥][𝑏 / 𝑦](𝜑 ∧ 𝜓) ↔ [𝑎 / 𝑥](𝜑 ∧ [𝑏 / 𝑦]𝜓))
12 sbsbc 3748 . . . . 5 ([𝑎 / 𝑥][𝑏 / 𝑦](𝜑 ∧ 𝜓) ↔ [𝑎 / 𝑥][𝑏 / 𝑦](𝜑 ∧ 𝜓))
13 sban 2123 . . . . . 6 ([𝑎 / 𝑥](𝜑 ∧ [𝑏 / 𝑦]𝜓) ↔ ([𝑎 / 𝑥]𝜑 ∧ [𝑎 / 𝑥][𝑏 / 𝑦]𝜓))
14 sbv 2131 . . . . . . 7 ([𝑎 / 𝑥][𝑏 / 𝑦]𝜓 ↔ [𝑏 / 𝑦]𝜓)
1514anbi2i 635 . . . . . 6 (([𝑎 / 𝑥]𝜑 ∧ [𝑎 / 𝑥][𝑏 / 𝑦]𝜓) ↔ ([𝑎 / 𝑥]𝜑 ∧ [𝑏 / 𝑦]𝜓))
1613, 15bitri 278 . . . . 5 ([𝑎 / 𝑥](𝜑 ∧ [𝑏 / 𝑦]𝜓) ↔ ([𝑎 / 𝑥]𝜑 ∧ [𝑏 / 𝑦]𝜓))
1711, 12, 163bitr3i 304 . . . 4 ([𝑎 / 𝑥][𝑏 / 𝑦](𝜑 ∧ 𝜓) ↔ ([𝑎 / 𝑥]𝜑 ∧ [𝑏 / 𝑦]𝜓))
185, 17bitr4i 281 . . 3 ((𝑎 ∈ {𝑥 ∣ 𝜑} ∧ 𝑏 ∈ {𝑦 ∣ 𝜓}) ↔ [𝑎 / 𝑥][𝑏 / 𝑦](𝜑 ∧ 𝜓))
19 brxp 5710 . . 3 (𝑎({𝑥 ∣ 𝜑} × {𝑦 ∣ 𝜓})𝑏 ↔ (𝑎 ∈ {𝑥 ∣ 𝜑} ∧ 𝑏 ∈ {𝑦 ∣ 𝜓}))
20 eqid 2769 . . . 4 {⟨𝑥, 𝑦⟩ ∣ (𝜑 ∧ 𝜓)} = {⟨𝑥, 𝑦⟩ ∣ (𝜑 ∧ 𝜓)}
2120brabsb 5515 . . 3 (𝑎{⟨𝑥, 𝑦⟩ ∣ (𝜑 ∧ 𝜓)}𝑏 ↔ [𝑎 / 𝑥][𝑏 / 𝑦](𝜑 ∧ 𝜓))
2218, 19, 213bitr4i 306 . 2 (𝑎({𝑥 ∣ 𝜑} × {𝑦 ∣ 𝜓})𝑏 ↔ 𝑎{⟨𝑥, 𝑦⟩ ∣ (𝜑 ∧ 𝜓)}𝑏)
231, 2, 22eqbrriv 5779 1 ({𝑥 ∣ 𝜑} × {𝑦 ∣ 𝜓}) = {⟨𝑥, 𝑦⟩ ∣ (𝜑 ∧ 𝜓)}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1572  [wsb 2104   ∈ wcel 2151  {cab 2747  [wsbc 3744   class class class wbr 5111  {copab 5176   × cxp 5659
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-sbc 3745  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-br 5112  df-opab 5177  df-xp 5667  df-rel 5668
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator