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 36669
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 5673 . 2 Rel ({𝑥 ∣ 𝜑} × {𝑦 ∣ 𝜓})
2 relopab 5808 . 2 Rel {⟨𝑥, 𝑦⟩ ∣ (𝜑 ∧ 𝜓)}
3 df-clab 2742 . . . . 5 (𝑎 ∈ {𝑥 ∣ 𝜑} ↔ [𝑎 / 𝑥]𝜑)
4 df-clab 2742 . . . . 5 (𝑏 ∈ {𝑦 ∣ 𝜓} ↔ [𝑏 / 𝑦]𝜓)
53, 4anbi12i 640 . . . 4 ((𝑎 ∈ {𝑥 ∣ 𝜑} ∧ 𝑏 ∈ {𝑦 ∣ 𝜓}) ↔ ([𝑎 / 𝑥]𝜑 ∧ [𝑏 / 𝑦]𝜓))
6 sban 2119 . . . . . . 7 ([𝑏 / 𝑦](𝜑 ∧ 𝜓) ↔ ([𝑏 / 𝑦]𝜑 ∧ [𝑏 / 𝑦]𝜓))
7 sbsbc 3746 . . . . . . 7 ([𝑏 / 𝑦](𝜑 ∧ 𝜓) ↔ [𝑏 / 𝑦](𝜑 ∧ 𝜓))
8 sbv 2127 . . . . . . . 8 ([𝑏 / 𝑦]𝜑 ↔ 𝜑)
98anbi1i 636 . . . . . . 7 (([𝑏 / 𝑦]𝜑 ∧ [𝑏 / 𝑦]𝜓) ↔ (𝜑 ∧ [𝑏 / 𝑦]𝜓))
106, 7, 93bitr3i 304 . . . . . 6 ([𝑏 / 𝑦](𝜑 ∧ 𝜓) ↔ (𝜑 ∧ [𝑏 / 𝑦]𝜓))
1110sbbii 2115 . . . . 5 ([𝑎 / 𝑥][𝑏 / 𝑦](𝜑 ∧ 𝜓) ↔ [𝑎 / 𝑥](𝜑 ∧ [𝑏 / 𝑦]𝜓))
12 sbsbc 3746 . . . . 5 ([𝑎 / 𝑥][𝑏 / 𝑦](𝜑 ∧ 𝜓) ↔ [𝑎 / 𝑥][𝑏 / 𝑦](𝜑 ∧ 𝜓))
13 sban 2119 . . . . . 6 ([𝑎 / 𝑥](𝜑 ∧ [𝑏 / 𝑦]𝜓) ↔ ([𝑎 / 𝑥]𝜑 ∧ [𝑎 / 𝑥][𝑏 / 𝑦]𝜓))
14 sbv 2127 . . . . . . 7 ([𝑎 / 𝑥][𝑏 / 𝑦]𝜓 ↔ [𝑏 / 𝑦]𝜓)
1514anbi2i 635 . . . . . 6 (([𝑎 / 𝑥]𝜑 ∧ [𝑎 / 𝑥][𝑏 / 𝑦]𝜓) ↔ ([𝑎 / 𝑥]𝜑 ∧ [𝑏 / 𝑦]𝜓))
1613, 15bitri 278 . . . . 5 ([𝑎 / 𝑥](𝜑 ∧ [𝑏 / 𝑦]𝜓) ↔ ([𝑎 / 𝑥]𝜑 ∧ [𝑏 / 𝑦]𝜓))
1711, 12, 163bitr3i 304 . . . 4 ([𝑎 / 𝑥][𝑏 / 𝑦](𝜑 ∧ 𝜓) ↔ ([𝑎 / 𝑥]𝜑 ∧ [𝑏 / 𝑦]𝜓))
185, 17bitr4i 281 . . 3 ((𝑎 ∈ {𝑥 ∣ 𝜑} ∧ 𝑏 ∈ {𝑦 ∣ 𝜓}) ↔ [𝑎 / 𝑥][𝑏 / 𝑦](𝜑 ∧ 𝜓))
19 brxp 5704 . . 3 (𝑎({𝑥 ∣ 𝜑} × {𝑦 ∣ 𝜓})𝑏 ↔ (𝑎 ∈ {𝑥 ∣ 𝜑} ∧ 𝑏 ∈ {𝑦 ∣ 𝜓}))
20 eqid 2763 . . . 4 {⟨𝑥, 𝑦⟩ ∣ (𝜑 ∧ 𝜓)} = {⟨𝑥, 𝑦⟩ ∣ (𝜑 ∧ 𝜓)}
2120brabsb 5509 . . 3 (𝑎{⟨𝑥, 𝑦⟩ ∣ (𝜑 ∧ 𝜓)}𝑏 ↔ [𝑎 / 𝑥][𝑏 / 𝑦](𝜑 ∧ 𝜓))
2218, 19, 213bitr4i 306 . 2 (𝑎({𝑥 ∣ 𝜑} × {𝑦 ∣ 𝜓})𝑏 ↔ 𝑎{⟨𝑥, 𝑦⟩ ∣ (𝜑 ∧ 𝜓)}𝑏)
231, 2, 22eqbrriv 5772 1 ({𝑥 ∣ 𝜑} × {𝑦 ∣ 𝜓}) = {⟨𝑥, 𝑦⟩ ∣ (𝜑 ∧ 𝜓)}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1570  [wsb 2101   ∈ wcel 2147  {cab 2741  [wsbc 3742   class class class wbr 5106  {copab 5170   × cxp 5653
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-pr 5395
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-br 5107  df-opab 5171  df-xp 5661  df-rel 5662
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator