Users' Mathboxes Mathbox for Zhi Wang < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  xpco2 Structured version   Visualization version   GIF version

Theorem xpco2 49216
Description: Composition of a Cartesian product with a function. (Contributed by Zhi Wang, 25-Nov-2025.)
Assertion
Ref Expression
xpco2 (𝐹:𝐴𝐵 → ((𝐵 × 𝐶) ∘ 𝐹) = (𝐴 × 𝐶))

Proof of Theorem xpco2
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relco 6075 . 2 Rel ((𝐵 × 𝐶) ∘ 𝐹)
2 relxp 5650 . 2 Rel (𝐴 × 𝐶)
3 vex 3446 . . . . . . . . . . 11 𝑥 ∈ V
4 vex 3446 . . . . . . . . . . 11 𝑧 ∈ V
53, 4breldm 5865 . . . . . . . . . 10 (𝑥𝐹𝑧𝑥 ∈ dom 𝐹)
65ad2antrl 729 . . . . . . . . 9 ((𝐹:𝐴𝐵 ∧ (𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦)) → 𝑥 ∈ dom 𝐹)
7 fdm 6679 . . . . . . . . . 10 (𝐹:𝐴𝐵 → dom 𝐹 = 𝐴)
87adantr 480 . . . . . . . . 9 ((𝐹:𝐴𝐵 ∧ (𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦)) → dom 𝐹 = 𝐴)
96, 8eleqtrd 2839 . . . . . . . 8 ((𝐹:𝐴𝐵 ∧ (𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦)) → 𝑥𝐴)
10 brxp 5681 . . . . . . . . . 10 (𝑧(𝐵 × 𝐶)𝑦 ↔ (𝑧𝐵𝑦𝐶))
1110simprbi 497 . . . . . . . . 9 (𝑧(𝐵 × 𝐶)𝑦𝑦𝐶)
1211ad2antll 730 . . . . . . . 8 ((𝐹:𝐴𝐵 ∧ (𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦)) → 𝑦𝐶)
139, 12jca 511 . . . . . . 7 ((𝐹:𝐴𝐵 ∧ (𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦)) → (𝑥𝐴𝑦𝐶))
1413ex 412 . . . . . 6 (𝐹:𝐴𝐵 → ((𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦) → (𝑥𝐴𝑦𝐶)))
1514exlimdv 1935 . . . . 5 (𝐹:𝐴𝐵 → (∃𝑧(𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦) → (𝑥𝐴𝑦𝐶)))
1615imp 406 . . . 4 ((𝐹:𝐴𝐵 ∧ ∃𝑧(𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦)) → (𝑥𝐴𝑦𝐶))
17 ffvelcdm 7035 . . . . . 6 ((𝐹:𝐴𝐵𝑥𝐴) → (𝐹𝑥) ∈ 𝐵)
1817adantrr 718 . . . . 5 ((𝐹:𝐴𝐵 ∧ (𝑥𝐴𝑦𝐶)) → (𝐹𝑥) ∈ 𝐵)
19 ffvbr 49215 . . . . . . 7 ((𝐹:𝐴𝐵𝑥𝐴) → 𝑥𝐹(𝐹𝑥))
2019adantrr 718 . . . . . 6 ((𝐹:𝐴𝐵 ∧ (𝑥𝐴𝑦𝐶)) → 𝑥𝐹(𝐹𝑥))
21 simprr 773 . . . . . . 7 ((𝐹:𝐴𝐵 ∧ (𝑥𝐴𝑦𝐶)) → 𝑦𝐶)
22 brxp 5681 . . . . . . 7 ((𝐹𝑥)(𝐵 × 𝐶)𝑦 ↔ ((𝐹𝑥) ∈ 𝐵𝑦𝐶))
2318, 21, 22sylanbrc 584 . . . . . 6 ((𝐹:𝐴𝐵 ∧ (𝑥𝐴𝑦𝐶)) → (𝐹𝑥)(𝐵 × 𝐶)𝑦)
2420, 23jca 511 . . . . 5 ((𝐹:𝐴𝐵 ∧ (𝑥𝐴𝑦𝐶)) → (𝑥𝐹(𝐹𝑥) ∧ (𝐹𝑥)(𝐵 × 𝐶)𝑦))
25 breq2 5104 . . . . . 6 (𝑧 = (𝐹𝑥) → (𝑥𝐹𝑧𝑥𝐹(𝐹𝑥)))
26 breq1 5103 . . . . . 6 (𝑧 = (𝐹𝑥) → (𝑧(𝐵 × 𝐶)𝑦 ↔ (𝐹𝑥)(𝐵 × 𝐶)𝑦))
2725, 26anbi12d 633 . . . . 5 (𝑧 = (𝐹𝑥) → ((𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦) ↔ (𝑥𝐹(𝐹𝑥) ∧ (𝐹𝑥)(𝐵 × 𝐶)𝑦)))
2818, 24, 27spcedv 3554 . . . 4 ((𝐹:𝐴𝐵 ∧ (𝑥𝐴𝑦𝐶)) → ∃𝑧(𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦))
2916, 28impbida 801 . . 3 (𝐹:𝐴𝐵 → (∃𝑧(𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦) ↔ (𝑥𝐴𝑦𝐶)))
30 vex 3446 . . . 4 𝑦 ∈ V
313, 30brco 5827 . . 3 (𝑥((𝐵 × 𝐶) ∘ 𝐹)𝑦 ↔ ∃𝑧(𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦))
32 brxp 5681 . . 3 (𝑥(𝐴 × 𝐶)𝑦 ↔ (𝑥𝐴𝑦𝐶))
3329, 31, 323bitr4g 314 . 2 (𝐹:𝐴𝐵 → (𝑥((𝐵 × 𝐶) ∘ 𝐹)𝑦𝑥(𝐴 × 𝐶)𝑦))
341, 2, 33eqbrrdiv 5751 1 (𝐹:𝐴𝐵 → ((𝐵 × 𝐶) ∘ 𝐹) = (𝐴 × 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1542  wex 1781  wcel 2114   class class class wbr 5100   × cxp 5630  dom cdm 5632  ccom 5636  wf 6496  cfv 6500
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-12 2185  ax-ext 2709  ax-sep 5243  ax-nul 5253  ax-pr 5379
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2540  df-eu 2570  df-clab 2716  df-cleq 2729  df-clel 2812  df-ne 2934  df-ral 3053  df-rex 3063  df-rab 3402  df-v 3444  df-dif 3906  df-un 3908  df-in 3910  df-ss 3920  df-nul 4288  df-if 4482  df-sn 4583  df-pr 4585  df-op 4589  df-uni 4866  df-br 5101  df-opab 5163  df-id 5527  df-xp 5638  df-rel 5639  df-cnv 5640  df-co 5641  df-dm 5642  df-rn 5643  df-iota 6456  df-fun 6502  df-fn 6503  df-f 6504  df-fv 6508
This theorem is referenced by:  prcofdiag  49753
  Copyright terms: Public domain W3C validator